Problem: On MS-Windows ":language messages" has no effect once messages
have been translated, the previous language keeps being used.
Solution: Make gettext drop the translations it cached.
related: #18622
That report is mainly about the 32-bit build, which is a different problem.
The "only some messages change language" part of it is what this fixes.
No test is added: gettext() with a domain argument calls textdomain(), which
increments _nl_msg_cat_cntr by itself, so test_gettext_utf8.vim passes even
without this fix although it does switch the message language twice. Testing
this without a domain argument would need a catalog for the VIMPACKAGE domain,
which bindtextdomain() refuses.
https://github.com/vim/vim/pull/20862
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()