diff --git a/source/ubl-settings-datetime.cc b/source/ubl-settings-datetime.cc index 0f3375b..c6b48b7 100644 --- a/source/ubl-settings-datetime.cc +++ b/source/ubl-settings-datetime.cc @@ -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; diff --git a/ubl-settings-datetime_ru.po b/ubl-settings-datetime_ru.po index be9efbf..a2a5d98 100644 --- a/ubl-settings-datetime_ru.po +++ b/ubl-settings-datetime_ru.po @@ -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 " : Аппаратного времени"