Date: prev next · Thread: first prev next last
2026 Archives by date, by thread · List index


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

On Wed, Jun 10, 2026 at 3:25 PM Tuomas Hietala <tuomas.hietala@iki.fi> 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: l10n+unsubscribe@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.