diff --git a/source/libublsettingsui-gtk3.c b/source/libublsettingsui-gtk3.c index 400054b..851bf5d 100644 --- a/source/libublsettingsui-gtk3.c +++ b/source/libublsettingsui-gtk3.c @@ -274,9 +274,12 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){ char *compare_command=""; char *cur_command; if (!path&&type == YON_CONFIG_CUSTOM){ + textdomain(template_ui_LocaleName); GtkWidget *dialog = gtk_file_chooser_dialog_new(template_app_information.app_title,NULL,GTK_FILE_CHOOSER_ACTION_SAVE,CANCEL_LABEL,GTK_RESPONSE_CANCEL,SAVE_LABEL,GTK_RESPONSE_ACCEPT,NULL); + textdomain(template_app_information.app_locale); GtkFileFilter *filter = gtk_file_filter_new(); gtk_file_filter_add_pattern(filter,"*.ini"); + gtk_file_filter_set_name(filter, "*.ini"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog),filter); int response = gtk_dialog_run(GTK_DIALOG(dialog)); if (response == GTK_RESPONSE_ACCEPT){