Bug 35433 - Mark some strings as read-only
Summary: Mark some strings as read-only
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: translate.koha-community.org (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-29 14:15 UTC by Jonathan Druart
Modified: 2023-11-30 22:29 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:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2023-11-29 14:15:01 UTC
We could propagate a "do not translate this string!" flag up to Weblate.
We only need to have a "#, read-only" line before the msgid

https://docs.weblate.org/en/latest/admin/checks.html#custom-checks

Which kind of strings would we want to mark as such?

I have not tested yet but I would be willing to investigate if we have the need for it.
Comment 1 Magnus Enger 2023-11-30 08:18:07 UTC
There are a bunch of names from the "About" page that could be candidates, perhaps? For example: "Brimbank City Council, Australia".
Comment 2 Tomás Cohen Arazi 2023-11-30 13:06:47 UTC
(In reply to Magnus Enger from comment #1)
> There are a bunch of names from the "About" page that could be candidates,
> perhaps? For example: "Brimbank City Council, Australia".

Column names in column settings?
Comment 3 Magnus Enger 2023-11-30 13:09:31 UTC
Names of sysprefs?
Comment 4 Katrin Fischer 2023-11-30 22:29:40 UTC
(In reply to Magnus Enger from comment #1)
> There are a bunch of names from the "About" page that could be candidates,
> perhaps? For example: "Brimbank City Council, Australia".

Hm, I think we did translate the countries for these. But I am sure there are other examples: ILS-DI documentation XML