diff options
| author | 2019-12-04 08:27:39 +0100 | |
|---|---|---|
| committer | 2019-12-04 08:27:39 +0100 | |
| commit | 3e49b44839237693ce1a8151325942704917f6c6 (patch) | |
| tree | 75a1af8089d48d3bb14de2d9d98c503ee76433e2 /app/i18n/es/admin.php | |
| parent | de2b323847e0a91119625e4f506f51ec9d43872f (diff) | |
Update i18n cli tools (#2673)
* Update i18n cli tools
Few things were bugging me when using the cli tool for i18n. So I've modified
the tools to be easier to use.
First, the tool automatically adds missing keys to all languages. This way, we
always have all keys in all languages.
Second, the tool detects all untranslated keys and adds automatically the todo
comment after the value.
Third, when adding a new key, the key is pushed to all languages at once. There
is no need to duplicate it manually. Thus making the duplication process obsolete.
Fourth, translation and ignore keys are manipulated at the same time. Thus we
don't have obsolete ignored strings anymore.
* Add i18n rules
I find that having the common rules in the Makefile is easier to use,
as long as you know they are here. As it is self documented, people
will see the new rules when using make.
* Use long parameters in Makefile
I find that using long parameters in scripts makes it easier to understand
what's going on. So I've switched all short parameters to long one.
* Format all i18n files
I've used the updated version of the cli tools to have some output
that can be consistently formated. This commit is a huge formating
commit. Nothing was added but some comments were removed in the
process.
Diffstat (limited to 'app/i18n/es/admin.php')
| -rwxr-xr-x | app/i18n/es/admin.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/app/i18n/es/admin.php b/app/i18n/es/admin.php index a31702c70..5a9a3ab81 100755 --- a/app/i18n/es/admin.php +++ b/app/i18n/es/admin.php @@ -67,8 +67,8 @@ return array( 'ok' => 'Dispones de la extensión JSON.', ), 'mbstring' => array( - 'nok' => 'Cannot find the recommended library mbstring for Unicode.', //TODO - Translation - 'ok' => 'You have the recommended library mbstring for Unicode.', //TODO - Translation + 'nok' => 'Cannot find the recommended library mbstring for Unicode.', // TODO - Translation + 'ok' => 'You have the recommended library mbstring for Unicode.', // TODO - Translation ), 'minz' => array( 'nok' => 'No se ha podido localizar el entorno Minz.', @@ -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.', @@ -106,26 +106,25 @@ return array( ), ), 'extensions' => array( - 'author' => 'Author', //TODO - Translation - 'community' => 'Available community extensions', //TODO - Translation - 'description' => 'Description', //TODO - Translation + 'author' => 'Author', // TODO - Translation + 'community' => 'Available community extensions', // TODO - Translation + 'description' => 'Description', // TODO - Translation 'disabled' => 'Desactivado', 'empty_list' => 'No hay extensiones instaladas', 'enabled' => 'Activado', - 'latest' => 'Installed', //TODO - Translation - 'name' => 'Name', //TODO - Translation + 'latest' => 'Installed', // TODO - Translation + 'name' => 'Name', // TODO - Translation 'no_configure_view' => 'Esta extensión no puede ser configurada.', 'system' => array( - '_' => 'Sistema de extensiones', 'no_rights' => 'Sistema de extensiones (careces de los permisos necesarios)', + '_' => 'Sistema de extensiones', ), 'title' => 'Extensiones', - 'update' => 'Update available', //TODO - Translation + 'update' => 'Update available', // TODO - Translation 'user' => 'Extensiones de usuario', - 'version' => 'Version', //TODO - Translation + 'version' => 'Version', // TODO - Translation ), 'stats' => array( - '_' => 'Estadísticas', 'all_feeds' => 'Todas las fuentes', 'category' => 'Categoría', 'entry_count' => 'Cómputo total', @@ -151,55 +150,56 @@ return array( 'repartition' => 'Reprto de artículos', 'status_favorites' => 'Favoritos', 'status_read' => 'Leídos', - 'status_total' => 'Total', + 'status_total' => 'Total', // TODO - Translation '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', - 'force_email_validation' => 'Force email addresses validation', //TODO - Translation + 'cookie-duration' => array( + 'help' => 'in seconds', // TODO - Translation + 'number' => 'Duration to keep logged in', // TODO - Translation + ), + 'force_email_validation' => 'Force email addresses validation', // TODO - Translation 'instance-name' => 'Nombre de la fuente', 'max-categories' => 'Límite de categorías por usuario', 'max-feeds' => 'Límite de fuentes por usuario', - 'cookie-duration' => array( - 'help' => 'in seconds', // @todo translate - 'number' => 'Duration to keep logged in', // @todo translate - ), 'registration' => 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( - 'articles_and_size' => '%s articles (%s)', + 'articles_and_size' => '%s articles (%s)', // TODO - Translation 'article_count' => 'Articles', // TODO - Translation 'back_to_manage' => '← Return to user list', // TODO - Translation 'create' => 'Crear nuevo usuario', 'database_size' => 'Database size', // TODO - Translation - 'delete_users' => 'Delete user', //TODO - Translation - 'feed_count' => 'Feeds', //TODO - Translation + 'delete_users' => 'Delete user', // TODO - Translation + 'feed_count' => 'Feeds', // TODO - Translation 'language' => 'Idioma', 'list' => 'User list', // TODO - Translation 'number' => 'Hay %d cuenta creada', 'numbers' => 'Hay %d cuentas creadas', 'password_form' => 'Contraseña<br /><small>(para el método de identificación por formulario web)</small>', 'password_format' => 'Mínimo de 7 caracteres', - 'selected' => 'Selected user', //TODO - Translation + 'selected' => 'Selected user', // TODO - Translation 'title' => 'Administrar usuarios', - 'update_users' => 'Update user', //TODO - Translation - 'user_list' => 'Lista de usuarios', + 'update_users' => 'Update user', // TODO - Translation 'username' => 'Nombre de usuario', 'users' => 'Usuarios', + 'user_list' => 'Lista de usuarios', ), ); |
