|
|
|
|
@ -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;
|
|
|
|
|
|