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/install.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/install.php')
| -rw-r--r-- | app/i18n/ru/install.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/app/i18n/ru/install.php b/app/i18n/ru/install.php index fd1e5c962..47069abca 100644 --- a/app/i18n/ru/install.php +++ b/app/i18n/ru/install.php @@ -3,7 +3,7 @@ return array( 'action' => array( 'finish' => 'Завершить установку', - 'fix_errors_before' => 'Пожалуйста, исправьте ошибки прежде чем переходить к следующему этапу.', + 'fix_errors_before' => 'Пожалуйста, исправьте ошибки прежде чем переходить к следующему этапу.', 'keep_install' => 'Сохранить предыдущую установку', 'next_step' => 'Перейти к следующему этапу', 'reinstall' => 'Переустановить FreshRSS', @@ -17,20 +17,19 @@ return array( 'type' => 'Метод аутентификации', ), 'bdd' => array( - '_' => 'База данных', 'conf' => array( - '_' => 'Конфигурация базы данныхDatabase configuration', 'ko' => 'Проверьте конфигурацию базы данных.', 'ok' => 'Конфигурация базы данных сохранена.', + '_' => 'Конфигурация базы данныхDatabase configuration', ), 'host' => 'Хост', 'password' => 'Пароль базы данных', 'prefix' => 'Префикс таблицы', 'type' => 'Тип базы данных', 'username' => 'Имя пользователя базы данных', + '_' => 'База данных', ), 'check' => array( - '_' => 'Проверки', 'already_installed' => 'Обнаружена предыдущая установка FreshRSS!', 'cache' => array( 'nok' => 'Проверьте права доступа к папке <em>./data/cache</em> . Сервер HTTP должен иметь права на запись в эту папку.', @@ -65,12 +64,12 @@ return array( 'ok' => 'Ваш HTTP REFERER известен и соотвествует вашему серверу.', ), 'json' => array( - 'nok' => 'Cannot find a recommended library to parse JSON.', //TODO - Translation - 'ok' => 'You have a recommended library to parse JSON.', //TODO - Translation + 'nok' => 'Cannot find a recommended library to parse JSON.', // TODO - Translation + 'ok' => 'You have a recommended library to parse JSON.', // TODO - Translation ), '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.', @@ -90,34 +89,35 @@ return array( ), 'users' => array( 'nok' => 'Проверьте права доступа к папке <em>./data/users</em> . Сервер HTTP должен иметь права на запись в эту папку.', - 'ok' => 'Права на папку users в порядке.', + 'ok' => 'Права на папку users в порядке.', ), 'xml' => array( - 'nok' => 'Cannot find the required library to parse XML.', - 'ok' => 'You have the required library to parse XML.', + 'nok' => 'Cannot find the required library to parse XML.', // TODO - Translation + 'ok' => 'You have the required library to parse XML.', // TODO - Translation ), + '_' => 'Проверки', ), 'conf' => array( - '_' => 'Общие настройки', 'ok' => 'Общие настройки были сохранены.', + '_' => 'Общие настройки', ), 'congratulations' => 'Поздравляем!', 'default_user' => 'Имя пользователя по умолчанию <small>(максимум 16 латинских букв и/или цифр)</small>', 'delete_articles_after' => 'Удалять статьи после', - 'fix_errors_before' => 'Пожалуйста, исправьте ошибки прежде чем переходить к следующему этапу..', + 'fix_errors_before' => 'Пожалуйста, исправьте ошибки прежде чем переходить к следующему этапу..', 'javascript_is_better' => 'FreshRSS принесёт больше удовольствия, если включить JavaScript', 'js' => array( 'confirm_reinstall' => 'Переустанавливая FreshRSS, вы потеряете предыдущую конфигурацию. Вы хотите продолжить?', ), 'language' => array( - '_' => 'Язык', 'choose' => 'Выберите язык для FreshRSS', 'defined' => 'Язык выбран.', + '_' => 'Язык', ), 'not_deleted' => 'Что-то пошло не так; удалите файл <em>%s</em> вручную.', 'ok' => 'Установка успешна.', 'step' => '%d этап', 'steps' => 'Этапы', - 'title' => 'Установка · FreshRSS', 'this_is_the_end' => 'Это конец', + 'title' => 'Установка · FreshRSS', ); |
