Bug 25445

Summary: Avoid use of "item" when not talking about items (holdings)
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: I18N/L10NAssignee: Ava <liav>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: f.demians, fridolin.somers, liav
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Katrin Fischer 2020-05-10 11:44:32 UTC
In translation we don't have a lot of context to work from. At the most, we see the file a string comes from, but that is not always helpful. There are certain words that can be used in English in different contexts, but would require different translations in other languages. Item is such an example.

It would be nice if we could avoid using items when we are not talking about holdings. These two strings listed below refer to when selecting no 'item' for adding to a list/cart from the result list:


koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc:        var MSG_NO_RECORD_SELECTED = _("No item was selected");
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:        var MSG_NO_RECORD_SELECTED = _("No item was selected");

Maybe we could use

- no record
- no title
- no search result entry ?

instead.
Comment 1 Fridolin Somers 2020-09-23 14:40:30 UTC
Maybe use "element" :
  No element was selected.

Easy to translate I'd say
Comment 2 Ava 2021-01-19 03:10:05 UTC
Can you please clarify which strings need to be fixed? the examples provided don't exist
Comment 3 Katrin Fischer 2021-01-19 09:53:54 UTC
Hi Ava,

I think this is probably due to Owen moving a lot of things around to improve the translation process since I filed this. I am going to mark it INVALID. Thank you for looking into it!