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/ru/install.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/ru/install.php')
| -rw-r--r-- | app/i18n/ru/install.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/i18n/ru/install.php b/app/i18n/ru/install.php index 47069abca..610813a67 100644 --- a/app/i18n/ru/install.php +++ b/app/i18n/ru/install.php @@ -17,19 +17,20 @@ 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 должен иметь права на запись в эту папку.', @@ -95,11 +96,10 @@ return array( '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' => 'Общие настройки были сохранены.', '_' => 'Общие настройки', + 'ok' => 'Общие настройки были сохранены.', ), 'congratulations' => 'Поздравляем!', 'default_user' => 'Имя пользователя по умолчанию <small>(максимум 16 латинских букв и/или цифр)</small>', @@ -110,9 +110,9 @@ return array( 'confirm_reinstall' => 'Переустанавливая FreshRSS, вы потеряете предыдущую конфигурацию. Вы хотите продолжить?', ), 'language' => array( + '_' => 'Язык', 'choose' => 'Выберите язык для FreshRSS', 'defined' => 'Язык выбран.', - '_' => 'Язык', ), 'not_deleted' => 'Что-то пошло не так; удалите файл <em>%s</em> вручную.', 'ok' => 'Установка успешна.', |
