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 zcmca7#4?qEfq_Aefq_AWfq{XCk%2*zfq~%=5&x zurn}-GcYiGV`pGcVqjq4<6vM&VPIe|2f2#_V%|Ou1_ogU28I(H5P#p{fSCW5 z1EQaW6B3RxoDlO3IT;vS7#JABI3eLbn-k*B9h?jdCJYP=S2!6M|Q;sum$KzuGxn1Ip`1H_-Q3=9nH3=qGA za%oXfYF>##d45p}NFT_a)QaTP z0+7dw6;d*jL5#$rN`|DI#Jp^Vq@u*koSamJl+5D9q@2_gxIk(igr8hmRGeR=P*Rkb zoSm7M&XAg$Uy_-ep9eAvss$kg(*&W56%zAOU?vwUEdl$I!D<|#leWq>KmFG8qF z%*)F!%}Y+r1^FUBO#xweW?pegYGR5)ewspZMq*JhR_(>0;KnXfkeZsDfmI6TIgrsA znduohndupzn1!zrC?-WXs&Buq-$iLU|?)zYOEa^ z;>;D`uN#zFmI=~@MVX0}fw``MnSlY9PhxS2Zb(sLUU5!hNq&))0+&x>UV3R_da7MKBk~TDw1i{2DPxVuQ)R&H7_|cF(seDCABy)xg@hJF(n_Q8Y+WqTwZd1 zUP%#1J|_`WRF;$`f}O(PkyxxyoS2iDlCO}GngcH$AthsGejeEExtYbei3-X2xk;IM z5Pb?MsR|{j$vGes!9Gj{8DFH3h%f@AB(F5JEMJcy@$kmPlvGeC6eQ*(CKV+rB!bH7 z9FX#q%;aQ{Jw=)M45@hvpb|1UpTP-ML?V0!7lV0~AviU?G&46dHLnEXcu29y;0i4* z^NT@w3#PglSsWqg2o5)eN`z97Gr=K}r~q{Z15^>n7HB|&f;lm-6cYX*pTdgF{9=XF zJcXRn^u!{NaB^Z%Vsc4pQED*`LyGhBKoO7KhK$6doJ3q2Q9KXMANdMJsl|yoC7>jM z9yXvPk1QVmFH`gKK}qoNLIp^v3exP8np%WN!Jsq;aV8>=Qt}ys!7c~IBsk$Qcz_&> zq#_Y20uAd#2IqWGZJh`TI#>z?r@5TeB^CU6BPCS7yF(ku-a|0;S bK|+;@pd6o?ms|?YL7>EwngePwz%vB^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 delta 2409 zcmcaCzFwvNo)F7a1_lNOeFg>w83qQ1DU1vZ&I}9;Jj@_b1_lWh1_l)d1_ntM1_luZ z1_nD81_mAm28Li31_nL`28IL{1_n6>28MhV1_pTs28KQs1_n_E28MMk3=BdH3=BtD z7#PeM7#OZY&EaQ-m}kPuz!1m4P|py_%D`a6z`(GBm4Shkfq~&QD+7Z70|UcHRt5%s z1_lNuHU3~CGv3@6wa z80;7r7~ZonFi0{mFzB%}Fi0^lFnF*tFlaN>GcY8xGcXu4FfjD9Lku{~&cGnfz`$?~ zs_-2<#9~ek1_nb01_o&k1_liV1_oaa1_ogU28J>Yh=aN~AR#h~gMopUfq`Kq2gK*w zq4Mvc^8Yy)7^E2(82C6D7`D|jFfeFwGB9v5FfcsiWMB{jg#af5Log!)0}~emg9QTv zLl`$C$ojb<4%xyDao{m-1_o6I28Mgw3=GN)3=Awh3=B#P3=A4P3=9$s3=G~p3=ED8 z3=Ane5C<>gVPG&|U|=}U!@!UNid|j?hI&xYrt(4@(8~+)(R5x&6s+cj7`z86{s2mU z;bmaZWnf_7;Db2Wj1S@meGy2||LBQ;30q5fn5G5Fdilfer%$ z11K|q5~VBy1A`(|9+a4%Oa@IT17tWTw}5gJC^3U_6cZ>)7$70V#sEnhp!f%AQ3Az3 zhylW&RH+AIKrtx$fD#xedx3;NQ3c9k+8~!RKzs_ylAyQ-r2|lE=U{+@3`ji;bHf;* zG{OK05m43zr8!wH1_lNNBn2QQJ1GBy7?bBRMb-P}m!&Es6(wfobHD9Or5RVYp_N=?m!*_&KiRGeR=P>^4o2{Mu) zIJE?<1I3L=iOJa@4G_h83?ZdOc?$VyX)r5u^HWk4((;QG5(^4)GLylMo6N(!yFMp1 zv8WhqUUF$sQEFaEPNhO|YEEi$NotBha!zJJQhs7l3Im*_kPOn1iY$_vTToKTkepwT znOdxnn^=^cnxasWT2TUW4=CX989ezY^Izk%oYLY9up3~0N=YrtOioqEOjAfy$W1LS zPE1c#$ShVUFUl+_NzGHp&zpRZMMOM5FI6GGNTH-WA8c*0LSAZWN@~jFD=d2TMX13G z2^W})lJZMR@^iuA4G(Sxhz_uW^Ycnl^Gb?g3ZNc<#tTDHYAz^^IOXSOgM6z{ZBWYq zjk3&Q1xRR2W@1$^PRxdeEOzs-h4f}wRu4v2Ljx-l)5%$Es!XOvlP9ui@c1O=rI#kA zr&=kb7Ej*6c3^TVd#9&wepzafLQbMWS!QubqJk4N%_f3`GOG$pGgFIF62S=;Nfj)F z!KzYHi&B#_5-0O=sMP!AE2I{e9A2o9nx~MPpOUXomYP?Rn3u@llbWiKl3JXSs*swa zkeQd6oSCnXk_xh z*j$^M2QoIfR1uWO8C+6}6O&6a%Mw9?U{|E1!W=SrBD=_B1CG7*VTs9y*Me0PTyrvWGxHLQK$!;Q+ahoZ_DNKL$0sNua4b{+ bhg;(0a4s!%G-J_%2V7u)f_`&3R}3QnyJ0wK delta 794 zcmZ3la#_6oo)F7a1_lNOIR*v>83qOh9!3TRO$G*rKa3zz28IPp3=Ap^3=9jI7#Ktt z7#NN*F);8jFfiO^VqoB7U|@K`#K0iRz`*dGiGd-Gfq{XSnSsHGfq@~1nSp_ofq`K@ zGXsMF0|UcSW(Ed+1_p+0Q2H1%1A`C)Lp{SaW(Ed91_p+g%nS@_3=9mvnHd=D7#J9o zSQr>285kH6Sr{0k7#J9;Sr{0!85kI*v4Ax)9D<5pWr67bzyfg)6DtD)F9QREAS=W| zc~*$HJ}U!*Gy?;J9V-LFHUMfgy!~fx(c2fk7SQFbVvpauC3BrL%Ii5gJa0r9y& zp#n-n3=p5nGB7Z(GeCR~k_V+PP6mjhIT#oim_Y#vN)(_30#bmEK?#d#vM5W`_Pj$+I{VHhCTs90PvYIP*^EzyadJPu!sIjj`jeXl LG&kQB2x0^Pe@0mj 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"