zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05169
[Merge] lp:~kelemeng/activity-log-manager/bug958483 into lp:activity-log-manager
Gabor Kelemen has proposed merging lp:~kelemeng/activity-log-manager/bug958483 into lp:activity-log-manager.
Requested reviews:
Activity Log Manager (activity-log-manager)
Related bugs:
Bug #958483 in Activity Log Manager: "Untranslated strings in a-l-m"
https://bugs.launchpad.net/activity-log-manager/+bug/958483
For more details, see:
https://code.launchpad.net/~kelemeng/activity-log-manager/bug958483/+merge/98096
--
https://code.launchpad.net/~kelemeng/activity-log-manager/bug958483/+merge/98096
Your team Activity Log Manager is requested to review the proposed merge of lp:~kelemeng/activity-log-manager/bug958483 into lp:activity-log-manager.
=== modified file 'src/applications-widget.vala'
--- src/applications-widget.vala 2012-03-12 14:45:32 +0000
+++ src/applications-widget.vala 2012-03-18 11:51:21 +0000
@@ -328,7 +328,7 @@
private void set_up_ui () {
var column_pix_name = new TreeViewColumn ();
- column_pix_name.set_title ("Name");
+ column_pix_name.set_title (_("Name"));
this.treeview.append_column (column_pix_name);
var pix_rend = new CellRendererPixbuf ();
column_pix_name.pack_start (pix_rend, false);
@@ -466,7 +466,7 @@
private void set_up_ui () {
var column_pix_name = new TreeViewColumn ();
- column_pix_name.set_title ("Name");
+ column_pix_name.set_title (_("Name"));
this.treeview.append_column (column_pix_name);
var pix_rend = new CellRendererPixbuf ();
column_pix_name.pack_start (pix_rend, false);
@@ -480,7 +480,7 @@
column_pix_name.set_sort_column_id (0);
var column_used_name = new TreeViewColumn ();
- column_used_name.set_title ("Last Used");
+ column_used_name.set_title (_("Last Used"));
this.treeview.append_column (column_used_name);
var used_rend = new CellRendererText ();
used_rend.set_property ("ellipsize", Pango.EllipsizeMode.END);
@@ -492,7 +492,7 @@
used_rend.set_property("xalign", 1);
var column_usage_name = new TreeViewColumn ();
- column_usage_name.set_title ("Activity");
+ column_usage_name.set_title (_("Activity"));
this.treeview.append_column (column_usage_name);
var usage_rend = new UsageCellRenderer ();
column_usage_name.pack_start (usage_rend, true);
@@ -574,7 +574,7 @@
if(last_accessed_time != null)
{
var time = new DateTime.from_unix_local (last_accessed_time/1000);
- var last_accessed = time.format("%e %B %Y");
+ var last_accessed = time.format(_("%e %B %Y"));
insert_liststore(app_info, last_accessed, last_accessed_time,
0);
=== modified file 'src/history-widget.vala'
--- src/history-widget.vala 2012-03-03 12:09:23 +0000
+++ src/history-widget.vala 2012-03-18 11:51:21 +0000
@@ -343,7 +343,7 @@
calendar.get_date(out year, out month, out day);
DateTime date = new DateTime.local((int)year, (int)month+1, (int)day, 0, 0 ,0);
- var date_string = date.format("%d %B %Y");
+ var date_string = date.format(_("%d %B %Y"));
entry.set_text(date_string);
widget.set_sensitive(true);
dialog.hide();
@@ -376,7 +376,7 @@
calendar.get_date(out year, out month, out day);
DateTime date = new DateTime.local((int)year, (int)month+1, (int)day, 0, 0 ,0);
- var date_string = date.format("%d %B %Y");
+ var date_string = date.format(_("%d %B %Y"));
entry.set_text(date_string);
widget.set_sensitive(true);
dialog.hide();
Follow ups