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/fr/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/fr/conf.php')
| -rw-r--r-- | app/i18n/fr/conf.php | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php index ca3f1bbd6..7ef87d343 100644 --- a/app/i18n/fr/conf.php +++ b/app/i18n/fr/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( '_' => 'Archivage', @@ -11,7 +21,7 @@ return array( 'keep_min_by_feed' => 'Nombre minimum d’articles à conserver par flux', 'keep_period' => 'Âge maximum des articles à conserver', 'keep_unreads' => 'Ne jamais supprimer les articles non lus', - 'maintenance' => 'Maintenance', + 'maintenance' => 'Maintenance', // IGNORE 'optimize' => 'Optimiser la base de données', 'optimize_help' => 'À faire de temps en temps pour réduire la taille de la BDD', 'policy' => 'Politique de nettoyage', @@ -44,13 +54,13 @@ return array( 'label' => 'Miniature', 'landscape' => 'Paysage', 'none' => 'Sans', - 'portrait' => 'Portrait', + 'portrait' => 'Portrait', // IGNORE 'square' => 'Carrée', ), 'title' => 'Affichage', 'width' => array( 'content' => 'Largeur du contenu', - 'large' => 'Large', + 'large' => 'Large', // IGNORE 'medium' => 'Moyenne', 'no_limit' => 'Pas de limite', 'thin' => 'Fine', @@ -77,10 +87,10 @@ return array( 'categories' => 'Afficher par catégorie', 'feeds' => 'Afficher par flux', 'order' => 'Tri par date', - 'search' => 'Expression', + 'search' => 'Expression', // IGNORE 'state' => 'État', 'tags' => 'Afficher par étiquette', - 'type' => 'Type', + 'type' => 'Type', // IGNORE ), 'get_all' => 'Afficher tous les articles', 'get_category' => 'Afficher la catégorie "%s"', @@ -163,20 +173,20 @@ return array( 'sharing' => array( '_' => 'Partage', 'add' => 'Ajouter une méthode de partage', - 'blogotext' => 'Blogotext', - 'diaspora' => 'Diaspora*', + 'blogotext' => 'Blogotext', // IGNORE + 'diaspora' => 'Diaspora*', // IGNORE 'email' => 'Courriel', - 'facebook' => 'Facebook', + 'facebook' => 'Facebook', // IGNORE 'more_information' => 'Plus d’informations', - 'print' => 'Print', - 'raindrop' => 'Raindrop.io', + 'print' => 'Print', // IGNORE + 'raindrop' => 'Raindrop.io', // IGNORE 'remove' => 'Supprimer la méthode de partage', - 'shaarli' => 'Shaarli', + 'shaarli' => 'Shaarli', // IGNORE 'share_name' => 'Nom du partage à afficher', 'share_url' => 'URL du partage à utiliser', 'title' => 'Partage', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag', + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag', // IGNORE ), 'shortcut' => array( '_' => 'Raccourcis', @@ -194,7 +204,7 @@ return array( 'load_more' => 'Charger plus d’articles', 'mark_favorite' => 'Basculer l’indicateur de favori', 'mark_read' => 'Basculer l’indicateur de lecture', - 'navigation' => 'Navigation', + 'navigation' => 'Navigation', // IGNORE 'navigation_help' => 'Avec le modificateur <kbd>⇧ Maj</kbd>, les raccourcis de navigation s’appliquent aux flux.<br/>Avec le modificateur <kbd>Alt ⎇</kbd>, les raccourcis de navigation s’appliquent aux catégories.', 'navigation_no_mod_help' => 'Les raccourcis suivant ne supportent pas les modificateurs.', 'next_article' => 'Passer à l’article suivant', @@ -216,7 +226,7 @@ return array( 'views' => 'Vues', ), 'user' => array( - 'articles_and_size' => '%s articles (%s)', + 'articles_and_size' => '%s articles (%s)', // IGNORE 'current' => 'Utilisateur actuel', 'is_admin' => 'est administrateur', 'users' => 'Utilisateurs', |
