Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 15 Apr 2014 13:58:08 UTC
Commit: 5217d683caf6b9d747125923c55eaea16515b347
https://github.com/geany/geany/commit/5217d683caf6b9d747125923c55eaea16515b…
Log Message:
-----------
Reword "Detect from file extension" from the open dialog
We don't actually detect from file extension only, and other references
of the feature always use "Detect from file", so use it also in the
open dialog.
Modified Paths:
--------------
src/dialogs.c
Modified: src/dialogs.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -205,7 +205,7 @@ static GtkWidget *create_filetype_combo_box(void)
store = gtk_tree_store_new(2, G_TYPE_INT, G_TYPE_STRING);
gtk_tree_store_insert_with_values(store, &iter_detect, NULL, -1,
- 0, GEANY_FILETYPES_NONE, 1, _("Detect by file extension"), -1);
+ 0, GEANY_FILETYPES_NONE, 1, _("Detect from file"), -1);
gtk_tree_store_insert_with_values(store, &iter_compiled, NULL, -1,
0, -1, 1, _("Programming Languages"), -1);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 15 Apr 2014 13:58:04 UTC
Commit: bb61dfcdc3eef225f7eb61c6c48651b300eb7bbe
https://github.com/geany/geany/commit/bb61dfcdc3eef225f7eb61c6c48651b300eb7…
Log Message:
-----------
Add a translation context to the open dialog's "View" button
The "View" button string is the same as the View menu one, but one is
an action (verb) and the other a noun, and as such might need to be
translated differently.
Modified Paths:
--------------
src/dialogs.c
Modified: src/dialogs.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -365,7 +365,7 @@ static GtkWidget *create_open_file_dialog(void)
GTK_FILE_CHOOSER_ACTION_OPEN, NULL, NULL);
gtk_widget_set_name(dialog, "GeanyDialog");
- viewbtn = gtk_dialog_add_button(GTK_DIALOG(dialog), _("_View"), GEANY_RESPONSE_VIEW);
+ viewbtn = gtk_dialog_add_button(GTK_DIALOG(dialog), C_("Open dialog action", "_View"), GEANY_RESPONSE_VIEW);
gtk_widget_set_tooltip_text(viewbtn,
_("Opens the file in read-only mode. If you choose more than one file to open, all files will be opened read-only."));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).