[Koha-bugs] [Bug 26403] Move debit and credit types to YAML files to make them translatable for use in reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 9 23:55:55 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26403

--- Comment #16 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 150912
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150912&action=edit
Bug 26403: Move credit and debit types into translatable YAML files

This patch moves account debit and credit types, as well as the CASH
payment type, into YAML files under
installer/data/en/mandatory. This should make the debit and credit types
translatable (for new installations only).

To test:
1. Apply patch
2. Update po files
   ./misc/translator/translate update xx-XX
3. View the xx-XX-installer.po file
   -->The default account debit and credit types (and cash payment type)
      should be available to be translated
4. Translate the strings
5. Apply the translations
   ./misc/translator/translate install xx-XX
6. Load the new translated YAML files (with a fresh install, or by deleting
   the values in the db and using ./misc/load_yaml.pl to load the files)
7. In the staff interface, go to Administration > Credit types
   --> They should be translated
8. Go to Administration > Debit types
   --> They should be translated

Signed-off-by: Magnus Enger <magnus at libriotech.no>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

150744 - Bug 26403: "Issue refund" is not fully translatable

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list