From 3e49b44839237693ce1a8151325942704917f6c6 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 4 Dec 2019 08:27:39 +0100 Subject: Update i18n cli tools (#2673) * Update i18n cli tools Few things were bugging me when using the cli tool for i18n. So I've modified the tools to be easier to use. First, the tool automatically adds missing keys to all languages. This way, we always have all keys in all languages. Second, the tool detects all untranslated keys and adds automatically the todo comment after the value. Third, when adding a new key, the key is pushed to all languages at once. There is no need to duplicate it manually. Thus making the duplication process obsolete. Fourth, translation and ignore keys are manipulated at the same time. Thus we don't have obsolete ignored strings anymore. * Add i18n rules I find that having the common rules in the Makefile is easier to use, as long as you know they are here. As it is self documented, people will see the new rules when using make. * Use long parameters in Makefile I find that using long parameters in scripts makes it easier to understand what's going on. So I've switched all short parameters to long one. * Format all i18n files I've used the updated version of the cli tools to have some output that can be consistently formated. This commit is a huge formating commit. Nothing was added but some comments were removed in the process. --- app/i18n/de/install.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/i18n/de/install.php') diff --git a/app/i18n/de/install.php b/app/i18n/de/install.php index 6fc8f2149..734edb7bb 100644 --- a/app/i18n/de/install.php +++ b/app/i18n/de/install.php @@ -17,20 +17,19 @@ return array( 'type' => 'Authentifizierungsmethode', ), 'bdd' => array( - '_' => 'Datenbank', 'conf' => array( - '_' => 'Datenbank-Konfiguration', 'ko' => 'Überprüfen Sie Ihre Datenbank-Information.', 'ok' => 'Datenbank-Konfiguration ist gespeichert worden.', + '_' => 'Datenbank-Konfiguration', ), - 'host' => 'Host', + 'host' => 'Host', // TODO - Translation 'password' => 'SQL-Password', 'prefix' => 'Tabellen-Präfix', 'type' => 'Datenbank-Typ', 'username' => 'SQL-Nutzername', + '_' => 'Datenbank', ), 'check' => array( - '_' => 'Überprüfungen', 'already_installed' => 'Wir haben festgestellt, dass FreshRSS bereits installiert wurde!', 'cache' => array( 'nok' => 'Überprüfen Sie die Berechtigungen des Verzeichnisses ./data/cache. Der HTTP-Server muss Schreibrechte besitzen.', @@ -96,10 +95,11 @@ return array( 'nok' => 'Ihnen fehlt die benötigte Bibliothek um XML zu parsen.', 'ok' => 'Sie haben die benötigte Bibliothek um XML zu parsen.', ), + '_' => 'Überprüfungen', ), 'conf' => array( - '_' => 'Allgemeine Konfiguration', 'ok' => 'Die allgemeine Konfiguration ist gespeichert worden.', + '_' => 'Allgemeine Konfiguration', ), 'congratulations' => 'Glückwunsch!', 'default_user' => 'Nutzername des Standardbenutzers (maximal 16 alphanumerische Zeichen)', @@ -110,14 +110,14 @@ return array( 'confirm_reinstall' => 'Du wirst deine vorherige Konfiguration (Daten) verlieren FreshRSS. Bist du sicher, dass du fortfahren willst?', ), 'language' => array( - '_' => 'Sprache', 'choose' => 'Wählen Sie eine Sprache für FreshRSS', 'defined' => 'Die Sprache ist festgelegt worden.', + '_' => 'Sprache', ), 'not_deleted' => 'Etwas ist schiefgelaufen; Sie müssen die Datei %s manuell löschen.', 'ok' => 'Der Installationsvorgang war erfolgreich.', 'step' => 'Schritt %d', 'steps' => 'Schritte', - 'title' => 'Installation · FreshRSS', 'this_is_the_end' => 'Das ist das Ende', + 'title' => 'Installation · FreshRSS', // TODO - Translation ); -- cgit v1.2.3