diff options
author | Yuri Chornoivan <yurchor@ukr.net> | 2013-10-07 22:11:13 +0300 |
---|---|---|
committer | Yuri Chornoivan <yurchor@ukr.net> | 2013-10-07 22:11:13 +0300 |
commit | 04619017d379644961fb9ab525d372d1f9bc0eff (patch) | |
tree | c04c3415535b4bfb465ca73e8754ed2344cb69c2 /src/monitor.py | |
parent | 193d14c5c43274c5ca5419eb25ced266613208ed (diff) | |
download | net_monitor-04619017d379644961fb9ab525d372d1f9bc0eff.tar net_monitor-04619017d379644961fb9ab525d372d1f9bc0eff.tar.gz net_monitor-04619017d379644961fb9ab525d372d1f9bc0eff.tar.bz2 net_monitor-04619017d379644961fb9ab525d372d1f9bc0eff.tar.xz net_monitor-04619017d379644961fb9ab525d372d1f9bc0eff.zip |
Fix my mistakes with Python i18n
Diffstat (limited to 'src/monitor.py')
-rw-r--r-- | src/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.py b/src/monitor.py index 726a586..8d6c909 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -396,4 +396,4 @@ class Monitor: hours = uptime / 3600 mins = (uptime - (hours * 3600)) / 60 secs = uptime % 60 - return _("%(hours)d hours, %(mins)d minutes, %(secs)d seconds") % (hours, mins, secs) + return _("%(hours)d hours, %(mins)d minutes, %(secs)d seconds") % {"hours" : hours, "mins" : mins, "secs" : secs} |