Localisation update

pull/235/head
Ivan Dmitrievich Yartsev 10 months ago
parent e0028cbe0c
commit a35bd63477

@ -14,7 +14,14 @@ void on_delete_system_user(GtkWidget *, dictionary *dict){
else command = delete_home_status?remove_user_and_homedir_from_system_command(target):remove_user_from_system_command(target); else command = delete_home_status?remove_user_and_homedir_from_system_command(target):remove_user_from_system_command(target);
} }
if (!yon_char_is_empty(command)){ if (!yon_char_is_empty(command)){
yon_launch(yon_debug_output("%s\n",command)); if (system(yon_debug_output("%s\n",command))){
yon_ubl_status_box_render(USER_REMOVE_ERROR,BACKGROUND_IMAGE_FAIL_TYPE);
} else {
textdomain(template_ui_LocaleName);
yon_ubl_status_box_render(SUCCESS_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
textdomain(LocalePath);
}
} }
on_subwindow_close(dialog->Window); on_subwindow_close(dialog->Window);
yon_system_load(widgets); yon_system_load(widgets);
@ -34,7 +41,14 @@ void on_delete_system_group(GtkWidget *, dictionary *dict){
else command = remove_group_from_system_command(target); else command = remove_group_from_system_command(target);
} }
if (!yon_char_is_empty(command)){ if (!yon_char_is_empty(command)){
yon_launch(yon_debug_output("%s\n",command)); if (system(yon_debug_output("%s\n",command))){
yon_ubl_status_box_render(USER_REMOVE_ERROR,BACKGROUND_IMAGE_FAIL_TYPE);
} else {
textdomain(template_ui_LocaleName);
yon_ubl_status_box_render(SUCCESS_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
textdomain(LocalePath);
}
} }
on_subwindow_close(dialog->Window); on_subwindow_close(dialog->Window);
yon_system_load(widgets); yon_system_load(widgets);

@ -800,3 +800,11 @@ msgstr ""
#: source/ubl-strings.h:232 #: source/ubl-strings.h:232
msgid "Remove from configuration" msgid "Remove from configuration"
msgstr "" msgstr ""
#: source/ubl-strings.h:234
msgid "Group deletion has failed"
msgstr ""
#: source/ubl-strings.h:235
msgid "User deletion has failed"
msgstr ""

@ -859,3 +859,12 @@ msgstr "Удалить из системы"
#: source/ubl-strings.h:232 #: source/ubl-strings.h:232
msgid "Remove from configuration" msgid "Remove from configuration"
msgstr "Удалить из конфигурации" msgstr "Удалить из конфигурации"
#: source/ubl-strings.h:234
msgid "Group deletion has failed"
msgstr "Удаление группы завершено с ошибкой"
#: source/ubl-strings.h:235
#, fuzzy
msgid "User deletion has failed"
msgstr "Удаление пользователя завершено с ошибкой"

Loading…
Cancel
Save