[Koha-devel] Fwd: Streamlining frontend development in Koha

Kallinen Pasi Pasi.Kallinen at pttk.fi
Tue Nov 25 09:30:54 CET 2014


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.kallinen at pttk.fi


Pohjois-Karjalan Tietotekniikkakeskus Oy - www.pttk.fi

________________________________________
From: koha-devel-bounces at lists.koha-community.org [koha-devel-bounces at lists.koha-community.org] on behalf of Marc Véron [veron at veron.ch]
Sent: Tuesday, November 25, 2014 10:09
To: koha-devel at 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 at 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/


More information about the Koha-devel mailing list