@@ -43,11 +43,11 @@ |
||
| 43 | 43 | 'class' => EditableColumn::class, |
| 44 | 44 | 'attribute' => 'status', |
| 45 | 45 | 'url' => ['edit-setting'], |
| 46 | - 'value' => function ($model) { |
|
| 46 | + 'value' => function($model) { |
|
| 47 | 47 | return SettingStatus::getLabel($model->status); |
| 48 | 48 | }, |
| 49 | 49 | 'type' => 'select', |
| 50 | - 'editableOptions' => function ($model) { |
|
| 50 | + 'editableOptions' => function($model) { |
|
| 51 | 51 | return [ |
| 52 | 52 | 'source' => SettingStatus::listData(), |
| 53 | 53 | 'value' => $model->status, |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | 'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..', |
| 6 | 6 | // array, required, list of language codes that the extracted messages |
| 7 | 7 | // should be translated to. For example, ['zh-CN', 'de']. |
| 8 | - 'languages' => ['en', 'ru', 'uk', 'de', 'es', 'zh-CN', 'zh-TW','nl'], |
|
| 8 | + 'languages' => ['en', 'ru', 'uk', 'de', 'es', 'zh-CN', 'zh-TW', 'nl'], |
|
| 9 | 9 | // string, the name of the function for translating messages. |
| 10 | 10 | // Defaults to 'Yii::t'. This is used as a mark to find the messages to be |
| 11 | 11 | // translated. You may use a string for single function name or an array for |