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/nl | |
| 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/nl')
| -rw-r--r-- | app/i18n/nl/admin.php | 14 | ||||
| -rw-r--r-- | app/i18n/nl/conf.php | 32 | ||||
| -rw-r--r-- | app/i18n/nl/feedback.php | 10 | ||||
| -rw-r--r-- | app/i18n/nl/gen.php | 102 | ||||
| -rw-r--r-- | app/i18n/nl/index.php | 14 | ||||
| -rw-r--r-- | app/i18n/nl/install.php | 14 | ||||
| -rw-r--r-- | app/i18n/nl/sub.php | 14 | ||||
| -rw-r--r-- | app/i18n/nl/user.php | 10 |
8 files changed, 145 insertions, 65 deletions
diff --git a/app/i18n/nl/admin.php b/app/i18n/nl/admin.php index e3f31cca6..c5eca9a78 100644 --- a/app/i18n/nl/admin.php +++ b/app/i18n/nl/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' => 'Sta bezoekers toe om artikelen te lezen van de standaard gebruiker (%s)', @@ -130,7 +140,7 @@ return array( 'entry_per_hour' => 'Per uur (gemiddeld: %.2f berichten)', 'entry_per_month' => 'Per maand (gemiddeld: %.2f berichten)', 'entry_repartition' => 'Invoer verdeling', - 'feed' => 'Feed', + 'feed' => 'Feed', // IGNORE 'feed_per_category' => 'Feeds per categorie', 'idle' => 'Gepauzeerde feeds', 'main' => 'Hoofd statistieken', @@ -179,7 +189,7 @@ return array( 'database_size' => 'Databasegrootte', 'email' => 'Emailadres', 'enabled' => 'Ingeschakeld', - 'feed_count' => 'Feeds', + 'feed_count' => 'Feeds', // IGNORE 'is_admin' => 'Is beheerder', 'language' => 'Taal', 'last_user_activity' => 'Laatste gebruikersactiviteit', diff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.php index dbf0282b4..4785347d5 100644 --- a/app/i18n/nl/conf.php +++ b/app/i18n/nl/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( '_' => 'Archivering', @@ -80,7 +90,7 @@ return array( 'search' => 'Expressie', 'state' => 'Status', 'tags' => 'Weergeven op tag', - 'type' => 'Type', + 'type' => 'Type', // IGNORE ), 'get_all' => 'Toon alle artikelen', 'get_category' => 'Toon "%s" categorie', @@ -88,7 +98,7 @@ return array( 'get_feed' => 'Toon "%s" feed', 'name' => 'Naam', 'no_filter' => 'Geen filter', - 'number' => 'Query n°%d', + 'number' => 'Query n°%d', // IGNORE 'order_asc' => 'Toon oudste artikelen eerst', 'order_desc' => 'Toon nieuwste artikelen eerst', 'search' => 'Zoek naar "%s"', @@ -163,20 +173,20 @@ return array( 'sharing' => array( '_' => 'Delen', 'add' => 'Deelmethode toevoegen', - 'blogotext' => 'Blogotext', - 'diaspora' => 'Diaspora*', - 'email' => 'Email', - 'facebook' => 'Facebook', + 'blogotext' => 'Blogotext', // IGNORE + 'diaspora' => 'Diaspora*', // IGNORE + 'email' => 'Email', // IGNORE + 'facebook' => 'Facebook', // IGNORE 'more_information' => 'Meer informatie', - 'print' => 'Afdrukken', - 'raindrop' => 'Raindrop.io', + 'print' => 'Afdrukken', // IGNORE + 'raindrop' => 'Raindrop.io', // IGNORE 'remove' => 'Deelmethode verwijderen', - 'shaarli' => 'Shaarli', + 'shaarli' => 'Shaarli', // IGNORE 'share_name' => 'Gedeelde naam om weer te geven', 'share_url' => 'Deel URL voor gebruik', 'title' => 'Delen', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag', + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag', // IGNORE ), 'shortcut' => array( '_' => 'Snelkoppelingen', diff --git a/app/i18n/nl/feedback.php b/app/i18n/nl/feedback.php index c4dc8bcc3..c2bc7b7be 100644 --- a/app/i18n/nl/feedback.php +++ b/app/i18n/nl/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' => 'U hebt geen rechten om deze pagina te bekijken.', diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.php index c3da75cab..d535a8ffe 100644 --- a/app/i18n/nl/gen.php +++ b/app/i18n/nl/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' => 'Feeds actualiseren', @@ -48,18 +58,18 @@ return array( ), ), 'date' => array( - 'Apr' => '\\A\\p\\r\\i\\l', + 'Apr' => '\\A\\p\\r\\i\\l', // IGNORE 'Aug' => '\\A\\u\\g\\u\\s\\t\\u\\s', - 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r', + 'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r', // IGNORE 'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\i', 'Jan' => '\\J\\a\\n\\u\\a\\r\\i', 'Jul' => '\\J\\u\\l\\i', 'Jun' => '\\J\\u\\n\\i', 'Mar' => '\\M\\a\\a\\r\\t', 'May' => '\\M\\e\\i', - 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r', + 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r', // IGNORE 'Oct' => '\\O\\k\\t\\o\\b\\e\\r', - 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r', + 'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r', // IGNORE 'apr' => 'apr', 'april' => 'Apr', 'aug' => 'aug', @@ -69,8 +79,8 @@ return array( 'december' => 'Dec', 'feb' => 'feb', 'february' => 'Feb', - 'format_date' => 'j %s Y', - 'format_date_hour' => 'j %s Y \\o\\m H\\:i', + 'format_date' => 'j %s Y', // IGNORE + 'format_date_hour' => 'j %s Y \\o\\m H\\:i', // IGNORE 'fri' => 'Vr', 'jan' => 'jan', 'january' => 'Jan', @@ -106,9 +116,9 @@ return array( 'wed' => 'Wo', 'yesterday' => 'Gisteren', ), - 'dir' => 'ltr', + 'dir' => 'ltr', // IGNORE 'freshrss' => array( - '_' => 'FreshRSS', + '_' => 'FreshRSS', // IGNORE 'about' => 'Over FreshRSS', ), 'js' => array( @@ -124,28 +134,28 @@ return array( 'should_be_activated' => 'JavaScript moet aanstaan', ), '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' => 'Over', - 'account' => 'Account', + 'account' => 'Account', // IGNORE 'admin' => 'Administratie', 'archiving' => 'Archiveren', 'authentication' => 'Authenticatie', @@ -183,25 +193,25 @@ return array( ), 'share' => array( 'Known' => 'Known-gebaseerde sites', - 'blogotext' => 'Blogotext', + 'blogotext' => 'Blogotext', // IGNORE 'clipboard' => 'Klembord', - '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', - 'print' => 'Print', - 'raindrop' => 'Raindrop.io', - 'shaarli' => 'Shaarli', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag v1', - 'wallabagv2' => 'wallabag v2', + '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' => 'Print', // IGNORE + 'raindrop' => 'Raindrop.io', // IGNORE + 'shaarli' => 'Shaarli', // IGNORE + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag v1', // IGNORE + 'wallabagv2' => 'wallabag v2', // IGNORE ), 'short' => array( 'attention' => 'Attentie!', @@ -212,7 +222,7 @@ return array( 'default_category' => 'Niet ingedeeld', 'no' => 'Nee', 'not_applicable' => 'Niet aanwezig', - 'ok' => 'Ok!', + 'ok' => 'Ok!', // IGNORE 'or' => 'of', 'yes' => 'Ja', ), diff --git a/app/i18n/nl/index.php b/app/i18n/nl/index.php index ee5142957..915968a63 100644 --- a/app/i18n/nl/index.php +++ b/app/i18n/nl/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( '_' => 'Over', - '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' => 'Rapporteer fouten', 'credits' => 'Waarderingen', 'credits_content' => 'Sommige ontwerp elementen komen van <a href="http://twitter.github.io/bootstrap/">Bootstrap</a> alhoewel FreshRSS dit raamwerk niet gebruikt. <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">Pictogrammen</a> komen van het <a href="https://www.gnome.org/">GNOME project</a>. <em>De Open Sans</em> font police is gemaakt door <a href="https://fonts.google.com/specimen/Open+Sans">Steve Matteson</a>. FreshRSS is gebaseerd op <a href="https://github.com/marienfressinaud/MINZ">Minz</a>, een PHP raamwerk. Nederlandse vertaling door Wanabo, <a href="http://www.nieuwskop.be" title="NieuwsKop">NieuwsKop.be</a>. Link naar de Nederlandse vertaling, <a href="https://github.com/Wanabo/FreshRSS-Dutch-translation/tree/master">FreshRSS-Dutch-translation</a>.', @@ -12,7 +22,7 @@ return array( 'license' => 'Licentie', 'project_website' => 'Projectwebsite', 'title' => 'Over', - 'version' => 'Versie', + 'version' => 'Versie', // IGNORE ), 'feed' => array( 'add' => 'U kunt wat feeds toevoegen.', diff --git a/app/i18n/nl/install.php b/app/i18n/nl/install.php index fa0ab8270..0dcc0f2a5 100644 --- a/app/i18n/nl/install.php +++ b/app/i18n/nl/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' => 'Completeer installatie', @@ -17,13 +27,13 @@ return array( 'type' => 'Authenticatiemethode', ), 'bdd' => array( - '_' => 'Database', + '_' => 'Database', // IGNORE 'conf' => array( '_' => 'Database configuratie', 'ko' => 'Controleer uw database informatie.', 'ok' => 'Database configuratie is opgeslagen.', ), - 'host' => 'Host', + 'host' => 'Host', // IGNORE 'password' => 'Database wachtwoord', 'prefix' => 'Tabel voorvoegsel', 'type' => 'Type database', diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php index 8d5707be1..611e97497 100644 --- a/app/i18n/nl/sub.php +++ b/app/i18n/nl/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' => 'Kopieer de volgende URL om deze in een externe toepassing te gebruiken.', - 'title' => 'API', + 'title' => 'API', // IGNORE ), 'bookmarklet' => array( 'documentation' => 'Sleep deze knop naar je bladwijzerwerkbalk of klik erop met de rechtermuisknop en kies "Deze link aan bladwijzers toevoegen."', 'label' => 'Abonneren', - 'title' => 'Bookmarklet', + 'title' => 'Bookmarklet', // IGNORE ), 'category' => array( '_' => 'Categorie', diff --git a/app/i18n/nl/user.php b/app/i18n/nl/user.php index 4b72af789..3559df57e 100644 --- a/app/i18n/nl/user.php +++ b/app/i18n/nl/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( |
