diff options
| author | 2019-12-04 08:27:39 +0100 | |
|---|---|---|
| committer | 2019-12-04 08:27:39 +0100 | |
| commit | 3e49b44839237693ce1a8151325942704917f6c6 (patch) | |
| tree | 75a1af8089d48d3bb14de2d9d98c503ee76433e2 /app/i18n/oc/admin.php | |
| parent | de2b323847e0a91119625e4f506f51ec9d43872f (diff) | |
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.
Diffstat (limited to 'app/i18n/oc/admin.php')
| -rw-r--r-- | app/i18n/oc/admin.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/i18n/oc/admin.php b/app/i18n/oc/admin.php index a0d49faaa..e0f69eb65 100644 --- a/app/i18n/oc/admin.php +++ b/app/i18n/oc/admin.php @@ -83,9 +83,9 @@ return array( 'ok' => 'Avètz PDO e almens un des drivers compatibles (pdo_mysql, pdo_sqlite, pdo_pgsql).', ), 'php' => array( - '_' => 'Installacion PHP', 'nok' => 'Vòstra version PHP es la %s más FreshRSS demanda almens la versión %s.', 'ok' => 'Vòstra version PHP es %s, qu’es compatibla amb FreshRSS.', + '_' => 'Installacion PHP', ), 'tables' => array( 'nok' => 'Manca una o mai tabla dins la basa de donadas.', @@ -116,16 +116,15 @@ return array( 'name' => 'Nom', 'no_configure_view' => 'Aquesta extension se pòt pas configurar.', 'system' => array( - '_' => 'Extensions sistèma', 'no_rights' => 'Extensions sistèma (contrarotlat per l’administrator)', + '_' => 'Extensions sistèma', ), 'title' => 'Extensions', 'update' => 'Mesa a jorn disponibla', 'user' => 'Extensions utilizaire', - 'version' => 'Version', + 'version' => 'Version', // TODO - Translation ), 'stats' => array( - '_' => 'Estatisticas', 'all_feeds' => 'Totes los fluxes', 'category' => 'Categoria', 'entry_count' => 'Nombre d’articles', @@ -151,13 +150,13 @@ return array( 'repartition' => 'Reparticion dels articles', 'status_favorites' => 'Favorits', 'status_read' => 'Legit', - 'status_total' => 'Total', + 'status_total' => 'Total', // TODO - Translation 'status_unread' => 'Pas legits', 'title' => 'Estatisticas', 'top_feed' => 'Los dètz fluxes mai gròsses', + '_' => 'Estatisticas', ), 'system' => array( - '_' => 'Configuracion sistèma', 'auto-update-url' => 'URL del servici de mesa a jorn', 'cookie-duration' => array( 'help' => 'en segondas', @@ -168,18 +167,19 @@ return array( 'max-categories' => 'Limita de categoria per utilizaire', 'max-feeds' => 'Limita de fluxes per utilizaire', 'registration' => array( - 'number' => 'Nombre max de comptes', 'help' => '0 vòl dire qu’i a pas cap de limita de compte', + 'number' => 'Nombre max de comptes', ), + '_' => 'Configuracion sistèma', ), 'update' => array( - '_' => 'Sistèma de mesa a jorn', 'apply' => 'Aplicar', 'check' => 'Verificar las mesas a jorn', 'current_version' => 'Vòstra version actuala de FreshRSS es %s.', 'last' => 'Darrièra verificacion : %s', 'none' => 'Cap d’actualizacion d’aplicar', 'title' => 'Sistèma de mesa a jorn', + '_' => 'Sistèma de mesa a jorn', ), 'user' => array( 'articles_and_size' => '%s articles (%s)', @@ -188,7 +188,7 @@ return array( 'create' => 'Crear un nòu utilizaire', 'database_size' => 'Database size', // TODO - Translation 'delete_users' => 'Suprimir un utilizaire', - 'feed_count' => 'Feeds', //TODO - Translation + 'feed_count' => 'Feeds', // TODO - Translation 'language' => 'Lenga', 'list' => 'User list', // TODO - Translation 'number' => '%d compte ja creat', @@ -198,8 +198,8 @@ return array( 'selected' => 'Utilizaire seleccionat', 'title' => 'Gestion dels utilizaires', 'update_users' => 'Actualizar un utilizaire', - 'user_list' => 'Lista dels utilizaires', 'username' => 'Nom d’utilizaire', 'users' => 'Utilizaires', + 'user_list' => 'Lista dels utilizaires', ), ); |
