zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05816
[Merge] lp:~robert-ancell/activity-log-manager/time-combo-translation into lp:activity-log-manager
Robert Ancell has proposed merging lp:~robert-ancell/activity-log-manager/time-combo-translation into lp:activity-log-manager.
Commit message:
Mark time combo values as translatable
Requested reviews:
Activity Log Manager (activity-log-manager)
Related bugs:
Bug #1241028 in Activity Log Manager: "Menu not translated"
https://bugs.launchpad.net/activity-log-manager/+bug/1241028
For more details, see:
https://code.launchpad.net/~robert-ancell/activity-log-manager/time-combo-translation/+merge/204543
--
https://code.launchpad.net/~robert-ancell/activity-log-manager/time-combo-translation/+merge/204543
Your team Activity Log Manager is requested to review the proposed merge of lp:~robert-ancell/activity-log-manager/time-combo-translation into lp:activity-log-manager.
=== modified file 'src/security-widget.vala'
--- src/security-widget.vala 2013-07-09 01:34:49 +0000
+++ src/security-widget.vala 2014-02-03 17:33:03 +0000
@@ -42,23 +42,23 @@
var liststore_delay = new ListStore (2, typeof (string), typeof (int));
TreeIter iter;
liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "1 second", 1, 0);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "30 seconds", 1, 30);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "1 minute", 1, 60);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "2 minutes", 1, 120);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "3 minutes", 1, 180);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "5 minutes", 1, 300);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "10 minutes", 1, 600);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "30 minutes", 1, 1800);
- liststore_delay.append (out iter);
- liststore_delay.set (iter, 0, "1 hour", 1, 3600);
+ liststore_delay.set (iter, 0, _("1 second"), 1, 0);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("30 seconds"), 1, 30);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("1 minute"), 1, 60);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("2 minutes"), 1, 120);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("3 minutes"), 1, 180);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("5 minutes"), 1, 300);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("10 minutes"), 1, 600);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("30 minutes"), 1, 1800);
+ liststore_delay.append (out iter);
+ liststore_delay.set (iter, 0, _("1 hour"), 1, 3600);
var grid = new Grid();
grid.set_halign(Align.START);
References