As I was updating the Norwegian Nynorsk translation, I found that as far as I
can see it was impossible to translate the text "Default zoom" in the
preferences window.
I've included a patch that should fix this problem; adding "_(" and ")" around
the text.
--
Tor Egil Hoftun Kvæstad
_________________________________________________________________
Windows 7: Se direkte-TV fra den bærbare PCen. Finn ut mer.
http://windows.microsoft.com/windows-7From b3322dcb724cb577fd5373b0346e6d89035b1dd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tor=20Egil=20Hoftun=20Kv=C3=A6stad?= <[email protected]>
Date: Mon, 19 Jul 2010 03:14:00 +0200
Subject: [PATCH] Updated the preferences window, so that "Default Zoom" is now translateable.
---
gui/preferenceswindow.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gui/preferenceswindow.py b/gui/preferenceswindow.py
index 3a47383..bb97995 100644
--- a/gui/preferenceswindow.py
+++ b/gui/preferenceswindow.py
@@ -102,7 +102,7 @@ class Window(windowing.Dialog):
### View tab
view_vbox = gtk.VBox()
- l = gtk.Label('Default zoom')
+ l = gtk.Label(_('Default zoom'))
l.set_alignment(0.0, 0.0)
nb.append_page(view_vbox, gtk.Label(_('View')))
combo = self.defaultzoom_combo = gtk.combo_box_new_text()
--
1.7.0.4
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss