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: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.2.4
Platform: Other Linux
: NOR task
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 15:08 UTC by Oliver Kellogg
Modified: 2025-05-29 16:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:


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".
Comment 2 Nate Graham 2025-05-29 16:34:20 UTC
Git commit aeec593d220d27f1137c4e2e4b25ac73e8ca1d5f by Nate Graham.
Committed on 29/05/2025 at 16:33.
Pushed by ngraham into branch 'master'.

lockscreen: Provide context to a potentially ambiguous string
FIXED-IN: 6.5.0

M  +1    -1    desktoppackage/contents/lockscreen/config.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/aeec593d220d27f1137c4e2e4b25ac73e8ca1d5f