diff --git a/locale/ubinstall-gtk.pot b/locale/ubinstall-gtk.pot index d57bbe4..d2e39c6 100644 --- a/locale/ubinstall-gtk.pot +++ b/locale/ubinstall-gtk.pot @@ -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 "" diff --git a/locale/ubinstall-gtk_ru.po b/locale/ubinstall-gtk_ru.po index 0585ff5..226d786 100644 --- a/locale/ubinstall-gtk_ru.po +++ b/locale/ubinstall-gtk_ru.po @@ -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 "Выберите путь до файла конфигурации" diff --git a/source/ubinstall-gtk-bootloader.c b/source/ubinstall-gtk-bootloader.c index 91e7178..97161c5 100644 --- a/source/ubinstall-gtk-bootloader.c +++ b/source/ubinstall-gtk-bootloader.c @@ -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); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index b1f8c75..702fa7f 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -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:") diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade index 65e8b7a..75bacc4 100644 --- a/ubinstall-gtk.glade +++ b/ubinstall-gtk.glade @@ -6431,6 +6431,7 @@ Select a different installation source. True True True + Edit user image43