openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #17017
Re: [Merge] lp:~mzibricky/openlp/bug-1046599 into lp:openlp
QString does have an arg() method, but this uses different placeholders %1 %2 %3 etc.
However this (like my earlier example I now realise) would require changing the translated string which might upset the translators.
Maybe we could consider using this in v2.1 if we wanted cleaner code. In the case of multiple substitutions this would also allow the translator to swap the arguments around if their language required it.
--
https://code.launchpad.net/~mzibricky/openlp/bug-1046599/+merge/123039
Your team OpenLP Core is subscribed to branch lp:openlp.
References