Skip to content

Commit

Permalink
Version 2024.01.04
Browse files Browse the repository at this point in the history
- Corrected small bug in ordering folders;
- Set compatibility to NVDA 2024.1.
  • Loading branch information
ruifontes committed Jan 5, 2024
1 parent 9465e8f commit 1a777c5
Show file tree
Hide file tree
Showing 11 changed files with 124 additions and 115 deletions.
16 changes: 8 additions & 8 deletions 2023.9.3.json → 2024.1.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"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": "912f676c2aa012af0db797dd8f4d43832b2eb581e45a8e649d8c181262492ac0",
"sha256": "ec6a5645d959562f0b29f3ddc27d8c02e2dd01571260ae2c25597a4768608aee",
"homepage": "https://github.com/ruifontes/frequentText",
"addonVersionName": "2023.09.03",
"addonVersionName": "2024.01.04",
"addonVersionNumber": {
"major": 2023,
"minor": 9,
"patch": 3
"major": 2024,
"minor": 1,
"patch": 4
},
"minNVDAVersion": {
"major": 2021,
"minor": 1,
"major": 2019,
"minor": 3,
"patch": 0
},
"lastTestedVersion": {
"major": 2023,
"major": 2024,
"minor": 1,
"patch": 0
},
Expand Down
4 changes: 2 additions & 2 deletions addon/GlobalPlugins/frequentText/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Regists, manage and allow to paste frequently used blocks of text
# Shortcut: WINDOWS+F12
# written by Rui Fontes <[email protected]>, Ângelo Abrantes <[email protected]> and Abel Passos do Nascimento Jr. <[email protected]>
# Copyright (C) 2020-2023 Rui Fontes <[email protected]>
# Copyright (C) 2020-2024 Rui Fontes <[email protected]>
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.

Expand All @@ -27,7 +27,7 @@
addonHandler.initTranslation()

# Global vars
_ffIniFile = os.path.join(os.path.dirname(__file__), "frequentText.ini")
_ffIniFile = os.path.abspath(os.path.join(globalVars.appArgs.configPath, "frequentText.ini"))
config = ConfigObj(_ffIniFile, list_values = True, encoding = "utf-8")
defCatg = 0
category = 0
Expand Down
4 changes: 2 additions & 2 deletions addon/doc/de/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 01.09.2023
* Aktualisiert am 04.01.2024
* [stabile Version] herunterladen[1]
* Kompatibilität: NVDA-Version 2021.1 und höher

Expand Down Expand Up @@ -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/2023.09.03/frequentText-2023.09.03.nvda-addon
[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon
4 changes: 2 additions & 2 deletions addon/doc/es/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 01/09/2023
* Actualizado el 04/01/2024
* Descargar [versión estable] [1]
* Compatibilidad: NVDA versión 2021.1 y posteriores

Expand Down Expand Up @@ -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/2023.09.03/frequentText-2023.09.03.nvda-addon
[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon
4 changes: 2 additions & 2 deletions addon/doc/pt_BR/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 01/09/2023
* Actualizado em 04/01/2024
* Descarregar a [versão estável][1]
* Compatibilidade: NVDA versão 2021.1 e seguintes

Expand Down Expand Up @@ -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/2023.09.03/frequentText-2023.09.03.nvda-addon
[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon
4 changes: 2 additions & 2 deletions addon/doc/pt_PT/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 01/09/2023
* Actualizado em 04/01/2024
* Descarregar a [versão estável][1]
* Compatibilidade: NVDA versão 2021.1 e seguintes

Expand Down Expand Up @@ -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/2023.09.03/frequentText-2023.09.03.nvda-addon
[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon
4 changes: 2 additions & 2 deletions addon/doc/tr/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* 01/09/2023'de güncellendi
* 04/01/2024'de güncellendi
* [Kararlı sürümü indirin][1]
* Uyumluluk: NVDA sürüm 2021.1 ve sonrası

Expand Down Expand Up @@ -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/2023.09.03/frequentText-2023.09.03.nvda-addon
[1]: https://github.com/ruifontes/frequentText/releases/download/2024.01.04/frequentText-2024.01.04.nvda-addon
5 changes: 2 additions & 3 deletions addon/installTasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import addonHandler

def onInstall():
configFilePath = os.path.abspath(os.path.join(globalVars.appArgs.configPath, "addons", "frequentText", "globalPlugins", "frequentText", "frequentText.ini"))
configFilePath = os.path.abspath(os.path.join(globalVars.appArgs.configPath, "addons", "frequentText", "GlobalPlugins", "frequentText", "frequentText.ini"))
if os.path.isfile(configFilePath):
os.remove(os.path.abspath(os.path.join(globalVars.appArgs.configPath, "addons", "frequentText" + addonHandler.ADDON_PENDINGINSTALL_SUFFIX, "globalPlugins", "frequentText", "frequentText.ini")))
os.rename(configFilePath, os.path.abspath(os.path.join(globalVars.appArgs.configPath, "addons", "frequentText" + addonHandler.ADDON_PENDINGINSTALL_SUFFIX, "globalPlugins", "frequentText", "frequentText.ini")))
os.rename(configFilePath, os.path.abspath(os.path.join(globalVars.appArgs.configPath, "frequentText.ini")))
Loading

0 comments on commit 1a777c5

Please sign in to comment.