Исправлено окно о программе

pull/76/head
Igor Belitskiy 3 years ago
parent 7e25023e37
commit 2df5eed208

@ -142,7 +142,12 @@ int MainWindow::check_root() {
}
void MainWindow::lacalization() {
aboutWindows->set_comments(_("Setting the date and time"));
time_t now = time(0);
tm *ltm = localtime(&now);
unsigned int year = 1900+ ltm->tm_year;
string str_authors = string(_("Copyright © UBSoft LLC, 2022 - ")) + to_string(year);
aboutWindows->set_copyright(str_authors);
aboutWindows->set_comments(_("Date and Time"));
aboutWindows->set_website(_("https://wiki.ublinux.com"));
aboutWindows->set_version(_(version_application.c_str()));
aboutWindows->set_website_label(_("Project Home Page"));
@ -1023,6 +1028,7 @@ void MainWindow::append_region_zone(string region, string zone, Gtk::ComboBoxTex
}
}
string MainWindow::call(string cmd) {
FILE *fp;
int status;

@ -16,6 +16,9 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "Авторские права © ООО \"Юбисофт\", 2022 - "
msgid "Select the method of hardware time synchronization"
msgstr "Выберите способ синхронизации аппаратного времени"
@ -1768,6 +1771,9 @@ msgstr "О программе"
msgid "Help"
msgstr "Справка"
msgid "Date and Time"
msgstr "Дата и Время"
msgid " : Hardware time"
msgstr " : Аппаратного времени"

Loading…
Cancel
Save