From 0e9b22612ad14a9a10fcc4a2d230a09ba2b1eeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Tue, 31 Jan 2017 02:00:21 -0600 Subject: [PATCH 01/10] Added i18n module --- src/fenrir/core/i18n.py | 11 +++++++++++ src/fenrir/fenrir.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/fenrir/core/i18n.py diff --git a/src/fenrir/core/i18n.py b/src/fenrir/core/i18n.py new file mode 100644 index 00000000..6f1c3085 --- /dev/null +++ b/src/fenrir/core/i18n.py @@ -0,0 +1,11 @@ +#!/bin/python +# -*- coding: utf-8 -*- + +# Fenrir TTY screen reader +# By Chrys, Storm Dragon, and contributers. + +import gettext +import locale + +# the only function we really need to call here is gettext.install. Python3 has simplified this. +gettext.install("fenrir") diff --git a/src/fenrir/fenrir.py b/src/fenrir/fenrir.py index 3b39343b..adceadf3 100644 --- a/src/fenrir/fenrir.py +++ b/src/fenrir/fenrir.py @@ -9,7 +9,7 @@ import __main__ if not os.path.dirname(os.path.realpath(__main__.__file__)) in sys.path: sys.path.append(os.path.dirname(os.path.realpath(__main__.__file__))) - +from core import i18n from core import settingsManager from core import debug From 856c91c4838156a8381cf1377811866934df0922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 19 Feb 2017 21:01:13 -0600 Subject: [PATCH 02/10] Added some translatable messages --- .../commands/commands/add_word_to_spell_check.py | 8 ++++---- src/fenrir/commands/commands/bookmark_1.py | 10 +++++----- src/fenrir/commands/commands/toggle_braille.py | 6 +++--- src/fenrir/commands/commands/toggle_emoticons.py | 6 +++--- .../commands/commands/toggle_highlight_tracking.py | 6 +++--- src/fenrir/commands/commands/toggle_output.py | 6 +++--- .../commands/commands/toggle_punctuation_level.py | 2 +- src/fenrir/commands/commands/toggle_sound.py | 6 +++--- src/fenrir/commands/commands/toggle_speech.py | 6 +++--- src/fenrir/commands/commands/toggle_tutorial_mode.py | 4 ++-- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/fenrir/commands/commands/add_word_to_spell_check.py b/src/fenrir/commands/commands/add_word_to_spell_check.py index 7b0a6277..1dd04982 100644 --- a/src/fenrir/commands/commands/add_word_to_spell_check.py +++ b/src/fenrir/commands/commands/add_word_to_spell_check.py @@ -24,14 +24,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'adds the current word to the exceptions dictionary' + return _('adds the current word to the exceptions dictionary') def updateSpellLanguage(self): self.spellChecker = enchant.Dict(self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage')) self.language = self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage') def run(self): if not initialized: - self.env['runtime']['outputManager'].presentText('pychant is not installed', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('pyenchant is not installed'), interrupt=True) return if self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage') != self.language: try: @@ -46,10 +46,10 @@ class command(): if currWord != '': if self.spellChecker.is_added(currWord): - self.env['runtime']['outputManager'].presentText(currWord + ' is already in dict',soundIcon='Cancel', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('{0} is already in dict').format(currWord,), soundIcon='Cancel', interrupt=True) else: self.spellChecker.add(currWord) - self.env['runtime']['outputManager'].presentText(currWord + ' added',soundIcon='Accept', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('{0} added').format(currWord,), soundIcon='Accept', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/bookmark_1.py b/src/fenrir/commands/commands/bookmark_1.py index d7426c43..4ddae198 100644 --- a/src/fenrir/commands/commands/bookmark_1.py +++ b/src/fenrir/commands/commands/bookmark_1.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/toggle_braille.py b/src/fenrir/commands/commands/toggle_braille.py index 9aed3436..0929d489 100644 --- a/src/fenrir/commands/commands/toggle_braille.py +++ b/src/fenrir/commands/commands/toggle_braille.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'enables and disables output in braille' + return _('enables and disables output in braille') def run(self): if self.env['runtime']['settingsManager'].getSettingAsBool('braille', 'enabled'): - self.env['runtime']['outputManager'].presentText("braille disabled", soundIcon='BrailleOff', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('braille disabled'), soundIcon='BrailleOff', interrupt=True) self.env['runtime']['settingsManager'].setSetting('braille', 'enabled', str(not self.env['runtime']['settingsManager'].getSettingAsBool('braille', 'enabled'))) if self.env['runtime']['settingsManager'].getSettingAsBool('braille', 'enabled'): - self.env['runtime']['outputManager'].presentText("braille enabled", soundIcon='BrailleOn', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('braille enabled'), soundIcon='BrailleOn', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_emoticons.py b/src/fenrir/commands/commands/toggle_emoticons.py index fc1872df..e44e6da3 100644 --- a/src/fenrir/commands/commands/toggle_emoticons.py +++ b/src/fenrir/commands/commands/toggle_emoticons.py @@ -13,14 +13,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'enables or disables announcement of emoticons insteed of chars' + return _('enables or disables announcement of emoticons instead of chars') def run(self): self.env['runtime']['settingsManager'].setSetting('general', 'emoticons', str(not self.env['runtime']['settingsManager'].getSettingAsBool('general', 'emoticons'))) if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'emoticons'): - self.env['runtime']['outputManager'].presentText("emoticons enabled", soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('emoticons enabled'), soundIcon='', interrupt=True) else: - self.env['runtime']['outputManager'].presentText("emoticons disabled", soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('emoticons disabled'), soundIcon='', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_highlight_tracking.py b/src/fenrir/commands/commands/toggle_highlight_tracking.py index 628e2448..a84a1860 100644 --- a/src/fenrir/commands/commands/toggle_highlight_tracking.py +++ b/src/fenrir/commands/commands/toggle_highlight_tracking.py @@ -13,7 +13,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'enables or disables tracking of highlighted' + return _('enables or disables tracking of highlighted') def run(self): currMode = self.env['runtime']['settingsManager'].getSettingAsBool('focus', 'highlight') @@ -21,9 +21,9 @@ class command(): self.env['runtime']['settingsManager'].setSetting('focus', 'highlight', str(not currMode)) self.env['runtime']['settingsManager'].setSetting('focus', 'cursor', str(currMode)) if self.env['runtime']['settingsManager'].getSettingAsBool('focus', 'highlight'): - self.env['runtime']['outputManager'].presentText("highlight tracking", soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('highlight tracking'), soundIcon='', interrupt=True) else: - self.env['runtime']['outputManager'].presentText("cursor tracking", soundIcon='', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('cursor tracking'), soundIcon='', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_output.py b/src/fenrir/commands/commands/toggle_output.py index 95708651..378ba40c 100644 --- a/src/fenrir/commands/commands/toggle_output.py +++ b/src/fenrir/commands/commands/toggle_output.py @@ -14,13 +14,13 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'toggles all output settings' + return _('toggles all output settings') def run(self): if self.env['runtime']['settingsManager'].getSettingAsBool('speech', 'enabled') or \ self.env['runtime']['settingsManager'].getSettingAsBool('sound', 'enabled') or \ self.env['runtime']['settingsManager'].getSettingAsBool('braille', 'enabled'): - self.env['runtime']['outputManager'].presentText("fenrir muted", soundIcon='Accept', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Fenrir muted'), soundIcon='Accept', interrupt=True) self.env['runtime']['settingsManager'].setSetting('speech', 'enabled','False') self.env['runtime']['settingsManager'].setSetting('sound', 'enabled','False') self.env['runtime']['settingsManager'].setSetting('braille', 'enabled','False') @@ -28,7 +28,7 @@ class command(): self.env['runtime']['settingsManager'].setSetting('speech', 'enabled','True') self.env['runtime']['settingsManager'].setSetting('sound', 'enabled','True') self.env['runtime']['settingsManager'].setSetting('braille', 'enabled','True') - self.env['runtime']['outputManager'].presentText("fenrir unmuted", soundIcon='Cancel', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Fenrir unmuted), soundIcon='Cancel', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_punctuation_level.py b/src/fenrir/commands/commands/toggle_punctuation_level.py index b87789b8..257ff0f6 100644 --- a/src/fenrir/commands/commands/toggle_punctuation_level.py +++ b/src/fenrir/commands/commands/toggle_punctuation_level.py @@ -20,7 +20,7 @@ class command(): if self.env['runtime']['punctuationManager'].cyclePunctuation(): self.env['runtime']['outputManager'].presentText(self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel'), interrupt=True, ignorePunctuation=True) else: - self.env['runtime']['outputManager'].presentText('No punctuation found.', interrupt=True, ignorePunctuation=True) + self.env['runtime']['outputManager'].presentText(_('No punctuation found.'), interrupt=True, ignorePunctuation=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_sound.py b/src/fenrir/commands/commands/toggle_sound.py index bc7c5a8a..8febec81 100644 --- a/src/fenrir/commands/commands/toggle_sound.py +++ b/src/fenrir/commands/commands/toggle_sound.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'enables or disables sound' + return _('enables or disables sound') def run(self): if self.env['runtime']['settingsManager'].getSettingAsBool('sound', 'enabled'): - self.env['runtime']['outputManager'].presentText("sound disabled", soundIcon='SoundOff', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('sound disabled'), soundIcon='SoundOff', interrupt=True) self.env['runtime']['settingsManager'].setSetting('sound', 'enabled', str(not self.env['runtime']['settingsManager'].getSettingAsBool('sound', 'enabled'))) if self.env['runtime']['settingsManager'].getSettingAsBool('sound', 'enabled'): - self.env['runtime']['outputManager'].presentText("sound enabled", soundIcon='SoundOn', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('sound enabled'), soundIcon='SoundOn', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_speech.py b/src/fenrir/commands/commands/toggle_speech.py index 971c957e..83675c0e 100644 --- a/src/fenrir/commands/commands/toggle_speech.py +++ b/src/fenrir/commands/commands/toggle_speech.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'enables or disables speech' + return _('enables or disables speech') def run(self): if self.env['runtime']['settingsManager'].getSettingAsBool('speech', 'enabled'): - self.env['runtime']['outputManager'].presentText("speech disabled", soundIcon='SpeechOff', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('speech disabled'), soundIcon='SpeechOff', interrupt=True) self.env['runtime']['settingsManager'].setSetting('speech', 'enabled', str(not self.env['runtime']['settingsManager'].getSettingAsBool('speech', 'enabled'))) if self.env['runtime']['settingsManager'].getSettingAsBool('speech', 'enabled'): - self.env['runtime']['outputManager'].presentText("speech enabled", soundIcon='SpeechOn', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('speech enabled'), soundIcon='SpeechOn', interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/toggle_tutorial_mode.py b/src/fenrir/commands/commands/toggle_tutorial_mode.py index e5ad15c8..d54122f9 100644 --- a/src/fenrir/commands/commands/toggle_tutorial_mode.py +++ b/src/fenrir/commands/commands/toggle_tutorial_mode.py @@ -15,10 +15,10 @@ class command(): pass def getDescription(self): self.env['generalInformation']['tutorialMode'] = False - return 'You are leving the tutorial mode. Press that shortcut again to enter the tutorial mode again.' + return _('You are leaving the tutorial mode. Press that shortcut again to enter the tutorial mode again.') def run(self): - text = 'you entered the tutorial mode. In that mode the commands are not executed. but you get a description of what the shortcut does. To leve the tutorial mode, press that shortcut again.' + text = _('you entered the tutorial mode. In that mode the commands are not executed. but you get a description of what the shortcut does. To leave the tutorial mode, press that shortcut again.') self.env['runtime']['outputManager'].presentText(text, interrupt=True) self.env['generalInformation']['tutorialMode'] = True From 6b35481f0e74d32266fdef7336fd16bee65456b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 19 Feb 2017 21:46:46 -0600 Subject: [PATCH 03/10] Fixed a typo --- src/fenrir/commands/commands/toggle_output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/commands/commands/toggle_output.py b/src/fenrir/commands/commands/toggle_output.py index 378ba40c..a1b29cec 100644 --- a/src/fenrir/commands/commands/toggle_output.py +++ b/src/fenrir/commands/commands/toggle_output.py @@ -28,7 +28,7 @@ class command(): self.env['runtime']['settingsManager'].setSetting('speech', 'enabled','True') self.env['runtime']['settingsManager'].setSetting('sound', 'enabled','True') self.env['runtime']['settingsManager'].setSetting('braille', 'enabled','True') - self.env['runtime']['outputManager'].presentText(_('Fenrir unmuted), soundIcon='Cancel', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Fenrir unmuted'), soundIcon='Cancel', interrupt=True) def setCallback(self, callback): pass From 7405baf52777e8113c40d1de5430cd8c5115f4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 19 Feb 2017 21:52:09 -0600 Subject: [PATCH 04/10] Fixed a typo in sound Dummy Driver --- src/fenrir/soundDriver/dummyDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/soundDriver/dummyDriver.py b/src/fenrir/soundDriver/dummyDriver.py index bc679d57..4b9079c5 100644 --- a/src/fenrir/soundDriver/dummyDriver.py +++ b/src/fenrir/soundDriver/dummyDriver.py @@ -28,7 +28,7 @@ class driver(): if interrupt: self.cancel() print('SoundDummyDriver: playFrequence:' + ' freq:' + str(frequence) + ' duration:' + str(duration) + ' adjustVolume:' + str(adjustVolume) ) - print('SoundDummyDriver: -----------------------------------')') + print('SoundDummyDriver: -----------------------------------') def playSoundFile(self, filePath, interrupt = True): if not self._initialized: From fcd72ee40f3060f989b077a1d24c3feeefd598af Mon Sep 17 00:00:00 2001 From: = Date: Mon, 20 Feb 2017 03:54:21 +0000 Subject: [PATCH 05/10] Added script to generate template catalog --- tools/generate_translations.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/generate_translations.sh diff --git a/tools/generate_translations.sh b/tools/generate_translations.sh new file mode 100644 index 00000000..e881d329 --- /dev/null +++ b/tools/generate_translations.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +pygettext3 -d fenrir ../src/fenrir/*.py ../src/fenrir/*/*.py ../src/fenrir/*/*/*.py From 4c155d43ac5c1efc5df2e56bb23057031b033e46 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 20 Feb 2017 03:54:38 +0000 Subject: [PATCH 06/10] Added test template catalog --- tools/fenrir.pot | 134 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 tools/fenrir.pot diff --git a/tools/fenrir.pot b/tools/fenrir.pot new file mode 100644 index 00000000..4ed022b1 --- /dev/null +++ b/tools/fenrir.pot @@ -0,0 +1,134 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2017-02-20 03:53+UTC\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: pygettext.py 1.5\n" + + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:27 +msgid "adds the current word to the exceptions dictionary" +msgstr "" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:34 +msgid "pyenchant is not installed" +msgstr "" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:49 +msgid "{0} is already in dict" +msgstr "" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:52 +msgid "{0} added" +msgstr "" + +#: ../src/fenrir/commands/commands/bookmark_1.py:19 +msgid "read Bookmark {0}" +msgstr "" + +#: ../src/fenrir/commands/commands/bookmark_1.py:24 +msgid "Bookmark {0} not set" +msgstr "" + +#: ../src/fenrir/commands/commands/bookmark_1.py:27 +#: ../src/fenrir/commands/commands/bookmark_1.py:30 +msgid "Bookmark for application {0} not set" +msgstr "" + +#: ../src/fenrir/commands/commands/bookmark_1.py:43 +msgid "blank" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_braille.py:17 +msgid "enables and disables output in braille" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_braille.py:21 +msgid "braille disabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_braille.py:24 +msgid "braille enabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:16 +msgid "enables or disables announcement of emoticons instead of chars" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:21 +msgid "emoticons enabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:23 +msgid "emoticons disabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:16 +msgid "enables or disables tracking of highlighted" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:24 +msgid "highlight tracking" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:26 +msgid "cursor tracking" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_output.py:17 +msgid "toggles all output settings" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_output.py:23 +msgid "Fenrir muted" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_output.py:31 +msgid "Fenrir unmuted" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_punctuation_level.py:23 +msgid "No punctuation found." +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_sound.py:17 +msgid "enables or disables sound" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_sound.py:21 +msgid "sound disabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_sound.py:24 +msgid "sound enabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_speech.py:17 +msgid "enables or disables speech" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_speech.py:21 +msgid "speech disabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_speech.py:24 +msgid "speech enabled" +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_tutorial_mode.py:18 +msgid "You are leaving the tutorial mode. Press that shortcut again to enter the tutorial mode again." +msgstr "" + +#: ../src/fenrir/commands/commands/toggle_tutorial_mode.py:21 +msgid "you entered the tutorial mode. In that mode the commands are not executed. but you get a description of what the shortcut does. To leave the tutorial mode, press that shortcut again." +msgstr "" + From c9c577c9126bc48b0ce93e0877b63ad081c8e778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 20 Feb 2017 04:07:18 -0600 Subject: [PATCH 07/10] Added spanish locale --- locale/es/LC_MESSAGES/fenrir.mo | Bin 0 -> 3027 bytes locale/es/LC_MESSAGES/fenrir.po | 145 ++++++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 locale/es/LC_MESSAGES/fenrir.mo create mode 100644 locale/es/LC_MESSAGES/fenrir.po diff --git a/locale/es/LC_MESSAGES/fenrir.mo b/locale/es/LC_MESSAGES/fenrir.mo new file mode 100644 index 0000000000000000000000000000000000000000..945de259357b86f26865e71ad585517a3b28eb42 GIT binary patch literal 3027 zcma)-ONk_fx2B%m8v2zoH7?f!PA-I}Vls(N8U zyn6E}2Q^U+9z7Tn;z<%WLC;3LXgqn)gNY|S=)wQjkLiJ35<4^bP1oal)xW;^W&6hW z1)eAH-HGq!+l1H){tNQ+$p#_zfLFi=!0X^<@F#F9_#5~j_&4|_xaD>sra%qe0e%eL z2Yw3P3tp{w9o&xhAHi+l@8HwmKj1NN_eLQe1r_)hcnRDGUIuyJ*VXtBAn*SZlS2j`K_KAoxAF z3*6Ky=l6mf&m72gI1h53%hmWLkn?>Hd=C5w{0{sEX=P~?VGiWpD|fnzS><{GW{ zu%;j>A&y(SJXCI3E?Fm4mgzKBA+<(c>bxV34boF+7EKP$k#VV$!#q$Ts+Zi9udi5{ zqTxU^MmX@=@eCB0N8sV#eH^N=AWn1Lgd>+dY?i{h5p?9;`c6C-X@8*c<&z!%Zqm<2WZ)gK zrM}PzN2O4~L^uv^tSQJv6v5P~CDm(PBVWWbF&iin0Y~7)2x2M( zK{(^JLOKb>u!>k#r6}xhh@*fpD3FCs7YXX3q%9Y5B5bZt5SvWM$1W|j!nL@-R@lK< zkBKGUmJ7DfacTSp6+bVtTdBA$_y$3!C>8%g{gmdKjaU*aOfm25TNH=rWD=bt=ONUd zY|X#A5S_p})@?MS0`=rnr~5+GnTn=5vU8w!=)k_S3n#EHdW}|6-nGuMgS`&69PV^l zr<4!Tf>Xw8h5H8&r7pTV|K2KRw3hW(kw%{*Ev zk;3%Zg}LZRvyRO#k&9+cY!jSWPaauJL+d3nsUwCwIZI!>o2$+yHT+KY0r zN^r?C<&@M4y^dR5oUVRR_d2vXIZ)UT_}0g1Vg>rxnn6hu)>z?H@AIj~wMgMa%#c^; zF)R4ZtE-twb0~?yjl(=bL90ZkEJ6`4D=)p$a1J5raeFK~BX=#{FiibW$=D7TQ&XkD zDyLYp#UewTlvC*FjS1M3CZ`pPPPzKI!W+9*TA>q3gqve6J`iEdeq3tNCnR^s*oxzI zi)=C*kJYJ)Gt|%1VG7q}@MYT+vsJgWXuZvLKRI5T@Z!ayZgSKt>E*9gT@UT zwJMPot`ecQ!KYijVq``R|IPT@EnjnJyXw8=t;A++<=Z*m%9sqU0AF2}0teR!yX?3B j?{2_mbqBcpmUp|j4SeW4G=c|&Y2v)dm&F5Dlb7N@T&a2> literal 0 HcmV?d00001 diff --git a/locale/es/LC_MESSAGES/fenrir.po b/locale/es/LC_MESSAGES/fenrir.po new file mode 100644 index 00000000..b6f540be --- /dev/null +++ b/locale/es/LC_MESSAGES/fenrir.po @@ -0,0 +1,145 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2017-02-20 03:53+UTC\n" +"PO-Revision-Date: 2017-02-20 04:07-0600\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: pygettext.py 1.5\n" +"X-Generator: Poedit 1.6.11\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:27 +msgid "adds the current word to the exceptions dictionary" +msgstr "añade la palabra actual al diccionario" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:34 +msgid "pyenchant is not installed" +msgstr "Pyenchant no está instalado" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:49 +msgid "{0} is already in dict" +msgstr "{0} ya se encuentra en el diccionario" + +#: ../src/fenrir/commands/commands/add_word_to_spell_check.py:52 +msgid "{0} added" +msgstr "{0} se ha añadido" + +#: ../src/fenrir/commands/commands/bookmark_1.py:19 +msgid "read Bookmark {0}" +msgstr "Leer marcador {0}" + +#: ../src/fenrir/commands/commands/bookmark_1.py:24 +msgid "Bookmark {0} not set" +msgstr "No se ha establecido el marcador {0}" + +#: ../src/fenrir/commands/commands/bookmark_1.py:27 +#: ../src/fenrir/commands/commands/bookmark_1.py:30 +msgid "Bookmark for application {0} not set" +msgstr "El marcador para la aplicación {0} no se ha establecido" + +#: ../src/fenrir/commands/commands/bookmark_1.py:43 +msgid "blank" +msgstr "en blanco" + +#: ../src/fenrir/commands/commands/toggle_braille.py:17 +msgid "enables and disables output in braille" +msgstr "Activa y desactiva la salida Braille" + +#: ../src/fenrir/commands/commands/toggle_braille.py:21 +msgid "braille disabled" +msgstr "Braille desactivado" + +#: ../src/fenrir/commands/commands/toggle_braille.py:24 +msgid "braille enabled" +msgstr "Braille activado" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:16 +msgid "enables or disables announcement of emoticons instead of chars" +msgstr "Activa o desactiva el anunciado de emoticonos en lugar de caracteres" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:21 +msgid "emoticons enabled" +msgstr "Emoticonos activados" + +#: ../src/fenrir/commands/commands/toggle_emoticons.py:23 +msgid "emoticons disabled" +msgstr "Emoticonos desactivados" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:16 +msgid "enables or disables tracking of highlighted" +msgstr "Activa o desactiva el seguimiento de texto resaltado" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:24 +msgid "highlight tracking" +msgstr "Seguimiento del texto resaltado" + +#: ../src/fenrir/commands/commands/toggle_highlight_tracking.py:26 +msgid "cursor tracking" +msgstr "Seguimiento del cursor" + +#: ../src/fenrir/commands/commands/toggle_output.py:17 +msgid "toggles all output settings" +msgstr "Conmuta el silencio del lector de pantalla" + +#: ../src/fenrir/commands/commands/toggle_output.py:23 +msgid "Fenrir muted" +msgstr "Fenrir silenciado" + +#: ../src/fenrir/commands/commands/toggle_output.py:31 +msgid "Fenrir unmuted" +msgstr "Desactivado el silencio" + +#: ../src/fenrir/commands/commands/toggle_punctuation_level.py:23 +msgid "No punctuation found." +msgstr "No se ha encontrado la puntuación" + +#: ../src/fenrir/commands/commands/toggle_sound.py:17 +msgid "enables or disables sound" +msgstr "Activa o desactiva el sonido" + +#: ../src/fenrir/commands/commands/toggle_sound.py:21 +msgid "sound disabled" +msgstr "sonido desactivado" + +#: ../src/fenrir/commands/commands/toggle_sound.py:24 +msgid "sound enabled" +msgstr "Sonido activado" + +#: ../src/fenrir/commands/commands/toggle_speech.py:17 +msgid "enables or disables speech" +msgstr "Activa o desactiva el habla" + +#: ../src/fenrir/commands/commands/toggle_speech.py:21 +msgid "speech disabled" +msgstr "Habla desactivada" + +#: ../src/fenrir/commands/commands/toggle_speech.py:24 +msgid "speech enabled" +msgstr "Habla activada" + +#: ../src/fenrir/commands/commands/toggle_tutorial_mode.py:18 +msgid "" +"You are leaving the tutorial mode. Press that shortcut again to enter the " +"tutorial mode again." +msgstr "" +"Has salido del tutorial. Presiona la misma combinación de teclado para " +"entrar al tutorial de nuevo." + +#: ../src/fenrir/commands/commands/toggle_tutorial_mode.py:21 +msgid "" +"you entered the tutorial mode. In that mode the commands are not executed. " +"but you get a description of what the shortcut does. To leave the tutorial " +"mode, press that shortcut again." +msgstr "" +"Has entrado al tutorial. En este modo las combinaciones de teclado no se " +"ejecutarán pero te darán una descripción de lo que hacen. Para salir del " +"tutorial, presiona la misma combinación de teclado de nuevo." From 2a926ea39fcca50fa4150735e7339bab4d18d4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 20 Feb 2017 04:43:58 -0600 Subject: [PATCH 08/10] Added translatable messages to more commands --- src/fenrir/commands/commands/bookmark_10.py | 10 +++++----- src/fenrir/commands/commands/bookmark_2.py | 10 +++++----- src/fenrir/commands/commands/bookmark_3.py | 10 +++++----- src/fenrir/commands/commands/bookmark_4.py | 10 +++++----- src/fenrir/commands/commands/bookmark_5.py | 10 +++++----- src/fenrir/commands/commands/bookmark_6.py | 10 +++++----- src/fenrir/commands/commands/bookmark_7.py | 10 +++++----- src/fenrir/commands/commands/bookmark_8.py | 10 +++++----- src/fenrir/commands/commands/bookmark_9.py | 10 +++++----- src/fenrir/commands/commands/braille_flush.py | 2 +- src/fenrir/commands/commands/braille_pan_left.py | 2 +- src/fenrir/commands/commands/braille_pan_right.py | 2 +- .../commands/commands/braille_return_to_cursor.py | 2 +- src/fenrir/commands/commands/clear_bookmark_1.py | 4 ++-- src/fenrir/commands/commands/clear_bookmark_10.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_2.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_3.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_4.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_5.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_6.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_7.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_8.py | 6 +++--- src/fenrir/commands/commands/clear_bookmark_9.py | 6 +++--- src/fenrir/commands/commands/clear_clipboard.py | 4 ++-- .../commands/commands/clear_window_application.py | 6 +++--- .../commands/commands/copy_marked_to_clipboard.py | 4 ++-- src/fenrir/commands/commands/curr_clipboard.py | 4 ++-- src/fenrir/commands/commands/curr_screen.py | 4 ++-- .../commands/commands/curr_screen_after_cursor.py | 4 ++-- .../commands/commands/curr_screen_before_cursor.py | 4 ++-- src/fenrir/commands/commands/cursor_column.py | 2 +- src/fenrir/commands/commands/cursor_lineno.py | 2 +- 32 files changed, 95 insertions(+), 95 deletions(-) diff --git a/src/fenrir/commands/commands/bookmark_10.py b/src/fenrir/commands/commands/bookmark_10.py index a975772b..6dec1f6a 100644 --- a/src/fenrir/commands/commands/bookmark_10.py +++ b/src/fenrir/commands/commands/bookmark_10.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_2.py b/src/fenrir/commands/commands/bookmark_2.py index 5eb9a660..86135a17 100644 --- a/src/fenrir/commands/commands/bookmark_2.py +++ b/src/fenrir/commands/commands/bookmark_2.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_3.py b/src/fenrir/commands/commands/bookmark_3.py index 95c521d7..6c520f73 100644 --- a/src/fenrir/commands/commands/bookmark_3.py +++ b/src/fenrir/commands/commands/bookmark_3.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_4.py b/src/fenrir/commands/commands/bookmark_4.py index 7386f998..0bbb53d5 100644 --- a/src/fenrir/commands/commands/bookmark_4.py +++ b/src/fenrir/commands/commands/bookmark_4.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_5.py b/src/fenrir/commands/commands/bookmark_5.py index 9250b058..10c6fd2c 100644 --- a/src/fenrir/commands/commands/bookmark_5.py +++ b/src/fenrir/commands/commands/bookmark_5.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_6.py b/src/fenrir/commands/commands/bookmark_6.py index 0749587e..defdd9be 100644 --- a/src/fenrir/commands/commands/bookmark_6.py +++ b/src/fenrir/commands/commands/bookmark_6.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_7.py b/src/fenrir/commands/commands/bookmark_7.py index e680dbdf..8a6baf49 100644 --- a/src/fenrir/commands/commands/bookmark_7.py +++ b/src/fenrir/commands/commands/bookmark_7.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_8.py b/src/fenrir/commands/commands/bookmark_8.py index d540c758..e4be37d3 100644 --- a/src/fenrir/commands/commands/bookmark_8.py +++ b/src/fenrir/commands/commands/bookmark_8.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/bookmark_9.py b/src/fenrir/commands/commands/bookmark_9.py index a6f53387..f0afeb64 100644 --- a/src/fenrir/commands/commands/bookmark_9.py +++ b/src/fenrir/commands/commands/bookmark_9.py @@ -16,18 +16,18 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'read Bookmark ' + self.ID + return _('read Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() if not self.env['commandBuffer']['bookMarks'][self.ID]: - self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} not set').format(self.ID,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return if not self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1']: - self.env['runtime']['outputManager'].presentText("Bookmark for application " + currApp + " not set", interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark for application {0} not set').format(currApp,), interrupt=True) return # set marks @@ -40,7 +40,7 @@ class command(): x, y, marked = \ line_utils.getCurrentLine(startMark['x'], startMark['y'], self.env['screenData']['newContentText']) if marked.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('blank'), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(marked, interrupt=True) diff --git a/src/fenrir/commands/commands/braille_flush.py b/src/fenrir/commands/commands/braille_flush.py index bdc34854..3c0ece33 100644 --- a/src/fenrir/commands/commands/braille_flush.py +++ b/src/fenrir/commands/commands/braille_flush.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'flush the braille device if an message is written on' + return _('flush the braille device if a message is written on') def run(self): self.env['runtime']['outputManager'].clearFlushTime() def setCallback(self, callback): diff --git a/src/fenrir/commands/commands/braille_pan_left.py b/src/fenrir/commands/commands/braille_pan_left.py index 91eaa66b..284dacc7 100644 --- a/src/fenrir/commands/commands/braille_pan_left.py +++ b/src/fenrir/commands/commands/braille_pan_left.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'Move braille view to the left.' + return _('Move braille view to the left.') def run(self): panned = self.env['runtime']['outputManager'].setPanLeft() def setCallback(self, callback): diff --git a/src/fenrir/commands/commands/braille_pan_right.py b/src/fenrir/commands/commands/braille_pan_right.py index b1858237..c0272fba 100644 --- a/src/fenrir/commands/commands/braille_pan_right.py +++ b/src/fenrir/commands/commands/braille_pan_right.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'Move braille view to the right.' + return _('Move braille view to the right.') def run(self): panned = self.env['runtime']['outputManager'].setPanRight() def setCallback(self, callback): diff --git a/src/fenrir/commands/commands/braille_return_to_cursor.py b/src/fenrir/commands/commands/braille_return_to_cursor.py index 687ce776..01cecbbe 100644 --- a/src/fenrir/commands/commands/braille_return_to_cursor.py +++ b/src/fenrir/commands/commands/braille_return_to_cursor.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'Set the braille view back to cursor.' + return _('Set the braille view back to cursor.') def run(self): self.env['runtime']['outputManager'].removePanning() def setCallback(self, callback): diff --git a/src/fenrir/commands/commands/clear_bookmark_1.py b/src/fenrir/commands/commands/clear_bookmark_1.py index 686b7ff0..d543a97e 100644 --- a/src/fenrir/commands/commands/clear_bookmark_1.py +++ b/src/fenrir/commands/commands/clear_bookmark_1.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_10.py b/src/fenrir/commands/commands/clear_bookmark_10.py index 335a73b9..5e77a224 100644 --- a/src/fenrir/commands/commands/clear_bookmark_10.py +++ b/src/fenrir/commands/commands/clear_bookmark_10.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_2.py b/src/fenrir/commands/commands/clear_bookmark_2.py index 3f6f7139..baa3daea 100644 --- a/src/fenrir/commands/commands/clear_bookmark_2.py +++ b/src/fenrir/commands/commands/clear_bookmark_2.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_3.py b/src/fenrir/commands/commands/clear_bookmark_3.py index 22471fa8..924ed7d7 100644 --- a/src/fenrir/commands/commands/clear_bookmark_3.py +++ b/src/fenrir/commands/commands/clear_bookmark_3.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_4.py b/src/fenrir/commands/commands/clear_bookmark_4.py index 3d440a3b..781d8aa0 100644 --- a/src/fenrir/commands/commands/clear_bookmark_4.py +++ b/src/fenrir/commands/commands/clear_bookmark_4.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_5.py b/src/fenrir/commands/commands/clear_bookmark_5.py index 17d275bd..54a06923 100644 --- a/src/fenrir/commands/commands/clear_bookmark_5.py +++ b/src/fenrir/commands/commands/clear_bookmark_5.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_6.py b/src/fenrir/commands/commands/clear_bookmark_6.py index d7906f01..a79267fc 100644 --- a/src/fenrir/commands/commands/clear_bookmark_6.py +++ b/src/fenrir/commands/commands/clear_bookmark_6.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_7.py b/src/fenrir/commands/commands/clear_bookmark_7.py index 3a46a111..39cb1435 100644 --- a/src/fenrir/commands/commands/clear_bookmark_7.py +++ b/src/fenrir/commands/commands/clear_bookmark_7.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_8.py b/src/fenrir/commands/commands/clear_bookmark_8.py index f9ce2a31..b5e22414 100644 --- a/src/fenrir/commands/commands/clear_bookmark_8.py +++ b/src/fenrir/commands/commands/clear_bookmark_8.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_bookmark_9.py b/src/fenrir/commands/commands/clear_bookmark_9.py index 79e47f39..a9fd30a4 100644 --- a/src/fenrir/commands/commands/clear_bookmark_9.py +++ b/src/fenrir/commands/commands/clear_bookmark_9.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'remove Bookmark ' + self.ID + return _('remove Bookmark {0}').format(self.ID,) def run(self): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - + del self.env['commandBuffer']['bookMarks'][self.ID][currApp] - self.env['runtime']['outputManager'].presentText('Bookmark ' + self.ID + " removed for application " + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Bookmark {0} removed for application {1}').format(self.ID, currApp), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_clipboard.py b/src/fenrir/commands/commands/clear_clipboard.py index 8e82bfb0..3abe1257 100644 --- a/src/fenrir/commands/commands/clear_clipboard.py +++ b/src/fenrir/commands/commands/clear_clipboard.py @@ -14,12 +14,12 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'clears the currently selected clipboard' + return _('clears the currently selected clipboard') def run(self): self.env['commandBuffer']['currClipboard'] = -1 del self.env['commandBuffer']['clipboard'][:] - self.env['runtime']['outputManager'].presentText('clipboard cleared', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('clipboard cleared'), interrupt=True) return def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/clear_window_application.py b/src/fenrir/commands/commands/clear_window_application.py index 81d1707c..11af3045 100644 --- a/src/fenrir/commands/commands/clear_window_application.py +++ b/src/fenrir/commands/commands/clear_window_application.py @@ -14,14 +14,14 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'Turn off window mode for application' + return _('Turn off window mode for application') def run(self): if self.env['runtime']['cursorManager'].clearWindowForApplication(): currApp = self.env['runtime']['applicationManager'].getCurrentApplication() - self.env['runtime']['outputManager'].presentText('Window Mode off for application ' + currApp, interrupt=True) + self.env['runtime']['outputManager'].presentText(_('Window Mode off for application {0}').format(currApp,), interrupt=True) else: - self.env['runtime']['outputManager'].presentText("Not in window Mode", interrupt=True) + self.env['runtime']['outputManager'].presentText(_("Not in window Mode"), interrupt=True) def setCallback(self, callback): pass diff --git a/src/fenrir/commands/commands/copy_marked_to_clipboard.py b/src/fenrir/commands/commands/copy_marked_to_clipboard.py index 36d96d3e..687fa097 100644 --- a/src/fenrir/commands/commands/copy_marked_to_clipboard.py +++ b/src/fenrir/commands/commands/copy_marked_to_clipboard.py @@ -15,11 +15,11 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'copies marked text to the currently selected clipboard' + return _('copies marked text to the currently selected clipboard') def run(self): if not self.env['commandBuffer']['Marks']['1']: - self.env['runtime']['outputManager'].presentText("one or two marks needed", interrupt=True) + self.env['runtime']['outputManager'].presentText(_("one or two marks needed"), interrupt=True) return if not self.env['commandBuffer']['Marks']['2']: self.env['runtime']['cursorManager'].setMark() diff --git a/src/fenrir/commands/commands/curr_clipboard.py b/src/fenrir/commands/commands/curr_clipboard.py index d47caec0..2adfbed5 100644 --- a/src/fenrir/commands/commands/curr_clipboard.py +++ b/src/fenrir/commands/commands/curr_clipboard.py @@ -14,11 +14,11 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'speaks the contents of the currently selected clipboard' + return _('speaks the contents of the currently selected clipboard') def run(self): if len(self.env['commandBuffer']['clipboard']) == 0: - self.env['runtime']['outputManager'].presentText('clipboard empty', interrupt=True) + self.env['runtime']['outputManager'].presentText(_('clipboard empty'), interrupt=True) return self.env['runtime']['outputManager'].presentText(self.env['commandBuffer']['clipboard'][self.env['commandBuffer']['currClipboard']], interrupt=True) diff --git a/src/fenrir/commands/commands/curr_screen.py b/src/fenrir/commands/commands/curr_screen.py index 8a1d42b0..01d8723d 100644 --- a/src/fenrir/commands/commands/curr_screen.py +++ b/src/fenrir/commands/commands/curr_screen.py @@ -14,11 +14,11 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'reads the contents of the current screen' + return _('reads the contents of the current screen') def run(self): if self.env['screenData']['newContentText'].isspace(): - self.env['runtime']['outputManager'].presentText("screen is empty", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("screen is empty"), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(self.env['screenData']['newContentText'],interrupt=True) diff --git a/src/fenrir/commands/commands/curr_screen_after_cursor.py b/src/fenrir/commands/commands/curr_screen_after_cursor.py index 7b33dff7..c009b9b0 100644 --- a/src/fenrir/commands/commands/curr_screen_after_cursor.py +++ b/src/fenrir/commands/commands/curr_screen_after_cursor.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'reads from the cursor to the bottom of the screen' + return _('reads from the cursor to the bottom of the screen') def run(self): # Prefer review cursor over text cursor @@ -24,7 +24,7 @@ class command(): textAfterCursor = mark_utils.getTextAfterMark(cursorPos, self.env['screenData']['newContentText']) if textAfterCursor.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(textAfterCursor, interrupt=True) diff --git a/src/fenrir/commands/commands/curr_screen_before_cursor.py b/src/fenrir/commands/commands/curr_screen_before_cursor.py index e9367411..1e211ed0 100644 --- a/src/fenrir/commands/commands/curr_screen_before_cursor.py +++ b/src/fenrir/commands/commands/curr_screen_before_cursor.py @@ -15,7 +15,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'Reads from the top of the screen to the cursor position' + return _('Reads from the top of the screen to the cursor position') def run(self): # Prefer review cursor over text cursor @@ -27,7 +27,7 @@ class command(): textBeforeCursor = mark_utils.getTextBeforeMark(cursorPos, self.env['screenData']['newContentText']) if textBeforeCursor.isspace(): - self.env['runtime']['outputManager'].presentText("blank", soundIcon='EmptyLine', interrupt=True) + self.env['runtime']['outputManager'].presentText(_("blank"), soundIcon='EmptyLine', interrupt=True) else: self.env['runtime']['outputManager'].presentText(textBeforeCursor, interrupt=True) diff --git a/src/fenrir/commands/commands/cursor_column.py b/src/fenrir/commands/commands/cursor_column.py index 04365458..d3c119a6 100644 --- a/src/fenrir/commands/commands/cursor_column.py +++ b/src/fenrir/commands/commands/cursor_column.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'presents the current column number for review cursor in review mode or the text cursor if not. Starts with 1' + return _('presents the current column number for review cursor in review mode or the text cursor if not. Starts with 1') def run(self): cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor() self.env['runtime']['outputManager'].presentText(str(cursorPos['x'] + 1) , interrupt=True) diff --git a/src/fenrir/commands/commands/cursor_lineno.py b/src/fenrir/commands/commands/cursor_lineno.py index 2d76639d..a8b39ce6 100644 --- a/src/fenrir/commands/commands/cursor_lineno.py +++ b/src/fenrir/commands/commands/cursor_lineno.py @@ -14,7 +14,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return 'presents the current line number for review cursor in review mode or the text cursor if not. Starts with 1' + return _('presents the current line number for review cursor in review mode or the text cursor if not. Starts with 1') def run(self): cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor() self.env['runtime']['outputManager'].presentText(str(cursorPos['y'] + 1), interrupt=True) From b488296d079f2b13ecfb1a5aa4d72c5f54272a6d Mon Sep 17 00:00:00 2001 From: = Date: Mon, 20 Feb 2017 10:45:22 +0000 Subject: [PATCH 09/10] Updated translation catalog --- tools/fenrir.pot | 151 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 150 insertions(+), 1 deletion(-) diff --git a/tools/fenrir.pot b/tools/fenrir.pot index 4ed022b1..cf521660 100644 --- a/tools/fenrir.pot +++ b/tools/fenrir.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2017-02-20 03:53+UTC\n" +"POT-Creation-Date: 2017-02-20 10:45+UTC\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -32,22 +32,171 @@ msgid "{0} added" msgstr "" #: ../src/fenrir/commands/commands/bookmark_1.py:19 +#: ../src/fenrir/commands/commands/bookmark_10.py:19 +#: ../src/fenrir/commands/commands/bookmark_2.py:19 +#: ../src/fenrir/commands/commands/bookmark_3.py:19 +#: ../src/fenrir/commands/commands/bookmark_4.py:19 +#: ../src/fenrir/commands/commands/bookmark_5.py:19 +#: ../src/fenrir/commands/commands/bookmark_6.py:19 +#: ../src/fenrir/commands/commands/bookmark_7.py:19 +#: ../src/fenrir/commands/commands/bookmark_8.py:19 +#: ../src/fenrir/commands/commands/bookmark_9.py:19 msgid "read Bookmark {0}" msgstr "" #: ../src/fenrir/commands/commands/bookmark_1.py:24 +#: ../src/fenrir/commands/commands/bookmark_10.py:24 +#: ../src/fenrir/commands/commands/bookmark_2.py:24 +#: ../src/fenrir/commands/commands/bookmark_3.py:24 +#: ../src/fenrir/commands/commands/bookmark_4.py:24 +#: ../src/fenrir/commands/commands/bookmark_5.py:24 +#: ../src/fenrir/commands/commands/bookmark_6.py:24 +#: ../src/fenrir/commands/commands/bookmark_7.py:24 +#: ../src/fenrir/commands/commands/bookmark_8.py:24 +#: ../src/fenrir/commands/commands/bookmark_9.py:24 msgid "Bookmark {0} not set" msgstr "" #: ../src/fenrir/commands/commands/bookmark_1.py:27 #: ../src/fenrir/commands/commands/bookmark_1.py:30 +#: ../src/fenrir/commands/commands/bookmark_10.py:27 +#: ../src/fenrir/commands/commands/bookmark_10.py:30 +#: ../src/fenrir/commands/commands/bookmark_2.py:27 +#: ../src/fenrir/commands/commands/bookmark_2.py:30 +#: ../src/fenrir/commands/commands/bookmark_3.py:27 +#: ../src/fenrir/commands/commands/bookmark_3.py:30 +#: ../src/fenrir/commands/commands/bookmark_4.py:27 +#: ../src/fenrir/commands/commands/bookmark_4.py:30 +#: ../src/fenrir/commands/commands/bookmark_5.py:27 +#: ../src/fenrir/commands/commands/bookmark_5.py:30 +#: ../src/fenrir/commands/commands/bookmark_6.py:27 +#: ../src/fenrir/commands/commands/bookmark_6.py:30 +#: ../src/fenrir/commands/commands/bookmark_7.py:27 +#: ../src/fenrir/commands/commands/bookmark_7.py:30 +#: ../src/fenrir/commands/commands/bookmark_8.py:27 +#: ../src/fenrir/commands/commands/bookmark_8.py:30 +#: ../src/fenrir/commands/commands/bookmark_9.py:27 +#: ../src/fenrir/commands/commands/bookmark_9.py:30 msgid "Bookmark for application {0} not set" msgstr "" #: ../src/fenrir/commands/commands/bookmark_1.py:43 +#: ../src/fenrir/commands/commands/bookmark_10.py:43 +#: ../src/fenrir/commands/commands/bookmark_2.py:43 +#: ../src/fenrir/commands/commands/bookmark_3.py:43 +#: ../src/fenrir/commands/commands/bookmark_4.py:43 +#: ../src/fenrir/commands/commands/bookmark_5.py:43 +#: ../src/fenrir/commands/commands/bookmark_6.py:43 +#: ../src/fenrir/commands/commands/bookmark_7.py:43 +#: ../src/fenrir/commands/commands/bookmark_8.py:43 +#: ../src/fenrir/commands/commands/bookmark_9.py:43 +#: ../src/fenrir/commands/commands/curr_screen_after_cursor.py:27 +#: ../src/fenrir/commands/commands/curr_screen_before_cursor.py:30 msgid "blank" msgstr "" +#: ../src/fenrir/commands/commands/braille_flush.py:17 +msgid "flush the braille device if a message is written on" +msgstr "" + +#: ../src/fenrir/commands/commands/braille_pan_left.py:17 +msgid "Move braille view to the left." +msgstr "" + +#: ../src/fenrir/commands/commands/braille_pan_right.py:17 +msgid "Move braille view to the right." +msgstr "" + +#: ../src/fenrir/commands/commands/braille_return_to_cursor.py:17 +msgid "Set the braille view back to cursor." +msgstr "" + +#: ../src/fenrir/commands/commands/clear_bookmark_1.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_10.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_2.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_3.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_4.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_5.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_6.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_7.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_8.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_9.py:17 +msgid "remove Bookmark {0}" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_bookmark_1.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_10.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_2.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_3.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_4.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_5.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_6.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_7.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_8.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_9.py:24 +msgid "Bookmark {0} removed for application {1}" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_clipboard.py:17 +msgid "clears the currently selected clipboard" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_clipboard.py:22 +msgid "clipboard cleared" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_window_application.py:17 +msgid "Turn off window mode for application" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_window_application.py:22 +msgid "Window Mode off for application {0}" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_window_application.py:24 +msgid "Not in window Mode" +msgstr "" + +#: ../src/fenrir/commands/commands/copy_marked_to_clipboard.py:18 +msgid "copies marked text to the currently selected clipboard" +msgstr "" + +#: ../src/fenrir/commands/commands/copy_marked_to_clipboard.py:22 +msgid "one or two marks needed" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_clipboard.py:17 +msgid "speaks the contents of the currently selected clipboard" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_clipboard.py:21 +msgid "clipboard empty" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_screen.py:17 +msgid "reads the contents of the current screen" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_screen.py:21 +msgid "screen is empty" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_screen_after_cursor.py:18 +msgid "reads from the cursor to the bottom of the screen" +msgstr "" + +#: ../src/fenrir/commands/commands/curr_screen_before_cursor.py:18 +msgid "Reads from the top of the screen to the cursor position" +msgstr "" + +#: ../src/fenrir/commands/commands/cursor_column.py:17 +msgid "presents the current column number for review cursor in review mode or the text cursor if not. Starts with 1" +msgstr "" + +#: ../src/fenrir/commands/commands/cursor_lineno.py:17 +msgid "presents the current line number for review cursor in review mode or the text cursor if not. Starts with 1" +msgstr "" + #: ../src/fenrir/commands/commands/toggle_braille.py:17 msgid "enables and disables output in braille" msgstr "" From 3d83cba15d5dcf737a671b2cf0ccde191b94b47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 20 Feb 2017 04:52:44 -0600 Subject: [PATCH 10/10] Updated spanish translation --- locale/es/LC_MESSAGES/fenrir.mo | Bin 3027 -> 4655 bytes locale/es/LC_MESSAGES/fenrir.po | 159 +++++++++++++++++++++++++++++++- 2 files changed, 156 insertions(+), 3 deletions(-) diff --git a/locale/es/LC_MESSAGES/fenrir.mo b/locale/es/LC_MESSAGES/fenrir.mo index 945de259357b86f26865e71ad585517a3b28eb42..37063a4f7048c84dd4afb53c7d1efffe67e391a7 100644 GIT binary patch literal 4655 zcma)I#0Np}!M+s*UrNCuhzLID?|)|Ie(VQ0-rB>iQ@8A#D{l}Gh6g~hy2%m=cz#H&h_*M9E=;0^e zx8aB2&)`Y;Tlf@w9X<;0duPqF@GCq&50~JtA^+4{{COYz2fPm+dzVs=!ISX)a2d+@ z8axlb+&q5=%6UJAGVho0)A0B3Y4|pL0CwN4)JNg7@HC9zXW$(u>-XSC;Gdz)`#Y5V zPTZ~3B76{@g6r@Da0iM!--Ke1AHw&-SD@(qtLFXN&HMkt2N}Qj1Tw-WApg`~`SW4; z7QBHEjx8v4f#;j=sqJ+KiX6XyBH!=er{Ej#5qKP@d=j35_ruS_XJ8CZ!IxnV{t?Dd zgnSHGDCd6*iatMpV*j5&+4nci_+J|S6LuKC8)Ze_^HAhjhY}wail1MESKyDJ#MR%R z=zSN)Itw3ypM}?<#LXQj^M2m&4^Z@d6N=sc1I3>mgp>H%gresyD1Q3}WQzJe?7^3z ztbZMHw0aXh0sjsE1Rvq0tos)fJD%VHvxiIc6P=#qCuzVE^$@>@`N<`5)LxG_H?p_r zeTE;Q8+17a#r9$+!Y{;y*g!7vReMRCb=wCha)~b_ujCRxiH%P46Q78lVr$V~WEZ;- zR>3Y{auFJn>o|8}53z;#oA6Sa-|R)GhujWhm%ZN}nS5Ihe6CHFrAcJU#5?`9-q*GB zr7mo#CX;3duUeNUxgJ%ejaBndx%zS4?^xZ>O_HWo?<96tmtL1!R;PAQcGZ!u^JKWi z`!9H%RW2&4T9kpWTr8udPMqFNT`2 z^visah;r(NEyJui5&I_EmId|XuG*|}$99AE#1SX%H?kY8D)L!k3oTK^%F^D(wzan#p^w+ECVND9H+aZO?(SRFmVuC141RX?`wE;4Jjn;<>>sKaB6b+}|^*ZR5Lw)Dec zO2}f8Hh3s=B~e(YF$o=#Qev6JE9aB>8d)ou9Ew40g3*X*WHYLO*xKH1@YgcxW4JI`q_O|HiO&@9r2k$@pNu3>4NxDiZGsOZA%N^D=sknM9 zSs}$iZRGwIx!t)IcW&Cepja&Hg^e$6c2<}twWD*zly+G!^%kG%^p-kHJ-yglK6~!; zbDJy7>s%*5W!1rHy|c^bmO8!jz23r_Day`fZd{QXY9J@988@s5=FX-yqnYPrZHtBV zYwN31X%@S^g_YXNoy~EEEK*C(WGSWcVx5_`y!71W)y{?KJUMG%^UkV^e2fE^^@V;? zE_}{9o1;(MxjbIh*%%kdX5DP87rW;czSLRQF#!1Qe`R?N4!bV!4z`r#m6r$s8ve5$s-d>Z!x*isiB8T3yqS!*V-ORRn=PteM_ml zQ4)J;a0dppo!Jd1wmr2-QnESW5Ou{ChC08)z07Xj_|Q*tIUE<2Mqh3kZ;&T>@r5d} zd2II2YAa8e72BMIF*AZ;Pe-BQB=)5n(~N^sG6hxkULs2*3%uSTU5qno%~}a^nk2F% zE{PJ)b68F(BG(LN5cy<7I&p2In8|g`>8jPnM0CUh%5d6b=F||uXd(m$HF6y03H7Wg zbYW6#&&+g^)OB-~#wiDml44|Z)6TIWZH0nsN z4to+A8?$eAWWnKMEA;BHm1INc8WO!C;N0FwSQVbnq+yke5|pmZR{KeqA0FVr(3VD)%9RZJaxF^SZ6lAO{QLew>mel3A7Hg4NBhaz2C4RHg*5oyO43x)BB zO$zTM;~Fvcov=klnj_v7bIONWt<2V!09QVPkWLh$`1DKIG!_yf;b`YdPWdoMYi*_=;d>SFyUzC>F24rr^N zPQ8Aik`57BM?I1@BH1CrO{+}Z`~SZ}g+NU~l23uU&xFz>c_2e$PLNoPs-Uk#B}dIx GsQ&>Q9bL-+ delta 794 zcmZwFJ4};N6u|M*@)g?BH!qbcO(~B;B5yPuSTs&fY6vozd{I&egn`Gz(1C=3#F%)Y z1CS^KBRDi6gb+y_(18gbi;u}c2NJ`e0}lSrrK2ag`F-F09`~Gc@2kxFhQhamvns?j zMv@Woh-C3EYP|G{WN;H}@d!is86)@u>+lag!f=I1FHWHkUtkQkFp9fnk1!!pkWXC1 zdGHfk@f?RR?TB1P7q8#~c486vP~Md1KcasB3pF7xtA;U-x?mIPd>1z25bokA23TL> zl_K>_G~#`#?!}wjFI8Pseu%ojcWl7ln8t`-*n6S{-ii4oLFC(H8-s1-lO4&1;Ke2e=2 zTD3?EZeu~WnaH9JnddFb0WE0yPo@rnHS6k{$mH{(8@oS4p=)2i!c z&7Ufr`EPlA-F>-%K9dW!c)M>HH`s29!Nbs9cRD}s=EriWv03w=dfBvxnxBUcN`sN4 U$2^Os%yG2KEXJ~>ud#cce}6_<4gdfE diff --git a/locale/es/LC_MESSAGES/fenrir.po b/locale/es/LC_MESSAGES/fenrir.po index b6f540be..d3da9fcf 100644 --- a/locale/es/LC_MESSAGES/fenrir.po +++ b/locale/es/LC_MESSAGES/fenrir.po @@ -5,17 +5,17 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2017-02-20 03:53+UTC\n" -"PO-Revision-Date: 2017-02-20 04:07-0600\n" +"POT-Creation-Date: 2017-02-20 10:45+UTC\n" +"PO-Revision-Date: 2017-02-20 04:52-0600\n" "Last-Translator: \n" "Language-Team: \n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 1.6.11\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: es\n" #: ../src/fenrir/commands/commands/add_word_to_spell_check.py:27 msgid "adds the current word to the exceptions dictionary" @@ -34,22 +34,175 @@ msgid "{0} added" msgstr "{0} se ha añadido" #: ../src/fenrir/commands/commands/bookmark_1.py:19 +#: ../src/fenrir/commands/commands/bookmark_10.py:19 +#: ../src/fenrir/commands/commands/bookmark_2.py:19 +#: ../src/fenrir/commands/commands/bookmark_3.py:19 +#: ../src/fenrir/commands/commands/bookmark_4.py:19 +#: ../src/fenrir/commands/commands/bookmark_5.py:19 +#: ../src/fenrir/commands/commands/bookmark_6.py:19 +#: ../src/fenrir/commands/commands/bookmark_7.py:19 +#: ../src/fenrir/commands/commands/bookmark_8.py:19 +#: ../src/fenrir/commands/commands/bookmark_9.py:19 msgid "read Bookmark {0}" msgstr "Leer marcador {0}" #: ../src/fenrir/commands/commands/bookmark_1.py:24 +#: ../src/fenrir/commands/commands/bookmark_10.py:24 +#: ../src/fenrir/commands/commands/bookmark_2.py:24 +#: ../src/fenrir/commands/commands/bookmark_3.py:24 +#: ../src/fenrir/commands/commands/bookmark_4.py:24 +#: ../src/fenrir/commands/commands/bookmark_5.py:24 +#: ../src/fenrir/commands/commands/bookmark_6.py:24 +#: ../src/fenrir/commands/commands/bookmark_7.py:24 +#: ../src/fenrir/commands/commands/bookmark_8.py:24 +#: ../src/fenrir/commands/commands/bookmark_9.py:24 msgid "Bookmark {0} not set" msgstr "No se ha establecido el marcador {0}" #: ../src/fenrir/commands/commands/bookmark_1.py:27 #: ../src/fenrir/commands/commands/bookmark_1.py:30 +#: ../src/fenrir/commands/commands/bookmark_10.py:27 +#: ../src/fenrir/commands/commands/bookmark_10.py:30 +#: ../src/fenrir/commands/commands/bookmark_2.py:27 +#: ../src/fenrir/commands/commands/bookmark_2.py:30 +#: ../src/fenrir/commands/commands/bookmark_3.py:27 +#: ../src/fenrir/commands/commands/bookmark_3.py:30 +#: ../src/fenrir/commands/commands/bookmark_4.py:27 +#: ../src/fenrir/commands/commands/bookmark_4.py:30 +#: ../src/fenrir/commands/commands/bookmark_5.py:27 +#: ../src/fenrir/commands/commands/bookmark_5.py:30 +#: ../src/fenrir/commands/commands/bookmark_6.py:27 +#: ../src/fenrir/commands/commands/bookmark_6.py:30 +#: ../src/fenrir/commands/commands/bookmark_7.py:27 +#: ../src/fenrir/commands/commands/bookmark_7.py:30 +#: ../src/fenrir/commands/commands/bookmark_8.py:27 +#: ../src/fenrir/commands/commands/bookmark_8.py:30 +#: ../src/fenrir/commands/commands/bookmark_9.py:27 +#: ../src/fenrir/commands/commands/bookmark_9.py:30 msgid "Bookmark for application {0} not set" msgstr "El marcador para la aplicación {0} no se ha establecido" #: ../src/fenrir/commands/commands/bookmark_1.py:43 +#: ../src/fenrir/commands/commands/bookmark_10.py:43 +#: ../src/fenrir/commands/commands/bookmark_2.py:43 +#: ../src/fenrir/commands/commands/bookmark_3.py:43 +#: ../src/fenrir/commands/commands/bookmark_4.py:43 +#: ../src/fenrir/commands/commands/bookmark_5.py:43 +#: ../src/fenrir/commands/commands/bookmark_6.py:43 +#: ../src/fenrir/commands/commands/bookmark_7.py:43 +#: ../src/fenrir/commands/commands/bookmark_8.py:43 +#: ../src/fenrir/commands/commands/bookmark_9.py:43 +#: ../src/fenrir/commands/commands/curr_screen_after_cursor.py:27 +#: ../src/fenrir/commands/commands/curr_screen_before_cursor.py:30 msgid "blank" msgstr "en blanco" +#: ../src/fenrir/commands/commands/braille_flush.py:17 +msgid "flush the braille device if a message is written on" +msgstr "Limpia el dispositivo braille al escribir un mensaje en él." + +#: ../src/fenrir/commands/commands/braille_pan_left.py:17 +msgid "Move braille view to the left." +msgstr "Mover la vista Braille a la izquierda" + +#: ../src/fenrir/commands/commands/braille_pan_right.py:17 +msgid "Move braille view to the right." +msgstr "Mover la vista braille a la derecha" + +#: ../src/fenrir/commands/commands/braille_return_to_cursor.py:17 +msgid "Set the braille view back to cursor." +msgstr "Establecer la vista Braille en el cursor" + +#: ../src/fenrir/commands/commands/clear_bookmark_1.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_10.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_2.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_3.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_4.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_5.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_6.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_7.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_8.py:17 +#: ../src/fenrir/commands/commands/clear_bookmark_9.py:17 +msgid "remove Bookmark {0}" +msgstr "Eliminar marcador {0}" + +#: ../src/fenrir/commands/commands/clear_bookmark_1.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_10.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_2.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_3.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_4.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_5.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_6.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_7.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_8.py:24 +#: ../src/fenrir/commands/commands/clear_bookmark_9.py:24 +msgid "Bookmark {0} removed for application {1}" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_clipboard.py:17 +msgid "clears the currently selected clipboard" +msgstr "Vacía el portapapeles seleccionado" + +#: ../src/fenrir/commands/commands/clear_clipboard.py:22 +msgid "clipboard cleared" +msgstr "Portapapeles vacío" + +#: ../src/fenrir/commands/commands/clear_window_application.py:17 +msgid "Turn off window mode for application" +msgstr "Desactiva el modo de ventana para la aplicación" + +#: ../src/fenrir/commands/commands/clear_window_application.py:22 +msgid "Window Mode off for application {0}" +msgstr "" + +#: ../src/fenrir/commands/commands/clear_window_application.py:24 +msgid "Not in window Mode" +msgstr "No está en modo ventana" + +#: ../src/fenrir/commands/commands/copy_marked_to_clipboard.py:18 +msgid "copies marked text to the currently selected clipboard" +msgstr "Copia el texto marcado al portapapeles en uso" + +#: ../src/fenrir/commands/commands/copy_marked_to_clipboard.py:22 +msgid "one or two marks needed" +msgstr "se necesita una o dos marcas" + +#: ../src/fenrir/commands/commands/curr_clipboard.py:17 +msgid "speaks the contents of the currently selected clipboard" +msgstr "Habla el contenido del portapapeles seleccionado" + +#: ../src/fenrir/commands/commands/curr_clipboard.py:21 +msgid "clipboard empty" +msgstr "Portapapeles vacío" + +#: ../src/fenrir/commands/commands/curr_screen.py:17 +msgid "reads the contents of the current screen" +msgstr "Lee el contenido de la pantalla actual" + +#: ../src/fenrir/commands/commands/curr_screen.py:21 +msgid "screen is empty" +msgstr "La pantalla está vacía" + +#: ../src/fenrir/commands/commands/curr_screen_after_cursor.py:18 +msgid "reads from the cursor to the bottom of the screen" +msgstr "Lee desde el cursor hasta el final de la pantalla" + +#: ../src/fenrir/commands/commands/curr_screen_before_cursor.py:18 +msgid "Reads from the top of the screen to the cursor position" +msgstr "Lee desde el inicio de la pantalla hasta la posición del cursor." + +#: ../src/fenrir/commands/commands/cursor_column.py:17 +msgid "" +"presents the current column number for review cursor in review mode or the " +"text cursor if not. Starts with 1" +msgstr "" + +#: ../src/fenrir/commands/commands/cursor_lineno.py:17 +msgid "" +"presents the current line number for review cursor in review mode or the " +"text cursor if not. Starts with 1" +msgstr "" + #: ../src/fenrir/commands/commands/toggle_braille.py:17 msgid "enables and disables output in braille" msgstr "Activa y desactiva la salida Braille"