Solved What to do when Qt Linguist give warning ?
-
When i am writing turkish translation at that time i am getting below warning :
Translation does not refer to the same place markers as in the source text.
What is reason behind that ? How to resolve it ?
-
%
followed by a number between 1 and 99 is considered a placeholder forQString::arg()
. Here you are not usingarg()
so feel free to ignore the warning -
%
followed by a number between 1 and 99 is considered a placeholder forQString::arg()
. Here you are not usingarg()
so feel free to ignore the warning -
@VRonin Thank you.
-
@VRonin
I don't see this documented inQString::arg()
ortr()
, but is this a case where a double%
would mean a literal%
? So if the user wants to get rid of the warning:QObject::tr("... after 100%% usage")
? -
@JonB Yes by writing %%100 in translation removed warning