Fixes and changes to Lokalize, request for feedback
Karl Ove Hufthammer
karl at huftis.org
Sun Aug 25 10:26:50 BST 2024
Karl Ove Hufthammer skreiv 04.08.2024 12:32:
>>> Colouring is nice, but something like easy keyboard navigation between strings to translate would be invaluable in terms of saving time.
>>
>> I think implementing something like this wouldn’t be *too* difficult
>> (that is, for someone familiar with C++, Qt and Lokalize’s
>> codebase…). Basically, one would just have to create an action that
>> skips to the next piece of text matching the regular expression ‘>\w’
>> (a > character followed by a an alphanumeric character).
>>
> I’m not very familiar with C++ and Qt, but I’ve tried to implement
> this. […]
>
FYI, this is now implemented. Pressing Ctrl+N will jump to the beginning
of the text which comes *after* the first set of tags that are to the
right of the current cursor position. That is, it will effectively skip
to the next *translatable* part of the string.
This will be part of the next *major* release of KDE Gear (i.e., *not*
the current 24.08.x releases). But you can of course manually compile
Lokalize to get access to the feature
(https://invent.kde.org/sdk/lokalize.git).
--
Karl Ove Hufthammer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20240825/07b0f8e3/attachment.htm>
More information about the kde-i18n-doc
mailing list