diff options
| author | 2022-01-08 08:00:26 -0500 | |
|---|---|---|
| committer | 2022-01-08 14:00:26 +0100 | |
| commit | 127b7f0a3aad7012055c058e8aba0d27192a8cbc (patch) | |
| tree | 8ec9a5948672e702c944c202f78294b81104582f /app/i18n/es | |
| parent | ed19445f74c30854c60873cd1df1c38e15fc316b (diff) | |
Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome
for new comers. Now, this info is stored directly in the translation file as a
comment.
Before, there was no way of telling translators that a previously translated string
was in need of a new translation. Now, the dirty information is there to convey that
info.
Diffstat (limited to 'app/i18n/es')
| -rwxr-xr-x | app/i18n/es/admin.php | 14 | ||||
| -rwxr-xr-x | app/i18n/es/conf.php | 26 | ||||
| -rwxr-xr-x | app/i18n/es/feedback.php | 10 | ||||
| -rwxr-xr-x | app/i18n/es/gen.php | 90 | ||||
| -rwxr-xr-x | app/i18n/es/index.php | 12 | ||||
| -rwxr-xr-x | app/i18n/es/install.php | 10 | ||||
| -rwxr-xr-x | app/i18n/es/sub.php | 14 | ||||
| -rw-r--r-- | app/i18n/es/user.php | 10 |
8 files changed, 133 insertions, 53 deletions
diff --git a/app/i18n/es/admin.php b/app/i18n/es/admin.php index 302d0febf..1ad98e565 100755 --- a/app/i18n/es/admin.php +++ b/app/i18n/es/admin.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'auth' => array( 'allow_anonymous' => 'Permitir la lectura anónima de los artículos del usuario por defecto (%s)', @@ -141,7 +151,7 @@ return array( 'repartition' => 'Reprto de artículos', 'status_favorites' => 'Favoritos', 'status_read' => 'Leídos', - 'status_total' => 'Total', + 'status_total' => 'Total', // IGNORE 'status_unread' => 'Pendientes', 'title' => 'Estadísticas', 'top_feed' => 'Las 10 fuentes más activas', @@ -179,7 +189,7 @@ return array( 'database_size' => 'Tamaño de la base de datos', 'email' => 'Dirección de correo electrónico', 'enabled' => 'Permitido', - 'feed_count' => 'Feeds', + 'feed_count' => 'Feeds', // IGNORE 'is_admin' => 'Es admin', 'language' => 'Idioma', 'last_user_activity' => 'Última actividad del usuario', diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.php index de30d0c4b..bb453a9d1 100755 --- a/app/i18n/es/conf.php +++ b/app/i18n/es/conf.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'archiving' => array( '_' => 'Archivo', @@ -163,20 +173,20 @@ return array( 'sharing' => array( '_' => 'Compartir', 'add' => 'Agregar un método de uso compartido', - 'blogotext' => 'Blogotext', - 'diaspora' => 'Diaspora*', - 'email' => 'Email', - 'facebook' => 'Facebook', + 'blogotext' => 'Blogotext', // IGNORE + 'diaspora' => 'Diaspora*', // IGNORE + 'email' => 'Email', // TODO + 'facebook' => 'Facebook', // IGNORE 'more_information' => 'Más información', 'print' => 'Imprimir', - 'raindrop' => 'Raindrop.io', + 'raindrop' => 'Raindrop.io', // IGNORE 'remove' => 'Quitar método de uso compartido', - 'shaarli' => 'Shaarli', + 'shaarli' => 'Shaarli', // IGNORE 'share_name' => 'Compartir nombre a mostrar', 'share_url' => 'Compatir URL a usar', 'title' => 'Compartir', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag', + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag', // IGNORE ), 'shortcut' => array( '_' => 'Atajos de teclado', diff --git a/app/i18n/es/feedback.php b/app/i18n/es/feedback.php index cffa06088..b5ae7c78d 100755 --- a/app/i18n/es/feedback.php +++ b/app/i18n/es/feedback.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'access' => array( 'denied' => 'No dispones de permiso para acceder a esta página', diff --git a/app/i18n/es/gen.php b/app/i18n/es/gen.php index 90b5da603..409f57e2e 100755 --- a/app/i18n/es/gen.php +++ b/app/i18n/es/gen.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'action' => array( 'actualize' => 'Actualizar fuentes', @@ -69,8 +79,8 @@ return array( 'december' => 'diciembre', 'feb' => 'feb', 'february' => 'febrero', - 'format_date' => 'j %s Y', - 'format_date_hour' => 'j %s Y \\a\\t H\\:i', + 'format_date' => 'j %s Y', // IGNORE + 'format_date_hour' => 'j %s Y \\a\\t H\\:i', // IGNORE 'fri' => 'Vie', 'jan' => 'ene', 'january' => 'ene', @@ -106,9 +116,9 @@ return array( 'wed' => 'Mie', 'yesterday' => 'Ayer', ), - 'dir' => 'ltr', + 'dir' => 'ltr', // IGNORE 'freshrss' => array( - '_' => 'FreshRSS', + '_' => 'FreshRSS', // IGNORE 'about' => 'Acerca de FreshRSS', ), 'js' => array( @@ -124,24 +134,24 @@ return array( 'should_be_activated' => 'JavaScript debe estar activado', ), 'lang' => array( - 'cz' => 'Čeština', - 'de' => 'Deutsch', - 'en' => 'English', - 'en-us' => 'English (United States)', - 'es' => 'Español', - 'fr' => 'Français', - 'he' => 'עברית', - 'it' => 'Italiano', - 'ja' => '日本語', - 'ko' => '한국어', - 'nl' => 'Nederlands', - 'oc' => 'Occitan', - 'pl' => 'Polski', - 'pt-br' => 'Português (Brasil)', - 'ru' => 'Русский', - 'sk' => 'Slovenčina', - 'tr' => 'Türkçe', - 'zh-cn' => '简体中文', + 'cz' => 'Čeština', // IGNORE + 'de' => 'Deutsch', // IGNORE + 'en' => 'English', // IGNORE + 'en-us' => 'English (United States)', // IGNORE + 'es' => 'Español', // IGNORE + 'fr' => 'Français', // IGNORE + 'he' => 'עברית', // IGNORE + 'it' => 'Italiano', // IGNORE + 'ja' => '日本語', // IGNORE + 'ko' => '한국어', // IGNORE + 'nl' => 'Nederlands', // IGNORE + 'oc' => 'Occitan', // IGNORE + 'pl' => 'Polski', // IGNORE + 'pt-br' => 'Português (Brasil)', // IGNORE + 'ru' => 'Русский', // IGNORE + 'sk' => 'Slovenčina', // IGNORE + 'tr' => 'Türkçe', // IGNORE + 'zh-cn' => '简体中文', // IGNORE ), 'menu' => array( 'about' => 'Acerca de', @@ -183,25 +193,25 @@ return array( ), 'share' => array( 'Known' => 'Sitios basados en conocidos', - 'blogotext' => 'Blogotext', + 'blogotext' => 'Blogotext', // IGNORE 'clipboard' => 'Portapapeles', - 'diaspora' => 'Diaspora*', - 'email' => 'Email', - 'facebook' => 'Facebook', - 'gnusocial' => 'GNU social', - 'jdh' => 'Journal du hacker', - 'lemmy' => 'Lemmy', - 'linkedin' => 'LinkedIn', - 'mastodon' => 'Mastodon', - 'movim' => 'Movim', - 'pinboard' => 'Pinboard', - 'pocket' => 'Pocket', + 'diaspora' => 'Diaspora*', // IGNORE + 'email' => 'Email', // IGNORE + 'facebook' => 'Facebook', // IGNORE + 'gnusocial' => 'GNU social', // IGNORE + 'jdh' => 'Journal du hacker', // IGNORE + 'lemmy' => 'Lemmy', // IGNORE + 'linkedin' => 'LinkedIn', // IGNORE + 'mastodon' => 'Mastodon', // IGNORE + 'movim' => 'Movim', // IGNORE + 'pinboard' => 'Pinboard', // IGNORE + 'pocket' => 'Pocket', // IGNORE 'print' => 'Imprimir', - 'raindrop' => 'Raindrop.io', - 'shaarli' => 'Shaarli', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag v1', - 'wallabagv2' => 'wallabag v2', + 'raindrop' => 'Raindrop.io', // IGNORE + 'shaarli' => 'Shaarli', // IGNORE + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag v1', // IGNORE + 'wallabagv2' => 'wallabag v2', // IGNORE ), 'short' => array( 'attention' => '¡Aviso!', @@ -210,7 +220,7 @@ return array( 'by_default' => 'Por defecto', 'damn' => '¡Córcholis!', 'default_category' => 'Sin categorizar', - 'no' => 'No', + 'no' => 'No', // IGNORE 'not_applicable' => 'No disponible', 'ok' => '¡Vale!', 'or' => 'o', diff --git a/app/i18n/es/index.php b/app/i18n/es/index.php index c92789482..072c39795 100755 --- a/app/i18n/es/index.php +++ b/app/i18n/es/index.php @@ -1,9 +1,19 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'about' => array( '_' => 'Acerca de', - 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', + 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', // IGNORE 'bugs_reports' => 'Informe de fallos', 'credits' => 'Créditos', 'credits_content' => 'Aunque FreshRSS no usa ese entorno, algunos elementos del diseño están obtenidos de <a href="http://twitter.github.io/bootstrap/">Bootstrap</a>. Los <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">Iconos</a> han sido obtenidos del <a href="https://www.gnome.org/">proyecto GNOME</a>. La fuente <em>Open Sans</em> es una creación de <a href="https://fonts.google.com/specimen/Open+Sans">Steve Matteson</a>. FreshRSS usa el entorno PHP <a href="https://github.com/marienfressinaud/MINZ">Minz</a>.', diff --git a/app/i18n/es/install.php b/app/i18n/es/install.php index 7e9a56fe5..3c46d6e58 100755 --- a/app/i18n/es/install.php +++ b/app/i18n/es/install.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'action' => array( 'finish' => 'Completar instalación', diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php index 1915fdf0f..ce29e369e 100755 --- a/app/i18n/es/sub.php +++ b/app/i18n/es/sub.php @@ -1,14 +1,24 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'api' => array( 'documentation' => 'Copie la siguiente URL para usarla dentro de una herramienta externa.', - 'title' => 'API', + 'title' => 'API', // IGNORE ), 'bookmarklet' => array( 'documentation' => 'Arrastre este botón a la barra de herramientas de marcadores o haga clic derecho en él y elija "Marcar este enlace". Luego haga clic en el botón "Suscribirse" en cualquier página a la que desee suscribirse.', 'label' => 'Subscribirse', - 'title' => 'Bookmarklet', + 'title' => 'Bookmarklet', // IGNORE ), 'category' => array( '_' => 'Categoría', diff --git a/app/i18n/es/user.php b/app/i18n/es/user.php index a676c30dc..edf16a48d 100644 --- a/app/i18n/es/user.php +++ b/app/i18n/es/user.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'email' => array( 'feedback' => array( |
