From f130dac22c01d6881e1a6c942e7483238bbcc9c8 Mon Sep 17 00:00:00 2001 From: eZees Date: Thu, 12 Jun 2014 11:57:27 +0400 Subject: [PATCH] Russian language and translation keys --- modules/backend/lang/ru/lang.php | 1 + modules/cms/lang/ru/lang.php | 4 ++-- .../controllers/emaillayouts/create.htm | 10 ++++---- .../controllers/emaillayouts/update.htm | 10 ++++---- .../controllers/emailtemplates/create.htm | 10 ++++---- .../controllers/emailtemplates/update.htm | 12 +++++----- modules/system/lang/en/lang.php | 5 +++- modules/system/lang/ru/lang.php | 24 +++++++++++++++++++ 8 files changed, 52 insertions(+), 24 deletions(-) diff --git a/modules/backend/lang/ru/lang.php b/modules/backend/lang/ru/lang.php index 3a862512e..d2a65d39d 100644 --- a/modules/backend/lang/ru/lang.php +++ b/modules/backend/lang/ru/lang.php @@ -114,6 +114,7 @@ return [ 'or' => 'или', 'confirm_tab_close' => 'Закрыть вкладку? Несохраненные изменения будут потеряны.', 'behavior_not_ready' => 'Поведение формы не было инициализировано, проверьте вызов initForm() в вашем контроллере.', + 'preview_no_files_message' => 'Файлы не загружены' ], 'relation' => [ 'missing_definition' => "Поведение отношения не содержит определения для ':field'.", diff --git a/modules/cms/lang/ru/lang.php b/modules/cms/lang/ru/lang.php index 6e43b5942..9949689b6 100644 --- a/modules/cms/lang/ru/lang.php +++ b/modules/cms/lang/ru/lang.php @@ -141,8 +141,8 @@ return [ 'validation_message' => "Псевдонимы обязательны и могут содержать только латинские буквы, цифры и знаки подчеркивания. Псевдонимы должны начинаться с латинской буквы.", 'invalid_request' => "Шаблон не может быть сохранен, так как запрос содержит поврежденную информацию о компоненентах.", 'no_records' => 'Компоненты не найдены', - 'not_found' => "The component ':name' is not found.", - 'method_not_found' => "The component ':name' does not contain a method ':method'.", + 'not_found' => "Компонент ':name' не найден.", + 'method_not_found' => "Компонент ':name' не содержит метод ':method'.", ], 'template' => [ 'invalid_type' => "Неизвестный тип шаблона.", diff --git a/modules/system/controllers/emaillayouts/create.htm b/modules/system/controllers/emaillayouts/create.htm index ab32ae9bd..0de62e35f 100644 --- a/modules/system/controllers/emaillayouts/create.htm +++ b/modules/system/controllers/emaillayouts/create.htm @@ -21,7 +21,7 @@ data-hotkey-mac="cmd+s" data-load-indicator="Creating Layout..." class="btn btn-primary"> - Create + - or Cancel + @@ -44,6 +44,6 @@

fatalError) ?>

-

Return to template list

+

- \ No newline at end of file + diff --git a/modules/system/controllers/emaillayouts/update.htm b/modules/system/controllers/emaillayouts/update.htm index b15be3c40..d5fa3604a 100644 --- a/modules/system/controllers/emaillayouts/update.htm +++ b/modules/system/controllers/emaillayouts/update.htm @@ -31,7 +31,7 @@ data-hotkey-mac="cmd+s" data-load-indicator="Saving Layout..." class="btn btn-primary"> - Save + is_locked): ?> - or Cancel + @@ -44,6 +44,6 @@

fatalError) ?>

-

Return to template list

+

- \ No newline at end of file + diff --git a/modules/system/controllers/emailtemplates/update.htm b/modules/system/controllers/emailtemplates/update.htm index 8697a8152..ced39f51b 100644 --- a/modules/system/controllers/emailtemplates/update.htm +++ b/modules/system/controllers/emailtemplates/update.htm @@ -31,7 +31,7 @@ data-hotkey-mac="cmd+s" data-load-indicator="Saving Template..." class="btn btn-primary"> - Save + - or Cancel + @@ -69,6 +69,6 @@

fatalError) ?>

-

Return to template list

+

- \ No newline at end of file + diff --git a/modules/system/lang/en/lang.php b/modules/system/lang/en/lang.php index e15f46dd8..b93a92646 100644 --- a/modules/system/lang/en/lang.php +++ b/modules/system/lang/en/lang.php @@ -95,6 +95,9 @@ return [ 'content_html' => 'HTML', 'content_css' => 'CSS', 'content_text' => 'Plaintext', + 'test_send' => 'Send test message', + 'test_success' => 'The test message has been successfully sent.', + 'return' => 'Return to template list' ], 'install' => [ 'project_label' => 'Attach to Project', @@ -157,4 +160,4 @@ return [ 'zip' => [ 'extract_failed' => "Unable to extract core file ':file'.", ], -]; \ No newline at end of file +]; diff --git a/modules/system/lang/ru/lang.php b/modules/system/lang/ru/lang.php index 6f61e5d9b..7bc423302 100644 --- a/modules/system/lang/ru/lang.php +++ b/modules/system/lang/ru/lang.php @@ -75,6 +75,30 @@ return [ 'sendmail_path' => 'Sendmail Путь', 'sendmail_path_comment' => 'Пожалуйста, укажите путь к sendmail.', ], + 'email_templates' => [ + 'menu_label' => 'Шаблоны почты', + 'menu_description' => 'Изменение шаблонов писем, отправляемых пользователям и администраторам.', + 'new_template' => 'Новый шаблон', + 'new_layout' => 'Новый макет', + 'template' => 'Шаблон', + 'templates' => 'Шаблоны', + 'menu_layouts_label' => 'Макеты почты', + 'layout' => 'Макет', + 'layouts' => 'Макеты', + 'name' => 'Название', + 'name_comment' => 'Уникальное имя, используемое для обозначения этого шаблона', + 'code' => 'Код', + 'code_comment' => 'Уникальный код, используемый для обозначения этого шаблона', + 'subject' => 'Тема', + 'subject_comment' => 'Тема сообщения', + 'description' => 'Описание', + 'content_html' => 'HTML', + 'content_css' => 'CSS', + 'content_text' => 'Plaintext', + 'test_send' => 'Отправить тестовое сообщение', + 'test_success' => 'Тестовое сообщение было успешно отправлено.', + 'return' => 'Вернуться к списку шаблонов' + ], 'install' => [ 'project_label' => 'Присоединить к проекту', 'plugin_label' => 'Установить плагин',