Christian Lohmaier kirjoitti 10.6.2026 16:36:
Hi Tuomas, *,

On Wed, Jun 10, 2026 at 3:25 PM Tuomas Hietala <[email protected]> wrote:

Also, searching for "SC_OPCODE" in Weblate was a good way to find all
the the function-related strings. I think searching for "oc" will
produce lots of false positives.

Nah, that's pretty much the same. Search for  context:r"^oc" i.e.
context starting with oc and assuming you're only searching in
sc/messages it is the same thing really. You can also filter for
location:sc/inc/scfuncs.hrc where those strings come from.

Okay, I'll try that.

Is the benefit of this change on the development side proportional to
the drawbacks on the translation side?

Better maintainable code/better structured code.. And if the searching
for strings was the only drawback (except being jumpscared by 2000 new
strings) - for that I don't see the problem, you can search for
location or the new prefix instead.

Fine, let's go ahead then. Although I'll note that these kind of bulk changes also erase translation history in Weblate as side effect. Maybe most translators won't object to that - but I think many developers would if the same happened to the code they've written.


ciao
Christian

Tuomas

--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to