[Mythtv-translators] Is this use of a variable correct or a bug?

Florian Bittner mythtv at daschatten.de
Thu Sep 16 09:06:16 UTC 2010


Hi,

i found this in QObject:

"
 QString message = QObject::tr(

"MythTV was set to sleep after %1 minutes and "

"will exit in %d seconds.\n"

"Do you wish to continue watching?")

.arg(sleepTimerTimeout * (1.0f/60000.0f));"


Is the expression "%d seconds" correct? In the history it shows "%2 seconds"
and until this i found only variables like %1, %2, ...?

Btw. there are lots of strings to translate to german in QObject :rolleyes:
:-)

Thanks,

Flo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-translators/attachments/20100916/d20a4f8b/attachment.htm>


More information about the Mythtv-translators mailing list