Created attachment 191104 [details] Screenshot of network manager configuration of open connect The german translation of machine private key is missleading, it contains the field for "Privater Schlüssel" twice (see attachment). This issue comes from https://gitlab.com/openconnect/openconnect-gui/-/work_items/421 Ideally the translation for the second key in the screenshot would be "Privater Maschinen-Schlüssel". Forgive me if this is still the wrong place for the issue. If it is please lead me to the right place
There are two identical strings "Private Key:" in plasma-nm, see lines https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/openconnectprop.ui?ref_type=heads#L261 and https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/openconnectprop.ui?ref_type=heads#L299 with different meaning: - first one belongs to machine (my assumption) - second one belongs to user certificate (my assumption) Those two identical strings are extracted as only one string into template file for translation: https://invent.kde.org/localization/l10n-templates/-/blob/master/summit/messages/plasma-nm/plasmanetworkmanagement_openconnectui.pot?ref_type=heads#L337 This you could see in comment line https://invent.kde.org/localization/l10n-templates/-/blob/master/summit/messages/plasma-nm/plasmanetworkmanagement_openconnectui.pot?ref_type=heads#L335 This issue affects all languages, because all are using same template file for translation. Please rename strings https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/openconnectprop.ui?ref_type=heads#L261 and https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/openconnectprop.ui?ref_type=heads#L299 to make them unique, e. g. by adding "Machine" and "User" to those strings.
Thanks for the bug report, and the detailed analysis. Moving to the translations project
(In reply to AlexB from comment #1) > There are two identical strings "Private Key:" in plasma-nm, see lines > https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/ > openconnectprop.ui?ref_type=heads#L261 > and > https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/ > openconnectprop.ui?ref_type=heads#L299 > with different meaning: > - first one belongs to machine (my assumption) > - second one belongs to user certificate (my assumption) > Those two identical strings are extracted as only one string into template > file for translation: > https://invent.kde.org/localization/l10n-templates/-/blob/master/summit/ > messages/plasma-nm/plasmanetworkmanagement_openconnectui. > pot?ref_type=heads#L337 > This you could see in comment line > https://invent.kde.org/localization/l10n-templates/-/blob/master/summit/ > messages/plasma-nm/plasmanetworkmanagement_openconnectui. > pot?ref_type=heads#L335 > This issue affects all languages, because all are using same template file > for translation. > Please rename strings > https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/ > openconnectprop.ui?ref_type=heads#L261 > and > https://invent.kde.org/plasma/plasma-nm/-/blob/master/vpn/openconnect/ > openconnectprop.ui?ref_type=heads#L299 > to make them unique, e. g. by adding "Machine" and "User" to those strings. MR created: https://invent.kde.org/plasma/plasma-nm/-/merge_requests/549
Git commit ef4605710d6dd20f10f970a973e352877be0199a by Alexander Becker. Committed on 31/03/2026 at 19:32. Pushed by aacid into branch 'master'. Make two identical strings from connect dialog distinguishable from each other String "Private Key:" shown twice in OpenConnect dialog, see https://bugsfiles.kde.org/attachment.cgi?id=191104 Also during translation to other languages it cannot be differentiated, because both strings will be extracted to one single string, see https://invent.kde.org/localization/l10n-templates/-/blob/master/summit/messages/plasma-nm/plasmanetworkmanagement_openconnectui.pot?ref_type=heads#L337 Only the comment in translation template shows where the string comes from: #: openconnectprop.ui:261 openconnectprop.ui:299 Current MR adds "Machine " respectively "User " to those strings to make clear to the user which field in the dialog is intended for which input. M +2 -2 vpn/openconnect/openconnectprop.ui https://invent.kde.org/plasma/plasma-nm/-/commit/ef4605710d6dd20f10f970a973e352877be0199a