diff --git a/addon/appModules/unigram.py b/addon/appModules/unigram.py index 35393e6..454d502 100644 --- a/addon/appModules/unigram.py +++ b/addon/appModules/unigram.py @@ -3136,7 +3136,7 @@ def event_show(self, obj, nextHandler): if is_recording_button(obj): self._voiceRecordingButton = obj self._voiceRecordingDiscoveryFocus = None - elif obj.UIAAutomationId == "ElapsedLabel": + elif getattr(obj, "UIAAutomationId", "") == "ElapsedLabel": transition = self._voiceRecordingState.elapsedChanged(obj.name) self._handleVoiceRecordingTransition(transition) finally: @@ -3144,7 +3144,7 @@ def event_show(self, obj, nextHandler): def event_nameChange(self, obj, nextHandler): try: - if getattr(self, "isUnigramWindow", False) and obj.UIAAutomationId == "ElapsedLabel": + if getattr(self, "isUnigramWindow", False) and getattr(obj, "UIAAutomationId", "") == "ElapsedLabel": transition = self._voiceRecordingState.elapsedChanged(obj.name) self._handleVoiceRecordingTransition(transition) finally: @@ -3159,7 +3159,7 @@ def event_hide(self, obj, nextHandler): ): self._voiceRecordingButton = None self._voiceRecordingDiscoveryFocus = None - elif getattr(self, "isUnigramWindow", False) and obj.UIAAutomationId == "ElapsedLabel": + elif getattr(self, "isUnigramWindow", False) and getattr(obj, "UIAAutomationId", "") == "ElapsedLabel": self._handleVoiceRecordingTransition(self._voiceRecordingState.hidden()) finally: nextHandler() @@ -3236,11 +3236,17 @@ def event_gainFocus(self, obj, nextHandler): return except Exception: pass - nextHandler() - return + nextHandler() + return if self._restore_focus_after_record_button(obj): return True - if obj.role == Role.EDITABLETEXT and obj.UIAAutomationId == "TextField": + # The WinUI 3 Unigram also focuses objects that are not UIA: its window + # (IAccessible) when switching back to it, and NVDA's input composition and + # candidate objects while an IME is in use. They still tell which Unigram + # window is active, but they have no UIA automation id, which is how all + # the control handling below the window check recognizes Unigram's controls. + is_uia = isinstance(obj, UIA) + if is_uia and obj.role == Role.EDITABLETEXT and obj.UIAAutomationId == "TextField": # Where recording is started from, and where 5.4 left the focus. self._focusBeforeRecordButton = obj self._remember_messages_button(obj) @@ -3253,6 +3259,9 @@ def event_gainFocus(self, obj, nextHandler): Title_change_tracking.restore(self.saved_items) if is_main_window and conf.get("play_typing_sound") and Typing_sound_tracking.pouse: Typing_sound_tracking.restore(self.saved_items) + if not is_uia: + nextHandler() + return if not File_transfer_progress_tracking.active: try: percentage = None diff --git a/addon/doc/NE/readme.md b/addon/doc/NE/readme.md index 92bd02e..293c4a1 100644 --- a/addon/doc/NE/readme.md +++ b/addon/doc/NE/readme.md @@ -419,6 +419,12 @@ UnigramPlus sound files are stored in the add-on's `appModules\media` folder. Op टर्की स्थानीयकरण थपियो। +### Version 5.8.2 + +* Unigram को नयाँ WinUI 3 बिटा संस्करणमा देखिने NVDA त्रुटिहरू समाधान गरियो। संस्करण 5.5.6 देखि, हरेक पटक Unigram मा फर्कँदा वा चिनियाँ, जापानी वा कोरियाली जस्ता भाषाका लागि इनपुट मेथड (IME) प्रयोग गरेर टाइप गर्दा एउटा त्रुटि लग हुन्थ्यो। Unigram को UWP संस्करणमा यो समस्या थिएन। +* Telegram Desktop औजार स्थापना नभएको बेला UnigramPlus ले अब Telegram Desktop को फोकस घोषणामा हस्तक्षेप गर्दैन। +* पोलिस र भियतनामी अनुवादहरू अद्यावधिक गरियो। + ### Version 5.8.1 * कल अवधिको लागि प्रयोग गरिएको अस्थायी समाधान हटाइयो। Unigram 12.10 र पछिका संस्करणहरूले कल सन्देशको अवधि आफैँ घोषणा गर्ने भएकाले UnigramPlus ले अब त्यो थप्दैन र दुई पटक सुनिँदैन। diff --git a/addon/doc/ar/readme.md b/addon/doc/ar/readme.md index c2c3c51..66a3a50 100644 --- a/addon/doc/ar/readme.md +++ b/addon/doc/ar/readme.md @@ -201,6 +201,12 @@ ## قائمة التغييرات: +### الإصدار 5.8.2 + +* تم إصلاح أخطاء NVDA في الإصدار التجريبي الجديد من Unigram المبني على WinUI 3. منذ الإصدار 5.5.6، كان يُسجَّل خطأ في كل مرة يتم فيها الرجوع إلى Unigram أو الكتابة باستخدام محرر أسلوب الإدخال (IME)، مثل محررات اللغات الصينية أو اليابانية أو الكورية. لم يتأثر إصدار UWP من Unigram. +* لم تعد UnigramPlus تتدخل في الإعلان عن التركيز في Telegram Desktop عندما لا تكون إضافة Telegram Desktop مثبتة. +* تم تحديث الترجمتين البولندية والفيتنامية. + ### الإصدار 5.8.1 * تمت إزالة الحل البديل الخاص بمدة المكالمة. يعلن Unigram 12.10 وما بعده عن مدة رسالة المكالمة من تلقاء نفسه، لذلك لم تعد الإضافة تضيفها ولم تعد تُسمع مرتين. diff --git a/addon/doc/en/readme.md b/addon/doc/en/readme.md index dc05526..34cb87d 100644 --- a/addon/doc/en/readme.md +++ b/addon/doc/en/readme.md @@ -200,6 +200,12 @@ And remember that everyone who read this line thought that someone will definite ## List of changes: +### Version 5.8.2 + +* Fixed NVDA errors with the new WinUI 3 beta of Unigram. Since version 5.5.6, an error was logged every time you switched back to Unigram or typed with an input method (IME), such as one for Chinese, Japanese or Korean. The UWP version of Unigram was not affected. +* UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed. +* Updated the Polish and Vietnamese translations. + ### Version 5.8.1 * Removed the call duration workaround. Unigram 12.10 and later announce the duration of a call message themselves, so UnigramPlus no longer adds it and it is no longer heard twice. diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md index 3e710fb..05bd965 100644 --- a/addon/doc/es/readme.md +++ b/addon/doc/es/readme.md @@ -200,6 +200,12 @@ Y recuerde que todos los que leyeron esta línea pensaron alguien definitivament ##Lista de cambios: +### Versión 5.8.2 + +* Corregidos los errores de NVDA en la nueva beta de Unigram basada en WinUI 3. Desde la versión 5.5.6, se registraba un error cada vez que se volvía a Unigram o se escribía con un editor de métodos de entrada (IME), como los de chino, japonés o coreano. La versión UWP de Unigram no se veía afectada. +* UnigramPlus ya no interfiere con los anuncios del foco en Telegram Desktop cuando el complemento Telegram Desktop no está instalado. +* Actualizadas las traducciones al polaco y al vietnamita. + ### Versión 5.8.1 * Se ha eliminado la solución alternativa para la duración de las llamadas. Unigram 12.10 y posteriores anuncian por sí mismos la duración de un mensaje de llamada, por lo que UnigramPlus ya no la añade y deja de escucharse dos veces. diff --git a/addon/doc/fa/readme.md b/addon/doc/fa/readme.md index db28e8e..3675f8e 100644 --- a/addon/doc/fa/readme.md +++ b/addon/doc/fa/readme.md @@ -415,6 +415,12 @@ +###نسخه 5.8.2 + +* خطاهای NVDA در نسخهٔ آزمایشی جدید Unigram مبتنی بر WinUI 3 برطرف شد. از نسخهٔ 5.5.6، هر بار هنگام بازگشت به Unigram یا تایپ با ویرایشگر روش ورودی (IME)، مانند ویرایشگرهای چینی، ژاپنی یا کره‌ای، یک خطا ثبت می‌شد. نسخهٔ UWP برنامهٔ Unigram تحت تأثیر قرار نداشت. +* اگر افزونهٔ Telegram Desktop نصب نباشد، UnigramPlus دیگر در اعلام فوکوس در Telegram Desktop دخالت نمی‌کند. +* ترجمه‌های لهستانی و ویتنامی به‌روزرسانی شد. + ###نسخه 5.8.1 * راهکار موقت مربوط به مدت تماس حذف شد. Unigram 12.10 و بالاتر خودشان مدت زمان پیام تماس را اعلام می‌کنند، بنابراین UnigramPlus دیگر آن را اضافه نمی‌کند و دو بار شنیده نمی‌شود. diff --git a/addon/doc/fr/readme.md b/addon/doc/fr/readme.md index fc3be50..1d37021 100644 --- a/addon/doc/fr/readme.md +++ b/addon/doc/fr/readme.md @@ -198,6 +198,12 @@ Les sons d'UnigramPlus se trouvent dans le dossier `appModules\media` de l'exten ##Liste des changements : +### Version 5.8.2 + +* Correction des erreurs de NVDA dans la nouvelle version bêta WinUI 3 d'Unigram. Depuis la version 5.5.6, une erreur était journalisée à chaque retour dans Unigram ou à chaque saisie avec un éditeur de méthode d'entrée (IME), comme ceux du chinois, du japonais ou du coréen. La version UWP d'Unigram n'était pas concernée. +* UnigramPlus n'interfère plus avec les annonces du focus dans Telegram Desktop lorsque l'extension Telegram Desktop n'est pas installée. +* Mise à jour des traductions polonaise et vietnamienne. + ### Version 5.8.1 * Suppression du contournement relatif à la durée des appels. Unigram 12.10 et versions ultérieures annoncent eux-mêmes la durée d'un message d'appel ; UnigramPlus ne l'ajoute donc plus et elle n'est plus entendue deux fois. diff --git a/addon/doc/hr/readme.md b/addon/doc/hr/readme.md index 8faedfd..3ed3802 100644 --- a/addon/doc/hr/readme.md +++ b/addon/doc/hr/readme.md @@ -201,6 +201,12 @@ I zapamtite da su svi koji su pročitali ovaj red mislili da će netko sigurno p ##Popis promjena: +### Verzija 5.8.2 + +* Ispravljene pogreške NVDA-a u novoj beta verziji Unigrama za WinUI 3. Od verzije 5.5.6 pogreška se bilježila pri svakom povratku u Unigram ili pri tipkanju pomoću uređivača načina unosa (IME), primjerice za kineski, japanski ili korejski. UWP verzija Unigrama nije bila zahvaćena. +* UnigramPlus više ne ometa najave fokusa u Telegram Desktopu kada dodatak Telegram Desktop nije instaliran. +* Ažurirani poljski i vijetnamski prijevodi. + ### Verzija 5.8.1 * Uklonjeno zaobilazno rješenje za trajanje poziva. Unigram 12.10 i noviji sami najavljuju trajanje u poruci o pozivu, pa ga UnigramPlus više ne dodaje i ne čuje se dvaput. diff --git a/addon/doc/pt_BR/readme.md b/addon/doc/pt_BR/readme.md index 97836b0..9beb9be 100644 --- a/addon/doc/pt_BR/readme.md +++ b/addon/doc/pt_BR/readme.md @@ -198,6 +198,12 @@ E lembre-se que todos que leram este post pensaram que alguém definitivamente a ## Lista de alterações: +### Versão 5.8.2 + +* Corrigidos erros do NVDA na nova versão beta do Unigram em WinUI 3. Desde a versão 5.5.6, um erro era registrado sempre que se voltava ao Unigram ou se digitava com um editor de método de entrada (IME), como os de chinês, japonês ou coreano. A versão UWP do Unigram não era afetada. +* O UnigramPlus não interfere mais nos anúncios de foco do Telegram Desktop quando o complemento Telegram Desktop não está instalado. +* Atualizadas as traduções polonesa e vietnamita. + ### Versão 5.8.1 * Removida a solução alternativa para a duração das chamadas. O Unigram 12.10 e posteriores anunciam sozinhos a duração de uma mensagem de chamada, então o UnigramPlus não a acrescenta mais e ela deixa de ser ouvida duas vezes. diff --git a/addon/doc/pt_PT/readme.md b/addon/doc/pt_PT/readme.md index a188d2e..184be2e 100644 --- a/addon/doc/pt_PT/readme.md +++ b/addon/doc/pt_PT/readme.md @@ -198,6 +198,12 @@ E lembre-se que todos que leram este post pensaram que alguém definitivamente a ## Lista de alterações: +### Versão 5.8.2 + +* Corrigidos erros do NVDA na nova versão beta do Unigram em WinUI 3. Desde a versão 5.5.6, era registado um erro sempre que se regressava ao Unigram ou se escrevia com um editor de método de introdução (IME), como os de chinês, japonês ou coreano. A versão UWP do Unigram não era afetada. +* O UnigramPlus já não interfere com os anúncios de foco do Telegram Desktop quando o complemento Telegram Desktop não está instalado. +* Atualizadas as traduções polaca e vietnamita. + ### Versão 5.8.1 * Removida a solução alternativa para a duração das chamadas. O Unigram 12.10 e posteriores anunciam por si próprios a duração de uma mensagem de chamada, pelo que o UnigramPlus já não a acrescenta e deixa de ser ouvida duas vezes. diff --git a/addon/doc/ro/readme.md b/addon/doc/ro/readme.md index cf5c04b..0f0fc88 100644 --- a/addon/doc/ro/readme.md +++ b/addon/doc/ro/readme.md @@ -199,6 +199,12 @@ Dacă îți place cu adevărat acest add-on și ai dorința și, cel mai importa ##Lista de modificări: +### Versiunea 5.8.2 + +* Au fost remediate erorile NVDA din noua versiune beta WinUI 3 a Unigram. Începând cu versiunea 5.5.6, o eroare era înregistrată de fiecare dată când reveneați în Unigram sau tastați cu un editor de metode de introducere (IME), cum ar fi cele pentru chineză, japoneză sau coreeană. Versiunea UWP a Unigram nu era afectată. +* UnigramPlus nu mai interferează cu anunțarea focalizării în Telegram Desktop atunci când add-on-ul Telegram Desktop nu este instalat. +* Au fost actualizate traducerile în poloneză și vietnameză. + ### Versiunea 5.8.1 * A fost eliminată soluția temporară pentru durata apelurilor. Unigram 12.10 și versiunile ulterioare anunță singure durata unui mesaj de apel, așa că UnigramPlus nu o mai adaugă și nu se mai aude de două ori. diff --git a/addon/doc/ru/readme.md b/addon/doc/ru/readme.md index 6d8f370..e995e8f 100644 --- a/addon/doc/ru/readme.md +++ b/addon/doc/ru/readme.md @@ -487,6 +487,12 @@ +###Версия 5.8.2 + +* Исправлены ошибки NVDA в новой бета-версии Unigram на WinUI 3. Начиная с версии 5.5.6, ошибка записывалась в журнал при каждом возвращении в Unigram или вводе текста через метод ввода (IME), например для китайского, японского или корейского языка. UWP-версия Unigram не была затронута. +* UnigramPlus больше не вмешивается в озвучивание фокуса в Telegram Desktop, если дополнение Telegram Desktop не установлено. +* Обновлены польский и вьетнамский переводы. + ###Версия 5.8.1 * Удалён обходной приём для длительности звонка. Unigram 12.10 и новее сами объявляют длительность в сообщении о звонке, поэтому UnigramPlus больше её не добавляет и она не звучит дважды. diff --git a/addon/doc/sr/readme.md b/addon/doc/sr/readme.md index 802a715..43157ae 100644 --- a/addon/doc/sr/readme.md +++ b/addon/doc/sr/readme.md @@ -473,6 +473,12 @@ Added Turkish localization +###Verzija 5.8.2 + +* Ispravljene greške NVDA u novoj beta verziji Unigrama za WinUI 3. Od verzije 5.5.6 greška se beležila pri svakom povratku u Unigram ili pri kucanju pomoću uređivača metoda unosa (IME), na primer za kineski, japanski ili korejski. UWP verzija Unigrama nije bila pogođena. +* UnigramPlus više ne ometa objavljivanje fokusa u Telegram Desktopu kada dodatak Telegram Desktop nije instaliran. +* Ažurirani poljski i vijetnamski prevodi. + ###Verzija 5.8.1 * Uklonjeno zaobilazno rešenje za trajanje poziva. Unigram 12.10 i noviji sami objavljuju trajanje u poruci o pozivu, pa ga UnigramPlus više ne dodaje i ne čuje se dva puta. diff --git a/addon/doc/tr/readme.md b/addon/doc/tr/readme.md index e04c5c5..12a97ed 100644 --- a/addon/doc/tr/readme.md +++ b/addon/doc/tr/readme.md @@ -197,6 +197,12 @@ Bu eklentiyi çok seviyorsanız ve geliştiriciyi maddi olarak desteklemek ve b ##Değişiklik listesi: +### Sürüm 5.8.2 + +* Unigram'ın yeni WinUI 3 beta sürümündeki NVDA hataları giderildi. 5.5.6 sürümünden beri, Unigram'a her geri dönüşte veya Çince, Japonca ya da Korece gibi diller için bir giriş yöntemi düzenleyicisiyle (IME) her yazışta bir hata günlüğe kaydediliyordu. Unigram'ın UWP sürümü bundan etkilenmiyordu. +* Telegram Desktop eklentisi yüklü değilken UnigramPlus artık Telegram Desktop'taki odak duyurularına müdahale etmiyor. +* Lehçe ve Vietnamca çeviriler güncellendi. + ### Sürüm 5.8.1 * Çağrı süresi için kullanılan geçici çözüm kaldırıldı. Unigram 12.10 ve sonrası çağrı mesajının süresini kendisi duyurduğundan UnigramPlus artık onu eklemiyor ve süre iki kez duyulmuyor. diff --git a/addon/doc/uk/readme.md b/addon/doc/uk/readme.md index c9b0cc8..f9e29f1 100644 --- a/addon/doc/uk/readme.md +++ b/addon/doc/uk/readme.md @@ -197,6 +197,12 @@ ## Список змін: +### Версія 5.8.2 + +* Виправлено помилки NVDA в новій бета-версії Unigram на WinUI 3. Починаючи з версії 5.5.6, помилка записувалася до журналу щоразу під час повернення до Unigram або введення тексту через метод введення (IME), наприклад для китайської, японської чи корейської мови. UWP-версію Unigram це не зачіпало. +* UnigramPlus більше не втручається в озвучення фокуса в Telegram Desktop, якщо доповнення Telegram Desktop не встановлено. +* Оновлено польський і в'єтнамський переклади. + ### Версія 5.8.1 * Вилучено обхідний прийом для тривалості дзвінка. Unigram 12.10 і новіші самі озвучують тривалість у повідомленні про дзвінок, тож UnigramPlus більше її не додає і вона не звучить двічі. diff --git a/addon/doc/zh_CN/readme.md b/addon/doc/zh_CN/readme.md index e59b157..b03b850 100644 --- a/addon/doc/zh_CN/readme.md +++ b/addon/doc/zh_CN/readme.md @@ -199,6 +199,12 @@ UnigramPlus 的声音文件位于插件的 `appModules\media` 文件夹。请打 ## 版本变更 +### 版本 5.8.2 + +* 修正新版 Unigram WinUI 3 测试版的 NVDA 错误。自 5.5.6 版起,每次切回 Unigram 或使用中文、日文、韩文等输入法(IME)输入文字时,NVDA 都会记录一条错误。Unigram 的 UWP 版本不受影响。 +* 未安装 Telegram Desktop 插件时,UnigramPlus 不再干扰 Telegram Desktop 的焦点朗读。 +* 更新波兰语和越南语翻译。 + ### 版本 5.8.1 * 移除通话时长的临时处理。Unigram 12.10 及更高版本会自行读出通话消息的时长,因此 UnigramPlus 不再补充,也不会重复读出。 diff --git a/addon/doc/zh_TW/readme.md b/addon/doc/zh_TW/readme.md index cb1abc1..90346be 100644 --- a/addon/doc/zh_TW/readme.md +++ b/addon/doc/zh_TW/readme.md @@ -199,6 +199,12 @@ UnigramPlus 的音效檔案位於附加元件的 `appModules\media` 資料夾。 ## 版本變更 +### 版本 5.8.2 + +* 修正新版 Unigram WinUI 3 測試版的 NVDA 錯誤。自 5.5.6 版起,每次切回 Unigram 或使用中文、日文、韓文等輸入法(IME)輸入文字時,NVDA 都會記錄一筆錯誤。Unigram 的 UWP 版本不受影響。 +* 未安裝 Telegram Desktop 附加元件時,UnigramPlus 不再干擾 Telegram Desktop 的焦點朗讀。 +* 更新波蘭文與越南文翻譯。 + ### 版本 5.8.1 * 移除通話長度的暫時處理。Unigram 12.10 及更新版本會自行讀出通話訊息的長度,因此 UnigramPlus 不再補上,也不會重複讀出。 diff --git a/addon/locale/ar/LC_MESSAGES/nvda.po b/addon/locale/ar/LC_MESSAGES/nvda.po index ce80c61..3f112d1 100644 --- a/addon/locale/ar/LC_MESSAGES/nvda.po +++ b/addon/locale/ar/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-15 02:57+0300\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- تم إصلاح أخطاء NVDA في الإصدار التجريبي من Unigram المبني على WinUI 3، والتي كانت تظهر في كل مرة يتم فيها الرجوع إلى Unigram أو الكتابة باستخدام محرر أسلوب الإدخال (IME).\n" +"- لم تعد UnigramPlus تتدخل في الإعلان عن التركيز في Telegram Desktop عندما لا تكون إضافة Telegram Desktop مثبتة.\n" +"- تم تحديث الترجمتين البولندية والفيتنامية." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/cs/LC_MESSAGES/nvda.po b/addon/locale/cs/LC_MESSAGES/nvda.po index f2e8908..79e93e6 100644 --- a/addon/locale/cs/LC_MESSAGES/nvda.po +++ b/addon/locale/cs/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "POT-Creation-Date: 2022-06-30 15:13+0300\n" "PO-Revision-Date: 2022-06-30 15:13+0300\n" "Last-Translator: Petr Řehák\n" @@ -18,6 +18,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Opraveny chyby NVDA v betaverzi Unigramu pro WinUI 3, které vznikaly při každém návratu do Unigramu nebo při psaní pomocí editoru metody zadávání (IME).\n" +"- UnigramPlus již nezasahuje do oznamování fokusu v Telegram Desktop, pokud není nainstalován doplněk Telegram Desktop.\n" +"- Aktualizován polský a vietnamský překlad." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/es/LC_MESSAGES/nvda.po b/addon/locale/es/LC_MESSAGES/nvda.po index 2232a72..548aa6d 100644 --- a/addon/locale/es/LC_MESSAGES/nvda.po +++ b/addon/locale/es/LC_MESSAGES/nvda.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-15 03:31-0500\n" @@ -18,6 +18,15 @@ msgstr "" "X-Generator: Poedit 3.4.1\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Corregidos los errores de NVDA en la beta de Unigram basada en WinUI 3 que aparecían cada vez que se volvía a Unigram o se escribía con un editor de métodos de entrada (IME).\n" +"- UnigramPlus ya no interfiere con los anuncios del foco en Telegram Desktop cuando el complemento Telegram Desktop no está instalado.\n" +"- Actualizadas las traducciones al polaco y al vietnamita." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/fa/LC_MESSAGES/nvda.po b/addon/locale/fa/LC_MESSAGES/nvda.po index 2f44ae1..2a7c54c 100644 --- a/addon/locale/fa/LC_MESSAGES/nvda.po +++ b/addon/locale/fa/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2022-08-13 21:15+0300\n" "PO-Revision-Date: 2022-08-14 23:15+0430\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- خطاهای NVDA در نسخهٔ آزمایشی WinUI 3 برنامهٔ Unigram که هر بار هنگام بازگشت به Unigram یا تایپ با ویرایشگر روش ورودی (IME) رخ می‌داد برطرف شد.\n" +"- اگر افزونهٔ Telegram Desktop نصب نباشد، UnigramPlus دیگر در اعلام فوکوس در Telegram Desktop دخالت نمی‌کند.\n" +"- ترجمه‌های لهستانی و ویتنامی به‌روزرسانی شد." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/fr/LC_MESSAGES/nvda.po b/addon/locale/fr/LC_MESSAGES/nvda.po index 75dcb4c..8d35819 100644 --- a/addon/locale/fr/LC_MESSAGES/nvda.po +++ b/addon/locale/fr/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-02-12 12:42+0200\n" "PO-Revision-Date: 2023-02-27 09:28+0100\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Correction des erreurs de NVDA dans la version bêta WinUI 3 d'Unigram, qui survenaient à chaque retour dans Unigram ou à chaque saisie avec un éditeur de méthode d'entrée (IME).\n" +"- UnigramPlus n'interfère plus avec les annonces du focus dans Telegram Desktop lorsque l'extension Telegram Desktop n'est pas installée.\n" +"- Mise à jour des traductions polonaise et vietnamienne." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/hr/LC_MESSAGES/nvda.po b/addon/locale/hr/LC_MESSAGES/nvda.po index ca69047..63f4f89 100644 --- a/addon/locale/hr/LC_MESSAGES/nvda.po +++ b/addon/locale/hr/LC_MESSAGES/nvda.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-15 17:29+0100\n" @@ -20,6 +20,15 @@ msgstr "" "X-Poedit-Bookmarks: -1,116,-1,-1,-1,-1,-1,-1,-1,-1\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Ispravljene pogreške NVDA-a u beta verziji Unigrama za WinUI 3 koje su se javljale pri svakom povratku u Unigram ili pri tipkanju pomoću uređivača načina unosa (IME).\n" +"- UnigramPlus više ne ometa najave fokusa u Telegram Desktopu kada dodatak Telegram Desktop nije instaliran.\n" +"- Ažurirani poljski i vijetnamski prijevodi." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/it/LC_MESSAGES/nvda.po b/addon/locale/it/LC_MESSAGES/nvda.po index 27bc9fe..c626156 100644 --- a/addon/locale/it/LC_MESSAGES/nvda.po +++ b/addon/locale/it/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-14 22:27+0100\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Corretti gli errori di NVDA nella beta di Unigram basata su WinUI 3, che si verificavano ogni volta che si tornava a Unigram o si scriveva con un editor di metodi di input (IME).\n" +"- UnigramPlus non interferisce più con gli annunci del focus in Telegram Desktop quando il componente aggiuntivo Telegram Desktop non è installato.\n" +"- Aggiornate le traduzioni polacca e vietnamita." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/my/LC_MESSAGES/nvda.po b/addon/locale/my/LC_MESSAGES/nvda.po index a75c0c7..81a0280 100644 --- a/addon/locale/my/LC_MESSAGES/nvda.po +++ b/addon/locale/my/LC_MESSAGES/nvda.po @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2026-09-03 03:10+0630\n" "PO-Revision-Date: 2026-09-03 03:13+0630\n" @@ -967,6 +967,15 @@ msgstr "" "ကီးများစွာကို ပေါင်းထည့်ကာ Unigram တွင် အလုပ်လုပ်ရန် ပိုမိုလွယ်ကူစေမည့် သေးငယ်သော တိုးတက်မှုများစွာကိုလည်း ပေါင်းထည့်ထားသည်။" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Unigram ၏ WinUI 3 စမ်းသပ်ဗားရှင်းတွင် Unigram သို့ ပြန်ပြောင်းတိုင်း သို့မဟုတ် ထည့်သွင်းနည်းစနစ် (IME) ဖြင့် စာရိုက်တိုင်း ဖြစ်ပေါ်သော NVDA အမှားများကို ပြင်ဆင်ပြီးပါပြီ။\n" +"- Telegram Desktop အက်ဒွန်ကို ထည့်သွင်းမထားသည့်အခါ UnigramPlus သည် Telegram Desktop ရှိ focus ကြေညာချက်များကို နှောင့်ယှက်တော့မည် မဟုတ်ပါ။\n" +"- ပိုလန်နှင့် ဗီယက်နမ်ဘာသာပြန်များကို မွမ်းမံပြီးပါပြီ။" + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/ne/LC_MESSAGES/nvda.po b/addon/locale/ne/LC_MESSAGES/nvda.po index 5a0381d..bcaec01 100644 --- a/addon/locale/ne/LC_MESSAGES/nvda.po +++ b/addon/locale/ne/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "POT-Creation-Date: 2022-10-07 22:33+0300\n" "PO-Revision-Date: 2022-10-20 12:30+0300\n" "Last-Translator: samrat kc \n" @@ -18,6 +18,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Unigram को WinUI 3 बिटा संस्करणमा, हरेक पटक Unigram मा फर्कँदा वा इनपुट मेथड (IME) प्रयोग गरेर टाइप गर्दा देखिने NVDA त्रुटिहरू समाधान गरियो।\n" +"- Telegram Desktop औजार स्थापना नभएको बेला UnigramPlus ले अब Telegram Desktop को फोकस घोषणामा हस्तक्षेप गर्दैन।\n" +"- पोलिस र भियतनामी अनुवादहरू अद्यावधिक गरियो।" + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/pl/LC_MESSAGES/nvda.po b/addon/locale/pl/LC_MESSAGES/nvda.po index 0ff90fd..cf8920a 100644 --- a/addon/locale/pl/LC_MESSAGES/nvda.po +++ b/addon/locale/pl/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: nvda-translations@groups.io\n" "POT-Creation-Date: 2026-09-19 12:30+0000\n" "PO-Revision-Date: 2026-10-04 06:30+0200\n" @@ -1126,6 +1126,15 @@ msgstr "" "ułatwiają korzystanie z Unigrama." #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Naprawiono błędy NVDA w wersji beta Unigrama opartej na WinUI 3, pojawiające się przy każdym powrocie do Unigrama lub pisaniu za pomocą edytora metody wprowadzania (IME).\n" +"- UnigramPlus nie zakłóca już odczytywania fokusu w Telegram Desktop, gdy dodatek Telegram Desktop nie jest zainstalowany.\n" +"- Zaktualizowano tłumaczenia polskie i wietnamskie." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a " "call message's duration themselves, so it is no longer announced twice.\n" diff --git a/addon/locale/pt_BR/LC_MESSAGES/nvda.po b/addon/locale/pt_BR/LC_MESSAGES/nvda.po index 6551c33..b9d3606 100644 --- a/addon/locale/pt_BR/LC_MESSAGES/nvda.po +++ b/addon/locale/pt_BR/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "POT-Creation-Date: 2022-06-19 18:49+0300\n" "PO-Revision-Date: 2022-06-19 18:49+0300\n" "Last-Translator: Ângelo Abrantes \n" @@ -18,6 +18,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Corrigidos erros do NVDA na versão beta do Unigram em WinUI 3 que ocorriam sempre que se voltava ao Unigram ou se digitava com um editor de método de entrada (IME).\n" +"- O UnigramPlus não interfere mais nos anúncios de foco do Telegram Desktop quando o complemento Telegram Desktop não está instalado.\n" +"- Atualizadas as traduções polonesa e vietnamita." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/pt_PT/LC_MESSAGES/nvda.po b/addon/locale/pt_PT/LC_MESSAGES/nvda.po index 5a00378..32af034 100644 --- a/addon/locale/pt_PT/LC_MESSAGES/nvda.po +++ b/addon/locale/pt_PT/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "POT-Creation-Date: 2022-06-19 18:49+0300\n" "PO-Revision-Date: 2022-06-19 18:49+0300\n" "Last-Translator: Ângelo Abrantes \n" @@ -18,6 +18,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Corrigidos erros do NVDA na versão beta do Unigram em WinUI 3 que ocorriam sempre que se regressava ao Unigram ou se escrevia com um editor de método de introdução (IME).\n" +"- O UnigramPlus já não interfere com os anúncios de foco do Telegram Desktop quando o complemento Telegram Desktop não está instalado.\n" +"- Atualizadas as traduções polaca e vietnamita." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/ro/LC_MESSAGES/nvda.po b/addon/locale/ro/LC_MESSAGES/nvda.po index 54f8429..4b845bb 100644 --- a/addon/locale/ro/LC_MESSAGES/nvda.po +++ b/addon/locale/ro/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-05-08 21:23+0300\n" "PO-Revision-Date: 2023-05-08 21:25+0300\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Au fost remediate erorile NVDA din versiunea beta WinUI 3 a Unigram, care apăreau de fiecare dată când reveneați în Unigram sau tastați cu un editor de metode de introducere (IME).\n" +"- UnigramPlus nu mai interferează cu anunțarea focalizării în Telegram Desktop atunci când add-on-ul Telegram Desktop nu este instalat.\n" +"- Au fost actualizate traducerile în poloneză și vietnameză." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/ru/LC_MESSAGES/nvda.po b/addon/locale/ru/LC_MESSAGES/nvda.po index 6360c8c..b2d50ea 100644 --- a/addon/locale/ru/LC_MESSAGES/nvda.po +++ b/addon/locale/ru/LC_MESSAGES/nvda.po @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-31 14:31+0400\n" "PO-Revision-Date: 2024-04-10 19:20+0300\n" @@ -19,6 +19,15 @@ msgstr "" "X-Generator: Poedit 3.4.2\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Исправлены ошибки NVDA в бета-версии Unigram на WinUI 3, возникавшие при каждом возвращении в Unigram или вводе текста через метод ввода (IME).\n" +"- UnigramPlus больше не вмешивается в озвучивание фокуса в Telegram Desktop, если дополнение Telegram Desktop не установлено.\n" +"- Обновлены польский и вьетнамский переводы." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/sr/LC_MESSAGES/nvda.po b/addon/locale/sr/LC_MESSAGES/nvda.po index cbc5f18..d4271a2 100644 --- a/addon/locale/sr/LC_MESSAGES/nvda.po +++ b/addon/locale/sr/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-15 06:02+0100\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Ispravljene greške NVDA u beta verziji Unigrama za WinUI 3 koje su se javljale pri svakom povratku u Unigram ili pri kucanju pomoću uređivača metoda unosa (IME).\n" +"- UnigramPlus više ne ometa objavljivanje fokusa u Telegram Desktopu kada dodatak Telegram Desktop nije instaliran.\n" +"- Ažurirani poljski i vijetnamski prevodi." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/tr/LC_MESSAGES/nvda.po b/addon/locale/tr/LC_MESSAGES/nvda.po index 2d54b73..0882ccc 100644 --- a/addon/locale/tr/LC_MESSAGES/nvda.po +++ b/addon/locale/tr/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2023-12-14 22:48+0200\n" "PO-Revision-Date: 2023-12-15 00:48+0300\n" @@ -19,6 +19,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Unigram'ın WinUI 3 beta sürümünde, Unigram'a her geri dönüşte veya giriş yöntemi düzenleyicisiyle (IME) her yazışta oluşan NVDA hataları giderildi.\n" +"- Telegram Desktop eklentisi yüklü değilken UnigramPlus artık Telegram Desktop'taki odak duyurularına müdahale etmiyor.\n" +"- Lehçe ve Vietnamca çeviriler güncellendi." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/uk/LC_MESSAGES/nvda.po b/addon/locale/uk/LC_MESSAGES/nvda.po index 1335f31..a7cf71f 100644 --- a/addon/locale/uk/LC_MESSAGES/nvda.po +++ b/addon/locale/uk/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "POT-Creation-Date: 2023-12-15 11:58+0200\n" "PO-Revision-Date: 2023-12-15 12:00+0200\n" "Last-Translator: \n" @@ -18,6 +18,15 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Виправлено помилки NVDA в бета-версії Unigram на WinUI 3, що виникали щоразу під час повернення до Unigram або введення тексту через метод введення (IME).\n" +"- UnigramPlus більше не втручається в озвучення фокуса в Telegram Desktop, якщо доповнення Telegram Desktop не встановлено.\n" +"- Оновлено польський і в'єтнамський переклади." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/vi/LC_MESSAGES/nvda.po b/addon/locale/vi/LC_MESSAGES/nvda.po index 8dabf64..1bed696 100644 --- a/addon/locale/vi/LC_MESSAGES/nvda.po +++ b/addon/locale/vi/LC_MESSAGES/nvda.po @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2026-09-13 08:03+0700\n" "PO-Revision-Date: 2026-09-13 08:14+0700\n" @@ -1123,6 +1123,15 @@ msgstr "" "dàng hơn nhiều" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Đã sửa lỗi NVDA trong bản beta WinUI 3 của Unigram, xảy ra mỗi khi quay lại Unigram hoặc gõ bằng bộ gõ (IME).\n" +"- UnigramPlus không còn can thiệp vào việc đọc tiêu điểm trong Telegram Desktop khi chưa cài tiện ích Telegram Desktop.\n" +"- Đã cập nhật bản dịch tiếng Ba Lan và tiếng Việt." + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/zh_CN/LC_MESSAGES/nvda.po b/addon/locale/zh_CN/LC_MESSAGES/nvda.po index 12cb648..20a5bad 100644 --- a/addon/locale/zh_CN/LC_MESSAGES/nvda.po +++ b/addon/locale/zh_CN/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: nvda-translations@groups.io\n" "POT-Creation-Date: 2026-05-24 00:00+0800\n" "PO-Revision-Date: 2026-05-24 00:00+0800\n" @@ -15,6 +15,15 @@ msgstr "" "X-Generator: Codex\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- 修正在 Unigram WinUI 3 测试版中,每次切回 Unigram 或使用输入法(IME)输入文字时 NVDA 都会出现错误的问题。\n" +"- 未安装 Telegram Desktop 插件时,UnigramPlus 不再干扰 Telegram Desktop 的焦点朗读。\n" +"- 更新波兰语和越南语翻译。" + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/addon/locale/zh_TW/LC_MESSAGES/nvda.po b/addon/locale/zh_TW/LC_MESSAGES/nvda.po index 20706f3..4131a72 100644 --- a/addon/locale/zh_TW/LC_MESSAGES/nvda.po +++ b/addon/locale/zh_TW/LC_MESSAGES/nvda.po @@ -1,7 +1,7 @@ # msgid "" msgstr "" -"Project-Id-Version: UnigramPlus 5.8.1\n" +"Project-Id-Version: UnigramPlus 5.8.2\n" "Report-Msgid-Bugs-To: nvda-translations@groups.io\n" "POT-Creation-Date: 2026-05-24 00:00+0800\n" "PO-Revision-Date: 2026-06-14 20:36+0800\n" @@ -15,6 +15,15 @@ msgstr "" "X-Generator: Poedit 3.9\n" #: changelog.py:5 +msgid "" +"- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME).\n" +"- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- 修正在 Unigram WinUI 3 測試版中,每次切回 Unigram 或使用輸入法(IME)輸入文字時 NVDA 都會出現錯誤的問題。\n" +"- 未安裝 Telegram Desktop 附加元件時,UnigramPlus 不再干擾 Telegram Desktop 的焦點朗讀。\n" +"- 更新波蘭文與越南文翻譯。" + msgid "" "- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice.\n" "- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module.\n" diff --git a/buildVars.py b/buildVars.py index 886070a..7366e9d 100644 --- a/buildVars.py +++ b/buildVars.py @@ -19,7 +19,7 @@ """This add-on adds a lot of hotkeys for quick navigation through the main elements of the Unigram application, convenient interaction with Chat messages, and also adds many small improvements that make working in Unigram much easier""", ), # version - addon_version="5.8.1", + addon_version="5.8.2", # Brief changelog for this version # Translators: what's new content for the add-on version to be shown in the add-on store. # Note: Edit changelog.py instead of this. diff --git a/changelog.py b/changelog.py index 2c2dc3e..faf4d41 100644 --- a/changelog.py +++ b/changelog.py @@ -2,7 +2,7 @@ def _(t): return t value = _( - """- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice. -- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module. -- Updated the Vietnamese translation.""" + """- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME). +- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed. +- Updated the Polish and Vietnamese translations.""" ) diff --git a/pyproject.toml b/pyproject.toml index 71c1473..58f5383 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "unigramplus" -version = "5.8.1" +version = "5.8.2" description = "NVDA add-on for Unigram" maintainers = [ {name = "Kostya Gladkiy", email = "gladkiy.kostya@gmail.com"}, diff --git a/readme.md b/readme.md index dc05526..34cb87d 100644 --- a/readme.md +++ b/readme.md @@ -200,6 +200,12 @@ And remember that everyone who read this line thought that someone will definite ## List of changes: +### Version 5.8.2 + +* Fixed NVDA errors with the new WinUI 3 beta of Unigram. Since version 5.5.6, an error was logged every time you switched back to Unigram or typed with an input method (IME), such as one for Chinese, Japanese or Korean. The UWP version of Unigram was not affected. +* UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed. +* Updated the Polish and Vietnamese translations. + ### Version 5.8.1 * Removed the call duration workaround. Unigram 12.10 and later announce the duration of a call message themselves, so UnigramPlus no longer adds it and it is no longer heard twice. diff --git a/tests/test_localization.py b/tests/test_localization.py index e6e525a..bc65dca 100644 --- a/tests/test_localization.py +++ b/tests/test_localization.py @@ -8,9 +8,9 @@ VERSION_REPORT = "Unigram version: {unigramVersion}.\nUnigramPlus version: {addonVersion}." VERSION_WINDOW_DESCRIPTION = "Open Unigram and UnigramPlus version information in a read-only window" RELEASE_CHANGELOG = ( - """- Removed the call duration workaround: Unigram 12.10 and later announce a call message's duration themselves, so it is no longer announced twice. -- Fixed the add-on failing to start on older NVDA versions that do not provide the utils.security module. -- Updated the Vietnamese translation.""" + """- Fixed NVDA errors with the Unigram WinUI 3 beta each time you switched back to Unigram or typed with an input method (IME). +- UnigramPlus no longer interferes with focus announcements in Telegram Desktop when the Telegram Desktop add-on is not installed. +- Updated the Polish and Vietnamese translations.""" ) # The call duration feature bullet each manual carried before Unigram 12.10 @@ -109,14 +109,14 @@ def test_required_strings_are_translated_in_every_locale(): ) -def test_release_version_is_581(): +def test_release_version_is_582(): build_vars = (ROOT / "buildVars.py").read_text(encoding="utf-8") pyproject = (ROOT / "pyproject.toml").read_text(encoding="utf-8") lockfile = (ROOT / "uv.lock").read_text(encoding="utf-8") - assert 'addon_version="5.8.1"' in build_vars - assert 'version = "5.8.1"' in pyproject - assert 'name = "unigramplus"\nversion = "5.8.1"' in lockfile + assert 'addon_version="5.8.2"' in build_vars + assert 'version = "5.8.2"' in pyproject + assert 'name = "unigramplus"\nversion = "5.8.2"' in lockfile # addon/manifest.ini is a gitignored build artifact and may be stale, so the # template is what gets checked: it is what carries addon_version into the build. @@ -124,18 +124,18 @@ def test_release_version_is_581(): assert "version = {addon_version}" in template -def test_catalogs_keep_the_581_translation_metadata(): +def test_catalogs_keep_the_582_translation_metadata(): for locale_dir in sorted(path for path in LOCALE_DIR.iterdir() if path.is_dir()): catalog_path = locale_dir / "LC_MESSAGES" / "nvda.po" catalog = catalog_path.read_text(encoding="utf-8") - assert '"Project-Id-Version: UnigramPlus 5.8.1\\n"' in catalog + assert '"Project-Id-Version: UnigramPlus 5.8.2\\n"' in catalog def test_current_release_changelog_comes_from_the_changelog_source(): changelog = (ROOT / "changelog.py").read_text(encoding="utf-8") - assert "call duration workaround" in changelog - assert "utils.security" in changelog + assert "WinUI 3" in changelog + assert "Telegram Desktop add-on" in changelog def test_every_catalog_translates_the_current_release_changelog(): @@ -147,6 +147,14 @@ def test_every_catalog_translates_the_current_release_changelog(): def test_the_english_manual_carries_the_current_release(): for manual in (ROOT / "readme.md", DOC_DIR / "en" / "readme.md"): text = manual.read_text(encoding="utf-8") + version_582 = text.index("5.8.2") + version_581 = text.index("5.8.1", version_582) + section_582 = text[version_582:version_581] + assert section_582.count("\n* ") == 3, manual + assert "WinUI 3" in section_582, manual + assert "Since version 5.5.6" in section_582, manual + assert "Telegram Desktop add-on" in section_582, manual + assert "Polish and Vietnamese" in section_582, manual version_581 = text.index("5.8.1") version_580 = text.index("5.8.0", version_581) section_581 = text[version_581:version_580] @@ -159,11 +167,16 @@ def test_the_english_manual_carries_the_current_release(): assert "version 5.4" in section_580, manual -def test_every_localized_manual_has_581_and_580_changelogs(): +def test_every_localized_manual_has_582_581_and_580_changelogs(): manuals = [ROOT / "readme.md", *sorted(DOC_DIR.glob("*/readme.md"))] assert len(manuals) == 17 for manual in manuals: text = manual.read_text(encoding="utf-8") + version_582 = text.index("5.8.2") + section_582 = text[version_582:text.index("5.8.1", version_582)] + assert section_582.count("\n* ") == 3, manual + for marker in ("WinUI 3", "5.5.6", "IME", "UWP", "Telegram Desktop"): + assert marker in section_582, (manual, marker) version_581 = text.index("5.8.1") version_580 = text.index("5.8.0", version_581) version_573 = text.index("5.7.3", version_580) diff --git a/tests/test_winui3_non_uia_focus.py b/tests/test_winui3_non_uia_focus.py new file mode 100644 index 0000000..8c3ffcd --- /dev/null +++ b/tests/test_winui3_non_uia_focus.py @@ -0,0 +1,169 @@ +"""Objects that are not UIA must reach NVDA untouched. + +The WinUI 3 Unigram focuses its window through IAccessible when switching back +to it, and NVDA creates InputComposition and CandidateItem objects while an IME +is in use. None of them has UIAAutomationId, and since 5.5.6 the focus handler +read it unguarded, so every one of those focus events logged an +AttributeError traceback. +""" + +import ast +from pathlib import Path +from types import SimpleNamespace + + +ROOT = Path(__file__).resolve().parents[1] +SOURCE_PATH = ROOT / "addon" / "appModules" / "unigram.py" + + +class UIA: + """Stands in for NVDAObjects.UIA.UIA.""" + + +class NotUIA: + """Like NVDA's IAccessible window or InputComposition: no UIA properties.""" + + def __init__(self, role, name=""): + self.role = role + self.name = name + self.parent = None + self.firstChild = None + self.childCount = 0 + self.states = set() + + +class StrictApp: + """Fails as soon as the handler reaches anything past its guards.""" + + def __init__(self, **attributes): + self.__dict__.update(attributes) + + def __getattr__(self, name): + raise AssertionError(f"the handler went on to {name}") + + +def _load_app_method(name, namespace): + module = ast.parse(SOURCE_PATH.read_text(encoding="utf-8")) + app = next(node for node in module.body if isinstance(node, ast.ClassDef) and node.name == "AppModule") + method = next(node for node in app.body if isinstance(node, ast.FunctionDef) and node.name == name) + method.decorator_list = [] + exec(compile(ast.Module(body=[method], type_ignores=[]), str(SOURCE_PATH), "exec"), namespace) + return namespace[name] + + +def _namespace(): + def is_recording_button(obj): + try: + return obj.UIAAutomationId == "btnVoiceMessage" + except Exception: + return False + + return { + "UIA": UIA, + "is_recording_button": is_recording_button, + "Role": SimpleNamespace(EDITABLETEXT="editableText", LISTITEM="listItem", PANE="pane"), + "conf": SimpleNamespace(get=lambda key: True), + } + + +def _calls(): + calls = [] + return calls, lambda: calls.append(True) + + +class PausedJob: + """Stands in for a background job that paused while Unigram was in the background.""" + + def __init__(self, restarted): + self.pouse = True + self.restarted = restarted + + def restore(self, owner): + self.restarted.append(self) + + +def _focus_without_uia(obj, surface): + """Focus a non-UIA object in a window classified as ``surface``.""" + restarted = [] + namespace = _namespace() + jobs = [PausedJob(restarted) for _ in range(3)] + namespace.update(zip(("Chat_update", "Title_change_tracking", "Typing_sound_tracking"), jobs)) + gain_focus = _load_app_method("event_gainFocus", namespace) + # Strict past the window check: the pending focus states and the control + # handling all identify Unigram's controls by UIA automation id. + app = StrictApp( + isUnigramWindow=True, + _restore_focus_after_record_button=lambda obj: False, + _remember_messages_button=lambda obj: False, + _classify_window_surface=lambda obj: surface, + saved_items=object(), + ) + calls, next_handler = _calls() + gain_focus(app, obj, next_handler) + return calls, restarted, jobs + + +NOT_UIA_FOCUS = ( + ("pane", ""), # the WinUI 3 window, reached through IAccessible + ("editableText", "ㄊ"), # an IME composition in the message field + ("listItem", "他"), # an IME candidate +) + + +def test_focus_on_objects_that_are_not_uia_is_left_to_nvda(): + for role, name in NOT_UIA_FOCUS: + calls, restarted, _jobs = _focus_without_uia(NotUIA(role, name), None) + assert calls == [True], role + assert restarted == [], role + + +def test_returning_to_the_main_window_without_uia_focus_restarts_paused_jobs(): + """The jobs pause while Unigram is in the background and resume on its next focus.""" + for role, name in NOT_UIA_FOCUS: + calls, restarted, jobs = _focus_without_uia(NotUIA(role, name), "main") + assert calls == [True], role + assert restarted == jobs, role + + +def test_uia_focus_still_reaches_unigramplus(): + gain_focus = _load_app_method("event_gainFocus", _namespace()) + seen = [] + app = StrictApp(isUnigramWindow=True, _restore_focus_after_record_button=lambda obj: seen.append(obj) or True) + focused = UIA() + + gain_focus(app, focused, lambda: None) + + assert seen == [focused] + + +def test_telegram_desktop_without_its_add_on_skips_unigrams_focus_handling(): + gain_focus = _load_app_method("event_gainFocus", _namespace()) + calls, next_handler = _calls() + + gain_focus(StrictApp(isUnigramWindow=False, _fallbackAppModule=None), UIA(), next_handler) + + assert calls == [True] + + +def test_show_name_and_hide_events_tolerate_objects_that_are_not_uia(): + namespace = _namespace() + for name in ("event_show", "event_nameChange", "event_hide"): + handler = _load_app_method(name, namespace) + app = StrictApp( + isUnigramWindow=True, + _remember_messages_button=lambda obj: False, + _voiceRecordingButton=None, + ) + calls, next_handler = _calls() + handler(app, NotUIA("pane"), next_handler) + assert calls == [True], name + + +def test_overlay_selection_leaves_objects_that_are_not_uia_alone(): + """NVDA builds these objects too, so overlay selection must not raise on them.""" + choose = _load_app_method("chooseNVDAObjectOverlayClasses", _namespace()) + cls_list = ["IAccessible"] + + choose(StrictApp(isUnigramWindow=True), NotUIA("editableText"), cls_list) + + assert cls_list == ["IAccessible"] diff --git a/uv.lock b/uv.lock index 78a8646..693e9c1 100644 --- a/uv.lock +++ b/uv.lock @@ -22,7 +22,7 @@ wheels = [ [[package]] name = "unigramplus" -version = "5.8.1" +version = "5.8.2" source = { virtual = "." } dependencies = [ { name = "markdown" },