]> git.koha-community.org Git - koha.git/commit
Bug 26403: Move credit and debit types into translatable YAML files
authorCaroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Mon, 3 Apr 2023 18:35:04 +0000 (14:35 -0400)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 12:25:56 +0000 (12:25 +0000)
commit613671e2d176fd0bccb69aadc94d1149c9852bb4
treee520b345be829f1cf4a63f675636b9c0d3225f91
parent7c4ac22a4215274115128eb7b2cf3e0ac9cb7adf
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@libriotech.no>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 002dbcdc7f52769e150f7ed788e37e9c08ffe02b)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
installer/data/mysql/en/mandatory/account_credit_types.yml [new file with mode: 0644]
installer/data/mysql/en/mandatory/account_debit_types.yml [new file with mode: 0644]
installer/data/mysql/en/mandatory/auth_values.yml