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/nl/admin.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/nl/admin.php')
| -rw-r--r-- | app/i18n/nl/admin.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/i18n/nl/admin.php b/app/i18n/nl/admin.php index 1675db61f..479cb0957 100644 --- a/app/i18n/nl/admin.php +++ b/app/i18n/nl/admin.php @@ -83,9 +83,9 @@ return array( 'ok' => 'U hebt PDO en ten minste één van de ondersteunde drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).', ), 'php' => array( + '_' => 'PHP installatie', 'nok' => 'Uw PHP versie is %s maar FreshRSS benodigd tenminste versie %s.', 'ok' => 'Uw PHP versie is %s, welke compatibel is met FreshRSS.', - '_' => 'PHP installatie', ), 'tables' => array( 'nok' => 'Er zijn één of meer ontbrekende tabellen in de database.', @@ -116,8 +116,8 @@ return array( 'name' => 'Naam', 'no_configure_view' => 'Deze uitbreiding kan niet worden geconfigureerd.', 'system' => array( - 'no_rights' => 'Systeemuitbreidingen (U hebt hier geen rechten op)', '_' => 'Systeemuitbreidingen', + 'no_rights' => 'Systeemuitbreidingen (U hebt hier geen rechten op)', ), 'title' => 'Uitbreidingen', 'update' => 'Update beschikbaar', @@ -125,6 +125,7 @@ return array( 'version' => 'Versie', ), 'stats' => array( + '_' => 'Statistieken', 'all_feeds' => 'Alle feeds', 'category' => 'Categorie', 'entry_count' => 'Invoer aantallen', @@ -154,9 +155,9 @@ return array( 'status_unread' => 'Ongelezen', 'title' => 'Statistieken', 'top_feed' => 'Top tien feeds', - '_' => 'Statistieken', ), 'system' => array( + '_' => 'Systeem configuratie', 'auto-update-url' => 'Automatische update server URL', 'cookie-duration' => array( 'help' => 'in seconden', @@ -170,21 +171,20 @@ return array( 'help' => '0 betekent geen account limiet', 'number' => 'Maximum aantal accounts', ), - '_' => 'Systeem configuratie', ), 'update' => array( + '_' => 'Versie controle', 'apply' => 'Toepassen', 'check' => 'Controleer op nieuwe versies', 'current_version' => 'Uw huidige versie van FreshRSS is %s.', 'last' => 'Laatste controle: %s', 'none' => 'Geen nieuwe versie om toe te passen', 'title' => 'Vernieuw systeem', - '_' => 'Versie controle', ), 'user' => array( 'admin' => 'Administrator', // TODO - Translation - 'articles_and_size' => '%s artikelen (%s)', 'article_count' => 'Articles', // TODO - Translation + 'articles_and_size' => '%s artikelen (%s)', 'back_to_manage' => '← Return to user list', // TODO - Translation 'create' => 'Creëer nieuwe gebruiker', 'database_size' => 'Database size', // TODO - Translation @@ -202,8 +202,8 @@ return array( 'selected' => 'Geselecteerde gebruiker', 'title' => 'Beheer gebruikers', 'update_users' => 'Gebruiker bijwerken', + 'user_list' => 'Lijst van gebruikers', 'username' => 'Gebruikersnaam', 'users' => 'Gebruikers', - 'user_list' => 'Lijst van gebruikers', ), ); |
