diff --git a/addon/appModules/unigram.py b/addon/appModules/unigram.py index 5a473bc..c93cb6e 100644 --- a/addon/appModules/unigram.py +++ b/addon/appModules/unigram.py @@ -1223,35 +1223,6 @@ def initOverlayClass(self): } -class SettingsPanelListItem: - - def script_activate_element(self, gesture): - if self.firstChild: - self.firstChild.doAction() - self.appModule.script_toLastMessage(gesture) - - __gestures = { - "kb:enter": "activate_element", - "kb:space": "activate_element", - } - - -class ExplanationCorrectAnswerInQuiz: - def script_activate_element(self, gesture): - gesture.send() - elements = self.appModule.getElements() - try: obj = elements[1].firstChild.firstChild.firstChild - except: obj = None - if not obj: return False - # message(obj.name) - TextWindow(obj.name, _("Explanation"), readOnly=False) - - __gestures = { - "kb:enter": "activate_element", - "kb:space": "activate_element", - } - - class Saved_items: # store frequently used window elements in cache for faster access _items = {} @@ -1905,7 +1876,13 @@ def get_contacts_list(self): return False def get_settings_list(self): - a = next( + """Return the settings category button that Alt+1 focuses. + + Unigram 13.0 puts the focus on the button inside each item of the + Navigation list, not on the item, so return the button of the open + category, or of the first one. + """ + settings_page = next( ( item for item in self.getElements() if item.role == Role.PANE @@ -1915,12 +1892,16 @@ def get_settings_list(self): ), None, ) - if not a: + if not settings_page: return False - try: b = a.firstChild.next.next.next.next.firstChild - except: b = False - if b: return b - else: return False + try: + categories = next((item for item in settings_page.children if item.UIAAutomationId == "Navigation"), None) + items = categories.children if categories else [] + category = next((item for item in items if State.SELECTED in item.states), items[0] if items else None) + except Exception: + # Unigram can rebuild the list while it is read; let Alt+1 report it. + return False + return _relative(category, "firstChild") or False def is_message_object(self, obj): @@ -3309,10 +3290,7 @@ def event_gainFocus(self, obj, nextHandler): # Processing inline results name = [item.name for item in obj.children if item.name != ""] obj.name = ". ".join(name) - elif obj.name == "Unigram.ViewModels.MessageViewModel": obj.name = obj.firstChild.name elif obj.name.startswith("EETypeRva"): obj.name = ", ".join([item.name for item in obj.children[1:]]) - elif obj.name == "Unigram.Entities.StoragePhoto": obj.name = _("Image") - elif obj.name == "Unigram.ViewModels.Folders.FilterFlag": obj.name = obj.children[1].name elif obj.name.startswith("chatTheme {"): obj.name = obj.firstChild.name elif obj.name.startswith("forumTopic {\n info = forumTopicInfo {"): obj.name = self._format_forum_topic_name(obj) @@ -3436,9 +3414,6 @@ def chooseNVDAObjectOverlayClasses(self, obj, clsList): self.tabs_folder_element = parent if conf.get("voiceFolderNames") and State.SELECTED in obj.states: self.change_chats_folder(obj, parent.UIAAutomationId) return True - elif parent.UIAAutomationId == "Navigation": - clsList.insert(0, SettingsPanelListItem) - return True elif _is_chat_list_item(obj): clsList.insert(0, ChatListItem) return @@ -3466,8 +3441,6 @@ def chooseNVDAObjectOverlayClasses(self, obj, clsList): # and sibling enumeration can recursively re-enter object creation. if _find_ancestor_by_automation_id(obj, ("ActiveButtons",), max_depth=4): clsList.insert(0, Audio_and_video_button) - # elif obj.role == Role.BUTTON and obj.UIAAutomationId == "Explanation": - # clsList.insert(0, ExplanationCorrectAnswerInQuiz) elif obj.UIAAutomationId == "Slider" and (obj.name == "Seek" or obj.role == Role.SLIDER): self.saved_items.save("slider", obj) elif ( diff --git a/addon/doc/NE/readme.md b/addon/doc/NE/readme.md index 1a67678..3587e78 100644 --- a/addon/doc/NE/readme.md +++ b/addon/doc/NE/readme.md @@ -419,6 +419,13 @@ UnigramPlus sound files are stored in the add-on's `appModules\media` folder. Op टर्की स्थानीयकरण थपियो। +### Version 5.8.3 + +* UnigramPlus ले संस्करण 4.8.0 मा Unigram को सेटिङ श्रेणी सूचीमा थपेको Enter र स्पेसको व्यवस्थापन हटाइयो। Unigram 13.0 र पछिका संस्करणहरूमा प्रत्येक सेटिङ श्रेणी Enter वा स्पेस थिच्दा आफैँ खुल्ने बटन हो, र फोकस औजारले व्यवस्थापन गर्ने सूची वस्तुमा नभई त्यही बटनमा पर्छ, त्यसैले त्यो व्यवस्थापन त्यहाँ लागू हुँदैनथ्यो। अब श्रेणी खोल्दा फोकस श्रेणीभित्र सर्नुको सट्टा Unigram मा जस्तै त्यसैमा रहन्छ। यो व्यवस्थापनले इमोजी, GIF र स्टिकर ट्याबहरू जस्ता अन्य ट्याब सूचीहरूलाई पनि समेट्थ्यो र त्यहाँ Enter र स्पेस रोक्थ्यो; अब यी कुञ्जीहरू त्यहाँ पनि Unigram सम्म पुग्छन्। +* Unigram सेटिङमा Alt+1 ले अब फोकसलाई खुला सेटिङ श्रेणीमा, वा कुनै श्रेणी खुला नभए पहिलो श्रेणीमा लैजान्छ। पहिले यसले सेटिङ पृष्ठको निश्चित स्थानमा श्रेणी सूची खोज्थ्यो र त्यसपछि Unigram 13.0 मा फोकस लिन नसक्ने तत्वमा फोकस सार्ने प्रयास गर्थ्यो। +* अब चल्न नसक्ने कोड हटाइयो, प्रयोगमा कुनै परिवर्तन छैन। Unigram 9.5 भन्दा पहिले केही सूची वस्तुहरू आन्तरिक क्लास नामले घोषणा हुन्थे, र UnigramPlus ले त्यसलाई पढ्न मिल्ने नामले प्रतिस्थापन गर्थ्यो; Unigram 9.5 ले ती क्लासहरूको नाम परिवर्तन गरेकाले ती प्रतिस्थापनहरू फेरि कहिल्यै मेल खाएनन्। संस्करण 5.2.0 देखि निष्क्रिय रहेको, क्विजको व्याख्या छुट्टै सञ्झ्यालमा खोल्ने ह्यान्डलर पनि हटाइयो। +* पोलिस र भियतनामी अनुवादहरू अद्यावधिक गरियो। + ### Version 5.8.2 * Unigram को नयाँ WinUI 3 बिटा संस्करणमा देखिने NVDA त्रुटिहरू समाधान गरियो। संस्करण 5.5.6 देखि, हरेक पटक Unigram मा फर्कँदा वा चिनियाँ, जापानी वा कोरियाली जस्ता भाषाका लागि इनपुट मेथड (IME) प्रयोग गरेर टाइप गर्दा एउटा त्रुटि लग हुन्थ्यो। Unigram को UWP संस्करणमा यो समस्या थिएन। diff --git a/addon/doc/ar/readme.md b/addon/doc/ar/readme.md index d9df419..35812e0 100644 --- a/addon/doc/ar/readme.md +++ b/addon/doc/ar/readme.md @@ -201,6 +201,13 @@ ## قائمة التغييرات: +### الإصدار 5.8.3 + +* تمت إزالة معالجة مفتاحي Enter والمسافة التي أضافتها UnigramPlus إلى قائمة فئات إعدادات Unigram في الإصدار 4.8.0. في Unigram 13.0 وما بعده، أصبحت كل فئة إعدادات زرًا يُفتح بنفسه عند الضغط على Enter أو المسافة، ويستقر التركيز على هذا الزر بدلًا من عنصر القائمة الذي كانت الإضافة تعالجه، لذلك لم تعد هذه المعالجة تعمل هناك. والآن عند فتح فئة يبقى التركيز عليها، كما هو الحال في Unigram نفسه، بدلًا من نقله إلى داخل الفئة. كانت هذه المعالجة تشمل أيضًا قوائم علامات تبويب أخرى، مثل علامات تبويب الرموز التعبيرية وGIF والملصقات، وكانت تعترض فيها Enter والمسافة؛ والآن تصل هذه المفاتيح إلى Unigram هناك أيضًا. +* في إعدادات Unigram، أصبح Alt+1 ينقل التركيز الآن إلى فئة الإعدادات المفتوحة، أو إلى الفئة الأولى إذا لم تكن أي فئة مفتوحة. في السابق كان يبحث عن قائمة الفئات في موضع ثابت من صفحة الإعدادات، ثم يحاول نقل التركيز إلى عنصر لا يمكنه تلقي التركيز في Unigram 13.0. +* تمت إزالة شيفرة لم يعد من الممكن تشغيلها، دون أي تغيير في الاستخدام. قبل Unigram 9.5، كانت بعض عناصر القوائم تُقرأ باسم فئة داخلي، وكانت UnigramPlus تستبدله باسم مفهوم؛ وقد أعاد Unigram 9.5 تسمية تلك الفئات، فلم تعد هذه الاستبدالات تتطابق أبدًا. كما أُزيل المعالج الذي كان يفتح شرح الاختبار في نافذة منفصلة، والمعطل منذ الإصدار 5.2.0. +* تم تحديث الترجمتين البولندية والفيتنامية. + ### الإصدار 5.8.2 * تم إصلاح أخطاء NVDA في الإصدار التجريبي الجديد من Unigram المبني على WinUI 3. منذ الإصدار 5.5.6، كان يُسجَّل خطأ في كل مرة يتم فيها الرجوع إلى Unigram أو الكتابة باستخدام محرر أسلوب الإدخال (IME)، مثل محررات اللغات الصينية أو اليابانية أو الكورية. لم يتأثر إصدار UWP من Unigram. diff --git a/addon/doc/en/readme.md b/addon/doc/en/readme.md index 26f0b46..1479be8 100644 --- a/addon/doc/en/readme.md +++ b/addon/doc/en/readme.md @@ -200,6 +200,13 @@ And remember that everyone who read this line thought that someone will definite ## List of changes: +### Version 5.8.3 + +* Removed the Enter and Space handling that UnigramPlus added to the list of Unigram settings categories in version 4.8.0. In Unigram 13.0 and later, each settings category is a button that opens with Enter or Space by itself, and the focus lands on that button rather than on the list item the add-on handled, so the handling no longer applied there. When you open a category, the focus now stays on it, as in Unigram itself, instead of moving into the category. The handling had also caught other tab lists, such as the Emoji, GIFs and Stickers tabs, and intercepted Enter and Space there; these keys now reach Unigram there as well. +* In Unigram settings, Alt+1 now moves the focus to the open settings category, or to the first category if none is open. It used to look for the category list at a fixed position on the settings page and then tried to focus an element that cannot receive the focus in Unigram 13.0. +* Removed code that could no longer run, with no change in use. Before Unigram 9.5, some list items were announced by an internal class name, which UnigramPlus replaced with a readable one; Unigram 9.5 renamed those classes, so the replacements never matched again. The handler that opened a quiz explanation in a separate window, disabled since version 5.2.0, was removed as well. +* Updated the Polish and Vietnamese translations. + ### 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. diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md index d08c19b..2ce2521 100644 --- a/addon/doc/es/readme.md +++ b/addon/doc/es/readme.md @@ -200,6 +200,13 @@ Y recuerde que todos los que leyeron esta línea pensaron alguien definitivament ##Lista de cambios: +### Versión 5.8.3 + +* Eliminado el manejo de Enter y espacio que UnigramPlus añadió a la lista de categorías de configuración de Unigram en la versión 4.8.0. En Unigram 13.0 y posteriores, cada categoría de configuración es un botón que se abre por sí mismo con Enter o espacio, y el foco se sitúa en ese botón y no en el elemento de lista que manejaba el complemento, por lo que ese manejo ya no tenía efecto allí. Ahora, al abrir una categoría, el foco permanece en ella, igual que en el propio Unigram, en lugar de desplazarse al interior de la categoría. Ese manejo también afectaba a otras listas de pestañas, como las pestañas Emoji, GIF y Stickers, donde interceptaba Enter y espacio; ahora estas teclas también llegan allí a Unigram. +* En la configuración de Unigram, Alt+1 ahora mueve el foco a la categoría de configuración abierta, o a la primera categoría si no hay ninguna abierta. Antes buscaba la lista de categorías en una posición fija de la página de configuración y luego intentaba mover el foco a un elemento que no puede recibir el foco en Unigram 13.0. +* Eliminado código que ya no podía ejecutarse, sin ningún cambio en el uso. Antes de Unigram 9.5, algunos elementos de lista se anunciaban con un nombre de clase interno, que UnigramPlus sustituía por uno legible; Unigram 9.5 cambió el nombre de esas clases, por lo que esas sustituciones ya nunca coincidían. También se eliminó el controlador que abría la explicación de un cuestionario en una ventana aparte, desactivado desde la versión 5.2.0. +* Actualizadas las traducciones al polaco y al vietnamita. + ### 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. diff --git a/addon/doc/fa/readme.md b/addon/doc/fa/readme.md index 93ad020..0d25cb7 100644 --- a/addon/doc/fa/readme.md +++ b/addon/doc/fa/readme.md @@ -415,6 +415,13 @@ +###نسخه 5.8.3 + +* پردازش کلیدهای Enter و فاصله که UnigramPlus در نسخهٔ 4.8.0 به فهرست دسته‌های تنظیمات Unigram افزوده بود حذف شد. در Unigram 13.0 و بالاتر، هر دستهٔ تنظیمات دکمه‌ای است که خودش با Enter یا فاصله باز می‌شود و فوکوس به جای مورد فهرستی که افزونه پردازش می‌کرد، روی همین دکمه قرار می‌گیرد؛ بنابراین این پردازش دیگر در آنجا اعمال نمی‌شد. اکنون هنگام باز کردن یک دسته، فوکوس مانند خود Unigram روی همان دسته می‌ماند و به داخل دسته منتقل نمی‌شود. این پردازش فهرست‌های زبانهٔ دیگری مانند زبانه‌های ایموجی، GIF و استیکر را هم در بر می‌گرفت و Enter و فاصله را در آنجا رهگیری می‌کرد؛ اکنون این کلیدها در آنجا نیز به Unigram می‌رسند. +* در تنظیمات Unigram، کلید Alt+1 اکنون فوکوس را به دستهٔ تنظیمات باز، یا اگر هیچ دسته‌ای باز نباشد به نخستین دسته، منتقل می‌کند. پیش‌تر این کلید فهرست دسته‌ها را در موقعیتی ثابت از صفحهٔ تنظیمات جست‌وجو می‌کرد و سپس می‌کوشید فوکوس را به عنصری منتقل کند که در Unigram 13.0 نمی‌تواند فوکوس بگیرد. +* کدی که دیگر نمی‌توانست اجرا شود حذف شد و در استفاده هیچ تغییری ایجاد نمی‌شود. پیش از Unigram 9.5، برخی موارد فهرست با یک نام کلاس داخلی خوانده می‌شدند و UnigramPlus آن را با نامی خوانا جایگزین می‌کرد؛ Unigram 9.5 نام آن کلاس‌ها را تغییر داد، بنابراین این جایگزینی‌ها دیگر هرگز اعمال نمی‌شدند. پردازشگری که توضیح آزمون را در پنجره‌ای جداگانه باز می‌کرد و از نسخهٔ 5.2.0 غیرفعال بود نیز حذف شد. +* ترجمه‌های لهستانی و ویتنامی به‌روزرسانی شد. + ###نسخه 5.8.2 * خطاهای NVDA در نسخهٔ آزمایشی جدید Unigram مبتنی بر WinUI 3 برطرف شد. از نسخهٔ 5.5.6، هر بار هنگام بازگشت به Unigram یا تایپ با ویرایشگر روش ورودی (IME)، مانند ویرایشگرهای چینی، ژاپنی یا کره‌ای، یک خطا ثبت می‌شد. نسخهٔ UWP برنامهٔ Unigram تحت تأثیر قرار نداشت. diff --git a/addon/doc/fr/readme.md b/addon/doc/fr/readme.md index 6031e62..cef9d0f 100644 --- a/addon/doc/fr/readme.md +++ b/addon/doc/fr/readme.md @@ -198,6 +198,13 @@ Les sons d'UnigramPlus se trouvent dans le dossier `appModules\media` de l'exten ##Liste des changements : +### Version 5.8.3 + +* Suppression de la gestion des touches Entrée et Espace qu'UnigramPlus ajoutait depuis la version 4.8.0 à la liste des catégories de paramètres d'Unigram. Dans Unigram 13.0 et versions ultérieures, chaque catégorie de paramètres est un bouton qui s'ouvre de lui-même avec Entrée ou Espace, et le focus arrive sur ce bouton plutôt que sur l'élément de liste que gérait l'extension ; cette gestion ne s'y appliquait donc plus. À l'ouverture d'une catégorie, le focus reste désormais sur celle-ci, comme dans Unigram lui-même, au lieu d'être déplacé dans la catégorie. Cette gestion s'appliquait aussi à d'autres listes d'onglets, comme les onglets Emoji, GIF et Stickers, où elle interceptait Entrée et Espace ; ces touches parviennent désormais aussi à Unigram à ces endroits. +* Dans les paramètres d'Unigram, Alt+1 place désormais le focus sur la catégorie de paramètres ouverte, ou sur la première catégorie si aucune n'est ouverte. Auparavant, il cherchait la liste des catégories à une position fixe de la page des paramètres, puis tentait de placer le focus sur un élément qui ne peut pas recevoir le focus dans Unigram 13.0. +* Suppression de code qui ne pouvait plus s'exécuter, sans aucun changement à l'usage. Avant Unigram 9.5, certains éléments de liste étaient annoncés par un nom de classe interne, qu'UnigramPlus remplaçait par un nom lisible ; Unigram 9.5 a renommé ces classes, si bien que ces remplacements ne s'appliquaient plus jamais. Le gestionnaire qui ouvrait l'explication d'un quiz dans une fenêtre séparée, désactivé depuis la version 5.2.0, a également été supprimé. +* Mise à jour des traductions polonaise et vietnamienne. + ### 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. diff --git a/addon/doc/hr/readme.md b/addon/doc/hr/readme.md index 8fe21ae..ff0580d 100644 --- a/addon/doc/hr/readme.md +++ b/addon/doc/hr/readme.md @@ -201,6 +201,13 @@ I zapamtite da su svi koji su pročitali ovaj red mislili da će netko sigurno p ##Popis promjena: +### Verzija 5.8.3 + +* Uklonjeno je rukovanje tipkama Enter i razmaknica koje je UnigramPlus u verziji 4.8.0 dodao popisu kategorija postavki Unigrama. U Unigramu 13.0 i novijima svaka je kategorija postavki gumb koji se sam otvara tipkom Enter ili razmaknicom, a fokus dolazi na taj gumb, a ne na stavku popisa kojom je dodatak rukovao, pa se to rukovanje ondje više nije primjenjivalo. Pri otvaranju kategorije fokus sada ostaje na njoj, kao i u samom Unigramu, umjesto da se premjesti u kategoriju. To je rukovanje obuhvaćalo i druge popise kartica, primjerice kartice Emoji, GIF-ovi i Naljepnice, gdje je presretalo Enter i razmaknicu; sada te tipke i ondje dolaze do Unigrama. +* U postavkama Unigrama Alt+1 sada premješta fokus na otvorenu kategoriju postavki ili na prvu kategoriju ako nijedna nije otvorena. Prije je popis kategorija tražio na fiksnom mjestu stranice postavki, a zatim pokušavao premjestiti fokus na element koji u Unigramu 13.0 ne može primiti fokus. +* Uklonjen je kôd koji se više nije mogao izvršiti, bez ikakve promjene u korištenju. Prije Unigrama 9.5 neke su se stavke popisa najavljivale internim nazivom klase, koji je UnigramPlus zamjenjivao čitljivim nazivom; Unigram 9.5 preimenovao je te klase, pa se te zamjene više nikad nisu primjenjivale. Uklonjen je i rukovatelj koji je objašnjenje kviza otvarao u zasebnom prozoru, a bio je isključen od verzije 5.2.0. +* Ažurirani poljski i vijetnamski prijevodi. + ### 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. diff --git a/addon/doc/pt_BR/readme.md b/addon/doc/pt_BR/readme.md index be2caa9..b3a2218 100644 --- a/addon/doc/pt_BR/readme.md +++ b/addon/doc/pt_BR/readme.md @@ -198,6 +198,13 @@ E lembre-se que todos que leram este post pensaram que alguém definitivamente a ## Lista de alterações: +### Versão 5.8.3 + +* Removido o tratamento de Enter e espaço que o UnigramPlus adicionou à lista de categorias de configurações do Unigram na versão 4.8.0. No Unigram 13.0 e posteriores, cada categoria de configurações é um botão que se abre sozinho com Enter ou espaço, e o foco vai para esse botão, e não para o item de lista que o complemento tratava, por isso esse tratamento não tinha mais efeito ali. Agora, ao abrir uma categoria, o foco permanece nela, como no próprio Unigram, em vez de ser movido para dentro da categoria. Esse tratamento também afetava outras listas de abas, como as abas Emoji, GIFs e Figurinhas, onde interceptava Enter e espaço; agora essas teclas também chegam ao Unigram nesses locais. +* Nas configurações do Unigram, Alt+1 agora move o foco para a categoria de configurações aberta, ou para a primeira categoria se nenhuma estiver aberta. Antes, ele procurava a lista de categorias em uma posição fixa da página de configurações e depois tentava mover o foco para um elemento que não pode receber o foco no Unigram 13.0. +* Removido código que não podia mais ser executado, sem nenhuma mudança no uso. Antes do Unigram 9.5, alguns itens de lista eram anunciados por um nome de classe interno, que o UnigramPlus substituía por um nome legível; o Unigram 9.5 renomeou essas classes, então essas substituições nunca mais se aplicaram. Também foi removido o tratamento que abria a explicação de um quiz em uma janela separada, desativado desde a versão 5.2.0. +* Atualizadas as traduções polonesa e vietnamita. + ### 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. diff --git a/addon/doc/pt_PT/readme.md b/addon/doc/pt_PT/readme.md index 5713c00..efa0889 100644 --- a/addon/doc/pt_PT/readme.md +++ b/addon/doc/pt_PT/readme.md @@ -198,6 +198,13 @@ E lembre-se que todos que leram este post pensaram que alguém definitivamente a ## Lista de alterações: +### Versão 5.8.3 + +* Removido o tratamento de Enter e espaço que o UnigramPlus acrescentou à lista de categorias de definições do Unigram na versão 4.8.0. No Unigram 13.0 e posteriores, cada categoria de definições é um botão que se abre por si próprio com Enter ou espaço, e o foco vai para esse botão e não para o item de lista que o complemento tratava, pelo que esse tratamento já não tinha efeito aí. Agora, ao abrir uma categoria, o foco permanece nela, tal como no próprio Unigram, em vez de ser movido para dentro da categoria. Esse tratamento também afetava outras listas de separadores, como os separadores Emoji, GIF e Autocolantes, onde intercetava Enter e espaço; agora estas teclas também chegam ao Unigram nesses locais. +* Nas definições do Unigram, Alt+1 move agora o foco para a categoria de definições aberta, ou para a primeira categoria se nenhuma estiver aberta. Antes, procurava a lista de categorias numa posição fixa da página de definições e depois tentava mover o foco para um elemento que não pode receber o foco no Unigram 13.0. +* Removido código que já não podia ser executado, sem qualquer alteração na utilização. Antes do Unigram 9.5, alguns itens de lista eram anunciados por um nome de classe interno, que o UnigramPlus substituía por um nome legível; o Unigram 9.5 mudou o nome dessas classes, pelo que essas substituições nunca mais se aplicaram. Foi também removido o tratamento que abria a explicação de um questionário numa janela separada, desativado desde a versão 5.2.0. +* Atualizadas as traduções polaca e vietnamita. + ### 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. diff --git a/addon/doc/ro/readme.md b/addon/doc/ro/readme.md index 7c8bb24..eb2042c 100644 --- a/addon/doc/ro/readme.md +++ b/addon/doc/ro/readme.md @@ -199,6 +199,13 @@ Dacă îți place cu adevărat acest add-on și ai dorința și, cel mai importa ##Lista de modificări: +### Versiunea 5.8.3 + +* A fost eliminată gestionarea tastelor Enter și Spațiu pe care UnigramPlus a adăugat-o listei de categorii de setări din Unigram în versiunea 4.8.0. În Unigram 13.0 și versiunile ulterioare, fiecare categorie de setări este un buton care se deschide singur cu Enter sau Spațiu, iar focalizarea ajunge pe acest buton, nu pe elementul de listă gestionat de add-on, așa că gestionarea nu se mai aplica acolo. Acum, când deschizi o categorie, focalizarea rămâne pe ea, ca în Unigram însuși, în loc să fie mutată în interiorul categoriei. Această gestionare afecta și alte liste de file, cum ar fi filele Emoji, GIF-uri și Stickere, unde intercepta Enter și Spațiu; acum aceste taste ajung și acolo la Unigram. +* În setările Unigram, Alt+1 mută acum focalizarea pe categoria de setări deschisă sau pe prima categorie dacă niciuna nu este deschisă. Anterior, căuta lista categoriilor într-o poziție fixă a paginii de setări și apoi încerca să mute focalizarea pe un element care nu poate primi focalizarea în Unigram 13.0. +* A fost eliminat codul care nu mai putea rula, fără nicio schimbare în utilizare. Înainte de Unigram 9.5, unele elemente de listă erau anunțate printr-un nume intern de clasă, pe care UnigramPlus îl înlocuia cu unul ușor de înțeles; Unigram 9.5 a redenumit acele clase, așa că înlocuirile nu s-au mai aplicat niciodată. A fost eliminată și gestionarea care deschidea explicația unui test într-o fereastră separată, dezactivată din versiunea 5.2.0. +* Au fost actualizate traducerile în poloneză și vietnameză. + ### 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ă. diff --git a/addon/doc/ru/readme.md b/addon/doc/ru/readme.md index 8e39636..643f75b 100644 --- a/addon/doc/ru/readme.md +++ b/addon/doc/ru/readme.md @@ -487,6 +487,13 @@ +###Версия 5.8.3 + +* Удалена обработка Enter и пробела, которую UnigramPlus добавил в список категорий настроек Unigram в версии 4.8.0. В Unigram 13.0 и новее каждая категория настроек является кнопкой, которая сама открывается по Enter или пробелу, и фокус попадает на эту кнопку, а не на элемент списка, который обрабатывало дополнение, поэтому обработка там больше не срабатывала. Теперь при открытии категории фокус остаётся на ней, как и в самом Unigram, а не перемещается внутрь категории. Эта обработка также затрагивала другие списки вкладок, например вкладки «Эмодзи», «GIF» и «Стикеры», и перехватывала там Enter и пробел; теперь эти клавиши и там передаются Unigram. +* В настройках Unigram Alt+1 теперь перемещает фокус на открытую категорию настроек или на первую категорию, если ни одна не открыта. Раньше команда искала список категорий в фиксированном месте страницы настроек и пыталась переместить фокус на элемент, который в Unigram 13.0 не может получить фокус. +* Удалён код, который больше не мог выполняться; в работе ничего не меняется. До Unigram 9.5 некоторые элементы списков озвучивались внутренним именем класса, которое UnigramPlus заменял понятным названием; в Unigram 9.5 эти классы переименованы, поэтому замены больше никогда не срабатывали. Также удалён обработчик, открывавший пояснение к викторине в отдельном окне, который был отключён с версии 5.2.0. +* Обновлены польский и вьетнамский переводы. + ###Версия 5.8.2 * Исправлены ошибки NVDA в новой бета-версии Unigram на WinUI 3. Начиная с версии 5.5.6, ошибка записывалась в журнал при каждом возвращении в Unigram или вводе текста через метод ввода (IME), например для китайского, японского или корейского языка. UWP-версия Unigram не была затронута. diff --git a/addon/doc/sr/readme.md b/addon/doc/sr/readme.md index 1fc28bd..65aefd8 100644 --- a/addon/doc/sr/readme.md +++ b/addon/doc/sr/readme.md @@ -473,6 +473,13 @@ Added Turkish localization +###Verzija 5.8.3 + +* Uklonjeno je rukovanje tasterima Enter i razmak koje je UnigramPlus u verziji 4.8.0 dodao listi kategorija podešavanja Unigrama. U Unigramu 13.0 i novijim verzijama svaka kategorija podešavanja je dugme koje se samo otvara tasterom Enter ili razmakom, a fokus dolazi na to dugme, a ne na stavku liste kojom je dodatak rukovao, pa se to rukovanje tu više nije primenjivalo. Pri otvaranju kategorije fokus sada ostaje na njoj, kao i u samom Unigramu, umesto da se pomeri u kategoriju. To rukovanje je obuhvatalo i druge liste kartica, na primer kartice Emoji, GIF-ovi i Nalepnice, gde je presretalo Enter i razmak; sada ti tasteri i tamo stižu do Unigrama. +* U podešavanjima Unigrama Alt+1 sada pomera fokus na otvorenu kategoriju podešavanja ili na prvu kategoriju ako nijedna nije otvorena. Ranije je listu kategorija tražio na fiksnom mestu stranice podešavanja, a zatim pokušavao da pomeri fokus na element koji u Unigramu 13.0 ne može da dobije fokus. +* Uklonjen je kod koji više nije mogao da se izvrši, bez ikakve promene u korišćenju. Pre Unigrama 9.5 neke stavke liste su se objavljivale internim nazivom klase, koji je UnigramPlus zamenjivao čitljivim nazivom; Unigram 9.5 je preimenovao te klase, pa se te zamene više nikad nisu primenjivale. Uklonjen je i rukovalac koji je objašnjenje kviza otvarao u posebnom prozoru, a bio je isključen od verzije 5.2.0. +* Ažurirani poljski i vijetnamski prevodi. + ###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. diff --git a/addon/doc/tr/readme.md b/addon/doc/tr/readme.md index e88246b..ab750a2 100644 --- a/addon/doc/tr/readme.md +++ b/addon/doc/tr/readme.md @@ -197,6 +197,13 @@ Bu eklentiyi çok seviyorsanız ve geliştiriciyi maddi olarak desteklemek ve b ##Değişiklik listesi: +### Sürüm 5.8.3 + +* UnigramPlus'ın 4.8.0 sürümünde Unigram ayar kategorileri listesine eklediği Enter ve Boşluk tuşu işlemesi kaldırıldı. Unigram 13.0 ve sonrasında her ayar kategorisi, Enter veya Boşluk tuşuyla kendiliğinden açılan bir düğmedir ve odak, eklentinin işlediği liste öğesine değil bu düğmeye gelir; bu nedenle söz konusu işlem orada artık uygulanmıyordu. Artık bir kategori açıldığında odak, Unigram'ın kendisinde olduğu gibi o kategoride kalıyor ve kategorinin içine taşınmıyor. Bu işlem Emoji, GIF'ler ve Çıkartmalar sekmeleri gibi başka sekme listelerini de etkiliyor ve oralarda Enter ile Boşluk tuşlarını engelliyordu; artık bu tuşlar oralarda da Unigram'a ulaşıyor. +* Unigram ayarlarında Alt+1 artık odağı açık olan ayar kategorisine, hiçbiri açık değilse ilk kategoriye taşıyor. Önceden kategori listesini ayarlar sayfasında sabit bir konumda arıyor ve ardından odağı Unigram 13.0'da odak alamayan bir öğeye taşımaya çalışıyordu. +* Artık çalışamayan kod kaldırıldı; kullanımda hiçbir şey değişmiyor. Unigram 9.5'ten önce bazı liste öğeleri dahili bir sınıf adıyla okunuyordu ve UnigramPlus bunu anlaşılır bir adla değiştiriyordu; Unigram 9.5 bu sınıfların adını değiştirdiğinden bu değiştirmeler bir daha hiç eşleşmedi. 5.2.0 sürümünden beri devre dışı olan ve test açıklamasını ayrı bir pencerede açan işleyici de kaldırıldı. +* Lehçe ve Vietnamca çeviriler güncellendi. + ### 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. diff --git a/addon/doc/uk/readme.md b/addon/doc/uk/readme.md index 7a9e2dc..7d4f369 100644 --- a/addon/doc/uk/readme.md +++ b/addon/doc/uk/readme.md @@ -197,6 +197,13 @@ ## Список змін: +### Версія 5.8.3 + +* Вилучено обробку Enter і пробілу, яку UnigramPlus додав до списку розділів налаштувань Unigram у версії 4.8.0. В Unigram 13.0 і новіших кожен розділ налаштувань є кнопкою, яка сама відкривається клавішею Enter або пробілом, і фокус потрапляє на цю кнопку, а не на елемент списку, який обробляло доповнення, тож ця обробка там більше не спрацьовувала. Тепер під час відкриття розділу фокус залишається на ньому, як і в самому Unigram, а не переноситься в область відкритого розділу. Ця обробка також зачіпала інші списки вкладок, наприклад вкладки «Емодзі», «GIF» і «Стікери», та перехоплювала там Enter і пробіл; тепер ці клавіші й там передаються Unigram. +* У налаштуваннях Unigram Alt+1 тепер переносить фокус на відкритий розділ налаштувань або на перший розділ, якщо жоден не відкрито. Раніше команда шукала список розділів у фіксованому місці сторінки налаштувань і намагалася перенести фокус на елемент, який в Unigram 13.0 не може отримати фокус. +* Вилучено код, який більше не міг виконуватися; у роботі нічого не змінюється. До Unigram 9.5 деякі елементи списків озвучувалися внутрішньою назвою класу, яку UnigramPlus замінював зрозумілою назвою; в Unigram 9.5 ці класи перейменовано, тож заміни більше ніколи не спрацьовували. Також вилучено обробник, що відкривав пояснення до вікторини в окремому вікні, який був вимкнений з версії 5.2.0. +* Оновлено польський і в'єтнамський переклади. + ### Версія 5.8.2 * Виправлено помилки NVDA в новій бета-версії Unigram на WinUI 3. Починаючи з версії 5.5.6, помилка записувалася до журналу щоразу під час повернення до Unigram або введення тексту через метод введення (IME), наприклад для китайської, японської чи корейської мови. UWP-версію Unigram це не зачіпало. diff --git a/addon/doc/zh_CN/readme.md b/addon/doc/zh_CN/readme.md index 42bd1f4..92faf63 100644 --- a/addon/doc/zh_CN/readme.md +++ b/addon/doc/zh_CN/readme.md @@ -199,6 +199,13 @@ UnigramPlus 的声音文件位于插件的 `appModules\media` 文件夹。请打 ## 版本变更 +### 版本 5.8.3 + +* 移除 UnigramPlus 自 4.8.0 版起为 Unigram 设置类别列表添加的 Enter 和空格键处理。在 Unigram 13.0 及更高版本中,每个设置类别都是一个按钮,按 Enter 或空格键即可自行打开,焦点也会落在该按钮上,而不是插件所处理的列表项,因此这项处理已不再生效。现在打开类别后,焦点会像 Unigram 本身一样停留在该类别上,不会再移入类别内容。这项处理此前也会作用于其他标签页列表(例如表情符号、GIF 和贴纸标签页),并拦截其中的 Enter 和空格键;现在这些按键在那里也会交由 Unigram 处理。 +* 在 Unigram 设置中,Alt+1 现在会将焦点移到当前打开的设置类别;如果没有打开任何类别,则移到第一个类别。此前它会在设置页面的固定位置查找类别列表,然后尝试将焦点移到一个在 Unigram 13.0 中无法获得焦点的元素。 +* 移除已无法执行的代码,使用上没有任何变化。Unigram 9.5 之前,部分列表项会以内部类名朗读,UnigramPlus 会将其替换为易懂的名称;Unigram 9.5 更改了这些类的名称,因此这些替换再也不会生效。另外也移除了自 5.2.0 版起已停用、用于在单独窗口中打开测验解释的处理程序。 +* 更新波兰语和越南语翻译。 + ### 版本 5.8.2 * 修正新版 Unigram WinUI 3 测试版的 NVDA 错误。自 5.5.6 版起,每次切回 Unigram 或使用中文、日文、韩文等输入法(IME)输入文字时,NVDA 都会记录一条错误。Unigram 的 UWP 版本不受影响。 diff --git a/addon/doc/zh_TW/readme.md b/addon/doc/zh_TW/readme.md index 947618e..e4d48eb 100644 --- a/addon/doc/zh_TW/readme.md +++ b/addon/doc/zh_TW/readme.md @@ -199,6 +199,13 @@ UnigramPlus 的音效檔案位於附加元件的 `appModules\media` 資料夾。 ## 版本變更 +### 版本 5.8.3 + +* 移除 UnigramPlus 自 4.8.0 版起為 Unigram 設定類別清單加入的 Enter 與空格鍵處理。在 Unigram 13.0 及更新版本中,每個設定類別都是一個按鈕,按 Enter 或空格鍵即可自行開啟,焦點也會落在該按鈕上,而不是附加元件所處理的清單項目,因此這項處理已不再生效。現在開啟類別後,焦點會如同 Unigram 本身的行為一樣停留在該類別上,不會再移入類別內容。這項處理先前也會套用到其他分頁清單(例如表情符號、GIF 與貼圖分頁)並攔截其中的 Enter 與空格鍵,現在這些按鍵在那裡也會交由 Unigram 處理。 +* 在 Unigram 設定中,Alt+1 現在會將焦點移到目前開啟的設定類別;若沒有開啟任何類別,則移到第一個類別。先前它是在設定頁面的固定位置尋找類別清單,接著嘗試把焦點移到一個在 Unigram 13.0 中無法取得焦點的元素。 +* 移除已無法執行的程式碼,使用上沒有任何變化。Unigram 9.5 之前,部分清單項目會以內部類別名稱讀出,UnigramPlus 會將其替換為易懂的名稱;Unigram 9.5 更改了這些類別的名稱,因此這些替換再也不會生效。另外也移除了自 5.2.0 版起已停用、用於在獨立視窗中開啟測驗解釋的處理程式。 +* 更新波蘭文與越南文翻譯。 + ### 版本 5.8.2 * 修正新版 Unigram WinUI 3 測試版的 NVDA 錯誤。自 5.5.6 版起,每次切回 Unigram 或使用中文、日文、韓文等輸入法(IME)輸入文字時,NVDA 都會記錄一筆錯誤。Unigram 的 UWP 版本不受影響。 diff --git a/addon/locale/ar/LC_MESSAGES/nvda.po b/addon/locale/ar/LC_MESSAGES/nvda.po index 59dff1b..a64f5e0 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- تمت إزالة معالجة UnigramPlus الخاصة لمفتاحي Enter والمسافة في قائمة فئات إعدادات Unigram: في Unigram 13.0 وما بعده، أصبحت الفئات أزرارًا تُفتح بهذين المفتاحين من تلقاء نفسها. كما لم يعد يتم اعتراض Enter والمسافة في علامات تبويب أخرى، مثل علامات تبويب الرموز التعبيرية وGIF والملصقات.\n" +"- في إعدادات Unigram، أصبح Alt+1 ينقل التركيز الآن إلى فئة الإعدادات المفتوحة.\n" +"- تمت إزالة شيفرة لم يعد من الممكن تشغيلها: استبدالات أسماء عناصر القوائم الخاصة بإصدارات Unigram السابقة للإصدار 9.5، ونافذة شرح الاختبار المعطلة منذ الإصدار 5.2.0.\n" +"- تم تحديث الترجمتين البولندية والفيتنامية." + 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" diff --git a/addon/locale/cs/LC_MESSAGES/nvda.po b/addon/locale/cs/LC_MESSAGES/nvda.po index 9515049..6a68717 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Odstraněno vlastní zpracování kláves Enter a mezerník doplňkem UnigramPlus v seznamu kategorií nastavení Unigramu: v Unigramu 13.0 a novějším jsou kategorie tlačítka, která se těmito klávesami otevírají sama. Enter a mezerník už nejsou zachytávány ani na jiných kartách, například na kartách Emoji, GIFy a Nálepky.\n" +"- V nastavení Unigramu nyní Alt+1 přesune fokus na otevřenou kategorii nastavení.\n" +"- Odstraněn kód, který se už nemohl spustit: náhrady názvů položek seznamů z verzí Unigramu starších než 9.5 a okno s vysvětlením kvízu, vypnuté od verze 5.2.0.\n" +"- Aktualizován polský a vietnamský překlad." + 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" diff --git a/addon/locale/es/LC_MESSAGES/nvda.po b/addon/locale/es/LC_MESSAGES/nvda.po index 415fa07..3710a71 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Generator: Poedit 3.4.1\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Eliminado el manejo propio de UnigramPlus de Enter y espacio en la lista de categorías de configuración de Unigram: en Unigram 13.0 y posteriores, las categorías son botones que se abren por sí mismos con estas teclas. Enter y espacio tampoco se interceptan ya en otras pestañas, como las de Emoji, GIF y Stickers.\n" +"- En la configuración de Unigram, Alt+1 ahora mueve el foco a la categoría de configuración abierta.\n" +"- Eliminado código que ya no podía ejecutarse: los reemplazos de nombres de elementos de lista de las versiones de Unigram anteriores a la 9.5 y la ventana de explicación de cuestionarios, desactivada desde la versión 5.2.0.\n" +"- Actualizadas las traducciones al polaco y al vietnamita." + 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" diff --git a/addon/locale/fa/LC_MESSAGES/nvda.po b/addon/locale/fa/LC_MESSAGES/nvda.po index 7902aef..d13ffd3 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- پردازش اختصاصی UnigramPlus برای کلیدهای Enter و فاصله در فهرست دسته‌های تنظیمات Unigram حذف شد: در Unigram 13.0 و بالاتر، دسته‌ها دکمه‌هایی هستند که خودشان با این کلیدها باز می‌شوند. همچنین Enter و فاصله دیگر در زبانه‌های دیگر، مانند زبانه‌های ایموجی، GIF و استیکر، رهگیری نمی‌شوند.\n" +"- در تنظیمات Unigram، کلید Alt+1 اکنون فوکوس را به دستهٔ تنظیمات باز منتقل می‌کند.\n" +"- کدی که دیگر نمی‌توانست اجرا شود حذف شد: جایگزینی نام موارد فهرست برای نسخه‌های Unigram پیش از 9.5، و پنجرهٔ توضیح آزمون که از نسخهٔ 5.2.0 غیرفعال بود.\n" +"- ترجمه‌های لهستانی و ویتنامی به‌روزرسانی شد." + 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" diff --git a/addon/locale/fr/LC_MESSAGES/nvda.po b/addon/locale/fr/LC_MESSAGES/nvda.po index 8f7e48c..7eb94c9 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Suppression de la gestion propre à UnigramPlus des touches Entrée et Espace dans la liste des catégories de paramètres d'Unigram : dans Unigram 13.0 et versions ultérieures, les catégories sont des boutons qui s'ouvrent d'eux-mêmes avec ces touches. Entrée et Espace ne sont plus non plus interceptées dans d'autres onglets, comme les onglets Emoji, GIF et Stickers.\n" +"- Dans les paramètres d'Unigram, Alt+1 place désormais le focus sur la catégorie de paramètres ouverte.\n" +"- Suppression de code qui ne pouvait plus s'exécuter : les remplacements de noms d'éléments de liste des versions d'Unigram antérieures à la 9.5, et la fenêtre d'explication des quiz, désactivée depuis la version 5.2.0.\n" +"- Mise à jour des traductions polonaise et vietnamienne." + 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" diff --git a/addon/locale/hr/LC_MESSAGES/nvda.po b/addon/locale/hr/LC_MESSAGES/nvda.po index f085ab0..3908562 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-Bookmarks: -1,116,-1,-1,-1,-1,-1,-1,-1,-1\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Uklonjeno je posebno rukovanje UnigramPlusa tipkama Enter i razmaknica na popisu kategorija postavki Unigrama: u Unigramu 13.0 i novijima kategorije su gumbi koji se sami otvaraju tim tipkama. Enter i razmaknica više se ne presreću ni na drugim karticama, primjerice na karticama Emoji, GIF-ovi i Naljepnice.\n" +"- U postavkama Unigrama Alt+1 sada premješta fokus na otvorenu kategoriju postavki.\n" +"- Uklonjen je kôd koji se više nije mogao izvršiti: zamjene naziva stavki popisa iz verzija Unigrama starijih od 9.5 i prozor s objašnjenjem kviza, isključen od verzije 5.2.0.\n" +"- Ažurirani poljski i vijetnamski prijevodi." + 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" diff --git a/addon/locale/it/LC_MESSAGES/nvda.po b/addon/locale/it/LC_MESSAGES/nvda.po index 7e6fb64..232d78a 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Rimossa la gestione propria di UnigramPlus dei tasti Invio e Spazio nell'elenco delle categorie delle impostazioni di Unigram: in Unigram 13.0 e successivi le categorie sono pulsanti che si aprono da soli con questi tasti. Invio e Spazio non vengono più intercettati nemmeno in altre schede, come le schede Emoji, GIF e Sticker.\n" +"- Nelle impostazioni di Unigram, Alt+1 ora sposta il focus sulla categoria di impostazioni aperta.\n" +"- Rimosso codice che non poteva più essere eseguito: le sostituzioni dei nomi degli elementi di elenco delle versioni di Unigram precedenti alla 9.5 e la finestra di spiegazione dei quiz, disattivata dalla versione 5.2.0.\n" +"- Aggiornate le traduzioni polacca e vietnamita." + 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" diff --git a/addon/locale/my/LC_MESSAGES/nvda.po b/addon/locale/my/LC_MESSAGES/nvda.po index 405c001..14064b2 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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" @@ -964,6 +964,17 @@ msgstr "" "ကီးများစွာကို ပေါင်းထည့်ကာ Unigram တွင် အလုပ်လုပ်ရန် ပိုမိုလွယ်ကူစေမည့် သေးငယ်သော တိုးတက်မှုများစွာကိုလည်း ပေါင်းထည့်ထားသည်။" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Unigram ဆက်တင်အမျိုးအစားစာရင်းတွင် UnigramPlus က Enter နှင့် Space ကီးများအတွက် သီးသန့်ကိုင်တွယ်ပေးခဲ့ခြင်းကို ဖယ်ရှားလိုက်ပါပြီ။ Unigram 13.0 နှင့် နောက်ပိုင်းဗားရှင်းများတွင် အမျိုးအစားများသည် ဤကီးများဖြင့် ကိုယ်တိုင်ပွင့်သော ခလုတ်များ ဖြစ်ပါသည်။ Emoji၊ GIF နှင့် Sticker တဘ်များကဲ့သို့ အခြားတဘ်များတွင်လည်း Enter နှင့် Space ကို ကြားဖြတ်မယူတော့ပါ။\n" +"- Unigram ဆက်တင်များတွင် Alt+1 သည် ယခု focus ကို ဖွင့်ထားသော ဆက်တင်အမျိုးအစားသို့ ရွှေ့ပေးပါသည်။\n" +"- မလည်ပတ်နိုင်တော့သော ကုဒ်များကို ဖယ်ရှားလိုက်ပါပြီ။ ၎င်းတို့မှာ Unigram 9.5 မတိုင်မီ ဗားရှင်းများအတွက် စာရင်းအကြောင်းအရာ အမည်အစားထိုးခြင်းများနှင့် ဗားရှင်း 5.2.0 ကတည်းက ပိတ်ထားသော quiz ရှင်းလင်းချက် ဝင်းဒိုး ဖြစ်ပါသည်။\n" +"- ပိုလန်နှင့် ဗီယက်နမ်ဘာသာပြန်များကို မွမ်းမံပြီးပါပြီ။" + 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" diff --git a/addon/locale/ne/LC_MESSAGES/nvda.po b/addon/locale/ne/LC_MESSAGES/nvda.po index de4e980..1bccf0c 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Unigram को सेटिङ श्रेणी सूचीमा UnigramPlus ले Enter र स्पेसका लागि गर्ने आफ्नै व्यवस्थापन हटाइयो: Unigram 13.0 र पछिका संस्करणहरूमा श्रेणीहरू यी कुञ्जीहरूले आफैँ खुल्ने बटनहरू हुन्। इमोजी, GIF र स्टिकर ट्याबहरू जस्ता अन्य ट्याबहरूमा पनि अब Enter र स्पेस रोकिँदैनन्।\n" +"- Unigram सेटिङमा Alt+1 ले अब फोकसलाई खुला सेटिङ श्रेणीमा लैजान्छ।\n" +"- अब चल्न नसक्ने कोड हटाइयो: Unigram 9.5 भन्दा पहिलेका संस्करणहरूका लागि सूची वस्तुहरूको नाम प्रतिस्थापन, र संस्करण 5.2.0 देखि निष्क्रिय क्विज व्याख्या सञ्झ्याल।\n" +"- पोलिस र भियतनामी अनुवादहरू अद्यावधिक गरियो।" + 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" diff --git a/addon/locale/pl/LC_MESSAGES/nvda.po b/addon/locale/pl/LC_MESSAGES/nvda.po index 3d1a6e4..bee6aa4 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\n" "Report-Msgid-Bugs-To: nvda-translations@groups.io\n" "POT-Creation-Date: 2026-10-10 15:55+0000\n" "PO-Revision-Date: 2026-10-10 19:41+0200\n" @@ -1125,6 +1125,17 @@ msgstr "" "ułatwiają korzystanie z Unigrama." #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Usunięto własną obsługę klawiszy Enter i spacja przez UnigramPlus na liście kategorii ustawień Unigrama: w Unigramie 13.0 i nowszych kategorie są przyciskami, które same otwierają się tymi klawiszami. Enter i spacja nie są już też przechwytywane na innych kartach, takich jak karty Emoji, GIF-y i Naklejki.\n" +"- W ustawieniach Unigrama Alt+1 przenosi teraz fokus na otwartą kategorię ustawień.\n" +"- Usunięto kod, który nie mógł się już wykonać: zamiany nazw elementów list z wersji Unigrama starszych niż 9.5 oraz okno z wyjaśnieniem quizu, wyłączone od wersji 5.2.0.\n" +"- Zaktualizowano tłumaczenia na język polski i wietnamski." + 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" diff --git a/addon/locale/pt_BR/LC_MESSAGES/nvda.po b/addon/locale/pt_BR/LC_MESSAGES/nvda.po index 12bfd52..dc02a18 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Removido o tratamento próprio do UnigramPlus para Enter e espaço na lista de categorias de configurações do Unigram: no Unigram 13.0 e posteriores, as categorias são botões que se abrem sozinhos com essas teclas. Enter e espaço também não são mais interceptados em outras abas, como as abas Emoji, GIFs e Figurinhas.\n" +"- Nas configurações do Unigram, Alt+1 agora move o foco para a categoria de configurações aberta.\n" +"- Removido código que não podia mais ser executado: as substituições de nomes de itens de lista das versões do Unigram anteriores à 9.5 e a janela de explicação de quizzes, desativada desde a versão 5.2.0.\n" +"- Atualizadas as traduções polonesa e vietnamita." + 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" diff --git a/addon/locale/pt_PT/LC_MESSAGES/nvda.po b/addon/locale/pt_PT/LC_MESSAGES/nvda.po index 9b9cb7c..4682eb3 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Removido o tratamento próprio do UnigramPlus para Enter e espaço na lista de categorias de definições do Unigram: no Unigram 13.0 e posteriores, as categorias são botões que se abrem por si próprios com estas teclas. Enter e espaço também já não são intercetados noutros separadores, como os separadores Emoji, GIF e Autocolantes.\n" +"- Nas definições do Unigram, Alt+1 move agora o foco para a categoria de definições aberta.\n" +"- Removido código que já não podia ser executado: as substituições de nomes de itens de lista das versões do Unigram anteriores à 9.5 e a janela de explicação de questionários, desativada desde a versão 5.2.0.\n" +"- Atualizadas as traduções polaca e vietnamita." + 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" diff --git a/addon/locale/ro/LC_MESSAGES/nvda.po b/addon/locale/ro/LC_MESSAGES/nvda.po index 373ea25..c49f2b1 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- A fost eliminată gestionarea proprie a tastelor Enter și Spațiu de către UnigramPlus în lista categoriilor de setări din Unigram: în Unigram 13.0 și versiunile ulterioare, categoriile sunt butoane care se deschid singure cu aceste taste. Enter și Spațiu nu mai sunt interceptate nici în alte file, cum ar fi filele Emoji, GIF-uri și Stickere.\n" +"- În setările Unigram, Alt+1 mută acum focalizarea pe categoria de setări deschisă.\n" +"- A fost eliminat codul care nu mai putea rula: înlocuirile de nume ale elementelor de listă din versiunile Unigram anterioare versiunii 9.5 și fereastra cu explicația testului, dezactivată din versiunea 5.2.0.\n" +"- Au fost actualizate traducerile în poloneză și vietnameză." + 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" diff --git a/addon/locale/ru/LC_MESSAGES/nvda.po b/addon/locale/ru/LC_MESSAGES/nvda.po index bdf77d1..e8c4aac 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Generator: Poedit 3.4.2\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Удалена собственная обработка Enter и пробела в UnigramPlus для списка категорий настроек Unigram: в Unigram 13.0 и новее категории являются кнопками, которые сами открываются этими клавишами. Enter и пробел также больше не перехватываются на других вкладках, например на вкладках «Эмодзи», «GIF» и «Стикеры».\n" +"- В настройках Unigram Alt+1 теперь перемещает фокус на открытую категорию настроек.\n" +"- Удалён код, который больше не мог выполняться: замены имён элементов списков для версий Unigram до 9.5 и окно с пояснением к викторине, отключённое с версии 5.2.0.\n" +"- Обновлены польский и вьетнамский переводы." + 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" diff --git a/addon/locale/sr/LC_MESSAGES/nvda.po b/addon/locale/sr/LC_MESSAGES/nvda.po index c2aad18..75b305f 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Uklonjeno je posebno rukovanje UnigramPlusa tasterima Enter i razmak na listi kategorija podešavanja Unigrama: u Unigramu 13.0 i novijim verzijama kategorije su dugmad koja se sama otvaraju tim tasterima. Enter i razmak se više ne presreću ni na drugim karticama, na primer na karticama Emoji, GIF-ovi i Nalepnice.\n" +"- U podešavanjima Unigrama Alt+1 sada pomera fokus na otvorenu kategoriju podešavanja.\n" +"- Uklonjen je kod koji više nije mogao da se izvrši: zamene naziva stavki liste iz verzija Unigrama starijih od 9.5 i prozor sa objašnjenjem kviza, isključen od verzije 5.2.0.\n" +"- Ažurirani poljski i vijetnamski prevodi." + 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" diff --git a/addon/locale/tr/LC_MESSAGES/nvda.po b/addon/locale/tr/LC_MESSAGES/nvda.po index 9cb5375..3543675 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- UnigramPlus'ın Unigram ayar kategorileri listesinde Enter ve Boşluk tuşları için yaptığı özel işlem kaldırıldı: Unigram 13.0 ve sonrasında kategoriler, bu tuşlarla kendiliğinden açılan düğmelerdir. Enter ve Boşluk tuşları artık Emoji, GIF'ler ve Çıkartmalar sekmeleri gibi diğer sekmelerde de engellenmiyor.\n" +"- Unigram ayarlarında Alt+1 artık odağı açık olan ayar kategorisine taşıyor.\n" +"- Artık çalışamayan kod kaldırıldı: 9.5 öncesi Unigram sürümleri için liste öğesi adı değiştirmeleri ve 5.2.0 sürümünden beri devre dışı olan test açıklaması penceresi.\n" +"- Lehçe ve Vietnamca çeviriler güncellendi." + 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" diff --git a/addon/locale/uk/LC_MESSAGES/nvda.po b/addon/locale/uk/LC_MESSAGES/nvda.po index f7f2879..eb2a2ca 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Вилучено власну обробку Enter і пробілу в UnigramPlus для списку розділів налаштувань Unigram: в Unigram 13.0 і новіших розділи є кнопками, які самі відкриваються цими клавішами. Enter і пробіл також більше не перехоплюються на інших вкладках, наприклад на вкладках «Емодзі», «GIF» і «Стікери».\n" +"- У налаштуваннях Unigram Alt+1 тепер переносить фокус на відкритий розділ налаштувань.\n" +"- Вилучено код, який більше не міг виконуватися: заміни назв елементів списків для версій Unigram до 9.5 і вікно з поясненням до вікторини, вимкнене з версії 5.2.0.\n" +"- Оновлено польський і в'єтнамський переклади." + 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" diff --git a/addon/locale/vi/LC_MESSAGES/nvda.po b/addon/locale/vi/LC_MESSAGES/nvda.po index 0ce58f2..4aa81c2 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\n" "Report-Msgid-Bugs-To: 'nvda-translations@groups.io'\n" "POT-Creation-Date: 2026-10-11 08:31+0700\n" "PO-Revision-Date: 2026-10-11 09:45+0700\n" @@ -1120,6 +1120,17 @@ msgstr "" "dàng hơn nhiều" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- Đã gỡ bỏ cách xử lý riêng của UnigramPlus cho phím Enter và phím cách trong danh sách các mục cài đặt của Unigram: từ Unigram 13.0 trở lên, các mục này là những nút tự mở bằng các phím đó. Phím Enter và phím cách cũng không còn bị chặn ở các thẻ khác, chẳng hạn như các thẻ Emoji, GIF và Nhãn dán.\n" +"- Trong phần cài đặt của Unigram, Alt+1 giờ sẽ chuyển tiêu điểm đến mục cài đặt đang mở.\n" +"- Đã gỡ bỏ mã không thể chạy được nữa: phần thay thế tên mục danh sách cho các phiên bản Unigram trước 9.5, và cửa sổ giải thích câu đố đã bị tắt từ phiên bản 5.2.0.\n" +"- Đã cập nhật bản dịch tiếng Ba Lan và tiếng Việt." + 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" diff --git a/addon/locale/zh_CN/LC_MESSAGES/nvda.po b/addon/locale/zh_CN/LC_MESSAGES/nvda.po index 9c2255e..aa3bd23 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Generator: Codex\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- 移除 UnigramPlus 在 Unigram 设置类别列表中对 Enter 和空格键的特殊处理:在 Unigram 13.0 及更高版本中,各设置类别都是按钮,按这两个键即可自行打开。在其他标签页(例如表情符号、GIF 和贴纸标签页)上,Enter 和空格键也不再被拦截。\n" +"- 在 Unigram 设置中,Alt+1 现在会将焦点移到当前打开的设置类别。\n" +"- 移除已无法执行的代码:针对 Unigram 9.5 之前版本的列表项名称替换,以及自 5.2.0 版起已停用的测验解释窗口。\n" +"- 更新波兰语和越南语翻译。" + 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" diff --git a/addon/locale/zh_TW/LC_MESSAGES/nvda.po b/addon/locale/zh_TW/LC_MESSAGES/nvda.po index f26e109..689174d 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.2\n" +"Project-Id-Version: UnigramPlus 5.8.3\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,17 @@ msgstr "" "X-Generator: Poedit 3.9\n" #: changelog.py:5 +msgid "" +"- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs.\n" +"- In Unigram settings, Alt+1 now moves the focus to the open settings category.\n" +"- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0.\n" +"- Updated the Polish and Vietnamese translations." +msgstr "" +"- 移除 UnigramPlus 在 Unigram 設定類別清單中對 Enter 與空格鍵的特殊處理:在 Unigram 13.0 及更新版本中,各設定類別都是按鈕,按這兩個鍵即可自行開啟。在其他分頁(例如表情符號、GIF 與貼圖分頁)上,Enter 與空格鍵也不再被攔截。\n" +"- 在 Unigram 設定中,Alt+1 現在會將焦點移到目前開啟的設定類別。\n" +"- 移除已無法執行的程式碼:針對 Unigram 9.5 之前版本的清單項目名稱替換,以及自 5.2.0 版起已停用的測驗解釋視窗。\n" +"- 更新波蘭文與越南文翻譯。" + 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" diff --git a/buildVars.py b/buildVars.py index 7366e9d..0d31a0c 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.2", + addon_version="5.8.3", # 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 89f67a9..4f88610 100644 --- a/changelog.py +++ b/changelog.py @@ -2,8 +2,8 @@ def _(t): return t value = _( - """- 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. -- Removed the notification when a voice or video message recording is canceled: Unigram 13.0 and later announce it themselves, so it is no longer heard twice. + """- Removed UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs. +- In Unigram settings, Alt+1 now moves the focus to the open settings category. +- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0. - Updated the Polish and Vietnamese translations.""" ) diff --git a/pyproject.toml b/pyproject.toml index 58f5383..17afc50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "unigramplus" -version = "5.8.2" +version = "5.8.3" description = "NVDA add-on for Unigram" maintainers = [ {name = "Kostya Gladkiy", email = "gladkiy.kostya@gmail.com"}, diff --git a/readme.md b/readme.md index 26f0b46..1479be8 100644 --- a/readme.md +++ b/readme.md @@ -200,6 +200,13 @@ And remember that everyone who read this line thought that someone will definite ## List of changes: +### Version 5.8.3 + +* Removed the Enter and Space handling that UnigramPlus added to the list of Unigram settings categories in version 4.8.0. In Unigram 13.0 and later, each settings category is a button that opens with Enter or Space by itself, and the focus lands on that button rather than on the list item the add-on handled, so the handling no longer applied there. When you open a category, the focus now stays on it, as in Unigram itself, instead of moving into the category. The handling had also caught other tab lists, such as the Emoji, GIFs and Stickers tabs, and intercepted Enter and Space there; these keys now reach Unigram there as well. +* In Unigram settings, Alt+1 now moves the focus to the open settings category, or to the first category if none is open. It used to look for the category list at a fixed position on the settings page and then tried to focus an element that cannot receive the focus in Unigram 13.0. +* Removed code that could no longer run, with no change in use. Before Unigram 9.5, some list items were announced by an internal class name, which UnigramPlus replaced with a readable one; Unigram 9.5 renamed those classes, so the replacements never matched again. The handler that opened a quiz explanation in a separate window, disabled since version 5.2.0, was removed as well. +* Updated the Polish and Vietnamese translations. + ### 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. diff --git a/tests/test_localization.py b/tests/test_localization.py index f2c13cf..b84c1ed 100644 --- a/tests/test_localization.py +++ b/tests/test_localization.py @@ -8,6 +8,12 @@ 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 UnigramPlus's own Enter and Space handling in the list of Unigram settings categories: in Unigram 13.0 and later, the categories are buttons that open with these keys themselves. Enter and Space are also no longer intercepted on other tabs, such as the Emoji, GIFs and Stickers tabs. +- In Unigram settings, Alt+1 now moves the focus to the open settings category. +- Removed code that could no longer run: name replacements for list items from Unigram versions before 9.5, and the quiz explanation window disabled since version 5.2.0. +- Updated the Polish and Vietnamese translations.""" +) +PREVIOUS_RELEASE_CHANGELOG = ( """- 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. - Removed the notification when a voice or video message recording is canceled: Unigram 13.0 and later announce it themselves, so it is no longer heard twice. @@ -133,14 +139,14 @@ def test_required_strings_are_translated_in_every_locale(): ) -def test_release_version_is_582(): +def test_release_version_is_583(): 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.2"' in build_vars - assert 'version = "5.8.2"' in pyproject - assert 'name = "unigramplus"\nversion = "5.8.2"' in lockfile + assert 'addon_version="5.8.3"' in build_vars + assert 'version = "5.8.3"' in pyproject + assert 'name = "unigramplus"\nversion = "5.8.3"' 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. @@ -148,18 +154,18 @@ def test_release_version_is_582(): assert "version = {addon_version}" in template -def test_catalogs_keep_the_582_translation_metadata(): +def test_catalogs_keep_the_583_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.2\\n"' in catalog + assert '"Project-Id-Version: UnigramPlus 5.8.3\\n"' in catalog def test_current_release_changelog_comes_from_the_changelog_source(): changelog = (ROOT / "changelog.py").read_text(encoding="utf-8") - assert "WinUI 3" in changelog - assert "Telegram Desktop add-on" in changelog + assert "settings categories" in changelog + assert "Alt+1" in changelog assert "Unigram 13.0" in changelog @@ -167,11 +173,26 @@ def test_every_catalog_translates_the_current_release_changelog(): for locale_dir in sorted(path for path in LOCALE_DIR.iterdir() if path.is_dir()): entries = _parse_po(locale_dir / "LC_MESSAGES" / "nvda.po") assert entries.get(RELEASE_CHANGELOG), locale_dir.name + assert entries[RELEASE_CHANGELOG].count("\n") == 3, locale_dir.name + for marker in ("Alt+1", "13.0", "9.5", "5.2.0"): + assert marker in entries[RELEASE_CHANGELOG], (locale_dir.name, marker) + # The 5.8.2 notes stay translated in each catalog's history. + assert entries.get(PREVIOUS_RELEASE_CHANGELOG), locale_dir.name 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_583 = text.index("5.8.3") + section_583 = text[version_583:text.index("5.8.2", version_583)] + assert section_583.count("\n* ") == 4, manual + assert "version 4.8.0" in section_583, manual + assert "Unigram 13.0" in section_583, manual + assert "Emoji, GIFs and Stickers" in section_583, manual + assert "Alt+1" in section_583, manual + assert "Unigram 9.5" in section_583, manual + assert "version 5.2.0" in section_583, manual + assert "Polish and Vietnamese" in section_583, manual version_582 = text.index("5.8.2") version_581 = text.index("5.8.1", version_582) section_582 = text[version_582:version_581] @@ -194,11 +215,17 @@ def test_the_english_manual_carries_the_current_release(): assert "version 5.4" in section_580, manual -def test_every_localized_manual_has_582_581_and_580_changelogs(): +def test_every_localized_manual_has_583_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_583 = text.index("5.8.3") + section_583 = text[version_583:text.index("5.8.2", version_583)] + assert section_583.count("\n* ") == 4, manual + for marker in ("4.8.0", "13.0", "Alt+1", "GIF", "9.5", "5.2.0"): + assert marker in section_583, (manual, marker) + assert "Enter" in section_583 or "Entrée" in section_583, manual version_582 = text.index("5.8.2") section_582 = text[version_582:text.index("5.8.1", version_582)] assert section_582.count("\n* ") == 4, manual diff --git a/tests/test_message_classification.py b/tests/test_message_classification.py index ded2f79..d3d1a46 100644 --- a/tests/test_message_classification.py +++ b/tests/test_message_classification.py @@ -78,7 +78,7 @@ def _chat_predicate(): return namespace["_is_chat_list_item"] -def _overlay_classes_for(obj): +def _overlay_classes_for(obj, **extra_namespace): message_overlay = type("Message_list_item", (), {}) chat_overlay = type("ChatListItem", (), {}) namespace = { @@ -86,7 +86,6 @@ def _overlay_classes_for(obj): "State": SimpleNamespace(SELECTED="selected"), "Message_list_item": message_overlay, "ChatListItem": chat_overlay, - "SettingsPanelListItem": type("SettingsPanelListItem", (), {}), "EditableText": type("EditableText", (), {}), "Audio_and_video_button": type("Audio_and_video_button", (), {}), "keywordsInMessages": {"en": ("seen", "not seen", "Sent at", "Received at")}, @@ -96,6 +95,7 @@ def _overlay_classes_for(obj): "_is_message_list_item": _message_predicate(), "is_recording_button": lambda candidate: False, } + namespace.update(extra_namespace) chooser = _load_overlay_chooser(namespace) app = SimpleNamespace( isUnigramWindow=True, @@ -239,6 +239,25 @@ def test_chat_rows_with_message_like_summaries_keep_the_chat_overlay(): assert chat_overlay in classes +def test_navigation_tabs_keep_their_native_enter_and_space(): + """Unigram names several tab lists "Navigation", not only the settings one. + + The sticker panel's Emoji, GIFs and Stickers tabs are focusable rows of + such a list. The settings-category overlay removed in 5.8.3 matched them + too and took over Enter and Space there. + """ + tabs = Node(automation_id="Navigation", role="list") + for name in ("Emoji", "GIFs", "Stickers"): + tab = Node(parent=tabs, class_name="TopNavViewItem", name=name) + + # Defined so that a chooser still naming the old overlay would add it, + # rather than fail on the name inside its catch-all. + classes, _app, _message_overlay, _chat_overlay = _overlay_classes_for( + tab, SettingsPanelListItem=type("SettingsPanelListItem", (), {}) + ) + assert classes == [], name + + def test_message_overlay_does_not_override_the_provider_automation_id(): message_class = next( node diff --git a/tests/test_settings_navigation.py b/tests/test_settings_navigation.py new file mode 100644 index 0000000..f94756a --- /dev/null +++ b/tests/test_settings_navigation.py @@ -0,0 +1,143 @@ +"""Unigram 13.0 settings categories: native Enter/Space, Alt+1 focus target. + +Unigram 13.0 (commit fab889d04, "Improve settings keyboard navigation") set +IsTabStop to False on the TopNavViewItem rows of the settings page's +"Navigation" list. The focus now lands on the SettingsButton inside each row, +which opens its category with Enter or Space natively. +""" + +import ast +from pathlib import Path +from types import SimpleNamespace + + +ROOT = Path(__file__).resolve().parents[1] +SOURCE_PATH = ROOT / "addon" / "appModules" / "unigram.py" + + +class Element: + """A UIA element with the relations get_settings_list walks.""" + + def __init__(self, automation_id="", role="", name="", states=(), children=()): + self.UIAAutomationId = automation_id + self.role = role + self.name = name + self.states = set(states) + self.children = list(children) + self.next = None + for previous, following in zip(self.children, self.children[1:]): + previous.next = following + + @property + def firstChild(self): + return self.children[0] if self.children else None + + +def _module(): + return ast.parse(SOURCE_PATH.read_text(encoding="utf-8")) + + +def _load_settings_list_finder(): + module = _module() + relative = next( + node for node in module.body if isinstance(node, ast.FunctionDef) and node.name == "_relative" + ) + app_module = next( + node for node in module.body if isinstance(node, ast.ClassDef) and node.name == "AppModule" + ) + method = next( + node + for node in app_module.body + if isinstance(node, ast.FunctionDef) and node.name == "get_settings_list" + ) + namespace = { + "Role": SimpleNamespace(PANE="pane"), + "State": SimpleNamespace(SELECTED="selected"), + } + exec(compile(ast.Module(body=[relative, method], type_ignores=[]), str(SOURCE_PATH), "exec"), namespace) + return namespace["get_settings_list"] + + +def _category(name, selected=False): + """A TopNavViewItem row holding its SettingsButton, as in Unigram 13.0.""" + button = Element(automation_id=name, role="button", name=name) + row = Element(role="listItem", name=name, states=("selected",) if selected else (), children=[button]) + return row, button + + +def _settings_page(categories): + # SettingsPage.xaml: the profile header comes first, then the category list. + return Element( + automation_id="ScrollingHost", + role="pane", + children=[ + Element(role="link", name="Profile picture"), + Element(automation_id="Title", role="staticText", name="Ken"), + Element(automation_id="Identity", role="graphic"), + Element(automation_id="Subtitle", role="staticText", name="online"), + Element(role="button", name="QR code", children=[Element(role="staticText", name="")]), + Element(automation_id="Navigation", role="list", children=categories), + Element(role="button", name="Telegram Premium"), + ], + ) + + +def _app(*elements): + return SimpleNamespace(getElements=lambda: list(elements)) + + +def test_alt_1_focuses_the_button_of_the_open_settings_category(): + profile_row, _profile = _category("Profile") + appearance_row, appearance = _category("Appearance", selected=True) + page = _settings_page([profile_row, appearance_row]) + chats = Element(automation_id="ScrollingHost", role="pane", children=[Element(name="Archive")]) + + assert _load_settings_list_finder()(_app(chats, page)) is appearance + + +def test_alt_1_focuses_the_first_category_button_when_none_is_open(): + """Premium, Stars and the other pages outside the list leave nothing selected. + + The previous fixed walk (five siblings from the profile picture, then its + first child) landed inside the QR code button on this layout. + """ + profile_row, profile = _category("Profile") + appearance_row, _appearance = _category("Appearance") + + assert _load_settings_list_finder()(_app(_settings_page([profile_row, appearance_row]))) is profile + + +def test_alt_1_settings_fallback_gives_up_without_a_category_list(): + finder = _load_settings_list_finder() + empty_page = _settings_page([]) + + assert finder(_app(empty_page)) is False + assert finder(_app(Element(automation_id="ScrollingHost", role="pane"))) is False + assert finder(_app()) is False + + +def test_alt_1_settings_fallback_survives_a_list_rebuilt_while_it_is_read(): + """A failed UIA read returns False, so Alt+1 still speaks its fallback.""" + + class Replaced(Element): + @property + def states(self): + raise OSError("element is no longer available") + + @states.setter + def states(self, value): + pass + + profile_row, _profile = _category("Profile") + page = _settings_page([Replaced(role="listItem", name="Profile"), profile_row]) + + assert _load_settings_list_finder()(_app(page)) is False + + +def test_settings_categories_have_no_enter_or_space_override(): + """Enter and Space on the category buttons are Unigram's own since 13.0.""" + module = _module() + classes = {node.name for node in module.body if isinstance(node, ast.ClassDef)} + assert "SettingsPanelListItem" not in classes + source = SOURCE_PATH.read_text(encoding="utf-8") + assert "SettingsPanelListItem" not in source diff --git a/tests/test_source_integrity.py b/tests/test_source_integrity.py index 34bfd6f..5d3f080 100644 --- a/tests/test_source_integrity.py +++ b/tests/test_source_integrity.py @@ -26,6 +26,24 @@ def test_update_api_url_uses_the_defined_repository_constant(): ) +def test_code_unreachable_on_current_unigram_is_gone(): + """Unigram 9.5 (March 2023) renamed its namespace from Unigram to Telegram. + + Before that, list items without an automation name were announced by their + class name, which the add-on replaced: "Unigram.ViewModels.MessageViewModel", + "Unigram.Entities.StoragePhoto" and "Unigram.ViewModels.Folders.FilterFlag". + No name can start with "Unigram." any more. The quiz explanation overlay has + not been applied to anything since 5.2.0 disabled it. + """ + source = (ROOT / "addon" / "appModules" / "unigram.py").read_text(encoding="utf-8-sig") + for removed in ( + "Unigram.ViewModels.", + "Unigram.Entities.", + "ExplanationCorrectAnswerInQuiz", + ): + assert removed not in source, removed + + def test_python_sources_compile_without_syntax_warnings(): paths = ( ROOT / "addon" / "GlobalPlugins" / "UnigramPlus" / "__init__.py", diff --git a/uv.lock b/uv.lock index 693e9c1..3aa0388 100644 --- a/uv.lock +++ b/uv.lock @@ -22,7 +22,7 @@ wheels = [ [[package]] name = "unigramplus" -version = "5.8.2" +version = "5.8.3" source = { virtual = "." } dependencies = [ { name = "markdown" },