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/it/install.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/it/install.php')
| -rw-r--r-- | app/i18n/it/install.php | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/app/i18n/it/install.php b/app/i18n/it/install.php index 3e667251b..742ae830b 100644 --- a/app/i18n/it/install.php +++ b/app/i18n/it/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' => 'Installazione completata', @@ -17,13 +27,13 @@ return array( 'type' => 'Metodo di autenticazione', ), 'bdd' => array( - '_' => 'Database', // TODO - Translation + '_' => 'Database', // TODO 'conf' => array( '_' => 'Configurazione database', 'ko' => 'Verifica le informazioni del database.', 'ok' => 'Le configurazioni del database sono state salvate.', ), - 'host' => 'Host', // TODO - Translation + 'host' => 'Host', // TODO 'password' => 'Password del database', 'prefix' => 'Prefisso tabella', 'type' => 'Tipo di database', @@ -62,11 +72,11 @@ return array( ), 'json' => array( 'nok' => 'You lack a recommended library to parse JSON.', - 'ok' => 'You have the recommended library to parse JSON.', // TODO - Translation + 'ok' => 'You have the recommended library to parse JSON.', // TODO ), 'mbstring' => array( - 'nok' => 'Cannot find the recommended library mbstring for Unicode.', // TODO - Translation - 'ok' => 'You have the recommended library mbstring for Unicode.', // TODO - Translation + 'nok' => 'Cannot find the recommended library mbstring for Unicode.', // TODO + 'ok' => 'You have the recommended library mbstring for Unicode.', // TODO ), 'pcre' => array( 'nok' => 'Manca una libreria richiesta per le regular expressions (php-pcre).', @@ -83,16 +93,16 @@ return array( 'reload' => 'Controlla di nuovo', 'tmp' => array( 'nok' => 'Verifica i permessi sulla cartella <em>%s</em>. Il server HTTP deve avere i permessi per scriverci dentro.', - 'ok' => 'Permissions on the temp directory are good.', // TODO - Translation + 'ok' => 'Permissions on the temp directory are good.', // TODO ), - 'unknown_process_username' => 'unknown', // TODO - Translation + 'unknown_process_username' => 'unknown', // TODO 'users' => array( 'nok' => 'Verifica i permessi sulla cartella <em>%s</em>. Il server HTTP deve avere i permessi per scriverci dentro.', 'ok' => 'I permessi sulla cartella users sono corretti.', ), 'xml' => array( 'nok' => 'You lack the required library to parse XML.', - 'ok' => 'You have the required library to parse XML.', // TODO - Translation + 'ok' => 'You have the required library to parse XML.', // TODO ), ), 'conf' => array( @@ -111,10 +121,10 @@ return array( 'choose' => 'Seleziona la lingua per FreshRSS', 'defined' => 'Lingua impostata.', ), - 'missing_applied_migrations' => 'Something went wrong; you should create an empty file <em>%s</em> manually.', // TODO - Translation + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file <em>%s</em> manually.', // TODO 'ok' => 'Processo di installazione terminato con successo.', 'session' => array( - 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation + 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO ), 'step' => 'Passaggio %d', 'steps' => 'Passaggi', |
