codeigniter4 / translations

System message translations for CodeIgniter4
https://codeigniter4.github.io/translations/
MIT License
197 stars 206 forks source link

fix: `update-en-comments` does not work when having duplicate keys #369

Closed kenjis closed 1 year ago

kenjis commented 1 year ago

Before:

--- a/Language/ja/CLI.php
+++ b/Language/ja/CLI.php
@@ -18,6 +18,7 @@ return [
         'cancelOperation' => '操作はキャンセルされました。', // 'Operation has been cancelled.'
         'className'       => [
             'cell'       => 'セルのクラス名', // 'Cell class name'
+            'cell'       => 'セルのクラス名', // 'Cell view name'
             'command'    => 'コマンドクラス名', // 'Command class name'
             'config'     => '設定クラス名', // 'Config class name'
             'controller' => 'コントローラクラス名', // 'Controller class name'
@@ -40,6 +41,7 @@ return [
         'tableName'        => 'テーブル名', // 'Table name'
         'usingCINamespace' => '警告: 名前空間 "CodeIgniter" を使用するとsystemディレクトリにファイルが生成されます。', // 'Warning: Using the "CodeIgniter" namespace will generate the file in the system directory.'
         'viewName'         => [
+            'cell' => 'セルのビュー名', // 'Cell class name'
             'cell' => 'セルのビュー名', // 'Cell view name'
         ],
     ],