[hamster-applet] loco fixes (bug 623601)



commit a1e86e47a19d55bba35740dde502ede86eca50cd
Author: Toms Bauģis <toms baugis gmail com>
Date:   Wed Jul 7 13:47:41 2010 +0100

    loco fixes (bug 623601)

 data/report_template.html |    2 +-
 src/hamster/reports.py    |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/report_template.html b/data/report_template.html
index be3c7b7..c8f96b0 100644
--- a/data/report_template.html
+++ b/data/report_template.html
@@ -93,7 +93,7 @@
 	</ul>
 	<div id="tabs-1">
             <div class="by_day_controls">
-                Show:
+                $show_prompt
                 <input type="checkbox" id="show_details" checked="checked"></input>
                 <label for="show_details">$activity_totals_heading</label>
 
diff --git a/src/hamster/reports.py b/src/hamster/reports.py
index 5c4839d..fdcf2c6 100644
--- a/src/hamster/reports.py
+++ b/src/hamster/reports.py
@@ -307,6 +307,8 @@ class HTMLWriter(ReportWriter):
             activity_totals_heading = _("totals by activity"),
             category_totals_heading = _("totals by category"),
 
+            show_prompt = _("Show:"),
+
             header_date = _("Date"),
             header_activity = _("Activity"),
             header_category = _("Category"),
@@ -318,7 +320,7 @@ class HTMLWriter(ReportWriter):
 
             data_dir = runtime.data_dir,
             show_template = _("Show template"),
-            template_instructions = _("You can override them by storing your version in %s" % runtime.home_data_dir),
+            template_instructions = _("You can override it by storing your version in %(home_folder)s") % {'home_folder': runtime.home_data_dir},
 
             all_activities_rows = "\n".join(self.fact_rows),
             by_date_rows = "\n".join(by_date)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]