[gnome-schedule/eximport] Fix gettext error for easy crontab task
- From: Gaute Hope <gauteh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-schedule/eximport] Fix gettext error for easy crontab task
- Date: Sun, 12 Jun 2011 08:19:57 +0000 (UTC)
commit 48e3f6d4c3b51a26d74c1dd6f49f1e6317c2f11d
Author: Gaute Hope <eg gaute vetsj com>
Date: Sun Jun 12 10:18:25 2011 +0200
Fix gettext error for easy crontab task
src/lang.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lang.py b/src/lang.py
index 0ea2c17..462355e 100644
--- a/src/lang.py
+++ b/src/lang.py
@@ -188,7 +188,7 @@ def translate_crontab_easy_common (minute, hour, day, month, weekday):
elif minute == "*" and hour != "*":
return (_("At every minute between %(time_from)s and %(time_to)s") % { "time_from": lc_time(hour, 0), "time_to": lc_time(hour, 59) } )
elif hour != "*" and minute != "*":
- return (_("On every day at %(time)s") % { "time": lc_time(hour, minute) } )
+ return (_("On every day at %(time)s").decode('utf-8') % { "time": lc_time(hour, minute) } )
# Day cases
if month == "*" and day != "*" and weekday == "*":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]