Test fix for bootloader saving

pull/270/head
parent 66ac196686
commit 5aa0e86a1a

@ -1931,6 +1931,9 @@ msgid ""
"network or the Internet (even over slow connection channels)." "network or the Internet (even over slow connection channels)."
msgstr "" msgstr ""
msgid "No modules were found.\nSelect a different installation source."
msgstr ""
msgid "File system label" msgid "File system label"
msgstr "" msgstr ""

@ -2069,6 +2069,10 @@ msgstr ""
"Позволяет загрузку системы для бездисковых и обычных рабочих станций через " "Позволяет загрузку системы для бездисковых и обычных рабочих станций через "
"локальную сеть или Интернет (даже используя \"слабые\" каналы связи)" "локальную сеть или Интернет (даже используя \"слабые\" каналы связи)"
msgid "No modules were found.\nSelect a different installation source."
msgstr "Модули не найдены.\n"
Выберите другой источник установки."
msgid "About" msgid "About"
msgstr "О программе" msgstr "О программе"

@ -109,9 +109,11 @@ int yon_os_components_save(main_window *widgets){
yon_config_register(modules_parameter,modules_parameter_command,final); yon_config_register(modules_parameter,modules_parameter_command,final);
} else { } else {
// yon_config_remove_by_key(modules_parameter); // yon_config_remove_by_key(modules_parameter);
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); if(main_config.configure_mode)
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),MAIN_COMPONENTS_ALL_SELECTED_LABEL,5,BACKGROUND_IMAGE_INFO_TYPE);
else
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_INFO_TYPE);
yon_ubl_status_highlight_incorrect(widgets->OSSoftwareListBox); yon_ubl_status_highlight_incorrect(widgets->OSSoftwareListBox);
return 0;
} }
return 1; return 1;
} }

@ -359,7 +359,6 @@ int yon_config_save(main_window *widgets){
SERVICES_ENABLE_parameter, SERVICES_ENABLE_parameter,
GRUB_DEFAULT_parameter, GRUB_DEFAULT_parameter,
GRUB_TIMEOUT_parameter, GRUB_TIMEOUT_parameter,
AUTOLOGINUSER_parameter,
GRUB_SUPERUSERS_parameter, GRUB_SUPERUSERS_parameter,
DOMAIN_parameter, DOMAIN_parameter,
DOMAIN_admanger_parameter, DOMAIN_admanger_parameter,

@ -578,4 +578,5 @@ For more information, visit our website the \"Support Levels\" section.")
#define slide_22_title _("Network Boot") #define slide_22_title _("Network Boot")
#define slide_22_text _("Allows system booting for diskless and standard workstations over a local network or the Internet (even over slow connection channels).") #define slide_22_text _("Allows system booting for diskless and standard workstations over a local network or the Internet (even over slow connection channels).")
#define MAIN_COMPONENTS_NOT_FOUND_LABEL _("Main components does not found. Proceed back to installation type selection page and use \"Select sources\" button from below") #define MAIN_COMPONENTS_NOT_FOUND_LABEL _("No modules were found.\nSelect a different installation source")
#define MAIN_COMPONENTS_ALL_SELECTED_LABEL _("All local modules of the system are selected")

@ -2080,6 +2080,16 @@ agreement</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<child type="placeholder">
<object class="GtkLabel" id="OSSoftwareEmptyLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">No modules were found.
Select a different installation source.</property>
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
</child>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>

Loading…
Cancel
Save