Context only changes creating fuzzy strings or how to enable pology sieves scripts

Karl Ove Hufthammer karl at huftis.org
Fri Aug 2 22:21:55 BST 2024


Andre Heinecke skreiv 26.07.2024 15:51:
> I am currently just bothered by bulk changes like "let us add @action as a
> context to each QAction". Changes like thishttps://invent.kde.org/pim/
> kmail/-/commit/9baca4d559fae327a93f5a28c5fbe143dac72f4d
>
> Which in my opinion create a lot of unnecessary work, with over 70 languages
> we have, there should be a good reason to create work for all of them. And not
> just some sense of completeness to have a context for every string.

Having complete UI context markers can be useful for the translators. 
For example, some languages might use a different translation for a 
string depending on whether it’s an action, a tooltip or a window title 
(e.g., in English, there are different capitalisation rules for windows 
titles and tooltips).


> My hope was to find a technical solution avoiding a discussion about the pros
> and cons of this, since as usual, facts were already made.

The technical solution is to use ‘posieve unfuzzy-ctxmark-only’:
http://pology.nedohodnik.net/doc/user/en_US/ch-sieve.html#sv-unfuzzy-ctxmark-only

Note that this is not the same as ‘posieve unfuzzy-context-only’.


-- 
Karl Ove Hufthammer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20240802/6944593b/attachment.htm>


More information about the kde-i18n-doc mailing list