aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/nl/gen.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2020-05-15 17:31:21 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-15 17:31:21 +0200
commit8487fa6248d1d5dac81640de9c55c1eab9f324b3 (patch)
treef3209fdeb8341870bd4fe765e30a0a395a12c4ea /app/i18n/nl/gen.php
parent62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (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/gen.php')
-rw-r--r--app/i18n/nl/gen.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.php
index 0de4eb95c..91ab27f71 100644
--- a/app/i18n/nl/gen.php
+++ b/app/i18n/nl/gen.php
@@ -32,45 +32,50 @@ return array(
'login' => 'Log in',
'logout' => 'Log uit',
'password' => array(
- 'format' => '<small>Ten minste 7 tekens</small>',
'_' => 'Wachtwoord',
+ 'format' => '<small>Ten minste 7 tekens</small>',
),
'registration' => array(
+ '_' => 'Nieuw account',
'ask' => 'Maak een account?',
'title' => 'Account maken',
- '_' => 'Nieuw account',
),
'reset' => 'Authenticatie reset',
'username' => array(
+ '_' => 'Gebruikersnaam',
'admin' => 'Beheerdersgebruikersnaam',
'format' => '<small>Maximaal 16 alfanumerieke tekens</small>',
- '_' => 'Gebruikersnaam',
),
),
'date' => array(
- 'apr' => 'apr',
'Apr' => '\\A\\p\\r\\i\\l',
- 'april' => 'Apr',
'Aug' => '\\A\\u\\g\\u\\s\\t\\u\\s',
+ 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r',
+ 'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\i',
+ 'Jan' => '\\J\\a\\n\\u\\a\\r\\i',
+ 'Jul' => '\\J\\u\\l\\i',
+ 'Jun' => '\\J\\u\\n\\i',
+ 'Mar' => '\\M\\a\\a\\r\\t',
+ 'May' => '\\M\\e\\i',
+ 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r',
+ 'Oct' => '\\O\\k\\t\\o\\b\\e\\r',
+ 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r',
+ 'apr' => 'apr',
+ 'april' => 'Apr',
'aug' => 'aug',
'august' => 'Aug',
'before_yesterday' => 'Ouder',
- 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r',
'dec' => 'dec',
'december' => 'Dec',
- 'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\i',
'feb' => 'feb',
'february' => 'Feb',
'format_date' => 'j %s Y',
'format_date_hour' => 'j %s Y \\o\\m H\\:i',
'fri' => 'Vr',
- 'Jan' => '\\J\\a\\n\\u\\a\\r\\i',
'jan' => 'jan',
'january' => 'Jan',
'jul' => 'jul',
- 'Jul' => '\\J\\u\\l\\i',
'july' => 'Jul',
- 'Jun' => '\\J\\u\\n\\i',
'jun' => 'jun',
'june' => 'Jun',
'last_2_year' => 'Afgelopen twee jaar',
@@ -81,22 +86,17 @@ return array(
'last_month' => 'Vorige maand',
'last_week' => 'Vorige week',
'last_year' => 'Vorig jaar',
- 'Mar' => '\\M\\a\\a\\r\\t',
'mar' => 'mrt',
'march' => 'Mrt',
'may' => 'Mei',
- 'May' => '\\M\\e\\i',
'may_' => 'Mei',
'mon' => 'Ma',
'month' => 'maanden',
- 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r',
'nov' => 'nov',
'november' => 'Nov',
- 'Oct' => '\\O\\k\\t\\o\\b\\e\\r',
'oct' => 'okt',
'october' => 'Okt',
'sat' => 'Za',
- 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r',
'sep' => 'sep',
'september' => 'Sep',
'sun' => 'Zo',
@@ -108,8 +108,8 @@ return array(
),
'dir' => 'ltr',
'freshrss' => array(
- 'about' => 'Over FreshRSS',
'_' => 'FreshRSS',
+ 'about' => 'Over FreshRSS',
),
'js' => array(
'category_empty' => 'Lege categorie',
@@ -178,13 +178,13 @@ return array(
'years' => 'jaren',
),
'share' => array(
+ 'Known' => 'Known-gebaseerde sites',
'blogotext' => 'Blogotext',
'diaspora' => 'Diaspora*',
'email' => 'Email',
'facebook' => 'Facebook',
'gnusocial' => 'GNU social',
'jdh' => 'Journal du hacker',
- 'Known' => 'Known-gebaseerde sites',
'lemmy' => 'Lemmy',
'linkedin' => 'LinkedIn',
'mastodon' => 'Mastodon',