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/en/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/en/admin.php')
| -rw-r--r-- | app/i18n/en/admin.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php index 152c70337..812e0293a 100644 --- a/app/i18n/en/admin.php +++ b/app/i18n/en/admin.php @@ -83,9 +83,9 @@ return array( 'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).', ), 'php' => array( - '_' => 'PHP installation', 'nok' => 'Your PHP version is %s but FreshRSS requires at least version %s.', 'ok' => 'Your PHP version is %s, which is compatible with FreshRSS.', + '_' => 'PHP installation', ), 'tables' => array( 'nok' => 'There are one or more missing tables in the database.', @@ -116,8 +116,8 @@ return array( 'name' => 'Name', 'no_configure_view' => 'This extension cannot be configured.', 'system' => array( - '_' => 'System extensions', 'no_rights' => 'System extension (you have no rights on it)', + '_' => 'System extensions', ), 'title' => 'Extensions', 'update' => 'Update available', @@ -125,7 +125,6 @@ return array( 'version' => 'Version', ), 'stats' => array( - '_' => 'Statistics', 'all_feeds' => 'All feeds', 'category' => 'Category', 'entry_count' => 'Entry count', @@ -155,31 +154,32 @@ return array( 'status_unread' => 'Unread', 'title' => 'Statistics', 'top_feed' => 'Top ten feeds', + '_' => 'Statistics', ), 'system' => array( - '_' => 'System configuration', 'auto-update-url' => 'Auto-update server URL', - 'force_email_validation' => 'Force email addresses validation', - 'instance-name' => 'Instance name', - 'max-categories' => 'Categories per user limit', - 'max-feeds' => 'Feeds per user limit', 'cookie-duration' => array( 'help' => 'in seconds', 'number' => 'Duration to keep logged in', ), + 'force_email_validation' => 'Force email addresses validation', + 'instance-name' => 'Instance name', + 'max-categories' => 'Categories per user limit', + 'max-feeds' => 'Feeds per user limit', 'registration' => array( 'help' => '0 means that there is no account limit', 'number' => 'Max number of accounts', ), + '_' => 'System configuration', ), 'update' => array( - '_' => 'Update system', 'apply' => 'Apply', 'check' => 'Check for new updates', 'current_version' => 'Your current version of FreshRSS is %s.', 'last' => 'Last verification: %s', 'none' => 'No update to apply', 'title' => 'Update system', + '_' => 'Update system', ), 'user' => array( 'articles_and_size' => '%s articles (%s)', @@ -198,8 +198,8 @@ return array( 'selected' => 'Selected user', 'title' => 'Manage users', 'update_users' => 'Update user', - 'user_list' => 'List of users', 'username' => 'Username', 'users' => 'Users', + 'user_list' => 'List of users', ), ); |
