[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    Fwd: Stop creating huge translation units in applications
From:       Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date:       2023-11-04 13:04:12
Message-ID: CAE0bU5k+G05u19VSxb1AiSRAawrgHsK=uuOOJDnfgh-H9e-Wrg () mail ! gmail ! com
[Download RAW message or body]

FYI

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

[Attachment #3 (text/html)]

<div dir="auto">FYI</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">---------- Forwarded message ---------<br>From: <strong \
class="gmail_sendername" dir="auto">Łukasz Wojniłowicz</strong> <span \
dir="auto">&lt;<a href="mailto:lukasz.wojnilowicz@gmail.com">lukasz.wojnilowicz@gmail.com</a>&gt;</span><br>Date: \
Sat, Nov 4, 2023, 3:10 PM<br>Subject: Stop creating huge translation units in \
applications<br>To:  &lt;<a \
href="mailto:mutlaqja@ikarustech.com">mutlaqja@ikarustech.com</a>&gt;,  &lt;<a \
href="mailto:kde-i18n-doc@kde.org">kde-i18n-doc@kde.org</a>&gt;<br></div><br><br>Hi \
Jasem,<br> <br>
please stop creating huge translation units as the one at the end of<br>
this message. It&#39;s difficult to translate or to spot a change that<br>
you&#39;ll make in them in the future.<br>
<br>
Recently it popped up as fuzzy during my translation session, and I<br>
don&#39;t know what you&#39;ve changed there. It could be a text or it could be<br>
html formatting or it could be just a missing space somewhere. In either<br>
case I need to read through all of its 5326 letters to find that out.<br>
That slows down translation considerably.<br>
<br>
I suggest to break such huge units to several smaller ones, and don&#39;t<br>
overdo with including too much html formatting tags in them.<br>
<br>
Cheers<br>
Łukasz<br>
<br>
&quot;&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Format is used to define the \
image file names by<br> the use of placeholder tags.&lt;/p&gt;&lt;ul \
                style=&quot;margin-top: 0px;<br>
margin-bottom: 0px; margin-left: 0px; margin-right: 0px;<br>
-qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; \
margin-bottom:0px;<br> margin-left:0px; margin-right:0px; -qt- block-indent:0;<br>
text-indent:0px;&quot;&gt;Placeholder&lt;span style=&quot; font-weight:704; \
&quot;&gt;<br> %f&lt;/span&gt; or &lt;span style=&quot; \
font-weight:704;&quot;&gt;%filename&lt;/span&gt;: The name<br> of the .esq file, \
without extension.&lt;/li&gt;&lt;li style=&quot; margin-top:0px;<br> \
                margin-bottom:0px; margin-left:0px; margin-right:0px;<br>
-qt-block-indent:0; text-indent:0px;&quot;&gt;Placeholder&lt;span style=&quot;<br>
font-weight:704;&quot;&gt; %D&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:704;&quot;&gt;%Datetime&lt;/span&gt;: The current time and date \
&lt;span<br> style=&quot; font-weight:704;&quot;&gt;when the file is \
saved.&lt;/span&gt;&lt;/<br> li&gt;&lt;li style=&quot; margin-top:0px; \
margin-bottom:0px; margin-left:0px;<br> li&gt;margin-<br>
right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Placeholder&lt;span<br>
style=&quot; font-weight:704;&quot;&gt; %T&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:704;&quot;&gt;%Type&lt;/<br>
span&gt;: The frame type eg: &#39;Light&#39;, &#39;Bias&#39;, &#39;Dark&#39;, \
&#39;Flat&#39;...&lt;/li&gt;&lt;li<br> span&gt;style=<br>
&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;<br>
-qt- block-indent:0; text-indent:0px;&quot;&gt;Placeholder&lt;span style=&quot;<br>
font-weight:704; &quot;&gt; %e&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:704;&quot;&gt;%exposure&lt;/span&gt;: The exposure duration in \
seconds,<br> with &#39;_secs&#39; as suffix.&lt;/li&gt;&lt;ul style=&quot;margin- \
top: 0px; margin-bottom:<br> 0px; margin-left: 0px; margin-right: 0px; -qt-list- \
indent: 1;&quot;&gt;&lt;li<br> style=&quot; margin-top:0px; margin-bottom:0px; \
margin- left:0px;<br> margin-right:0px; -qt-block-indent:0; text-indent:0px;<br>
&quot;&gt;Placeholder&lt;span style=&quot; font-weight:704;&quot;&gt; %E&lt;/span&gt; \
or &lt;span<br> style=&quot; font-weight:704;&quot;&gt;%exp&lt;/span&gt;: The \
exposure duration in seconds<br> as plain number, without any unit as \
suffix.&lt;/li&gt;&lt;/ul&gt;&lt;li style=&quot;<br> margin-top:0px; \
                margin-bottom:0px; margin-left:0px; margin-right:0px;<br>
-qt-block-indent:0; text-indent:0px;&quot;&gt;Placeholder&lt;span style=&quot;<br>
font-weight:704;&quot;&gt; %F&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:704;&quot;&gt;%Filter&lt;/span&gt;: The active filter name. \
&lt;/li&gt;&lt;li<br> style=&quot; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-<br> right:0px; -qt-block-indent:0; \
text-indent:0px;&quot;&gt;Placeholder&lt;span<br> style=&quot; \
font-weight:704;&quot;&gt; %t&lt;/span&gt; or &lt;span style=&quot;<br> \
font-weight:704;&quot;&gt;%target&lt;/<br> span&gt;: The Target \
name.&lt;/li&gt;&lt;li style=&quot; margin-top:0px;<br> span&gt;margin-bottom:0px; \
<br> margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;<br>
&quot;&gt;Placeholder &lt;span style=&quot; font-weight:600;&quot;&gt;%C&lt;/span&gt; \
or &lt;span<br> style=&quot; font-weight:600;&quot;&gt;%temperature&lt;/span&gt;: The \
camera temperature<br> of capturing. &lt;/li&gt;&lt;ul style=&quot;margin-top: 0px; \
                margin-bottom: 0px;<br>
margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li \
style=&quot;<br> margin-top:0px; margin- bottom:0px; margin-left:0px; \
                margin-right:0px;<br>
-qt-block-indent:0; text- indent:0px;&quot;&gt;Placeholder &lt;span style=&quot;<br>
font-weight:600;&quot;&gt;%B&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:600;&quot;&gt;%bin&lt;/span&gt;: The binning configured for<br>
capturing.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; \
margin-<br> left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;<br>
&quot;&gt;Placeholder &lt;span style=&quot; font-weight:600;&quot;&gt;%G&lt;/span&gt; \
or &lt;span<br> style=&quot; font-weight:600;&quot;&gt;%gain&lt;/span&gt;: The gain \
configured for<br> capturing.&lt;/li&gt;&lt;/<br>
ul&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px;<br>
ul&gt;margin-<br>
right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Placeholder &lt;span<br>
style=&quot; font-weight:600;&quot;&gt;%O&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:600;&quot;&gt;%offset&lt;/<br>
span&gt;: The offset configured for capturing.&lt;/li&gt;&lt;ul \
style=&quot;margin-top:<br> span&gt;0px; <br>
margin-bottom: 0px; margin-left: 0px; margin-right: 0px;<br>
-qt-list-indent: 1; &quot;&gt;&lt;li style=&quot; margin-top:0px; \
margin-bottom:0px;<br> margin-left:0px; margin- right:0px; -qt-block-indent:0;<br>
text-indent:0px;&quot;&gt;Placeholder &lt;span style=&quot; \
font-weight:600;&quot;&gt;%I&lt;/span&gt;<br> or &lt;span style=&quot; \
font-weight:600;&quot;&gt;%iso&lt;/<br> span&gt;: The ISO value (DSLRs \
only).&lt;/li&gt;&lt;/ul&gt;&lt;li style=&quot; margin-top:0px; <br> \
                margin-bottom:0px; margin-left:0px; margin-right:0px;<br>
-qt-block-indent:0; text-indent:0px;&quot;&gt;Placeholder &lt;span style=&quot;<br>
font-weight:600;&quot;&gt;%P&lt;/span&gt; or &lt;span style=&quot;<br>
font-weight:600;&quot;&gt;%pierside&lt;/span&gt;: The current mount&#39;s pier<br>
side.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-<br>
left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;<br>
&quot;&gt;Placeholder&lt;span style=&quot; font-weight:704;&quot;&gt; \
%s*&lt;/span&gt; or &lt;span<br> style= &quot; \
font-weight:704;&quot;&gt;%sequence&lt;/span&gt;: The image sequence<br> identifier \
                where <br>
* is the number of digits used (1-9). &lt;span style=&quot;<br>
font-weight:704;&quot;&gt;This tag is mandatory and must be the last element in<br>
the format.&lt;/span&gt;&lt;/li&gt;&lt;/<br>
ul&gt;&lt;p&gt;Arbitrary text may also be included within the Format string,<br>
ul&gt;&lt;span <br>
style=&quot; font-weight:704;&quot;&gt;except the % and \\ characters.&lt;/span&gt; \
The / <br> path character can be used to define arbitrary<br>
directories.&lt;/p&gt;&lt;p&gt;Notes:&lt;/<br>
p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px;<br>
p&gt;margin-<br>
right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; \
margin-<br> bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-<br> indent:0px;&quot;&gt;Tags are case sensitive in both their short and \
long<br> forms.&lt;/<br>
li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px;<br>
li&gt;margin-<br>
right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Only use the %Datetime<br>
tag in the filename portion of the format, not in the path<br>
definition.&lt;/li&gt;&lt;/<br>
ul&gt;&lt;/body&gt;&lt;/html&gt;&quot;<br>
</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic