Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-08-26 02:48:59 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-08-26 02:48:59 (GMT)
commit1bf36ed9c2e5313f53707f7ccb332177da49b648 (patch)
tree7769dfddaa1c5f926ab5a0e5aeb8ebc56333a18d
parent70a8901436949761abcf87a84050dd60740c73ae (diff)
Add comments for translators
-rw-r--r--desktop/sweetener/basic_options.py2
-rw-r--r--desktop/sweetener/help.py1
-rwxr-xr-xhello-integration.py3
3 files changed, 6 insertions, 0 deletions
diff --git a/desktop/sweetener/basic_options.py b/desktop/sweetener/basic_options.py
index b8b656f..bdb5bfc 100644
--- a/desktop/sweetener/basic_options.py
+++ b/desktop/sweetener/basic_options.py
@@ -31,6 +31,7 @@ CONFIG = 1
class BasicOptions(ItemGroup):
def __init__(self, activity, box, export_formats=None):
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
ItemGroup.__init__(self, box, _('_File'), None)
if activity.save_type != CONFIG:
@@ -50,6 +51,7 @@ class BasicOptions(ItemGroup):
if export_formats != None:
if len(export_formats) == 1:
stock.register('sweetener-%s' % export_formats[0][1],
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
_('Export as %s') % export_formats[0][0],
None, export_formats[0][1].replace('/',
'-'))
diff --git a/desktop/sweetener/help.py b/desktop/sweetener/help.py
index d214392..1f7e946 100644
--- a/desktop/sweetener/help.py
+++ b/desktop/sweetener/help.py
@@ -52,6 +52,7 @@ class Help(ItemGroup):
def __init__(self, box):
title = gtk.stock_lookup(gtk.STOCK_HELP)[1]
ItemGroup.__init__(self, box, title, 'toolbar-help')
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
stock.register('sweetener-help-contents', _('Contents'),
'F1', 'gtk-help')
contents = Item('sweetener-help-contents')
diff --git a/hello-integration.py b/hello-integration.py
index 1796cbf..36062b5 100755
--- a/hello-integration.py
+++ b/hello-integration.py
@@ -148,6 +148,7 @@ class Application(gtk.Window):
format_name = data[3]
filter_mime = data[2]
mime_type = data[1]
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
filechooser = gtk.FileChooserDialog(_("Export..."), self,
gtk.FILE_CHOOSER_ACTION_SAVE,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
@@ -170,6 +171,7 @@ class Application(gtk.Window):
gtk.main_quit()
def open(self):
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
filechooser = gtk.FileChooserDialog(_('Open...'), self,
gtk.FILE_CHOOSER_ACTION_OPEN,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
@@ -191,6 +193,7 @@ class Application(gtk.Window):
self.canvas.write_file(self.file_path)
def save_as(self):
+ # TRANS: This string could be already translated at hello-integration, if not, please translate there, not only here.
filechooser = gtk.FileChooserDialog(_('Save...'), self,
gtk.FILE_CHOOSER_ACTION_SAVE,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,