diff options
| author | 2020-05-15 17:31:21 +0200 | |
|---|---|---|
| committer | 2020-05-15 17:31:21 +0200 | |
| commit | 8487fa6248d1d5dac81640de9c55c1eab9f324b3 (patch) | |
| tree | f3209fdeb8341870bd4fe765e30a0a395a12c4ea /app/i18n/it/index.php | |
| parent | 62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (diff) | |
Reformat i18n correctly (#2976)
* Ignore i18n gen.dir key
* Add a makefile target to update an i18n key
* Mark some i18n keys to ignore
* Reformat i18n files correctly
* Make i18n keys sort case-sensitive
Calling `make i18n-format` was always inverting 4 lines:
- gen.date.dec with gen.date.Dec
- and gen.date.nov with gen.date.Nov
I don't know why these particular lines and not the others, but it
appeared the sort function was case insensitive due to the
`SORT_FLAG_CASE` flag passed to the `ksort` function. Removing this flag
makes the calls to the formatter idempotent and more reliable.
Unfortunately it moves a lot of lines since the `_` character is
considered differently.
* Check i18n files are correctly formatted on Travis
Diffstat (limited to 'app/i18n/it/index.php')
| -rw-r--r-- | app/i18n/it/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/i18n/it/index.php b/app/i18n/it/index.php index ec9f8546f..5db251806 100644 --- a/app/i18n/it/index.php +++ b/app/i18n/it/index.php @@ -2,6 +2,7 @@ return array( 'about' => array( + '_' => 'Informazioni', 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', // TODO - Translation 'bugs_reports' => 'Bugs', 'credits' => 'Crediti', @@ -13,7 +14,6 @@ return array( 'title' => 'Informazioni', 'version' => 'Versione', 'website' => 'Sito', - '_' => 'Informazioni', ), 'feed' => array( 'add' => 'Aggiungi un Feed RSS', @@ -24,10 +24,10 @@ return array( 'title_global' => 'Vista globale per categorie', ), 'log' => array( + '_' => 'Logs', // TODO - Translation 'clear' => 'Svuota logs', 'empty' => 'File di log vuoto', 'title' => 'Logs', // TODO - Translation - '_' => 'Logs', // TODO - Translation ), 'menu' => array( 'about' => 'Informazioni', |
