[hamster-applet/gnome-2-30] marking string containing em-dash as unicode
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet/gnome-2-30] marking string containing em-dash as unicode
- Date: Sat, 5 Jun 2010 19:36:24 +0000 (UTC)
commit 20089aff91eaa8df2cbcabf82b15a7627ec95aba
Author: Toms Bauģis <toms baugis gmail com>
Date: Sat Jun 5 20:31:50 2010 +0100
marking string containing em-dash as unicode
src/hamster/about.py | 2 +-
src/hamster/stats.py | 2 +-
src/hamster/widgets/reportchooserdialog.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/hamster/about.py b/src/hamster/about.py
index 4609664..cbd8db8 100644
--- a/src/hamster/about.py
+++ b/src/hamster/about.py
@@ -39,7 +39,7 @@ class About(object):
"program-name" : _("Time Tracker"),
"name" : _("Time Tracker"), #this should be deprecated in gtk 2.10
"version" : VERSION,
- "comments" : _("Project Hamster â?? track your time"),
+ "comments" : _(u"Project Hamster â?? track your time"),
"copyright" : _(u"Copyright © 2007â??2009 Toms BauÄ£is and others"),
"website" : "http://projecthamster.wordpress.com/",
"website-label" : _("Project Hamster Website"),
diff --git a/src/hamster/stats.py b/src/hamster/stats.py
index edfd09c..64aed91 100644
--- a/src/hamster/stats.py
+++ b/src/hamster/stats.py
@@ -176,7 +176,7 @@ class Stats(object):
label.set_text(_("""There is no data to generate statistics yet.
A week of usage would be nice!"""))
else:
- label.set_text(_("Collecting data â?? check back after a week has passed!"))
+ label.set_text(_(u"Collecting data â?? check back after a week has passed!"))
label.show()
return
diff --git a/src/hamster/widgets/reportchooserdialog.py b/src/hamster/widgets/reportchooserdialog.py
index 00dceb8..b8cd9b1 100644
--- a/src/hamster/widgets/reportchooserdialog.py
+++ b/src/hamster/widgets/reportchooserdialog.py
@@ -35,7 +35,7 @@ class ReportChooserDialog(gtk.Dialog):
gtk.Dialog.__init__(self)
- self.dialog = gtk.FileChooserDialog(title = _("Save report - Time Tracker"),
+ self.dialog = gtk.FileChooserDialog(title = _(u"Save report - Time Tracker"),
parent = self,
action = gtk.FILE_CHOOSER_ACTION_SAVE,
buttons=(gtk.STOCK_CANCEL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]