Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Sat, 08 Jun 2024 10:22:57 UTC Commit: cf8c5c52d794ce39fc951075435689671d7f6af0 https://github.com/geany/geany/commit/cf8c5c52d794ce39fc951075435689671d7f6a...
Log Message: ----------- Make strings translatable
Modified Paths: -------------- plugins/saveactions.c src/dialogs.c src/project.c src/symbols.c src/ui_utils.c
Modified: plugins/saveactions.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -472,7 +472,7 @@ static void target_directory_button_clicked_cb(GtkButton *button, gpointer item) if (geany_data->interface_prefs->use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Select Directory"), GTK_WINDOW(geany_data->main_widgets->window), - GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, "_Open", "_Cancel")); + GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Open"), _("_Cancel"))); else dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Select Directory"), NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
Modified: src/dialogs.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -377,7 +377,7 @@ static GtkFileChooser *create_open_file_dialog(void)
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Open File"), - GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, "_Open", "_Cancel")); + GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Open"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Open File"), GTK_WINDOW(main_widgets.window), @@ -587,7 +587,7 @@ static GtkFileChooser *create_save_file_dialog(GeanyDocument *doc)
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Save File"), - GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_SAVE, "_Save", "_Cancel")); + GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_SAVE, _("_Save"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Save File"), GTK_WINDOW(main_widgets.window),
Modified: src/project.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -347,7 +347,7 @@ void project_open(void)
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Open Project"), - GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, "_Open", "_Cancel")); + GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Open"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Open Project"), GTK_WINDOW(main_widgets.window), @@ -500,7 +500,7 @@ static void on_project_properties_base_path_button_clicked(GtkWidget *button,
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Choose Project Base Path"), - NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, "_Open", "_Cancel")); + NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _("_Open"), _("_Cancel"))); else dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Choose Project Base Path"), NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, @@ -946,7 +946,7 @@ static void on_file_save_button_clicked(GtkButton *button, PropertyDialogElement /* initialise the dialog */ if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Choose Project Filename"), - NULL, GTK_FILE_CHOOSER_ACTION_SAVE, "_Save", "_Cancel")); + NULL, GTK_FILE_CHOOSER_ACTION_SAVE, _("_Save"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Choose Project Filename"), NULL,
Modified: src/symbols.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1269,7 +1269,7 @@ void symbols_show_load_tags_dialog(void)
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(_("Load Tags File"), - GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, "_Open", "_Cancel")); + GTK_WINDOW(main_widgets.window), GTK_FILE_CHOOSER_ACTION_OPEN, _("_Open"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(_("Load Tags File"), GTK_WINDOW(main_widgets.window),
Modified: src/ui_utils.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1973,7 +1973,7 @@ static gchar *run_file_chooser(const gchar *title, GtkFileChooserAction action,
if (interface_prefs.use_native_windows_dialogs) dialog = GTK_FILE_CHOOSER(gtk_file_chooser_native_new(title, - GTK_WINDOW(main_widgets.window), action, "_Open", "_Cancel")); + GTK_WINDOW(main_widgets.window), action, _("_Open"), _("_Cancel"))); else { dialog = GTK_FILE_CHOOSER(gtk_file_chooser_dialog_new(title,
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).