Merge pull request #8 from manuelcortez/master
This commit is contained in:
commit
4e36044d91
BIN
locale/es/LC_MESSAGES/fenrir.mo
Normal file
BIN
locale/es/LC_MESSAGES/fenrir.mo
Normal file
Binary file not shown.
298
locale/es/LC_MESSAGES/fenrir.po
Normal file
298
locale/es/LC_MESSAGES/fenrir.po
Normal file
@ -0,0 +1,298 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR ORGANIZATION
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \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"
|
||||
|
||||
#: ../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
|
||||
#: ../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"
|
||||
|
||||
#: ../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."
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
11
src/fenrir/core/i18n.py
Normal file
11
src/fenrir/core/i18n.py
Normal file
@ -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")
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
283
tools/fenrir.pot
Normal file
283
tools/fenrir.pot
Normal file
@ -0,0 +1,283 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR ORGANIZATION
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\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 <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\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
|
||||
#: ../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 ""
|
||||
|
||||
#: ../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 ""
|
||||
|
3
tools/generate_translations.sh
Normal file
3
tools/generate_translations.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pygettext3 -d fenrir ../src/fenrir/*.py ../src/fenrir/*/*.py ../src/fenrir/*/*/*.py
|
Loading…
Reference in New Issue
Block a user