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/feedback.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/feedback.php')
| -rw-r--r-- | app/i18n/it/feedback.php | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/app/i18n/it/feedback.php b/app/i18n/it/feedback.php index 08730713a..ff09fbe5a 100644 --- a/app/i18n/it/feedback.php +++ b/app/i18n/it/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' => 'Non hai i permessi per accedere a questa pagina', @@ -10,8 +20,8 @@ return array( ), 'api' => array( 'password' => array( - 'failed' => 'Your password cannot be modified', // TODO - Translation - 'updated' => 'Your password has been modified', // TODO - Translation + 'failed' => 'Your password cannot be modified', // TODO + 'updated' => 'Your password has been modified', // TODO ), ), 'auth' => array( @@ -31,7 +41,7 @@ return array( ), 'extensions' => array( 'already_enabled' => '%s è già abilitata', - 'cannot_remove' => '%s cannot be removed', // TODO - Translation + 'cannot_remove' => '%s cannot be removed', // TODO 'disable' => array( 'ko' => '%s non può essere disabilitata. <a href="%s">Verifica i logs</a> per dettagli.', 'ok' => '%s è disabilitata', @@ -43,7 +53,7 @@ return array( 'no_access' => 'Accesso negato a %s', 'not_enabled' => '%s non abilitato', 'not_found' => '%s non disponibile', - 'removed' => '%s removed', // TODO - Translation + 'removed' => '%s removed', // TODO ), 'import_export' => array( 'export_no_zip_extension' => 'Estensione ZIP non presente sul server. Per favore esporta i files singolarmente.', @@ -60,8 +70,8 @@ return array( 'sub' => array( 'actualize' => 'Aggiorna', 'articles' => array( - 'marked_read' => 'The selected articles have been marked as read.', // TODO - Translation - 'marked_unread' => 'The articles have been marked as unread.', // TODO - Translation + 'marked_read' => 'The selected articles have been marked as read.', // TODO + 'marked_unread' => 'The articles have been marked as unread.', // TODO ), 'category' => array( 'created' => 'Categoria %s creata.', @@ -81,7 +91,7 @@ return array( 'actualizeds' => 'RSS feeds aggiornati', 'added' => 'RSS feed <em>%s</em> aggiunti', 'already_subscribed' => 'Hai già sottoscritto <em>%s</em>', - 'cache_cleared' => '<em>%s</em> cache has been cleared', // TODO - Translation + 'cache_cleared' => '<em>%s</em> cache has been cleared', // TODO 'deleted' => 'Feed cancellato', 'error' => 'Feed non aggiornato', 'internal_problem' => 'RSS feed non aggiunto. <a href="%s">Verifica i logs</a> per dettagli.', @@ -90,24 +100,24 @@ return array( 'n_entries_deleted' => '%d articoli cancellati', 'no_refresh' => 'Nessun aggiornamento disponibile…', 'not_added' => '<em>%s</em> non può essere aggiunto', - 'not_found' => 'Feed cannot be found', // TODO - Translation + 'not_found' => 'Feed cannot be found', // TODO 'over_max' => 'Hai raggiunto il numero limite di feed (%d)', - 'reloaded' => '<em>%s</em> has been reloaded', // TODO - Translation + 'reloaded' => '<em>%s</em> has been reloaded', // TODO 'selector_preview' => array( - 'http_error' => 'Failed to load website content.', // TODO - Translation - 'no_entries' => 'There are no articles in this feed. You need at least one article to create a preview.', // TODO - Translation - 'no_feed' => 'Internal error (feed cannot be found).', // TODO - Translation - 'no_result' => 'The selector didn\'t match anything. As a fallback the original feed text will be displayed instead.', // TODO - Translation - 'selector_empty' => 'The selector is empty. You need to define one to create a preview.', // TODO - Translation + 'http_error' => 'Failed to load website content.', // TODO + 'no_entries' => 'There are no articles in this feed. You need at least one article to create a preview.', // TODO + 'no_feed' => 'Internal error (feed cannot be found).', // TODO + 'no_result' => 'The selector didn\'t match anything. As a fallback the original feed text will be displayed instead.', // TODO + 'selector_empty' => 'The selector is empty. You need to define one to create a preview.', // TODO ), 'updated' => 'Feed aggiornato', ), 'purge_completed' => 'Svecchiamento completato (%d articoli cancellati)', ), 'tag' => array( - 'created' => 'Tag "%s" has been created.', // TODO - Translation - 'name_exists' => 'Tag name already exists.', // TODO - Translation - 'renamed' => 'Tag "%s" has been renamed to "%s".', // TODO - Translation + 'created' => 'Tag "%s" has been created.', // TODO + 'name_exists' => 'Tag name already exists.', // TODO + 'renamed' => 'Tag "%s" has been renamed to "%s".', // TODO ), 'update' => array( 'can_apply' => 'FreshRSS verrà aggiornato alla <strong>versione %s</strong>.', @@ -127,8 +137,8 @@ return array( 'error' => 'Utente %s non cancellato', ), 'updated' => array( - '_' => 'User %s has been updated', // TODO - Translation - 'error' => 'User %s has not been updated', // TODO - Translation + '_' => 'User %s has been updated', // TODO + 'error' => 'User %s has not been updated', // TODO ), ), ); |
