Koha/misc/translator
Marcel de Rooy 0d98089ec7 Bug 18634: Handle colliding translation for preference sections
Problem on this report was caused by translating the tabs Privacy
and Payments by the same string. This caused overwriting a hash entry.

This patch tests if the key already exists and if so, it merges the
entries instead of overwriting the old contents.

Test plan:
[1] Make sure that e.g. Privacy and Payments translate to e.g Vie privee.
[2] Run translate install fr-CA (or the language you altered)
[3] Without this patch you should loose preferences from either Privacy or
    Payments. With this patch, they should be merged.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested with fr-CA.

Signed-off-by: Blou <philippe.blouin@inlibro.com>
Reset the .po files, reproduced the problem.  Applied the patch and suddenly 'paypal' appeared.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-07-06 14:29:03 -03:00
..
po Translation updates for Koha 17.05 2017-05-30 03:14:28 +00:00
LangInstaller.pm Bug 18634: Handle colliding translation for preference sections 2017-07-06 14:29:03 -03:00
Makefile
text-extract.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
text-extract2.pl Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00
tmpl_process3.pl Bug 13794: Text input field values not translated 2015-03-15 09:22:05 -03:00
TmplTokenizer.pm Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
translate Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
VerboseWarnings.pm Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
xgettext.pl Bug 15687 [QA Followup] - Tidy sub to remove tab characters 2016-02-03 23:01:07 +00:00