Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
48 | public function addString($string) |
||
49 | { |
||
50 | $this->create([ |
||
51 | 'language' => config('presspack.default_locale'), |
||
52 | 'context' => 'presspack', |
||
53 | 'name' => md5($string), |
||
54 | 'value' => $string, |
||
55 | 'type' => 'LINE', |
||
56 | 'status' => 0, |
||
57 | 'gettext_context' => '', |
||
58 | 'domain_name_context_md5' => md5('presspack'.md5($string)), |
||
59 | 'translation_priority' => '', |
||
60 | ]); |
||
61 | } |
||
62 | } |
||
63 |