Bug 30994: Typo: item was on loan. couldn't be returned.

This patch updates some language in the inventory template to make it
readable and consistent: Punctuation fixed, capitalization made more
consistent, language corrections ("check in" instead of "return").

To test you can try to apply the patch and trigger the various errors in
the inventory interface, but it's probably enough to visually confirm
the changes in the patch.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2022-06-20 13:20:58 +00:00 committed by Tomas Cohen Arazi
parent efad62f91d
commit fde9f39ca5
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,10 @@
[% FOREACH error IN errorloop %]
<div class="dialog alert">
[% error.barcode | html %]
[% IF (error.ERR_BARCODE) %]: <span>barcode not found</span>[% END %]
[% IF (error.ERR_WTHDRAWN) %]: <span>item withdrawn</span>[% END %]
[% IF (error.ERR_ONLOAN_RET) %]: <span>item was on loan. It was returned before marked as seen</span>[% END %]
[% IF (error.ERR_ONLOAN_NOT_RET) %]: <span>item was on loan. couldn't be returned.</span>[% END %]
[% IF (error.ERR_BARCODE) %]: <span>Barcode not found.</span>[% END %]
[% IF (error.ERR_WTHDRAWN) %]: <span>Item withdrawn.</span>[% END %]
[% IF (error.ERR_ONLOAN_RET) %]: <span>Item was on loan. It was checked in before being marked as seen.</span>[% END %]
[% IF (error.ERR_ONLOAN_NOT_RET) %]: <span>Item was on loan and could not be checked in.</span>[% END %]
</div>
[% END %]
[% UNLESS op %]