[gedit] Fixed access keys for "Edit Anyway" and "Don't Edit"
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Fixed access keys for "Edit Anyway" and "Don't Edit"
- Date: Mon, 31 Aug 2009 09:09:17 +0000 (UTC)
commit 89c6996f9ef8a892ef85584ebac1e5cd5965d195
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Aug 31 11:06:22 2009 +0200
Fixed access keys for "Edit Anyway" and "Don't Edit"
Fixed access keys for "Edit Anyway" and "Don't Edit" (Fixes bug #346844)
gedit/gedit-io-error-message-area.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-io-error-message-area.c b/gedit/gedit-io-error-message-area.c
index 188c020..7e76013 100644
--- a/gedit/gedit-io-error-message-area.c
+++ b/gedit/gedit-io-error-message-area.c
@@ -798,18 +798,22 @@ gedit_file_already_open_warning_message_area_new (const gchar *uri)
#if !GTK_CHECK_VERSION (2, 17, 1)
message_area = gedit_message_area_new ();
gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area),
- _("_Edit Anyway"),
+ _("Edit Any_way"),
GTK_RESPONSE_YES);
gedit_message_area_add_button (GEDIT_MESSAGE_AREA (message_area),
- _("_Don't Edit"),
+ _("D_on't Edit"),
GTK_RESPONSE_CANCEL);
#else
message_area = gtk_info_bar_new ();
gtk_info_bar_add_button (GTK_INFO_BAR (message_area),
- _("_Edit Anyway"),
+ /* Translators: the access key chosen for this string should be
+ different from other main menu access keys (Open, Edit, View...) */
+ _("Edit Any_way"),
GTK_RESPONSE_YES);
gtk_info_bar_add_button (GTK_INFO_BAR (message_area),
- _("_Don't Edit"),
+ /* Translators: the access key chosen for this string should be
+ different from other main menu access keys (Open, Edit, View...) */
+ _("D_on't Edit"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (message_area),
GTK_MESSAGE_WARNING);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]