Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Ferretti <elle.uca@libero.it>2005-04-15 09:10:59 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-04-15 09:10:59 (GMT)
commit3fff491455c8e99884d6bcaed1cdc39568784d95 (patch)
tree9f794e9ae3a2f7c09ca1bdaf8e4ec0552b6c71c6
parent9d164a6d7df8ee8039ac22419a2969117747202b (diff)
Make all toolbar items translatable
2005-04-15 Luca Ferretti <elle.uca@libero.it> * shell/ev-window.c: (set_action_properties): Make all toolbar items translatable
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-window.c19
2 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a11a7f..eead1ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-15 Luca Ferretti <elle.uca@libero.it>
+
+ * shell/ev-window.c: (set_action_properties):
+
+ Make all toolbar items translatable
+
2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
* ps/ps-document.c: (ps_document_init), (ps_document_get_type),
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 4d03050..68940d5 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2249,10 +2249,27 @@ set_action_properties (GtkActionGroup *action_group)
/*translators: this is the label for toolbar button*/
g_object_set (action, "short_label", _("Previous"), NULL);
g_object_set (action, "is-important", TRUE, NULL);
+
action = gtk_action_group_get_action (action_group, "GoNextPage");
- /*translators: this is the label for toolbar button*/
g_object_set (action, "is-important", TRUE, NULL);
+ /*translators: this is the label for toolbar button*/
g_object_set (action, "short_label", _("Next"), NULL);
+
+ action = gtk_action_group_get_action (action_group, "ViewZoomIn");
+ /*translators: this is the label for toolbar button*/
+ g_object_set (action, "short_label", _("Zoom In"), NULL);
+ action = gtk_action_group_get_action (action_group, "ViewZoomIn");
+
+ action = gtk_action_group_get_action (action_group, "ViewZoomOut");
+ /*translators: this is the label for toolbar button*/
+ g_object_set (action, "short_label", _("Zoom Out"), NULL);
+ action = gtk_action_group_get_action (action_group, "ViewZoomIn");
+
+ action = gtk_action_group_get_action (action_group, "ViewBestFit");
+ /*translators: this is the label for toolbar button*/
+ g_object_set (action, "short_label", _("Best Fit"), NULL);
+ action = gtk_action_group_get_action (action_group, "ViewZoomIn");
+
action = gtk_action_group_get_action (action_group, "ViewPageWidth");
/*translators: this is the label for toolbar button*/
g_object_set (action, "short_label", _("Fit Width"), NULL);