Bug 21715: Ease translation of account and account offset type descriptions
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 29 Oct 2018 15:15:19 +0000 (12:15 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 02:18:47 +0000 (02:18 +0000)
commit9670becc164475b57f3258a512d88779c1ead6c3
tree8dde92a2e8242990e3b0fc8b1a6945a43fdf4fa3
parent543630b3c47322f071875627ea028a187928cdfc
Bug 21715: Ease translation of account and account offset type descriptions

This patch moves accounts-related descriptions into a single file to
ease finding them, and also encloses descriptions inside <span> tags to
make it easier to translate.

To test:
- Apply this patch
- Verify the templates work as expected
=> SUCCESS: No behaviour change
- Sign off :-D

Bonus: there were two cases in which the INCLUDE line used 'accountline'
as parameter, making it fail to pick the right account type!

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/account_offset_type.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/accounttype.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt