@@ -21,10 +21,10 @@ |
||
| 21 | 21 | $tr = substr($tr, 3, -6); |
| 22 | 22 | $tr = $tr.'["'; |
| 23 | 23 | $tr = explode('],[', $tr); |
| 24 | - $trans = []; |
|
| 24 | + $trans = [ ]; |
|
| 25 | 25 | foreach ($tr as $tran) { |
| 26 | 26 | $transl = explode('","', $tran); |
| 27 | - array_push($trans, str_replace('\"', '"', ucfirst(substr($transl[0], 1)))); |
|
| 27 | + array_push($trans, str_replace('\"', '"', ucfirst(substr($transl[ 0 ], 1)))); |
|
| 28 | 28 | } |
| 29 | 29 | $this->translation = implode(' ', $trans); |
| 30 | 30 | $this->checkSave(); |