diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-02-14 23:55:49 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-02-14 23:55:49 (GMT) |
commit | 91e570fc005753875559816356286b5106d9e767 (patch) | |
tree | 31ef66316e6bf1f4c5deced6735636dafca68db6 /activity.py | |
parent | 5a6dd12541e080654f6d598f74fdca71df1012c1 (diff) |
Use gettext in all the strings
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activity.py b/activity.py index 0f907e4..7e727bc 100644 --- a/activity.py +++ b/activity.py @@ -487,7 +487,7 @@ class SimpleGraph(activity.Activity): def __import_stopwatch_cb(self, widget): boolean, file_path, title = self._object_chooser( STOPWATCH_MIME_TYPE, - "StopWatch") + _('StopWatch')) if boolean: f = open(file_path) @@ -498,19 +498,19 @@ class SimpleGraph(activity.Activity): self.labels_and_values.model.clear() self.chart_data = [] - self.v_label.entry.set_text("Time") + self.v_label.entry.set_text(_('Time')) if count == 1: num, name = stopwatchs_list[0] - self.h_label.entry.set_text(_("Number")) + self.h_label.entry.set_text(_('Mark')) self.set_title(name) chart_data = reader.marks_to_chart_data(num - 1) elif count == 0 or count > 1: self.set_title(title) - self.h_label.entry.set_text(_("Names")) + self.h_label.entry.set_text(_('StopWatch')) chart_data = reader.times_to_chart_data() @@ -525,7 +525,7 @@ class SimpleGraph(activity.Activity): def __import_measure_cb(self, widget): boolean, file_path, title = self._object_chooser(CSV_MIME_TYPE, - 'Measure') + _('Measure')) if boolean: f = open(file_path) |