Localise main buttons (provided by Todor Tsankov). Fixes MB#9412
authorAndrew Flegg <andrew@bleb.org>
Thu, 10 Jun 2010 10:43:29 +0000 (11:43 +0100)
committerAndrew Flegg <andrew@bleb.org>
Thu, 10 Jun 2010 10:43:29 +0000 (11:43 +0100)
package/debian/changelog
package/src/org/bleb/wimpworks.py

index c84efdd..7a899a8 100644 (file)
@@ -1,6 +1,7 @@
 hermes (0.8.1) unstable; urgency=low
 
   * Make LinkedIn verification box numbers only.
+  * Localise main buttons (provided by Todor Tsankov). MB#9412
   * ...
 
  -- Andrew Flegg <andrew@bleb.org>  Thu, 10 Jun 2010 11:25:21 +0100
index 08e0d65..094186b 100644 (file)
@@ -277,7 +277,7 @@ class HildonMainScreenLayout():
         
         if _have_hildon:         
             button = hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL,
-                                 title = title, value = subtitle)
+                                 title = _(title), value = subtitle)
         else:
             button = gtk.Button(label = _(title))