<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Karl Ove Hufthammer skreiv 04.08.2024
12:32:<br>
</div>
<blockquote type="cite"
cite="mid:4a81f6a7-d2b1-41a6-9f44-394d8519a457@huftis.org">
<blockquote type="cite"
cite="mid:3f06a809-5d5c-43a6-9f38-4c2ffe059f11@huftis.org"
style="overflow: unset; height: unset; background-image: url(chrome://messenger/skin/overrides/arrow-down-12.svg); padding-block: .5ex; background-repeat: no-repeat; background-position-x: 2px; background-position-y: .4ex; background-size: 1em;">
<blockquote type="cite"
cite="mid:C1631BB0-6659-422A-A688-603DFFC94D4F@icloud.com"
style="overflow: unset; height: unset;">
<pre class="moz-quote-pre" style="display: inline;" wrap="">Colouring is nice, but something like easy keyboard navigation between strings to translate would be invaluable in terms of saving time.</pre>
</blockquote>
<p>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).</p>
</blockquote>
<p>I’m not very familiar with C++ and Qt, but I’ve tried to
implement this. […]</p>
</blockquote>
<p>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.<br>
</p>
<p>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
(<a class="moz-txt-link-freetext" href="https://invent.kde.org/sdk/lokalize.git">https://invent.kde.org/sdk/lokalize.git</a>).<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Karl Ove Hufthammer</pre>
</body>
</html>