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 /qt-recordmydesktop/src/rmdMonitor.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 'qt-recordmydesktop/src/rmdMonitor.py')
-rw-r--r-- | qt-recordmydesktop/src/rmdMonitor.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-recordmydesktop/src/rmdMonitor.py b/qt-recordmydesktop/src/rmdMonitor.py index 4df7eab..b35f5a0 100644 --- a/qt-recordmydesktop/src/rmdMonitor.py +++ b/qt-recordmydesktop/src/rmdMonitor.py @@ -35,9 +35,10 @@ gettext.textdomain('qt-recordMyDesktop') gettext.bindtextdomain('qt-recordMyDesktop',rmdConfig.locale_install_dir) import popen2 import os,fcntl,signal +from rmdStrings import * class rmdMonitor(object): - labeString=_("Please wait while your recording is being encoded\nWARNING!!!\nIf you press Cancel or close this window,\nthis proccess cannot be resumed!") + labeString=monStrings['PleaseWait'] counter_fraction=0.0 @@ -91,7 +92,7 @@ class rmdMonitor(object): self.progressbar=QtGui.QProgressBar() self.counter_fraction=0 self.progressbar.setValue(self.counter_fraction) - self.stopbutton=QtGui.QPushButton("Cancel",self.window) + self.stopbutton=QtGui.QPushButton(monStrings['Cancel'],self.window) self.stopbutton.connect(self.stopbutton,QtCore.SIGNAL("clicked()"), self.stop_encoding) self.box=QtGui.QVBoxLayout() |