Fwd: Stop creating huge translation units in applications

Jasem Mutlaq mutlaqja at ikarustech.com
Sat Nov 4 13:04:12 GMT 2023


FYI

---------- Forwarded message ---------
From: Łukasz Wojniłowicz <lukasz.wojnilowicz at gmail.com>
Date: Sat, Nov 4, 2023, 3:10 PM
Subject: Stop creating huge translation units in applications
To: <mutlaqja at ikarustech.com>, <kde-i18n-doc at kde.org>


Hi Jasem,

please stop creating huge translation units as the one at the end of
this message. It's difficult to translate or to spot a change that
you'll make in them in the future.

Recently it popped up as fuzzy during my translation session, and I
don't know what you've changed there. It could be a text or it could be
html formatting or it could be just a missing space somewhere. In either
case I need to read through all of its 5326 letters to find that out.
That slows down translation considerably.

I suggest to break such huge units to several smaller ones, and don't
overdo with including too much html formatting tags in them.

Cheers
Łukasz

"<html><head/><body><p>Format is used to define the image file names by
the use of placeholder tags.</p><ul style="margin-top: 0px;
margin-bottom: 0px; margin-left: 0px; margin-right: 0px;
-qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt- block-indent:0;
text-indent:0px;">Placeholder<span style=" font-weight:704; ">
%f</span> or <span style=" font-weight:704;">%filename</span>: The name
of the .esq file, without extension.</li><li style=" margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;">Placeholder<span style="
font-weight:704;"> %D</span> or <span style="
font-weight:704;">%Datetime</span>: The current time and date <span
style=" font-weight:704;">when the file is saved.</span></
li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
li>margin-
right:0px; -qt-block-indent:0; text-indent:0px;">Placeholder<span
style=" font-weight:704;"> %T</span> or <span style="
font-weight:704;">%Type</
span>: The frame type eg: 'Light', 'Bias', 'Dark', 'Flat'...</li><li
span>style=
" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt- block-indent:0; text-indent:0px;">Placeholder<span style="
font-weight:704; "> %e</span> or <span style="
font-weight:704;">%exposure</span>: The exposure duration in seconds,
with '_secs' as suffix.</li><ul style="margin- top: 0px; margin-bottom:
0px; margin-left: 0px; margin-right: 0px; -qt-list- indent: 1;"><li
style=" margin-top:0px; margin-bottom:0px; margin- left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
">Placeholder<span style=" font-weight:704;"> %E</span> or <span
style=" font-weight:704;">%exp</span>: The exposure duration in seconds
as plain number, without any unit as suffix.</li></ul><li style="
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;">Placeholder<span style="
font-weight:704;"> %F</span> or <span style="
font-weight:704;">%Filter</span>: The active filter name. </li><li
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-
right:0px; -qt-block-indent:0; text-indent:0px;">Placeholder<span
style=" font-weight:704;"> %t</span> or <span style="
font-weight:704;">%target</
span>: The Target name.</li><li style=" margin-top:0px;
span>margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;
">Placeholder <span style=" font-weight:600;">%C</span> or <span
style=" font-weight:600;">%temperature</span>: The camera temperature
of capturing. </li><ul style="margin-top: 0px; margin-bottom: 0px;
margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style="
margin-top:0px; margin- bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text- indent:0px;">Placeholder <span style="
font-weight:600;">%B</span> or <span style="
font-weight:600;">%bin</span>: The binning configured for
capturing.</li><li style=" margin-top:0px; margin-bottom:0px; margin-
left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;
">Placeholder <span style=" font-weight:600;">%G</span> or <span
style=" font-weight:600;">%gain</span>: The gain configured for
capturing.</li></
ul><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
ul>margin-
right:0px; -qt-block-indent:0; text-indent:0px;">Placeholder <span
style=" font-weight:600;">%O</span> or <span style="
font-weight:600;">%offset</
span>: The offset configured for capturing.</li><ul style="margin-top:
span>0px;
margin-bottom: 0px; margin-left: 0px; margin-right: 0px;
-qt-list-indent: 1; "><li style=" margin-top:0px; margin-bottom:0px;
margin-left:0px; margin- right:0px; -qt-block-indent:0;
text-indent:0px;">Placeholder <span style=" font-weight:600;">%I</span>
or <span style=" font-weight:600;">%iso</
span>: The ISO value (DSLRs only).</li></ul><li style=" margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;">Placeholder <span style="
font-weight:600;">%P</span> or <span style="
font-weight:600;">%pierside</span>: The current mount's pier
side.</li><li style=" margin-top:0px; margin-bottom:12px; margin-
left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;
">Placeholder<span style=" font-weight:704;"> %s*</span> or <span
style= " font-weight:704;">%sequence</span>: The image sequence
identifier where
* is the number of digits used (1-9). <span style="
font-weight:704;">This tag is mandatory and must be the last element in
the format.</span></li></
ul><p>Arbitrary text may also be included within the Format string,
ul><span
style=" font-weight:704;">except the % and \\ characters.</span> The /
path character can be used to define arbitrary
directories.</p><p>Notes:</
p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px;
p>margin-
right: 0px; -qt-list-indent: 1;"><li style=" margin-top:0px; margin-
bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-
indent:0px;">Tags are case sensitive in both their short and long
forms.</
li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
li>margin-
right:0px; -qt-block-indent:0; text-indent:0px;">Only use the %Datetime
tag in the filename portion of the format, not in the path
definition.</li></
ul></body></html>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20231104/fcaa068e/attachment.htm>


More information about the Kstars-devel mailing list