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/admin.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/admin.php')
| -rw-r--r-- | app/i18n/fr/admin.php | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.php index a6bb90bf8..3789453e0 100644 --- a/app/i18n/fr/admin.php +++ b/app/i18n/fr/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' => 'Autoriser la lecture anonyme des articles de l’utilisateur par défaut (%s)', @@ -103,7 +113,7 @@ return array( 'extensions' => array( 'author' => 'Auteur', 'community' => 'Extensions utilisateur disponibles', - 'description' => 'Description', + 'description' => 'Description', // IGNORE 'disabled' => 'Désactivée', 'empty_list' => 'Aucune extension installée', 'enabled' => 'Activée', @@ -114,10 +124,10 @@ return array( '_' => 'Extensions système', 'no_rights' => 'Extensions système (contrôlées par l’administrateur)', ), - 'title' => 'Extensions', + 'title' => 'Extensions', // IGNORE 'update' => 'Mise à jour disponible', 'user' => 'Extensions utilisateur', - 'version' => 'Version', + 'version' => 'Version', // IGNORE ), 'stats' => array( '_' => 'Statistiques', @@ -136,7 +146,7 @@ return array( 'main' => 'Statistiques principales', 'main_stream' => 'Flux principal', 'no_idle' => 'Il n’y a aucun flux inactif !', - 'number_entries' => '%d articles', + 'number_entries' => '%d articles', // IGNORE 'percent_of_total' => '%% du total', 'repartition' => 'Répartition des articles', 'status_favorites' => 'favoris', @@ -173,7 +183,7 @@ return array( ), 'user' => array( 'admin' => 'Administrateur', - 'article_count' => 'Articles', + 'article_count' => 'Articles', // IGNORE 'back_to_manage' => '← Revenir à la liste des utilisateurs', 'create' => 'Créer un nouvel utilisateur', 'database_size' => 'Volumétrie', |
