Bug 486204 - Please provide i18n context at desktoppackage/contents/lockscreen/config.qml "Media controls"
Summary: Please provide i18n context at desktoppackage/contents/lockscreen/config.qml ...
Status: REPORTED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 15:08 UTC by Oliver Kellogg
Modified: 2024-05-05 07:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2024-04-27 15:08:04 UTC
plasma-desktop/desktoppackage/contents/lockscreen/config.qml around line 30 is

    QQC2.CheckBox {
        id: showMediaControls
        Kirigami.FormData.label: i18ndc("plasma_lookandfeel_org.kde.lookandfeel",
                                        "@title: group",
                                        "Media controls:")

"Media controls" may be ambiguous for translators (social media, audiovisual media, storage media etc.)
Could you provide context please?

https://invent.kde.org/plasma/plasma-desktop/-/commit/5a782c7be30bcdfc7a0a749edbbcea3584ab8e6e#note_920877
Comment 1 Oliver Kellogg 2024-05-05 07:36:35 UTC
Taking a sample of a few existing translations,

    #!/bin/bash
    po=messages/plasma-browser-integration/plasma-browser-extension._static_.po
    for lang in ca es it fr it de nl ; do
      echo -n "$lang : "
      svn cat svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf6/${lang}/${po} \
            | grep -A1 '"Media Controls"' | tail -1
    done

gives

    ca : msgstr "Controls multimèdia"
    es : msgstr "Controles multimedia"
    it : msgstr "Controlli multimediali"
    fr : msgstr "Contrôles multimédia"
    it : msgstr "Controlli multimediali"
    de : msgstr "Mediensteuerung"
    nl : msgstr "Besturing van media"

It appears that the intention is "multimedia".