diff options
| author | 2020-05-15 17:31:21 +0200 | |
|---|---|---|
| committer | 2020-05-15 17:31:21 +0200 | |
| commit | 8487fa6248d1d5dac81640de9c55c1eab9f324b3 (patch) | |
| tree | f3209fdeb8341870bd4fe765e30a0a395a12c4ea /app/i18n/it/conf.php | |
| parent | 62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (diff) | |
Reformat i18n correctly (#2976)
* Ignore i18n gen.dir key
* Add a makefile target to update an i18n key
* Mark some i18n keys to ignore
* Reformat i18n files correctly
* Make i18n keys sort case-sensitive
Calling `make i18n-format` was always inverting 4 lines:
- gen.date.dec with gen.date.Dec
- and gen.date.nov with gen.date.Nov
I don't know why these particular lines and not the others, but it
appeared the sort function was case insensitive due to the
`SORT_FLAG_CASE` flag passed to the `ksort` function. Removing this flag
makes the calls to the formatter idempotent and more reliable.
Unfortunately it moves a lot of lines since the `_` character is
considered differently.
* Check i18n files are correctly formatted on Travis
Diffstat (limited to 'app/i18n/it/conf.php')
| -rw-r--r-- | app/i18n/it/conf.php | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php index afe9e1d48..9f6fd900f 100644 --- a/app/i18n/it/conf.php +++ b/app/i18n/it/conf.php @@ -2,6 +2,7 @@ return array( 'archiving' => array( + '_' => 'Archiviazione', 'delete_after' => 'Rimuovi articoli dopo', 'exception' => 'Purge exception', // TODO - Translation 'help' => 'Altre opzioni sono disponibili nelle impostazioni dei singoli feed', @@ -19,9 +20,9 @@ return array( 'purge_now' => 'Cancella ora', 'title' => 'Archiviazione', 'ttl' => 'Non effettuare aggiornamenti per più di', - '_' => 'Archiviazione', ), 'display' => array( + '_' => 'Visualizzazione', 'icon' => array( 'bottom_line' => 'Barra in fondo', 'display_authors' => 'Authors', // TODO - Translation @@ -46,22 +47,22 @@ return array( 'no_limit' => 'Nessun limite', 'thin' => 'Stretto', ), - '_' => 'Visualizzazione', ), 'profile' => array( + '_' => 'Gestione profili', 'api' => 'API management', // TODO - Translation 'delete' => array( - 'warn' => 'Il tuo account e tutti i dati associati saranno cancellati.', '_' => 'Cancellazione account', + 'warn' => 'Il tuo account e tutti i dati associati saranno cancellati.', ), 'email' => 'Indirizzo email', 'password_api' => 'Password API<br /><small>(e.g., per applicazioni mobili)</small>', 'password_form' => 'Password<br /><small>(per il login classico)</small>', 'password_format' => 'Almeno 7 caratteri', 'title' => 'Profilo', - '_' => 'Gestione profili', ), 'query' => array( + '_' => 'Ricerche personali', 'deprecated' => 'Questa query non è più valida. La categoria o il feed di riferimento non stati cancellati.', 'display' => 'Display user query results', // TODO - Translation 'filter' => 'Filtro applicato:', @@ -69,8 +70,8 @@ return array( 'get_category' => 'Mostra la categoria "%s" ', 'get_favorite' => 'Mostra articoli preferiti', 'get_feed' => 'Mostra feed "%s" ', - 'none' => 'Non hai creato nessuna ricerca personale.', 'no_filter' => 'Nessun filtro', + 'none' => 'Non hai creato nessuna ricerca personale.', 'number' => 'Ricerca n°%d', 'order_asc' => 'Mostra prima gli articoli più vecchi', 'order_desc' => 'Mostra prima gli articoli più nuovi', @@ -93,9 +94,9 @@ return array( 'state_14' => 'Mostra gli articoli non letti', 'state_15' => 'Mostra tutti gli articoli', 'title' => 'Ricerche personali', - '_' => 'Ricerche personali', ), 'reading' => array( + '_' => 'Lettura', 'after_onread' => 'Dopo “segna tutto come letto”,', 'always_show_favorites' => 'Show all articles in favorites by default', // TODO - Translation 'articles_per_page' => 'Numero di articoli per pagina', @@ -117,16 +118,19 @@ return array( 'when' => 'Segna articoli come letti…', ), 'show' => array( + '_' => 'Articoli da visualizzare', + 'active_category' => 'Active category', // TODO - Translation 'adaptive' => 'Adatta visualizzazione', 'all_articles' => 'Mostra tutti gli articoli', + 'all_categories' => 'All categories', // TODO - Translation + 'no_category' => 'No category', // TODO - Translation 'unread' => 'Mostra solo non letti', - '_' => 'Articoli da visualizzare', ), 'sides_close_article' => 'Clicking outside of article text area closes the article', // TODO - Translation 'sort' => array( + '_' => 'Ordinamento', 'newer_first' => 'Prima i più recenti', 'older_first' => 'Prima i più vecchi', - '_' => 'Ordinamento', ), 'sticky_post' => 'Blocca il contenuto a inizio pagina quando aperto', 'title' => 'Lettura', @@ -136,9 +140,9 @@ return array( 'normal' => 'Vista elenco', 'reader' => 'Modalità di lettura', ), - '_' => 'Lettura', ), 'sharing' => array( + '_' => 'Condivisione', 'add' => 'Add a sharing method', // TODO - Translation 'blogotext' => 'Blogotext', // TODO - Translation 'diaspora' => 'Diaspora*', // TODO - Translation @@ -153,9 +157,9 @@ return array( 'title' => 'Condividi', 'twitter' => 'Twitter', // TODO - Translation 'wallabag' => 'wallabag', // TODO - Translation - '_' => 'Condivisione', ), 'shortcut' => array( + '_' => 'Comandi tastiera', 'article_action' => 'Azioni sugli articoli', 'auto_share' => 'Condividi', 'auto_share_help' => 'Se è presente un solo servizio di condivisione verrà usato quello, altrimenti usare anche il numero associato.', @@ -180,14 +184,13 @@ return array( 'reading_view' => 'Switch to reading view', // TODO - Translation 'rss_view' => 'Open RSS view in a new tab', // TODO - Translation 'see_on_website' => 'Vai al sito fonte', - 'shift_for_all_read' => '+ <kbd>Alt ⎇</kbd> to mark previous articles as read<br />+ <kbd>⇧ Shift</kbd> per segnare tutti gli articoli come letti', // TODO - Translation + 'shift_for_all_read' => '+ <kbd>Alt ⎇</kbd> to mark previous articles as read<br />+ <kbd>⇧ Shift</kbd> to mark all articles as read', // TODO - Translation 'skip_next_article' => 'Focus next without opening', // TODO - Translation 'skip_previous_article' => 'Focus previous without opening', // TODO - Translation 'title' => 'Comandi da tastiera', 'user_filter' => 'Accedi alle ricerche personali', 'user_filter_help' => 'Se è presente una sola ricerca personale verrà usata quella, altrimenti usare anche il numero associato.', 'views' => 'Views', // TODO - Translation - '_' => 'Comandi tastiera', ), 'user' => array( 'articles_and_size' => '%s articoli (%s)', |
