<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 31 mai 2021 à 21:47, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El dilluns, 31 de maig de 2021, a les 21:22:52 (CEST), Johnny Jazeix va escriure:<br>
> Hi,<br>
> <br>
> French translation team received a bug (<br>
> <a href="https://bugs.kde.org/show_bug.cgi?id=437856" rel="noreferrer" target="_blank">https://bugs.kde.org/show_bug.cgi?id=437856</a>) for a translation issue within<br>
> Dolphin.<br>
> <br>
> The issue resides in this code:<br>
> <a href="https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodel.cpp#L2182-2194" rel="noreferrer" target="_blank">https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodel.cpp#L2182-2194</a><br>
> where we expect "'Earlier on' MMMM, yyyy" to be translated with something<br>
> like "'translated text' MMMM, yyyy".<br>
> <br>
> In French, we have translated this single quote to French guillemets "«<br>
> translated text » MMMM, yyyy".<br>
> <br>
> Looking at the code, can you confirm it should be kept with single quotes<br>
> instead? If yes, does having a translator comment would help avoiding the<br>
> issue?<br>
<br>
Yes, the code needs ' since it's passed to QDateTime::toString.<br>
<br>
The quotes are not shown to the user, they are used to mark a section as "this is text, just pass it though, don't try to do MMM or yyyy substitution here".<br>
<br></blockquote><div> </div><div>Thanks for confirming, I've updated it.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Given that the translation comment is already already very long, what would you suggest?<br>
<br></blockquote><div><br></div><div>"Keep the words between single quotes in single quotes"? I'm not sure if French is an exception here on changing the single quotes sometimes to guillemets. If this is the only times we have a bug filled for it, maybe it's not needed to add a new comment.</div><div><br></div><div>Cheers,</div><div><br></div><div>Johnny<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Cheers,<br>
Albert<br>
<br>
<br>
> <br>
> Cheers,<br>
> <br>
> Johnny<br>
> <br>
<br>
<br>
<br>
<br>
</blockquote></div></div>