diff --git a/DataBaseLMS/databaselms.h b/DataBaseLMS/databaselms.h index 8b43b52..b03bbd0 100644 --- a/DataBaseLMS/databaselms.h +++ b/DataBaseLMS/databaselms.h @@ -12,7 +12,7 @@ #include "tasksAmmFim.h" #include "timingoftrainee.h" -static const QString backupEmptyName = "DBLMS_EMPTY.backup"; +static const QString backupEmptyName = ".\\restoreDB\\DBLMS_EMPTY.backup"; static const QString restoreDBscriptName = "restoreDBscript.bat"; class DATABASELMS_EXPORT DataBaseSettings diff --git a/DataBaseLMS/translations/DataBaseLMS_ru_RU.ts b/DataBaseLMS/translations/DataBaseLMS_ru_RU.ts index 45a201f..f62cf2e 100644 --- a/DataBaseLMS/translations/DataBaseLMS_ru_RU.ts +++ b/DataBaseLMS/translations/DataBaseLMS_ru_RU.ts @@ -1,17 +1,4 @@ - - DataBaseLMS - - - Attention! - Внимание! - - - - The file could not be opened: - Файл не может быть открыт: - - diff --git a/InstructorsAndTrainees/resources/css/styleSheetMain.css b/InstructorsAndTrainees/resources/css/styleSheetMain.css index a1dbcdb..72f9ae6 100644 --- a/InstructorsAndTrainees/resources/css/styleSheetMain.css +++ b/InstructorsAndTrainees/resources/css/styleSheetMain.css @@ -83,10 +83,14 @@ QToolButton { QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive, QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion, -QToolButton#btnAssignTask { +QToolButton#btnAssignTask, QToolButton#btnCheckDB, QToolButton#btnRepare { width: 80px; height: 55px; } +QToolButton#btnCheckDB { + width: 100px; + height: 55px; +} QToolButton#btnViewPassword, QToolButton#btnChangePassword { min-width: 18px; diff --git a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm index 894b4ab..620ce2d 100644 Binary files a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm and b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm differ diff --git a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts index 5c2cedf..6041124 100644 --- a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts +++ b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts @@ -226,27 +226,27 @@ The status will be set: Instructor authorization - Авторизация инструктора + Авторизация инструктора Login - Логин + Логин Password - Пароль + Пароль ... - + Log in - Войти + Войти @@ -408,57 +408,57 @@ The status will be set: DialogSettings - + Settings Настройки - + Main Основные - + Language Язык - + Server Сервер - + Address Адрес - + Port Порт - + Auto start Авто старт - + Save Сохранить - + Additional Расширенные - + Version Версия - + Style Стиль @@ -1066,49 +1066,49 @@ Delete it anyway? SpecialMessageBox - + Dialog - + text - + Yes Да - + No Нет - - + + Attention! Внимание! - - + + Close Закрыть - + Error! Ошибка! - + Information Информация - + Ok Хорошо diff --git a/ServerLMS/translations/ServerLMS_ru_RU.qm b/ServerLMS/translations/ServerLMS_ru_RU.qm index a9de524..e21a0d1 100644 Binary files a/ServerLMS/translations/ServerLMS_ru_RU.qm and b/ServerLMS/translations/ServerLMS_ru_RU.qm differ diff --git a/ServerLMS/translations/ServerLMS_ru_RU.ts b/ServerLMS/translations/ServerLMS_ru_RU.ts index 153d206..b1d017c 100644 --- a/ServerLMS/translations/ServerLMS_ru_RU.ts +++ b/ServerLMS/translations/ServerLMS_ru_RU.ts @@ -12,84 +12,84 @@ DialogCheckDB - - + + Database База данных - + Driver PostgreSQL Драйвер PostgreSQL - - - + + + ... - + User Пользователь - + Repare Восстановить - + Installed Установлен - + Not installed Не установлен - - + + Exist Существует - - + + Not exist Не существует - + Completed! - + Завершено! - + The database has been successfully restored! - + База данных успешно восстановлена! - + Install PostgreSQL. Установите PostgreSQL. - - - + + + Error! Ошибка! - + Failed to create user! Ошибка создания пользователя! - + Failed to create Database! Ошибка создания Базы данных! @@ -97,114 +97,114 @@ DialogSettingsTray - + Settings Настройки - + Main Основные - + Language Язык - + Database - База данных + База данных - + Host name Хост - + Localhost - + - + Port Порт - + Database name - + Имя базы данных - + User name Имя пользователя - + User password - + Пароль пользователя - + Check&&Repare - + Проверить&&Восстановить - + Save Сохранить - - - + + + Error! - Ошибка! + Ошибка! - + Driver PostgreSQL is not installed! - + Драйвер PostgreSQL не установлен! - + Superuser PostgreSQL authorization - + Авторизация суперпользователя PostgreSQL - - + + Error connecting to PostgreSQL! - + Ошибка соединения с PostgreSQL! - - + + Possible reasons: - + Возможные причины: - - + + *superuser PostgreSQL login or password is incorrect; - + *логин или пароль суперпользователя PostgreSQL некорректен; - + *Port is incorrect. - + *Порт некорректен. - + *Port is incorrect; - + *Порт некорректен; - + *file 'pg_hba.conf' does not contain an entry for the IP address: - + *файл 'pg_hba.conf не содержит записи доступа для IP адреса: @@ -261,66 +261,77 @@ Остановить - + Server is started! Сервер запущен! - + Server is stoped! Сервер остановлен! - - + + Warning! Внимание! - + Database settings have been changed. The server will be restarted. Настройки Базы Данных были изменены. Сервер будет перезапущен. - + The file could not be opened Файл не может быть открыт - - + + Database connection error! Ошибка подключения Базы данных! - + + Error! Ошибка! - + + Error PostgreSQL! + Ошибка PostgreSQL! + + + + Settings file could not be opened: + Файл настроек не открыт: + + + Database connection OK! База данных подключена! - + started запущен - + stoped остановлен - + connected подключена - + not connected не подключена diff --git a/TrayServerLMS/translations/TrayServerLMS_ru_RU.qm b/TrayServerLMS/translations/TrayServerLMS_ru_RU.qm index b1be266..18e37c8 100644 Binary files a/TrayServerLMS/translations/TrayServerLMS_ru_RU.qm and b/TrayServerLMS/translations/TrayServerLMS_ru_RU.qm differ diff --git a/TrayServerLMS/translations/TrayServerLMS_ru_RU.ts b/TrayServerLMS/translations/TrayServerLMS_ru_RU.ts index 79c2ea4..3419fbd 100644 --- a/TrayServerLMS/translations/TrayServerLMS_ru_RU.ts +++ b/TrayServerLMS/translations/TrayServerLMS_ru_RU.ts @@ -9,43 +9,43 @@ Сервер Системы управления обучением (СУО) - - + + Server LMS Сервер СУО - + Expand window Развернуть окно - + Minimize window Свернуть окно - + Exit Выход - + Starting the server... Запуск сервера... - + Error! Ошибка! - + No Client files found! Файлы Клиента не найдены! - + * check Application for the presence of a folder with a build * check SharedData for a folder with the base version and the name base * проверьте Application на наличие папки со сборкой