Finished translation implementation for all commands

This commit is contained in:
Manuel Cortéz
2017-02-26 15:49:37 -06:00
parent bc5dc8458a
commit 65d5d7f48a
70 changed files with 189 additions and 189 deletions

View File

@@ -15,7 +15,7 @@ class command():
def shutdown(self):
pass
def getDescription(self):
return 'moves review to the next character and presents it'
return _('moves review to the next character and presents it')
def run(self):
self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()
@@ -25,9 +25,9 @@ class command():
self.env['runtime']['outputManager'].presentText(nextChar, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False)
if endOfScreen:
if self.env['runtime']['settingsManager'].getSettingAsBool('review', 'endOfScreen'):
self.env['runtime']['outputManager'].presentText('end of screen' ,interrupt=True, soundIcon='EndOfScreen')
self.env['runtime']['outputManager'].presentText(_('end of screen'), interrupt=True, soundIcon='EndOfScreen')
if lineBreak:
if self.env['runtime']['settingsManager'].getSettingAsBool('review', 'lineBreak'):
self.env['runtime']['outputManager'].presentText('line break' ,interrupt=False, soundIcon='EndOfLine')
self.env['runtime']['outputManager'].presentText(_('line break'), interrupt=False, soundIcon='EndOfLine')
def setCallback(self, callback):
pass