Localisation fix

pull/140/head
parent accee41de7
commit 440c813a5f
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -50,7 +50,7 @@ void on_key_generate_accept(GtkWidget *self, key_creation_window* window){
char *command = yon_generate_key_no_password_command(type,name,email,strength,comment,expire,password); char *command = yon_generate_key_no_password_command(type,name,email,strength,comment,expire,password);
yon_debug_output("%s\n",command); yon_debug_output("%s\n",command);
yon_terminal_window_launch_shell(GTK_WINDOW(window->Window),(yon_debug_output("%s\n",command)),SUCCESS_LABEL,FAIL_LABEL); yon_terminal_window_launch_shell(GTK_WINDOW(window->Window),(yon_debug_output("%s\n",command)),yon_char_get_localised_from_lib(SUCCESS_LABEL),yon_char_get_localised_from_lib(FAIL_LABEL));
} else if (!strcmp(password,password_confirm)){ } else if (!strcmp(password,password_confirm)){
for (int i=0;i<strlen(password);i++){ for (int i=0;i<strlen(password);i++){
if (!g_ascii_isgraph(password[i])){ if (!g_ascii_isgraph(password[i])){
@ -61,7 +61,7 @@ void on_key_generate_accept(GtkWidget *self, key_creation_window* window){
} }
char *command = yon_generate_key_command(type,name,email,strength,comment,expire,password); char *command = yon_generate_key_command(type,name,email,strength,comment,expire,password);
yon_debug_output("%s\n",command); yon_debug_output("%s\n",command);
yon_terminal_window_launch_shell(GTK_WINDOW(window->Window),yon_debug_output("%s\n",command),SUCCESS_LABEL,FAIL_LABEL); yon_terminal_window_launch_shell(GTK_WINDOW(window->Window),yon_debug_output("%s\n",command),yon_char_get_localised_from_lib(SUCCESS_LABEL),yon_char_get_localised_from_lib(FAIL_LABEL));
} else { } else {
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),PASSWORD_INCORRECT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),PASSWORD_INCORRECT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_highlight_incorrect(window->PasswordConfirmationEntry); yon_ubl_status_highlight_incorrect(window->PasswordConfirmationEntry);

Loading…
Cancel
Save