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/oc/conf.php | |
| 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/oc/conf.php')
| -rw-r--r-- | app/i18n/oc/conf.php | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php index 98e9b50b4..9c32a45f6 100644 --- a/app/i18n/oc/conf.php +++ b/app/i18n/oc/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( '_' => 'Archius', @@ -77,7 +87,7 @@ return array( 'categories' => 'Afichatge per categoria', 'feeds' => 'Afichatge per flux', 'order' => 'Triar per data', - 'search' => 'Expression', + 'search' => 'Expression', // IGNORE 'state' => 'Estat', 'tags' => 'Afichatge per etiqueta', 'type' => 'Tipe', @@ -163,20 +173,20 @@ return array( 'sharing' => array( '_' => 'Partatge', 'add' => 'Ajustar un metòde de partatge', - 'blogotext' => 'Blogotext', - 'diaspora' => 'Diaspora*', + 'blogotext' => 'Blogotext', // IGNORE + 'diaspora' => 'Diaspora*', // IGNORE 'email' => 'Corrièl', - 'facebook' => 'Facebook', + 'facebook' => 'Facebook', // IGNORE 'more_information' => 'Mai d’informacions', - 'print' => 'Imprimir', - 'raindrop' => 'Raindrop.io', + 'print' => 'Imprimir', // IGNORE + 'raindrop' => 'Raindrop.io', // IGNORE 'remove' => 'Suprimir lo metòde de partatge', - 'shaarli' => 'Shaarli', + 'shaarli' => 'Shaarli', // IGNORE 'share_name' => 'Nom del partatge de mostrar', 'share_url' => 'URL del partatge d’utilizar', 'title' => 'Partatge', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag', + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag', // IGNORE ), 'shortcut' => array( '_' => 'Acorchis', @@ -194,7 +204,7 @@ return array( 'load_more' => 'Cargar mai d’articles', 'mark_favorite' => 'Ajustar als favorits', 'mark_read' => 'Marcar coma legit', - 'navigation' => 'Navigacion', + 'navigation' => 'Navigacion', // IGNORE 'navigation_help' => 'Amb lo modificador <kbd>⇧ Shift</kbd>, los acorchis de navigacion s’aplican als fluxes.<br/>Amb lo modificador <kbd>Alt ⎇</kbd>, los acorchis de navigacion s’aplican a las categorias.', 'navigation_no_mod_help' => 'Los acorchis clavièrs de navigacion son pas compatibles amb los modificadors.', 'next_article' => 'Passar a l’article seguent', @@ -216,7 +226,7 @@ return array( 'views' => 'Vistas', ), 'user' => array( - 'articles_and_size' => '%s articles (%s)', + 'articles_and_size' => '%s articles (%s)', // IGNORE 'current' => 'Utilizaire actual', 'is_admin' => 'es administrator', 'users' => 'Utilizaires', |
