[Sugar-devel] [sugar 0.98 PATCH v2] sl#3528: Keep the "Sugar" keyword untranslated.

Kartik Perisetla kartik.peri at gmail.com
Fri Aug 3 20:36:30 EDT 2012


===================================================================================


Changes of version-2 over version-1 :
===================================================================================

Version-1 had "Sugar" keyword in concatenation with rest of string. Rest of the string was translated and then concatenated with "Sugar" keyword. Version-1 patch presumes that grammatical order is the same across all translated languages(Thanks Samuel Greenfeld). So now in Version-2, translator comment has been used to tell translator to translate the sentence except token "Sugar"(Thanks Chris Leonard). This will preserve the grammatical meaning of the sentence. (Thanks Ajay Garg for supporting and guiding me to resolve this).

Signed-off-by: Kartik Perisetla <kartik.peri at gmail.com>
---
 extensions/cpsection/aboutcomputer/view.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/cpsection/aboutcomputer/view.py b/extensions/cpsection/aboutcomputer/view.py
index 6b16005..6d59102 100644
--- a/extensions/cpsection/aboutcomputer/view.py
+++ b/extensions/cpsection/aboutcomputer/view.py
@@ -181,7 +181,7 @@ class AboutComputer(SectionView):
         label_copyright.set_line_wrap(True)
         label_copyright.show()
         vbox_copyright.pack_start(label_copyright, expand=False)
-
+# TRANS: Do not translate the token "Sugar". Translate rest of sentence.
         info_text = _('Sugar is the graphical user interface that you are'
                       ' looking at. Sugar is free software, covered by the'
                       ' GNU General Public License, and you are welcome to'
-- 
1.7.10.4



More information about the Sugar-devel mailing list