diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-12 04:17:58 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-12 04:17:58 +0000 |
commit | 23bfc8bcf5a45e47b9fe45ca78439498fb222737 (patch) | |
tree | 96c8228b4ab1f20a9563ad64b596c685b915d494 /gtk-recordmydesktop/src/rmdTrayPopup.py | |
parent | a16047e8c85e1eace7c11f29d0edcbc74b195ddc (diff) |
moved all translatable string to src/rmdStrings.py.
new file: src/rmdStrings.py (added to Makefile.am).
New po template,merged all translations with it.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@337 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src/rmdTrayPopup.py')
-rw-r--r-- | gtk-recordmydesktop/src/rmdTrayPopup.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk-recordmydesktop/src/rmdTrayPopup.py b/gtk-recordmydesktop/src/rmdTrayPopup.py index ba4928e..6ac2932 100644 --- a/gtk-recordmydesktop/src/rmdTrayPopup.py +++ b/gtk-recordmydesktop/src/rmdTrayPopup.py @@ -31,6 +31,7 @@ gettext.textdomain('gtk-recordMyDesktop') gettext.bindtextdomain('gtk-recordMyDesktop',rmdConfig.locale_install_dir) import rmdSelect as iSel import rmdPrefsWidget as pW +from rmdStrings import * class TrayPopupMenu: options=None @@ -59,7 +60,7 @@ class TrayPopupMenu: self.optionsOpen[0]=0 def _setup_prefs_widget(self): self.popupmenu_prefs_widget = gtk.ImageMenuItem( - gtk.STOCK_PREFERENCES) + TpmStr['ShowHide']) self.popupmenu_prefs_widget.connect('activate', self._prefs_widget) self.popupmenu.add(self.popupmenu_prefs_widget) @@ -70,20 +71,20 @@ class TrayPopupMenu: def _about(self, button): aboutdialog = gtk.AboutDialog() - aboutdialog.set_name(_('gtk-recordMyDesktop')) + aboutdialog.set_name('gtk-recordMyDesktop') aboutdialog.set_version(rmdConfig.VERSION) - aboutdialog.set_comments(_('a graphical frontend for recordMyDesktop')) - aboutdialog.set_copyright(_('Copyright (C) John Varouhakis\nPortions Copyright (C) 2005-6 Zaheer Abbas Merali, John N. Laliberte\nPortions Copyright (C) Fluendo S.L.')) + aboutdialog.set_comments(TpmStr['ProgDesc']) + aboutdialog.set_copyright(TpmStr['Copyright']) aboutdialog.set_authors(['recordMyDesktop and gtk-recordMyDesktop\nis written by John Varouhakis','Portions of gtk-recordMyDesktop\nare taken from Istanbul\n(http://live.gnome.org/Istanbul)\nwritten by\nZaheer Abbas Merali and John N. Laliberte']) aboutdialog.set_website('http://recordmydesktop.sourceforge.net') aboutdialog.set_license('GPL-2') - aboutdialog.set_translator_credits(_('Translator Credits And Information(Replace with your info)')) + aboutdialog.set_translator_credits(TpmStr['TranslatorCredits']) aboutdialog.connect('response', lambda widget, response: widget.destroy()) aboutdialog.show_all() def _setup_select_area(self): self.popupmenu_selectarea = gtk.ImageMenuItem( - _("_Select Area On Screen")) + TpmStr['SelectOnScreen']) self.popupmenu.add(self.popupmenu_selectarea) self.popupmenu_selectarea.connect("activate", self._select_area_cb) |