From 31d121fda37d53f5e4d79ff8fdf06efe1c1dcbd7 Mon Sep 17 00:00:00 2001 From: ruifontes Date: Sat, 23 Mar 2024 01:53:01 +0000 Subject: [PATCH] Version 2024.03.22 - Modified manifest.ini to be compatible with NVDA 2024.1; - Added check translation. --- 2024.1.4.json => 2024.3.22.json | 8 +- addon/GlobalPlugins/frequentText/__init__.py | 2 +- addon/doc/cs/readme.md | 35 +++ addon/doc/de/readme.md | 4 +- addon/doc/es/readme.md | 4 +- addon/doc/pt_BR/readme.md | 4 +- addon/doc/pt_PT/readme.md | 4 +- addon/doc/tr/readme.md | 4 +- addon/locale/cs/LC_MESSAGES/nvda.po | 283 +++++++++++++++++++ buildVars.py | 2 +- readme.md | 4 +- 11 files changed, 336 insertions(+), 18 deletions(-) rename 2024.1.4.json => 2024.3.22.json (82%) create mode 100644 addon/doc/cs/readme.md create mode 100644 addon/locale/cs/LC_MESSAGES/nvda.po diff --git a/2024.1.4.json b/2024.3.22.json similarity index 82% rename from 2024.1.4.json rename to 2024.3.22.json index 78f4444..d557bec 100644 --- a/2024.1.4.json +++ b/2024.3.22.json @@ -3,13 +3,13 @@ "displayName": "Regists blocks of text frequently used", "URL": "", "description": "Stores and make possible the entry of frequently used blocks of text. Command: Windows+F12.", - "sha256": "ec6a5645d959562f0b29f3ddc27d8c02e2dd01571260ae2c25597a4768608aee", + "sha256": "d0fde2ff122e683f745ad9f5ad1b16a85d32ae76e7a128bbbd5ea2c362a6d34d", "homepage": "https://github.com/ruifontes/frequentText", - "addonVersionName": "2024.01.04", + "addonVersionName": "2024.03.22", "addonVersionNumber": { "major": 2024, - "minor": 1, - "patch": 4 + "minor": 3, + "patch": 22 }, "minNVDAVersion": { "major": 2019, diff --git a/addon/GlobalPlugins/frequentText/__init__.py b/addon/GlobalPlugins/frequentText/__init__.py index e0d8d7b..191a051 100644 --- a/addon/GlobalPlugins/frequentText/__init__.py +++ b/addon/GlobalPlugins/frequentText/__init__.py @@ -513,7 +513,7 @@ def onChangeBlocks(self, evt): paste = blocks[name] oldBlock = "" for x in range(len(paste)): - oldBlock += ("%s \n")%paste[x] + oldBlock += ("%s\n")%paste[x] x = x+1 self.dialogActive = True # Translators: Message dialog box to change a block of text. diff --git a/addon/doc/cs/readme.md b/addon/doc/cs/readme.md new file mode 100644 index 0000000..e3ee474 --- /dev/null +++ b/addon/doc/cs/readme.md @@ -0,0 +1,35 @@ +#Častý text # + + +## Informace +* Autoři: Rui Fontes, Ângelo Abrantes a Abel Passos Júnior, podle díla Marcose Antónia de Oliveira +* Aktualizováno 22.03.2024 +* Stáhnout [stabilní verze][1] +* Kompatibilita: NVDA verze 2021.1 a novější + + +## Prezentace +Tento doplněk poskytuje způsob, jak rychle vkládat bloky textu, který často píšete, do dokumentů, které píšete. +Pro lepší uspořádání textových bloků je lze seskupit do kategorií. +Je možné nastavit kategorii jako výchozí pro rychlý přístup k jejím blokům. + + +## Použití +Chcete-li začít používat tento doplněk, budete muset nastavit kategorie a vyplnit bloky textu, které chcete použít. +Nejprve stiskněte Windows+f12. Tento příkaz můžete upravit v dialogovém okně "Vstupní gesta" v sekci "Úprava textu". +Zobrazí se dialogové okno, kde se zobrazí existující kategorie. Při prvním použití byste měli stisknout Enter nebo TAB na tlačítko "Přidat" a aktivovat jej, abyste vytvořili kategorie, které chcete použít. +S vybranou kategorií, stisknutím Enter nebo aktivací tlačítka "Zobrazit bloky" se zobrazí dialogové okno s textovými bloky v této kategorii. +Kromě možností „Přidat“ a „Zobrazit bloky“ máte také možnosti „Přejmenovat“, „Nastavit jako výchozí“ a „Odstranit“. +Když se otevře dialogové okno bloků pro kategorii, zobrazí se všechny existující bloky. +Chcete-li otevřít seznam blokování výchozí kategorie, nebo pokud chybí, první kategorie v seznamu kategorií, stiskněte Control + Windows + F12. +Pokud neexistují žádné bloky, měli byste stisknout Enter nebo TAB pro přístup k tlačítku "Přidat" a jeho aktivaci, abyste vytvořili požadované bloky. +V prvním dialogu zadejte název bloku a stiskněte Enter nebo aktivujte tlačítko "Ok". +Zobrazí se dialogové okno pro zadání bloku textu. +Zadejte požadované řádky a po dokončení stiskněte Tab a aktivujte tlačítko „OK“. + +Chcete-li vložit blok textu do editačního pole, stačí blok vybrat a stisknout Enter. + +V dialogovém okně doplňku můžete také přejmenovat, změnit obsah, přesunout se do jiné kategorie, odstranit blok textu nebo se vrátit do dialogu kategorií. + + +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/doc/de/readme.md b/addon/doc/de/readme.md index ac083c4..537d10f 100644 --- a/addon/doc/de/readme.md +++ b/addon/doc/de/readme.md @@ -3,7 +3,7 @@ ## Information * Autoren: Rui Fontes, Ângelo Abrantes und Abel Passos Júnior, basierend auf der Arbeit von Marcos António de Oliveira -* Aktualisiert am 04.01.2024 +* Aktualisiert am 22.03.2024 * [stabile Version] herunterladen[1] * Kompatibilität: NVDA-Version 2021.1 und höher @@ -32,4 +32,4 @@ Um den Textblock in ein Bearbeitungsfeld einzufügen, wählen Sie einfach den Bl Im Add-on-Dialogfeld können Sie auch umbenennen, den Inhalt ändern, zu einer anderen Kategorie wechseln, den Textblock löschen oder zum Kategoriendialog zurückkehren. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md index 498f4c5..5ebab9f 100644 --- a/addon/doc/es/readme.md +++ b/addon/doc/es/readme.md @@ -3,7 +3,7 @@ ## Información * Autores: Rui Fontes, Ângelo Abrantes y Abel Passos Júnior, basado en el trabajo de Marcos António de Oliveira -* Actualizado el 04/01/2024 +* Actualizado el 22/03/2024 * Descargar [versión estable] [1] * Compatibilidad: NVDA versión 2021.1 y posteriores @@ -31,4 +31,4 @@ Para pegar el bloque de texto en un campo de edición, simplemente seleccione el En las opciones del complemento también puede cambiar el nombre, cambiar el contenido, pasar a otra categoría, eliminar el bloque de texto o volver al diálogo de categorías. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/doc/pt_BR/readme.md b/addon/doc/pt_BR/readme.md index b4943bd..cfe4d9b 100644 --- a/addon/doc/pt_BR/readme.md +++ b/addon/doc/pt_BR/readme.md @@ -3,7 +3,7 @@ ## Informações * Autores: Rui Fontes, Ângelo Abrantes e Abel Passos Júnior, baseado no trabalho de Marcos António de Oliveira -* Actualizado em 04/01/2024 +* Actualizado em 22/03/2024 * Descarregar a [versão estável][1] * Compatibilidade: NVDA versão 2021.1 e seguintes @@ -32,4 +32,4 @@ Para colar o bloco de texto num campo de edição, seleccione o bloco e pression Na caixa de diálogo da lista de blocos também pode renomear, alterar o conteúdo, mudar de categoria, eliminar um bloco de texto, ou voltar para a caixa de diálogo das categorias. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/doc/pt_PT/readme.md b/addon/doc/pt_PT/readme.md index 46328b8..00e89e5 100644 --- a/addon/doc/pt_PT/readme.md +++ b/addon/doc/pt_PT/readme.md @@ -3,7 +3,7 @@ ## Informações * Autores: Rui Fontes, Ângelo Abrantes e Abel Passos Júnior, baseados no trabalho de Marcos António de Oliveira -* Actualizado em 04/01/2024 +* Actualizado em 22/03/2024 * Descarregar a [versão estável][1] * Compatibilidade: NVDA versão 2021.1 e seguintes @@ -32,4 +32,4 @@ Para colar o bloco de texto num campo de edição, seleccione o bloco e pression Na caixa de diálogo da lista de blocos também pode renomear, alterar o conteúdo, mudar de categoria ou eliminar um bloco de texto, ou voltar para a caixa de diálogo das categorias. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/doc/tr/readme.md b/addon/doc/tr/readme.md index 531e6fa..7363276 100644 --- a/addon/doc/tr/readme.md +++ b/addon/doc/tr/readme.md @@ -3,7 +3,7 @@ ## bilgiler: * Yazarlar: Rui Fontes, Ângelo Abrantes ve Abel Passos Júnior, Marcos António de Oliveira'nın çalışmasına dayanarak. -* 04/01/2024'de güncellendi +* 22/03/2024'de güncellendi * [Kararlı sürümü indirin][1] * Uyumluluk: NVDA sürüm 2021.1 ve sonrası @@ -32,4 +32,4 @@ Metin bloğunu bir düzenleme alanına yapıştırmak için bloğu seçin ve Ent Eklenti iletişim kutusunda ayrıca yeniden adlandırabilir, içeriği değiştirebilir, başka bir kategoriye geçebilir, metin bloğunu silebilir veya kategoriler iletişim kutusuna geri dönebilirsiniz. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon diff --git a/addon/locale/cs/LC_MESSAGES/nvda.po b/addon/locale/cs/LC_MESSAGES/nvda.po new file mode 100644 index 0000000..5c17115 --- /dev/null +++ b/addon/locale/cs/LC_MESSAGES/nvda.po @@ -0,0 +1,283 @@ +msgid "" +msgstr "" +"Project-Id-Version: FrequentText\n" +"Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" +"POT-Creation-Date: 2021-08-09 02:06+0100\n" +"PO-Revision-Date: 2024-01-17 08:25+0100\n" +"Last-Translator: Rui Fontes \n" +"Language-Team: \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.5\n" +"X-Poedit-Basepath: ../../../GlobalPlugins\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-SearchPath-0: .\n" + +#. For translators: Message to be announced during Keyboard Help +#: addon\globalPlugins\frequentText\__init__.py:53 +msgid "" +"Opens a dialog box to registe, manage and paste frequent blocks of text." +msgstr "" +"* Otevře dialogové okno pro registraci, správu a vkládání častých bloků " +"textu. 1 z 32" + +#. For translators: Name of the section in "Input gestures" dialog. +#: addon\globalPlugins\frequentText\__init__.py:55 +#: addon\globalPlugins\frequentText\__init__.py:93 +msgid "Text editing" +msgstr "Úprava textu" + +#. Translators: Title of categories list dialog box. +#. Translators: Title of Blocks list dialog boxes. +#: addon\globalPlugins\frequentText\__init__.py:66 +#: addon\globalPlugins\frequentText\__init__.py:80 +msgid "Frequent text" +msgstr "Častý text" + +#. For translators: Message to be announced during Keyboard Help +#: addon\globalPlugins\frequentText\__init__.py:91 +msgid "Opens a dialog box with the text blocks of first or default category" +msgstr "Otevře dialogové okno s textovými bloky první nebo výchozí kategorie" + +#. Create a label and a list view for categories list. +#. Label is above the list view. +#. Translators: Label the list view that contains the categories +#: addon\globalPlugins\frequentText\__init__.py:125 +#| msgid "Favorite folders list" +msgid "Categories list" +msgstr "Seznam kategorií" + +#. Translators: Button Label to show the entries in the selected category +#: addon\globalPlugins\frequentText\__init__.py:138 +msgid "&Show entries" +msgstr "&Zobrazit položky" + +#. Translators: Button Label to add a new category +#. Translators: Button Label to add a new block. +#: addon\globalPlugins\frequentText\__init__.py:143 +#: addon\globalPlugins\frequentText\__init__.py:343 +msgid "&Add" +msgstr "&Přidat" + +#. Translators: Button Label that renames the name of the selected block. +#: addon\globalPlugins\frequentText\__init__.py:148 +#: addon\globalPlugins\frequentText\__init__.py:353 +msgid "Re&name" +msgstr "Přejmenovat" + +#. Translators: Button Label to set the selected category as default +#: addon\globalPlugins\frequentText\__init__.py:153 +msgid "Set &category as default" +msgstr "Nastavit &kategorii jako výchozí" + +#. Translators: Button Label that removes the selected block. +#: addon\globalPlugins\frequentText\__init__.py:158 +#: addon\globalPlugins\frequentText\__init__.py:368 +msgid "&Remove" +msgstr "&Odstranit" + +#. Translators: Button Label that closes the add-on. +#: addon\globalPlugins\frequentText\__init__.py:162 +#: addon\globalPlugins\frequentText\__init__.py:377 +msgid "&Close" +msgstr "&Zavřít" + +#. Translators: Message dialog box to add a name to a new category +#: addon\globalPlugins\frequentText\__init__.py:188 +#| msgid "Enter a new nickname for %s" +msgid "Enter a name for the category" +msgstr "Zadejte název kategorie" + +#. Translators: Announcement that the category name already exists in the list. +#: addon\globalPlugins\frequentText\__init__.py:197 +#: addon\globalPlugins\frequentText\__init__.py:245 +#| msgid "There is already a folder with this reference!" +msgid "There is already a category with this name!" +msgstr "Kategorie s tímto názvem již existuje!" + +#. Translators: Message dialog to rename the category +#. Translators: Message dialog to rename the block of text. +#: addon\globalPlugins\frequentText\__init__.py:227 +#: addon\globalPlugins\frequentText\__init__.py:502 +#, python-format +msgid "Enter a new name for %s" +msgstr "Zadejte nový název pro %s" + +#. Translators: Message dialog box to remove the selected category +#. Translators: Message dialog box to remove the selected block. +#: addon\globalPlugins\frequentText\__init__.py:265 +#: addon\globalPlugins\frequentText\__init__.py:608 +#, python-format +msgid "Are you sure you want to remove %s?" +msgstr "Opravdu chcete odstranit %s?" + +#. Translators: Title of the column of the list view. +#: addon\globalPlugins\frequentText\__init__.py:303 +#: addon\globalPlugins\frequentText\__init__.py:644 +msgid "Name" +msgstr "název" + +#. Create a label and a list view for Frequent Text list. +#. Label is above the list view. +#. Translators: Label the list view that contains the Blocks. +#: addon\globalPlugins\frequentText\__init__.py:330 +#, python-format +msgid "List of text blocks of %s category" +msgstr "Seznam textových bloků kategorie %s" + +#. Translators: Button Label that paste the block to the edit box. +#: addon\globalPlugins\frequentText\__init__.py:348 +msgid "&Paste" +msgstr "&Vložit" + +#. Translators: Button Label that change the blocks of text. +#: addon\globalPlugins\frequentText\__init__.py:358 +msgid "&Change blocks" +msgstr "&Změnit bloky" + +#. Translators: Label for btton to move the selected block to other category. +#: addon\globalPlugins\frequentText\__init__.py:363 +msgid "&Move" +msgstr "&přesunout" + +#. Translators: Label for button to go back to categories list. +#: addon\globalPlugins\frequentText\__init__.py:373 +msgid "&Back to categories" +msgstr "&Zpět do kategorií" + +#. Translators: Message dialog box to add a name to a new block. +#: addon\globalPlugins\frequentText\__init__.py:406 +msgid "Enter a name for the block" +msgstr "Zadejte název bloku" + +#. Translators: Announcement that the block name already exists in the list. +#: addon\globalPlugins\frequentText\__init__.py:415 +#: addon\globalPlugins\frequentText\__init__.py:520 +msgid "There is already a block with this name!" +msgstr "Blok s tímto názvem již existuje!" + +#. Translators: Message dialog box to add a new block of text. +#: addon\globalPlugins\frequentText\__init__.py:425 +msgid "Enter the block of text" +msgstr "Zadejte blok textu" + +#. Translators: Message dialog box to change a block of text. +#: addon\globalPlugins\frequentText\__init__.py:537 +msgid "" +"Change the block of text as you want and press Tab to Ok button and Enter to " +"confirm" +msgstr "" +"Změňte blok textu, jak chcete, a stiskněte klávesu Tab na tlačítko Ok a " +"potvrďte Enter" + +#. Translators: Message dialog box to move the selected block to other category. +#: addon\globalPlugins\frequentText\__init__.py:573 +#, python-format +msgid "" +"If you really want to move %s from %s category, enter the name of the new, " +"already existing, category" +msgstr "" +"Pokud opravdu chcete přesunout %s z kategorie %s, zadejte název nové, již " +"existující kategorie" + +#. Translators: Announcement that the category does not exists. +#: addon\globalPlugins\frequentText\__init__.py:589 +msgid "There is no such category!" +msgstr "Taková kategorie neexistuje!" + +#. Translators: Message dialog box to ask user if wants to update. +#: addon\globalPlugins\frequentText\update.py:95 +msgid "" +"It is available a new version of this add-on.\n" +" Do you want to update?" +msgstr "" +"Je k dispozici nová verze tohoto doplňku.\\n\n" +" Chcete aktualizovat?" + +#. because is compatible +#. because is incompatible +#. Translators: Message dialog box to inform user that the add-on is not compatible +#: addon\globalPlugins\frequentText\update.py:125 +msgid "" +"This new version of this add-on is not compatible with your version of " +"NVDA.\n" +" The update process will be terminated." +msgstr "" +"Tato nová verze tohoto doplňku není kompatibilní s vaší verzí NVDA.\\n\n" +" Proces aktualizace bude ukončen." + +#. Translators: Checkbox name in the configuration dialog +#: addon\globalPlugins\frequentText\update.py:144 +msgid "Check for updates at startup" +msgstr "Zkontrolujte aktualizace při spuštění" + +#. Add-on summary, usually the user visible name of the addon. +#. Translators: Summary for this add-on +#. to be shown on installation and add-on information found in Add-ons Manager. +#: buildVars.py:23 +msgid "Regists blocks of text frequently used" +msgstr "Registruje často používané bloky textu" + +#. Add-on description +#. Translators: Long description to be shown for this add-on on add-on information from add-ons manager +#: buildVars.py:26 +msgid "" +"Stores and make possible the entry of frequently used blocks of text. " +"Command: Windows+F12." +msgstr "" +"Ukládá a umožňuje zadávání často používaných bloků textu. Příkaz: Windows" +"+F12." + +#~ msgid "" +#~ "You do not have added folders and is not in the windows explorer window " +#~ "to make a record" +#~ msgstr "" +#~ "No tienes ninguna carpeta registrada y no estás en la ventana del " +#~ "Explorador de Windows para efectuar un registro" + +#~ msgid "Favorite folders" +#~ msgstr "Carpetas favoritas" + +#~ msgid "&Show paths in the list" +#~ msgstr "&Ver las direcciones en la lista" + +#~ msgid "&Open folder" +#~ msgstr "Abrir carpe&ta" + +#~ msgid "Write in the e&dit box" +#~ msgstr "Escriba en el cuadro de e&dición" + +#~ msgid "Ab&out" +#~ msgstr "Ace&rca de" + +#~ msgid "File not found: %s." +#~ msgstr "Archivo no encontrado: %s." + +#~ msgid "Nickname" +#~ msgstr "Referencia" + +#~ msgid "Address" +#~ msgstr "Dirección" + +#~ msgid "Enter a nickname" +#~ msgstr "Entre com um nome de referência para a pasta" + +#~ msgid "&Past in editable text" +#~ msgstr "&Colar em caixa de texto" + +#~ msgid "Add to group call" +#~ msgstr "Adicionar à chamada em grupo" + +#~ msgid "Added to the conference" +#~ msgstr "Adicionada a conferência" + +#~ msgid "Could not be added to the conference" +#~ msgstr "" +#~ "Não foi possível adicionar a chamada a conferência.Para utilizar esse " +#~ "recurso você precisa ser o administrador da conferência." + +#~ msgid "Notify window not found" +#~ msgstr "Janela de notificação de chamada não encontrada" diff --git a/buildVars.py b/buildVars.py index c9b5079..c4a4c4f 100644 --- a/buildVars.py +++ b/buildVars.py @@ -25,7 +25,7 @@ def _(arg): # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description": _("""Stores and make possible the entry of frequently used blocks of text. Command: Windows+F12."""), # version - "addon_version": "2024.01.04", + "addon_version": "2024.03.22", # Author(s) "addon_author": _("Rui Fontes , Ângelo Abrantes and Abel Passos Júnior"), # URL for the add-on documentation support diff --git a/readme.md b/readme.md index 78600b3..64c9e59 100644 --- a/readme.md +++ b/readme.md @@ -3,7 +3,7 @@ ## Information * Authors: Rui Fontes, Ângelo Abrantes and Abel Passos Júnior, based on work of Marcos António de Oliveira -* Updated in 04/01/2024 +* Updated in 22/03/2024 * Download [stable version][1] * Compatibility: NVDA version 2021.1 and beyond @@ -32,4 +32,4 @@ To paste the block of text in an edit field, just select the block and press Ent In the add-on dialog box you also can rename, change the contents, move to other category, delete the block of text or go back to categories dialog. -[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2024.03.22/frequentText-2024.03.22.nvda-addon