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/oc/install.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/oc/install.php')
| -rw-r--r-- | app/i18n/oc/install.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/i18n/oc/install.php b/app/i18n/oc/install.php index 5bbbd6a4f..a366bd8ee 100644 --- a/app/i18n/oc/install.php +++ b/app/i18n/oc/install.php @@ -17,19 +17,20 @@ return array( 'type' => 'Mòde d’autentification', ), 'bdd' => array( + '_' => 'Basa de donadas', 'conf' => array( + '_' => 'Configuracion de la basa de donadas', 'ko' => 'Verificatz las informacions de la basa de donadas.', 'ok' => 'La configuracion de la basa de donadas es salvagarda.', - '_' => 'Configuracion de la basa de donadas', ), 'host' => 'Òste', 'password' => 'Senhal de la basa de donadas', 'prefix' => 'Prefixe de tabla', 'type' => 'Tipe de basa de donadas', 'username' => 'Nom d’utilizaire de la basa de donadas', - '_' => 'Basa de donadas', ), 'check' => array( + '_' => 'Verificacions', 'already_installed' => 'Sembla que FreshRSS es ja installat !', 'cache' => array( 'nok' => 'Volgatz verificar los dreches sul repertòri <em>./data/cache</em>. Lo servidor HTTP deu poder escriure dedins', @@ -95,11 +96,10 @@ return array( 'nok' => 'Impossible de trobar una bibliotèca necessària per XML.', 'ok' => 'Avètz la bibliotèca per percórrer los XML.', ), - '_' => 'Verificacions', ), 'conf' => array( - 'ok' => 'La configuracion generala es enregistrada.', '_' => 'Configuracion generala', + 'ok' => 'La configuracion generala es enregistrada.', ), 'congratulations' => 'Òsca !', 'default_user' => 'Nom d’utilizaire per defaut <small>16 caractèrs alfanumerics maximum)</small>', @@ -110,9 +110,9 @@ return array( 'confirm_reinstall' => 'En reïnstallant FreshRSS perdretz la configuracion precedenta. Volètz vertadièrament contunhar ?', ), 'language' => array( + '_' => 'Lenga', 'choose' => 'Causissètz la lenga per FreshRSS', 'defined' => 'La lenga es corrèctament definida.', - '_' => 'Lenga', ), 'not_deleted' => 'Quicòm a trucat, sembla qu’avètz suprimit <em>%s</em> a la man.', 'ok' => 'L’installacion s’es corrèctament passada.', |
