Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-08-20 13:48:38 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-08-20 13:48:38 (GMT)
commitde6ccac54b55513bd920f10e7faa3b0baf8dc80d (patch)
treebeaac9a383ec357b63d0a5a8a94df636b70a7ab0 /extensions
parentf4e1500a00804812481a5a0b2aa4be13eba8f3dc (diff)
CP: Language section - explanation string #562
Diffstat (limited to 'extensions')
-rw-r--r--extensions/cpsection/language/view.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/cpsection/language/view.py b/extensions/cpsection/language/view.py
index 30dc05d..261529d 100644
--- a/extensions/cpsection/language/view.py
+++ b/extensions/cpsection/language/view.py
@@ -1,4 +1,5 @@
# Copyright (C) 2008, OLPC
+# Copyright (C) 2009, Simon Schampijer
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -52,6 +53,13 @@ class Language(SectionView):
self.set_border_width(style.DEFAULT_SPACING * 2)
self.set_spacing(style.DEFAULT_SPACING)
+ explanation = "Add languages in the order you prefer. If a " \
+ "translation is not available, the next in the list will be used."
+ self._text = gtk.Label(explanation)
+ self._text.set_alignment(0, 0)
+ self.pack_start(self._text, False)
+ self._text.show()
+
self._table = gtk.Table(rows=1, columns=3, homogeneous=False)
self.pack_start(self._table, False)
self._table.show()