[gnome-clocks] Add context for New clock/timer buttons



commit fac10d131e79e20ca54eae4ab2e7d9e1de3c6b5b
Author: Anders Jonsson <anders jonsson norsjovallen se>
Date:   Sat Dec 12 18:21:37 2015 +0100

    Add context for New clock/timer buttons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746474

 src/alarm.vala |    2 +-
 src/world.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/alarm.vala b/src/alarm.vala
index c2edb79..cad9e95 100644
--- a/src/alarm.vala
+++ b/src/alarm.vala
@@ -573,7 +573,7 @@ public class Face : Gtk.Stack, Clocks.Clock {
         });
 
         // Translators: "New" refers to an alarm
-        new_button = new Gtk.Button.with_label (_("New"));
+        new_button = new Gtk.Button.with_label (C_("Alarm", "New"));
         new_button.valign = Gtk.Align.CENTER;
         new_button.no_show_all = true;
         new_button.action_name = "win.new";
diff --git a/src/world.vala b/src/world.vala
index afa2ccf..3d4d057 100644
--- a/src/world.vala
+++ b/src/world.vala
@@ -279,7 +279,7 @@ public class Face : Gtk.Stack, Clocks.Clock {
         night_pixbuf = Utils.load_image ("night.png");
 
         // Translators: "New" refers to a world clock
-        new_button = new Gtk.Button.with_label (_("New"));
+        new_button = new Gtk.Button.with_label (C_("World clock", "New"));
         new_button.valign = Gtk.Align.CENTER;
         new_button.no_show_all = true;
         new_button.action_name = "win.new";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]