El dilluns, 31 de maig de 2021, a les 21:22:52 (CEST), Johnny Jazeix va escriure: > Hi, > > French translation team received a bug ( > https://bugs.kde.org/show_bug.cgi?id=437856) for a translation issue within > Dolphin. > > The issue resides in this code: > https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodel.cpp#L2182-2194 > where we expect "'Earlier on' MMMM, yyyy" to be translated with something > like "'translated text' MMMM, yyyy". > > In French, we have translated this single quote to French guillemets "« > translated text » MMMM, yyyy". > > Looking at the code, can you confirm it should be kept with single quotes > instead? If yes, does having a translator comment would help avoiding the > issue?
Yes, the code needs ' since it's passed to QDateTime::toString. 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". Given that the translation comment is already already very long, what would you suggest? Cheers, Albert > > Cheers, > > Johnny >