Browse Source

fix languages list in messages config

tags/2.0.0-beta
John Was 11 years ago
parent
commit
4ac4bff457
  1. 2
      framework/yii/messages/config.php

2
framework/yii/messages/config.php

@ -7,7 +7,7 @@ return [
'messagePath' => __DIR__, 'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages // array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de']. // should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['da', 'de', 'ru', 'pt-BR', 'it', 'da'], 'languages' => ['da', 'de', 'ru', 'pl', 'pt-BR', 'it'],
// string, the name of the function for translating messages. // string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be // Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for // translated. You may use a string for single function name or an array for

Loading…
Cancel
Save