Added status messages to terminal window

pull/89/head
Ivan Dmitrievich Yartsev 10 months ago
parent cf79de6f71
commit b4b168f6f8

@ -1291,7 +1291,7 @@ void yon_set_sensitive_from_combo_box(GtkComboBox *toggle, GtkWidget *target){
} }
void on_database_update(void *,void *widgets){ void on_database_update(void *,void *widgets){
yon_terminal_window_launch(GTK_WINDOW(((main_window*)widgets)->Window),install_proprietary_command("")); yon_terminal_window_launch(GTK_WINDOW(((main_window*)widgets)->Window),install_proprietary_command(""),yon_char_get_localised_from_lib(SUCCESS_LABEL),OPERATION_FAIL_LABEL);
} }
/** void yon_setup_widgets(main_window *widgets) /** void yon_setup_widgets(main_window *widgets)

@ -200,6 +200,7 @@
#define ALL_INSTALLED_KERNELS_LABEL _("Default (All installed)") #define ALL_INSTALLED_KERNELS_LABEL _("Default (All installed)")
#define FAIL_LABEL _("Driver installation has failed") #define FAIL_LABEL _("Driver installation has failed")
#define OPERATION_FAIL_LABEL _("Operation has failed")
#define INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install driver "),"<b>",target,"</b>?",NULL) #define INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install driver "),"<b>",target,"</b>?",NULL)
#define REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove driver "),"<b>",target,"</b>?",NULL) #define REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove driver "),"<b>",target,"</b>?",NULL)

@ -776,19 +776,27 @@ msgstr ""
msgid "Default (All installed)" msgid "Default (All installed)"
msgstr "" msgstr ""
#: source/ubl-strings.h:202
msgid "Driver installation has failed"
msgstr ""
#: source/ubl-strings.h:203 #: source/ubl-strings.h:203
msgid "Operation has failed"
msgstr ""
#: source/ubl-strings.h:205
msgid "Are you sure want to install driver " msgid "Are you sure want to install driver "
msgstr "" msgstr ""
#: source/ubl-strings.h:204 #: source/ubl-strings.h:206
msgid "Are you sure want to remove driver " msgid "Are you sure want to remove driver "
msgstr "" msgstr ""
#: source/ubl-strings.h:205 #: source/ubl-strings.h:207
msgid "Attention!" msgid "Attention!"
msgstr "" msgstr ""
#: source/ubl-strings.h:205 #: source/ubl-strings.h:207
msgid "" msgid ""
"If you work in sandbox mode, you must install the package with the module!" "If you work in sandbox mode, you must install the package with the module!"
msgstr "" msgstr ""

@ -809,24 +809,31 @@ msgstr "Предупреждение: Поддерживаемые версии
msgid "Default (All installed)" msgid "Default (All installed)"
msgstr "По умолчанию (все установленные)" msgstr "По умолчанию (все установленные)"
#: source/ubl-strings.h:202
msgid "Driver installation has failed"
msgstr "Установка драйвера завершена с ошибкой"
#: source/ubl-strings.h:203 #: source/ubl-strings.h:203
msgid "Operation has failed"
msgstr "Операция завершена с ошибкой"
#: source/ubl-strings.h:205
msgid "Are you sure want to install driver " msgid "Are you sure want to install driver "
msgstr "Вы уверены что хотите установить драйвер " msgstr "Вы уверены что хотите установить драйвер "
#: source/ubl-strings.h:204 #: source/ubl-strings.h:206
msgid "Are you sure want to remove driver " msgid "Are you sure want to remove driver "
msgstr "Вы уверены что хотите удалить драйвер " msgstr "Вы уверены что хотите удалить драйвер "
#: source/ubl-strings.h:205 #: source/ubl-strings.h:207
msgid "Attention!" msgid "Attention!"
msgstr "Внимание!" msgstr "Внимание!"
#: source/ubl-strings.h:205 #: source/ubl-strings.h:207
msgid "" msgid ""
"If you work in sandbox mode, you must install the package with the module!" "If you work in sandbox mode, you must install the package with the module!"
msgstr "" msgstr ""
"Если вы работаете в режиме песочницы необходимо установить пакет с " "Если вы работаете в режиме песочницы необходимо установить пакет с модулем!"
"модулем!"
#~ msgid "Driver modules" #~ msgid "Driver modules"
#~ msgstr "Модули драйвера" #~ msgstr "Модули драйвера"

Loading…
Cancel
Save