Bug 41088 - Need to add context to "Add new" and "Remove this" in vue
Summary: Need to add context to "Add new" and "Remove this" in vue
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 38010 38201
Blocks:
  Show dependency treegraph
 
Reported: 2025-10-23 14:26 UTC by Caroline Cyr La Rose
Modified: 2025-10-23 14:42 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
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 Caroline Cyr La Rose 2025-10-23 14:26:41 UTC
The "Add new %s" in the translation files for vue files is nice and reusable in English, but it doesn't work in French because the "new" word and the determinant will change depending on what the new thing is. 

In the new vendors page, there is 
- Add new alias
- Add new contract
- Add new interface

These need all to be translated differently
- Ajouter un nouvel alias (alias is masculine but start with a vowel, un nouvel)
- Ajouter un nouveau contrat (contrat is masculine, un nouveau)
- Ajouter une nouvelle interface (interface is feminine, une nouvelle)

We need to have one string per new thing.

I suspect it's the same for the "Remove this %s" string.
Comment 1 Caroline Cyr La Rose 2025-10-23 14:31:27 UTC
I would have tried to add context, but it's in a widget by itself.