pull/38/head
parent ecddb2321f
commit 6026202d32

@ -465,7 +465,7 @@ char *yon_custom_config_init(GtkFileChooserAction type){
gtk_file_filter_set_name(filter, "*.ini");
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog->MainFileChooser),filter);
if (type==GTK_FILE_CHOOSER_ACTION_SAVE){
yon_file_chooser_set_button_label(yon_char_get_localised_from_lib(LOAD_CONFIG_LABEL))
yon_file_chooser_set_button_label(yon_char_get_localised_from_lib(LOAD_CONFIG_LABEL));
}
if (yon_file_chooser_start(dialog)==GTK_RESPONSE_ACCEPT){

@ -299,7 +299,18 @@ char *yon_settings_configuration_get(char *id);
char *yon_custom_config_init();
#define VERSION_LABEL yon_char_unite(_("Version:")," ",!yon_char_is_empty(template_app_information.app_version)?template_app_information.app_version:"","\n",NULL)
#define HELP_LABEL(rest) yon_char_unite(template_app_information.app_tech_name,_(" version:")," ", !yon_char_is_empty(template_app_information.app_version)?template_app_information.app_version:"","\n",template_app_information.app_title,"\n",_("Usage:"), " ",template_app_information.app_tech_name," ",_("[OPTIONS]"),"\n",_("Options:"),"\n\t--help, -h\t\t\t",_("Show this help"),"\n\t--version, -V\t\t\t",_("Show package version"),"\n\t--lock-help\t\t\t",_("Lock this help menu"),"\n\t--lock-save\t\t\t",_("Lock configuration saving"),"\n\t--lock-save-local\t\t",_("Lock local configration saving"),"\n\t--lock-save-global\t\t",_("Lock global configration saving"),"\n\t--lock-load-global\t\t",_("Lock global configration loading"),"\n\t--clear-config\t\t\t",_("Reset application settings"),"\n",!yon_char_is_empty(rest)?rest:NULL,NULL)
#define HELP_LABEL(rest) yon_char_unite(template_app_information.app_tech_name,_(" version:")," ", !yon_char_is_empty(template_app_information.app_version)?template_app_information.app_version:"","\n",\
template_app_information.app_title,"\n",_("Usage:"), " ",template_app_information.app_tech_name," ",_("[OPTIONS]"),"\n",\
_("Options:"),"\n",\
" --help, -h ",_("Show this help"),"\n",\
" --version, -V ",_("Show package version"),"\n",\
" --lock-help ",_("Lock this help menu"),"\n",\
" --lock-save ",_("Lock configuration saving"),"\n",\
" --lock-save-local ",_("Lock local configration saving"),"\n",\
" --lock-save-global ",_("Lock global configration saving"),"\n",\
" --lock-load-global ",_("Lock global configration loading"),"\n",\
" --clear-config, -c ",_("Reset application settings"),"\n",\
!yon_char_is_empty(rest)?rest:NULL,NULL)
#define template_ui_LocalePath "/usr/share/locale"
#define template_ui_LocaleName "libublsettingsui-gtk3"

Loading…
Cancel
Save