Koha-clms/misc
Marcel de Rooy 193f139062 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>
(cherry picked from commit 0d98089ec7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 7bcad81874)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-07-15 20:13:36 +02:00
..
admin Bug 11998: Do not clear syspref cache in psgi file 2016-03-15 07:08:29 +00:00
bin Revert Bug 11081 - Port Koha::Contrib::Tamil indexer into Koha code base 2016-03-01 16:56:35 +00:00
cronjobs Bug 16568 - Talking Tech generates phone notifications for all overdue actions 2017-05-21 23:13:01 +02:00
devel Bug 17567: Make populate_db.pl initialize ES mappings 2016-11-12 02:39:35 +00:00
interface_customization Bug 17645 - Remove obsolete interface customization images 2016-11-18 14:16:08 +00:00
load_testing
…
maintenance Bug 18058: Allow borrower_message_preferences to be truncated 2017-04-02 18:12:24 +02:00
migration_tools Bug 16758: Use the default cache instance 2017-05-14 11:48:27 +02:00
plack Bug 16520: Allow per-VirtualHost environment variables with Plack 2016-10-11 12:49:42 +00:00
release_notes Add release notes for Koha 16.11.09 2017-06-22 09:34:33 +00:00
search_tools Bug 17372: Standardize Elasticsearch paths 2016-10-11 01:07:03 +00:00
translator Bug 18634: Handle colliding translation for preference sections 2017-07-15 20:13:36 +02:00
batchCompareMARCvsFrameworks.pl
…
batchDeleteUnusedSubfields.pl
…
batchImportMARCWithBiblionumbers.pl
…
batchRebuildBiblioTables.pl Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
batchRebuildItemsTables.pl
…
batchRepairMissingBiblionumbers.pl
…
batchdeletebiblios.pl
…
check_sysprefs.pl
…
commit_file.pl
…
export_borrowers.pl
…
export_records.pl Bug 17420 - record export fails when itemtype on biblio - followup 2016-11-12 02:32:41 +00:00
exportauth.pl
…
koha-install-log
…
kohalib.pl
…
link_bibs_to_authorities.pl
…
mod_zebraqueue.pl
…
perlmodule_ls.pl
…
perlmodule_rm.pl
…
recreateIssueStatistics.pl
…
sax_parser_print.pl Bug 17626 (QA followup) 2016-11-22 11:29:07 +00:00
sax_parser_test.pl
…
sip_cli_emulator.pl Bug 14512 - Add support for AV field to Koha's SIP2 Server 2016-03-31 20:29:18 +00:00
stage_file.pl Bug 10407: [QA Follow-up] Hashref process_batch params 2016-09-02 16:00:13 +00:00