Hi Valter, *,

On Wed, Oct 8, 2025 at 12:15 PM Valter Mura <[email protected]> wrote:
> […]
> if using the feature "Insert > Media > Add Audio or Video" in Writer, a
> pane appeared in Sidebar, with commands to stop, play, repeat, pause and
> also mute.
>
> The tooltips linked to this commands appears in English, even if the
> interface is setup in Italian and all strings in Weblate are translated.
>
> In Weblate, I can give the context (25.5): "medialine|toolbutton_play" /
> ID: "NpB3s" for Play, the others follow.
>
> Are this strings hardcoded?

If it has a keyID it is a translatable string, if not it is either not
coming from LibreOffice / would be translated by the system or is
indeed hardcoded.
svx/uiconfig/ui/medialine.ui has the string you mentioned (the Play
string) - but that file doesn't define any tooltips.

and also is not the file that's used for the sidebar. That is defined
in svx/uiconfig/ui/mediaplayback.ui (So I assume you looked for Play
in weblate and that was the result as opposed to using a keyID build
and getting that ID displayed in the UI, right?)

And there the strings are defined as not translatable.
e.g. 
https://git.libreoffice.org/core/+/refs/heads/master/svx/uiconfig/ui/mediaplayback.ui#197

> Could anyone else check in other languages?

no need to check in other languages, it is not a string that is
extracted to the po files/it is as you said hardcoded/has been that
way since at least five years/since the initial conversion to the ui
format (as opposed to defining/creating the UI in cxx)

ciao
Christian

-- 
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