From b47ad7c05b70e3116ef316d8d7eb61b8ab71dce9 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 24 Feb 2026 10:39:09 +0600 Subject: [PATCH] Fixed build --- locale/ubinstall-gtk.pot | 8 ++++++++ locale/ubinstall-gtk_ru.po | 8 ++++++++ source/ubinstall-gtk-advanced.c | 2 +- source/ubl-strings.h | 4 ++-- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/locale/ubinstall-gtk.pot b/locale/ubinstall-gtk.pot index 8aa54a8..f371b98 100644 --- a/locale/ubinstall-gtk.pot +++ b/locale/ubinstall-gtk.pot @@ -1874,6 +1874,14 @@ msgstr "" msgid "Reboot" msgstr "" +#: source/ubl-strings.h:543 +msgid "Invalid devices parity. Needed:" +msgstr "" + +#: source/ubl-strings.h:543 +msgid "Invalid devices chosen. Needed:" +msgstr "" + #: source/ubl-strings.h:543 msgid "Shudown" msgstr "" diff --git a/locale/ubinstall-gtk_ru.po b/locale/ubinstall-gtk_ru.po index 07a08ca..9734938 100644 --- a/locale/ubinstall-gtk_ru.po +++ b/locale/ubinstall-gtk_ru.po @@ -1865,6 +1865,14 @@ msgstr "" msgid "Reboot" msgstr "Перезагрузить" +#: source/ubl-strings.h:543 +msgid "Invalid devices parity. Needed:" +msgstr "Неверная проверка четности устройств. Требуется:" + +#: source/ubl-strings.h:543 +msgid "Invalid devices chosen. Needed:" +msgstr "Выбраны недействительные устройства. Требуется:" + #: source/ubl-strings.h:543 msgid "Shudown" msgstr "Выключить" diff --git a/source/ubinstall-gtk-advanced.c b/source/ubinstall-gtk-advanced.c index 093d6f4..d383a4c 100644 --- a/source/ubinstall-gtk-advanced.c +++ b/source/ubinstall-gtk-advanced.c @@ -517,7 +517,7 @@ int yon_advanced_save(main_window *widgets){ char *encryption[2] = {NULL}; char *format[2] = {NULL}; if (!sections_size){ - yon_ubl_status_box_spawn(GTK_COMBO_BOX(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); + yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); return 0; } advanced_section *cur_section = sections[0]->sys_section?sections[0]:sections[1]; diff --git a/source/ubl-strings.h b/source/ubl-strings.h index ec7f64b..1deb54c 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -206,8 +206,8 @@ NULL) #define SAVE_AND_EXIT_LABEL _("Save and exit") #define NO_LABEL _("No") -#define PARITY_INVALID_LABEL(target) yon_char_unite("Invalid devices parity. Needed: ",target,NULL) -#define COUNT_INVALID_LABEL(target) yon_char_unite("Invalid devices chosen. Needed: ",target,NULL) +#define PARITY_INVALID_LABEL(target) yon_char_unite("Invalid devices parity. Needed:"," ",target,NULL) +#define COUNT_INVALID_LABEL(target) yon_char_unite("Invalid devices chosen. Needed:"," ",target,NULL) #define ABOUT_TITLE_LABEL _("About system installation") #define VALUE_REPEAT_LABEL _("Repeating values")