Koha/misc/translator
Marcel de Rooy 82d4eff906 Bug 34983: Force a sort order in JSON output of po2json
This patch does so by default. If you do not want them sorted,
export CANONICAL-0 on the command line.

Test plan:
Copy a staff PO file from misc/translator to test.po
Now run:   time misc/translator/po2json test.po > json1
And do:    time misc/translator/po2json test.po > json2
Run:       diff json1 json2; #They should be the same.
Now:       export CANONICAL=0
And run:   time misc/translator/po2json test.po > json3
And again: time misc/translator/po2json test.po > json4
And run:   diff json3 json4; # Lots of changes
Remove the created cruft. And signoff :)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a5fc346403)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-10-25 20:53:08 -10:00
..
po Translation fixes for Koha 23.05.04 2023-09-28 08:03:37 -10:00
LangInstaller.pm Bug 31640: Fuzzy translations of preferences can cause missing sections and inaccurate translations 2023-04-06 09:29:27 -03:00
po2json Bug 34983: Force a sort order in JSON output of po2json 2023-10-25 20:53:08 -10:00
tmpl_process3.pl Bug 33341: Address some perlcritic errors in 5.36 2023-03-28 14:50:33 +02:00
TmplTokenizer.pm
translate
VerboseWarnings.pm
xgettext-installer Bug 31292: Untranslatable string in sample_notices.yaml 2022-08-08 13:10:56 -03:00
xgettext-pref
xgettext-tt2
xgettext.pl Bug 34959: Sort PO files correctly 2023-10-24 22:11:16 -10:00