Koha/misc
Bernardo Gonzalez Kriegel 0bcffb973e Bug 12999: Untranslatable string on enhanced_content.pref
This patch modifies LangInstaller.pm to catch strings
on syspref files that have no associated syspref

To test:
1) Update strings for your preffered language
2) Check that the string "you can only choose one source"
is not present on xx-YY-pref.po file

3) Apply the patch
4) Update strings again
5) Check the strig now appears [ and another one :) ]

Doing a diff before and after will show
 # Enhanced Content > All
 msgid "enhanced_content.pref## <strong>NOTE:</strong> you can only
 choose one source of cover images from below, otherwise Koha will show
 the images from all sources selected."
 msgstr ""

 # Local Use
 msgid "local_use.pref## Nothing defined yet."
 msgstr ""

6) Translate the string
7) Install your language, check Administration > System preferences >
   Enhanced content > All
   (on your languge) and check the string is now translated

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-14 11:06:28 -03:00
..
admin
bin
cronjobs Bug 11577: Add an automatic renewal cronjob 2014-09-17 19:23:23 -03:00
devel Bug 12781: update_dbix_class_files.pl should use the preserve_case option 2014-08-21 09:35:30 -03:00
interface_customization
load_testing
maintenance
migration_tools Bug 12538: Remove Solr without breaking anything else 2014-10-11 16:59:04 -03:00
plack Bug 7844: Plack intranet tooling for developers 2014-04-21 03:17:53 +00:00
release_notes update release notes for 3.16.0 (human) 2014-05-22 20:16:25 +00:00
translator Bug 12999: Untranslatable string on enhanced_content.pref 2014-10-14 11:06:28 -03:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl
batchRepairMissingBiblionumbers.pl
batchupdateISBNs.pl
check_sysprefs.pl
commit_file.pl
export_borrowers.pl
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
sax_parser_test.pl
sip_cli_emulator.pl Bug 9288: (follow-up) more tweaks 2014-04-20 20:20:15 +00:00
stage_file.pl