[gnome-clocks] Add some translator comments



commit 7d35863a9dca8f426a3f3cb51b647ac6779761d9
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Sep 15 16:43:09 2012 +0200

    Add some translator comments
    
    Fixes bug #684082.

 gnomeclocks/alarm.py |    2 ++
 gnomeclocks/app.py   |    5 ++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gnomeclocks/alarm.py b/gnomeclocks/alarm.py
index 07a21b6..2c0d01c 100644
--- a/gnomeclocks/alarm.py
+++ b/gnomeclocks/alarm.py
@@ -172,6 +172,8 @@ class AlarmDialog(Gtk.Dialog):
             name = _("New Alarm")
             days = []
 
+        # Translators: "Time" in this context is the time an alarm
+        # is set to go off (days, hours, minutes etc.)
         label = Gtk.Label(_("Time"))
         label.set_alignment(1.0, 0.5)
         grid.attach(label, 0, 0, 1, 1)
diff --git a/gnomeclocks/app.py b/gnomeclocks/app.py
index ca5bd9c..2750a54 100644
--- a/gnomeclocks/app.py
+++ b/gnomeclocks/app.py
@@ -199,10 +199,9 @@ class ClocksToolbar(Gtk.Toolbar):
         leftBox = Gtk.Box()
         leftItem.add(leftBox)
 
-        self.newButton = Gtk.Button()
-        label = Gtk.Label(_("New"))
+        # Translators: "New" refers to a world clock or an alarm
+        self.newButton = Gtk.Button(_("New"))
         self.newButton.set_action_name("win.new")
-        self.newButton.add(label)
         self.newButton.set_size_request(64, -1)
         leftBox.pack_start(self.newButton, False, False, 0)
 



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