Reordering the substitutions is possible, using the standard po-file "c-format" style:
_("You have checked out %1$s books, %2$s of which are on hold").format(X, Y); -- Ystävällisin terveisin Pasi Kallinen ICT-asiantuntija p. 050-408 6958 pasi.kalli...@pttk.fi Pohjois-Karjalan Tietotekniikkakeskus Oy - www.pttk.fi ________________________________________ From: koha-devel-boun...@lists.koha-community.org [koha-devel-boun...@lists.koha-community.org] on behalf of Marc Véron [ve...@veron.ch] Sent: Tuesday, November 25, 2014 10:09 To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Fwd: Streamlining frontend development in Koha It would be great to have the possibility to reorder substitutions like proposed: _$("You have checked out $1 books, $2 of which are on hold", X, Y) Marc Am 24.11.2014 19:51, schrieb Jesse: > Okay, thanks. That does seem to solve part of the problem. I notice > that the code doesn't allow translators to reorder substitutions; is > that not a major issue? _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/