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/es/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/es/admin.php')
| -rwxr-xr-x | app/i18n/es/admin.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/i18n/es/admin.php b/app/i18n/es/admin.php index 02b556c13..ed92e466f 100755 --- a/app/i18n/es/admin.php +++ b/app/i18n/es/admin.php @@ -83,9 +83,9 @@ return array( 'ok' => 'Dispones de PDO y, al menos, de uno de los controladores compatibles (pdo_mysql, pdo_sqlite, pdo_pgsql).', ), 'php' => array( + '_' => 'Instalación PHP', 'nok' => 'Dispones de la versión PHP %s pero FreshRSS requiere de, al menos, la versión %s.', 'ok' => 'Dispones de la versión PHP %s, que es compatible con FreshRSS.', - '_' => 'Instalación PHP', ), 'tables' => array( 'nok' => 'Falta al menos una tabla en la base de datos.', @@ -116,8 +116,8 @@ return array( 'name' => 'Name', // TODO - Translation 'no_configure_view' => 'Esta extensión no puede ser configurada.', 'system' => array( - 'no_rights' => 'Sistema de extensiones (careces de los permisos necesarios)', '_' => 'Sistema de extensiones', + 'no_rights' => 'Sistema de extensiones (careces de los permisos necesarios)', ), 'title' => 'Extensiones', 'update' => 'Update available', // TODO - Translation @@ -125,6 +125,7 @@ return array( 'version' => 'Version', // TODO - Translation ), 'stats' => array( + '_' => 'Estadísticas', 'all_feeds' => 'Todas las fuentes', 'category' => 'Categoría', 'entry_count' => 'Cómputo total', @@ -154,9 +155,9 @@ return array( 'status_unread' => 'Pendientes', 'title' => 'Estadísticas', 'top_feed' => 'Las 10 fuentes más activas', - '_' => 'Estadísticas', ), 'system' => array( + '_' => 'Configuración del sistema', 'auto-update-url' => 'URL de auto-actualización', 'cookie-duration' => array( 'help' => 'in seconds', // TODO - Translation @@ -170,21 +171,20 @@ return array( 'help' => '0 significa que no hay límite en la cuenta', 'number' => 'Número máximo de cuentas', ), - '_' => 'Configuración del sistema', ), 'update' => array( + '_' => 'Actualizar sistema', 'apply' => 'Aplicar', 'check' => 'Buscar actualizaciones', 'current_version' => 'Dispones de la versión %s de FreshRSS.', 'last' => 'Última comprobación: %s', 'none' => 'No hay actualizaciones disponibles', 'title' => 'Actualizar sistema', - '_' => 'Actualizar sistema', ), 'user' => array( 'admin' => 'Administrator', // TODO - Translation - 'articles_and_size' => '%s articles (%s)', // TODO - Translation 'article_count' => 'Articles', // TODO - Translation + 'articles_and_size' => '%s articles (%s)', // TODO - Translation 'back_to_manage' => '← Return to user list', // TODO - Translation 'create' => 'Crear nuevo usuario', 'database_size' => 'Database size', // TODO - Translation @@ -202,8 +202,8 @@ return array( 'selected' => 'Selected user', // TODO - Translation 'title' => 'Administrar usuarios', 'update_users' => 'Update user', // TODO - Translation + 'user_list' => 'Lista de usuarios', 'username' => 'Nombre de usuario', 'users' => 'Usuarios', - 'user_list' => 'Lista de usuarios', ), ); |
