Bug 41600 - Add context for translation of "# of % selected"
Summary: Add context for translation of "# of % selected"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-13 07:43 UTC by Igor A. Sychev
Modified: 2026-01-13 15:25 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor A. Sychev 2026-01-13 07:43:04 UTC
How do I make a translate?

English
# of % selected
Russian
# из % выбранных

koha-tmpl/intranet-tmpl/prog/js/categories.js:127
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js:653

https://translate.koha-community.org/translate/koha/25-11/messages-js/ru/?checksum=764f084846e82145&q=+source%3A%22of+%25+selected%22#translations
Comment 1 Owen Leonard 2026-01-13 15:25:20 UTC
It is used by the Javascript which creates the dropdown, which under some circumstances displays a count of how many selections were made.

There is a setting which controls when the message is displayed, and the default is 3. If you make four selections the dropdown will display, for example, "4 of 11 selected."

You can test this behavior in System Preferences, search for "PseudonymizationPatronFields."

I'm changing the title of this bug because I think we can add context for the string to make it more clear what's going on.