Fixed bootload user edit window title

pull/299/head
parent 459df6deea
commit e7b7dfe5c8

@ -1081,6 +1081,10 @@ msgstr ""
msgid "Add user"
msgstr ""
#: source/ubl-strings.h:308
msgid "Edit user"
msgstr ""
#: source/ubl-strings.h:309 source/ubl-strings.h:329
msgid "Choose a path for configuration file"
msgstr ""

@ -1097,6 +1097,10 @@ msgstr "Пароль пользователя:"
msgid "Add user"
msgstr "Добавить пользователя"
#: source/ubl-strings.h:308
msgid "Edit user"
msgstr "Редактировать пользователя"
#: source/ubl-strings.h:309 source/ubl-strings.h:329
msgid "Choose a path for configuration file"
msgstr "Выберите путь до файла конфигурации"

@ -160,7 +160,7 @@ void on_bootloader_user_edit(GtkWidget *, main_window *widgets){
bootloader_user_window *window = yon_bootloader_user_window_new();
g_object_set_data(G_OBJECT(window->AcceptButton),"widgets",widgets);
g_signal_connect(G_OBJECT(window->AcceptButton),"clicked",G_CALLBACK(on_bootloader_user_accept),window);
yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow),NULL,icon_path,"bootloader_window");
yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow),EDIT_USER_LABEL,icon_path,"bootloader_window");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->AdminCheck),admin);
gtk_entry_set_text(GTK_ENTRY(window->UsernameEntry),username);
gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),password);

@ -298,6 +298,7 @@ NULL)
#define NOT_ENOUGH_SPACE_LABEL _("The size of the new disk partition is larger than the size of the selected partition") //Размер нового раздела диска превышает размер выбранного раздела
#define MODULE_NOT_ENOUGH_SPACE_LABEL _("There is not enough space to install modules")
#define PACKAGE_NOT_ENOUGH_SPACE_LABEL _("There is not enough space to install packages")
#define EDIT_USER_LABEL _("Edit user")
// #define _LABEL _("Chosen size:")
// #define _LABEL _("Overall size:")

@ -6431,6 +6431,7 @@ Select a different installation source.</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Edit user</property>
<property name="image">image43</property>
<style>
<class name="thin"/>

Loading…
Cancel
Save