From 0bc1e4d0cc89e222fd1d3b1fea4912f34b341960 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 10 Apr 2025 17:04:51 +0600 Subject: [PATCH] Fixed web publish password saving --- source/ubl-settings-update.c | 4 ++-- source/ubl-strings.h | 1 - ubl-settings-update.glade | 2 +- ubl-settings-update.pot | 4 ---- ubl-settings-update_ru.po | 4 ---- 5 files changed, 3 insertions(+), 12 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 25111da..26293e7 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1257,8 +1257,8 @@ void on_web_publish_accept(GtkWidget *, dictionary *dict){ enable_browser?"listing":"",":", port_enabled?port:"",":", username_check?username:"",":", - username_check?!yon_char_is_empty(user_password)?user_password:"":"", - username_check?yon_char_is_empty(encryption)?"":encryption:"",":", + username_check?!yon_char_is_empty(user_password)?user_password:"":"",":", + username_check?yon_char_is_empty(encryption)?"":encryption:"", NULL); if (!yon_char_is_empty(window->name)&&strcmp(final_name,window->name)){ yon_config_remove_by_key(REPOPUBLIC_WEB_full(window->name)); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index f7acc1c..e9ea636 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -102,7 +102,6 @@ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Si #define _LABEL _("Setting up publication of storage and/or repositories as a local WEB resource") #define _LABEL _("Authorization parameters") #define _LABEL _("Storage") - #define _LABEL _("Chosen repositories") #define _LABEL _("Reviewer") #define _LABEL _("Port") #define _LABEL _("Name") diff --git a/ubl-settings-update.glade b/ubl-settings-update.glade index adc0e41..6d65d00 100644 --- a/ubl-settings-update.glade +++ b/ubl-settings-update.glade @@ -1302,7 +1302,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. True fixed - Chosen repositories + Repositories end diff --git a/ubl-settings-update.pot b/ubl-settings-update.pot index c2ac3c1..b689fb1 100644 --- a/ubl-settings-update.pot +++ b/ubl-settings-update.pot @@ -372,10 +372,6 @@ msgstr "" msgid "Storage" msgstr "" -#: source/ubl-strings.h:105 -msgid "Chosen repositories" -msgstr "" - #: source/ubl-strings.h:106 msgid "Reviewer" msgstr "" diff --git a/ubl-settings-update_ru.po b/ubl-settings-update_ru.po index fe8b9ca..c5adb0e 100644 --- a/ubl-settings-update_ru.po +++ b/ubl-settings-update_ru.po @@ -395,10 +395,6 @@ msgstr "Параметры авторизации" msgid "Storage" msgstr "Хранилище" -#: source/ubl-strings.h:105 -msgid "Chosen repositories" -msgstr "Выбранные репозитории" - #: source/ubl-strings.h:106 msgid "Reviewer" msgstr "Обозреватель"