New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update poedit appmodule for version 3.4+ #15313
Conversation
See test results for failed build of commit f5c2cba967 |
See test results for failed build of commit 9b26ce53f7 |
Hello, thanks for much needed upgrade. Thanks again. regards |
It's a pity this add-on was never contributed to core. I'm open for suggestions to enhance this, though. I probably need to look into the singular and plural translations first. |
cc @ruifontes |
Hello, @LeonarddeR Maybe you can contribute to the development of the add-on and make it possible to properly obtain IDs, because as far as I know, the free version has different IDs (or whatever they are called) compared to the Pro version. |
@DraganRatkovich Are you using the fre or the pro version? I have no access to the pro version so I can't test with that. |
@LeonarddeR I am using the free version. |
I am using the pro version
@LeonarddeR
From: Leonard de Ruijter ***@***.***>
Sent: Tuesday, August 22, 2023 5:51 PM
To: nvaccess/nvda ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [nvaccess/nvda] Update poedit appmodule for version 3 (PR #15313)
@DraganRatkovich <https://github.com/DraganRatkovich> Are you using the fre or the pro version? I have no access to the pro version so I can't test with that.
—
Reply to this email directly, view it on GitHub <#15313 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE55I4ROIVAXJRZP4MLXWTIMVANCNFSM6AAAAAA3WS5KYI> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ACVCDE5CBS2O3YQEPUHB6LLXWTIMVA5CNFSM6AAAAAA3WS5KYKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTEUQHIA.gif> Message ID: ***@***.*** ***@***.***> >
|
@zstanecic How does it behave for you? |
Will the new updated app module handle #4371 as well? |
Good catch, thanks @Adriani90 |
@gregjozk and @DraganRatkovich
I'd suggest @ruifontes to update the add-on after this pr is merged into an official release, basing the appModule with the additions on the module in NVDA core. |
Hello,
thx for your good work. I just wanted to help you when I linked a
poedit topic from translation list.
Can I have another question, will b dialogs (more spacifically) some
checkable elements in them accessible for NVDA?
example: view -> customize wornings, where (I believe) you can
check/uncheck, which wornings would be shown.
best regards
Jožef
2023-08-24 18:28 GMT+02.00, Leonard de Ruijter ***@***.***>:
… @gregjozkand @DraganRatkovich
I had a brief look into the add-on. I'm inclined not to change anything in
the current pull request for now.
1. Errors (or translation warnings) can be accessed by pressing
ctrl+shift+w
2. There is some logic in the add-on to report additional errors (e.g.
missmatch in string replacement parameters), but IMO that's a responsibility
of poedit to report as a translation warning, if it not already does so.
3. There is also logic to clear translations or copy source/translated text
to the clipboard. This is also out of scope for a rewrite of the add-on.
4. Some things in the add-on seem to be buggy, such as reporting comments
and fuzzy status. This module also reports fuzzy status and ctrl+shift+o
allows you to report the previous text.
I'd suggest @ruifontes to update the add-on after this pr is merged into an
official release, basing the appModule with the additions on the module in
NVDA core.
--
Reply to this email directly or view it on GitHub:
#15313 (comment)
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
source/appModules/poedit.py
Outdated
obj = None | ||
elif obj: | ||
obj = obj.firstChild | ||
def _getNVDAObjectForWindowControlIdOffset(self, windowControlIdOffset: WindowControlIdOffset): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this get a return type added please
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
I've had another round of testing with the app module and it seems that fuzzy messages aren't yet covered correctly. I have no idea how to fix this though. It seems like the only thing happening is that the icon displayed on the |
@LeonarddeR you can check if an entry is classified as "Fuzzy" by checking the 3 new fields that are shown. |
In response to @DraganRatkovich's concern:
Yes, it's possible: |
@LeonarddeR , I found one thing that can change the game...
|
@cyrille, thanks! |
So are you saying that if we take the translations list control id as a reference, that will work across the paid and free versions? |
Yes, all controls, except the one you have choosen, change across free and paid version... |
Let's hope the new build that is currently underway also works for the pro version. |
See test results for failed build of commit 566b981725 |
See test results for failed build of commit fc55bd7847 |
See test results for failed build of commit db86bf0a3a |
Could this get a changelog entry please |
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LeonarddeR
See test results for failed build of commit cb098a6673 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Userguide looks good.
Just needs a lint fix and then this can be merged |
Link to issue number:
Fixes #7303
Fixes #4371
Summary of the issue:
NVDA has specific functionality for Poedit, but this is only supported in version 1.
Description of user facing changes
Add support for Poedit 3.4 while dropping support for Poedit 1. Compared to the previous Poedit 1 support, support has been added to report the old source text and any translation warning. There is also an audio indication when the needs work checkbox is enabled (fuzzy messages).
Description of development approach
Created a revamped module for Poedit 3.
Testing strategy:
Tested reporting of:
I tested with Poedit 3.0, 3.3.2 and 3.4 to ensure the logic to calculate window control ids would be stable across releases.
Known issues with pull request:
This drops support for Poedit 1, but as Poedit 3 is perfectly accessible, I think we shouldn't bother. It might be nice to encourage translators to update their Poedit
Code Review Checklist: