aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/oc/sub.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/oc/sub.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/oc/sub.php')
-rw-r--r--app/i18n/oc/sub.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.php
index 6bde53f0b..0fffbe6eb 100644
--- a/app/i18n/oc/sub.php
+++ b/app/i18n/oc/sub.php
@@ -11,6 +11,7 @@ return array(
'title' => 'Bookmarklet',
),
'category' => array(
+ '_' => 'Categoria',
'add' => 'Ajustar una categoria',
'archiving' => 'Archivar',
'empty' => 'Categoria voida',
@@ -19,7 +20,6 @@ return array(
'position' => 'Mostrar la posicion',
'position_help' => 'Per contrarotlar l’òrdre de tria de la categoria',
'title' => 'Títol',
- '_' => 'Categoria',
),
'feed' => array(
'add' => 'Ajustar un flux RSS',
@@ -39,8 +39,8 @@ return array(
'empty' => 'Aqueste flux es void. Assegurats-vos qu’es totjorn mantengut.',
'error' => 'Aqueste flux a rescontrat un problèma. Volgatz verificar que siá totjorn accessible puèi actualizatz-lo.',
'filteractions' => array(
- 'help' => 'Escrivètz una recèrca per linha.',
'_' => 'Filtre d’accion',
+ 'help' => 'Escrivètz una recèrca per linha.',
),
'information' => 'Informacions',
'keep_min' => 'Nombre minimum d’articles de servar',
@@ -56,10 +56,10 @@ return array(
'no_selected' => 'Cap de flux pas seleccionat.',
'number_entries' => '%d articles',
'priority' => array(
+ '_' => 'Visibilitat',
'archived' => 'Mostrar pas (archivat)',
'main_stream' => 'Mostar al flux màger',
'normal' => 'Mostar dins sa categoria',
- '_' => 'Visibilitat',
),
'selector_preview' => array(
'show_raw' => 'Veire lo còdi font',
@@ -108,8 +108,8 @@ return array(
'subscription_tools' => 'Aisinas d’abonament',
),
'title' => array(
+ '_' => 'Gestion dels abonaments',
'feed_management' => 'Gestion dels fluxes RSS',
'subscription_tools' => 'Aisinas d’abonament',
- '_' => 'Gestion dels abonaments',
),
);