https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24712
--- Comment #7 from Jonathan Druart <[email protected]> --- Created attachment 194999 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194999&action=edit Bug 24712: Maintenance script to load installer data When new strings are translated in the yml files of the installer (auth values, notice templates, etc.) we don't update the database. This patch adds a maintenance script to add new entries, or update the existing rows. The script misc/maintenance/load_installer_data.pl takes 4 parameters: --file: to provide a yml file to load --table and --lang to define a file to load (eg. authorised_values and fr-FR) --force to replace the existing rows Without --force only new entries will be added Examples: perl misc/maintenance/load_installer_data.pl --table letter --lang es-ES perl misc/maintenance/load_installer_data.pl --table sample_notices --lang es-ES perl misc/maintenance/load_installer_data.pl --table letter --lang es-ES --force You can also use authorised_values, account_credit_types and account_debit_types -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
