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/ru/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/ru/admin.php')
| -rw-r--r-- | app/i18n/ru/admin.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/app/i18n/ru/admin.php b/app/i18n/ru/admin.php index 2b93a0099..8c69a9425 100644 --- a/app/i18n/ru/admin.php +++ b/app/i18n/ru/admin.php @@ -67,8 +67,8 @@ return array( 'ok' => 'У вас установлена библиотека для работы с JSON.', ), '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 - Translation + 'ok' => 'You have the recommended library mbstring for Unicode.', // TODO - Translation ), 'minz' => array( 'nok' => 'У вас не установлен фрейворк Minz.', @@ -83,9 +83,9 @@ return array( 'ok' => 'У вас установлен PDO и как минимум один из поддерживаемых драйверов (pdo_mysql, pdo_sqlite, pdo_pgsql).', ), 'php' => array( - '_' => 'PHP installation', 'nok' => 'У вас установлен PHP версии %s, но FreshRSS необходима версия не ниже %s.', 'ok' => 'У вас установлен PHP версии %s, который совместим с FreshRSS.', + '_' => 'PHP installation', // TODO - Translation ), 'tables' => array( 'nok' => 'В базе данных отсуствует одна или больше таблица.', @@ -94,38 +94,37 @@ return array( 'title' => 'Проверка установки и настройки', 'tokens' => array( 'nok' => 'Проверьте права доступа к папке <em>./data/tokens</em> . Сервер HTTP должен иметь права на запись в эту папку.', - 'ok' => 'Права на папку tokens в порядке.', + 'ok' => 'Права на папку tokens в порядке.', ), 'users' => array( 'nok' => 'Проверьте права доступа к папке <em>./data/users</em> . Сервер HTTP должен иметь права на запись в эту папку.', - 'ok' => 'Права на папку users в порядке.', + 'ok' => 'Права на папку users в порядке.', ), 'zip' => array( 'nok' => 'You lack ZIP extension (php-zip package).', - 'ok' => 'You have ZIP extension.', + 'ok' => 'You have ZIP extension.', // TODO - Translation ), ), 'extensions' => array( - 'author' => 'Author', //TODO - Translation - 'community' => 'Available community extensions', //TODO - Translation - 'description' => 'Description', //TODO - Translation + 'author' => 'Author', // TODO - Translation + 'community' => 'Available community extensions', // TODO - Translation + 'description' => 'Description', // TODO - Translation 'disabled' => 'Отключены', 'empty_list' => 'Расширения не установлены', 'enabled' => 'Включены', - 'latest' => 'Installed', //TODO - Translation - 'name' => 'Name', //TODO - Translation + 'latest' => 'Installed', // TODO - Translation + 'name' => 'Name', // TODO - Translation 'no_configure_view' => 'Это расширение нельзя настроить.', 'system' => array( - '_' => 'Системные расширения', 'no_rights' => 'Системные расширения (у вас нет к ним доступа)', + '_' => 'Системные расширения', ), 'title' => 'Расширения', - 'update' => 'Update available', //TODO - Translation + 'update' => 'Update available', // TODO - Translation 'user' => 'Расширения пользователя', - 'version' => 'Version', //TODO - Translation + 'version' => 'Version', // TODO - Translation ), 'stats' => array( - '_' => 'Статистика', 'all_feeds' => 'Все подписки', 'category' => 'Категория', 'entry_count' => 'Количество статей', @@ -155,31 +154,32 @@ return array( 'status_unread' => 'Не прочитано', 'title' => 'Статистика', 'top_feed' => '10 лучших подписок', + '_' => 'Статистика', ), 'system' => array( - '_' => 'Системные настройки', 'auto-update-url' => 'Адрес сервера для автоматического обновления', - 'force_email_validation' => 'Force email addresses validation', //TODO - Translation + 'cookie-duration' => array( + 'help' => 'in seconds', // TODO - Translation + 'number' => 'Duration to keep logged in', // TODO - Translation + ), + 'force_email_validation' => 'Force email addresses validation', // TODO - Translation 'instance-name' => 'Название этого сервера', 'max-categories' => 'Количество категорий на пользователя', 'max-feeds' => 'Количество статей на пользователя', - 'cookie-duration' => array( - 'help' => 'in seconds', // @todo translate - 'number' => 'Duration to keep logged in', // @todo translate - ), 'registration' => array( 'help' => '0 означает неограниченное количество пользователей', 'number' => 'Максимальное количество пользователей', ), + '_' => 'Системные настройки', ), 'update' => array( - '_' => 'Обновление системы', 'apply' => 'Применить', 'check' => 'Проверить обновления', 'current_version' => 'Ваша текущая версия FreshRSS: %s.', 'last' => 'Последняя проверка: %s', 'none' => 'Нечего обновлять', 'title' => 'Обновить систему', + '_' => 'Обновление системы', ), 'user' => array( 'articles_and_size' => '%s статей (%s)', @@ -187,19 +187,19 @@ return array( 'back_to_manage' => '← Return to user list', // TODO - Translation 'create' => 'Создать нового пользователя', 'database_size' => 'Database size', // TODO - Translation - 'delete_users' => 'Delete user', //TODO - Translation - 'feed_count' => 'Feeds', //TODO - Translation + 'delete_users' => 'Delete user', // TODO - Translation + 'feed_count' => 'Feeds', // TODO - Translation 'language' => 'Язык', 'list' => 'User list', // TODO - Translation 'number' => 'На данный момент создан %d аккаунт', - 'numbers' => 'На данный момент аккаунтов создано: %d', + 'numbers' => 'На данный момент аккаунтов создано: %d', 'password_form' => 'Пароль<br /><small>(для входа через Веб-форму)</small>', 'password_format' => 'Минимум 7 символов', - 'selected' => 'Selected user', //TODO - Translation + 'selected' => 'Selected user', // TODO - Translation 'title' => 'Управление пользователями', - 'update_users' => 'Update user', //TODO - Translation - 'user_list' => 'Список пользователей', + 'update_users' => 'Update user', // TODO - Translation 'username' => 'Имя пользователя', 'users' => 'Пользователи', + 'user_list' => 'Список пользователей', ), ); |
