Localisation fixes

pull/143/head
parent b48802aec4
commit ea3367b764

1
.gitignore vendored

@ -10,3 +10,4 @@ source/**/ubl_settings_datetime.o
ubl-settings-datetime_ru.po~
reg/
.vscode/
terminal-commands/

@ -153,6 +153,7 @@ void MainWindow::lacalization() {
lblHeadeWndWeb->set_text(name_app);
windowMessDchp->set_title(str_attention);
lblTimeBios->set_text(synchronize_hw);
headInfoLabel->set_text(setting_date_time);
lblHW->set_text(string(synchronize_hw) + ":");
array_hw_local[0] = utc_time;
array_hw_local[1] = str_local_time;
@ -321,6 +322,7 @@ void MainWindow::get_builder() {
builder->get_widget("boxWidgetFunc", boxWidgetFunc);
builder->get_widget("overHead", overHead);
builder->get_widget("imgHeadBackground", imgHeadBackground);
builder->get_widget("headInfoLabel", headInfoLabel);
#ifdef WEBKIT_FOUND
builder->get_widget("wndWeb", wndWeb);
#endif

@ -135,7 +135,7 @@
#define str_time_zone _("Time zone")
#define str_date _("Date:")
#define synchronize_hw _("Synchronize hardware time")
#define setting_date_time _("Setting the date and time")
#define setting_date_time _("Setting the system date and time")
#define current_date_time _("Current date and time")
#define data_format_d_m_y _("Date of\nFormat: DD.MM.YYYY")
#define synchronize_ntp _("Synchronize via NTP")
@ -223,6 +223,7 @@ class MainWindow : public Gtk::ApplicationWindow {
Gtk::Image *imgSettings;
Gtk::Overlay *overHead;
Gtk::Image *imgHeadBackground;
Gtk::Label *headInfoLabel;
Gtk::Label *lblHeadeWndWeb;
Gtk::Label *lblHeaderAboutTopic;

Loading…
Cancel
Save