summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdTrayPopup.py
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-12 04:17:58 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-12 04:17:58 +0000
commit23bfc8bcf5a45e47b9fe45ca78439498fb222737 (patch)
tree96c8228b4ab1f20a9563ad64b596c685b915d494 /qt-recordmydesktop/src/rmdTrayPopup.py
parenta16047e8c85e1eace7c11f29d0edcbc74b195ddc (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 'qt-recordmydesktop/src/rmdTrayPopup.py')
-rw-r--r--qt-recordmydesktop/src/rmdTrayPopup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qt-recordmydesktop/src/rmdTrayPopup.py b/qt-recordmydesktop/src/rmdTrayPopup.py
index 0c3b5c4..22dff89 100644
--- a/qt-recordmydesktop/src/rmdTrayPopup.py
+++ b/qt-recordmydesktop/src/rmdTrayPopup.py
@@ -33,6 +33,7 @@ gettext.textdomain('qt-recordMyDesktop')
gettext.bindtextdomain('qt-recordMyDesktop',rmdConfig.locale_install_dir)
import rmdSelect as iSel
+from rmdStrings import *
import sys
#import rmdPrefsWidget as pW
@@ -46,9 +47,9 @@ class TrayPopupMenu:
self.selector = None
def _setup_popup_menu(self):
self.popupmenu = QtGui.QMenu()
- self.popupmenu.addAction(_("Preferences"),self._prefs_widget)
- self.popupmenu.addAction(_("_Select Area On Screen").replace("_",""),self._select_area_cb)
- self.popupmenu.addAction(_("Quit"),self.parent.window.close)
+ self.popupmenu.addAction(TpmStr['ShowHide'],self._prefs_widget)
+ self.popupmenu.addAction(TpmStr['SelectOnScreen'].replace("_",""),self._select_area_cb)
+ self.popupmenu.addAction(TpmStr['Quit'],self.parent.window.close)
def _prefs_widget(self):
if self.optionsOpen[0] ==0:
© All Rights Reserved