]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 10 May 2023 18:26:14 +0000 (15:26 -0300)
commit002dbcdc7f52769e150f7ed788e37e9c08ffe02b
treef0ae596e43df07d4bdd0c68424506e1a88cd262b
parent7f1cc03e3e16c4538126d69e43f5d9ff67ecd0b2
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>
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