From 127b7f0a3aad7012055c058e8aba0d27192a8cbc Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sat, 8 Jan 2022 08:00:26 -0500 Subject: 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. --- app/i18n/nl/admin.php | 14 ++++++- app/i18n/nl/conf.php | 32 ++++++++++----- app/i18n/nl/feedback.php | 10 +++++ app/i18n/nl/gen.php | 102 ++++++++++++++++++++++++++--------------------- app/i18n/nl/index.php | 14 ++++++- app/i18n/nl/install.php | 14 ++++++- app/i18n/nl/sub.php | 14 ++++++- app/i18n/nl/user.php | 10 +++++ 8 files changed, 145 insertions(+), 65 deletions(-) (limited to 'app/i18n/nl') 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ array( '_' => 'Over', - 'agpl3' => 'AGPL 3', + 'agpl3' => 'AGPL 3', // IGNORE 'bugs_reports' => 'Rapporteer fouten', 'credits' => 'Waarderingen', 'credits_content' => 'Sommige ontwerp elementen komen van Bootstrap alhoewel FreshRSS dit raamwerk niet gebruikt. Pictogrammen komen van het GNOME project. De Open Sans font police is gemaakt door Steve Matteson. FreshRSS is gebaseerd op Minz, een PHP raamwerk. Nederlandse vertaling door Wanabo, NieuwsKop.be. Link naar de Nederlandse vertaling, FreshRSS-Dutch-translation.', @@ -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 @@ 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 @@ 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 @@ array( 'feedback' => array( -- cgit v1.2.3