Bug 25445 - Avoid use of "item" when not talking about items (holdings)
Summary: Avoid use of "item" when not talking about items (holdings)
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Ava
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2020-05-10 11:44 UTC by Katrin Fischer
Modified: 2021-12-13 21:10 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!