Добрый день!
В новой версии сломали перевод всплывающих сообщений.
Вот картинка https://imgur.com/a/9E3tr3Z
Можно пока исправить приложенным патчем.
--
С Уважением,
С Уважением,
Виктор
victorr2...@yandex.ru
diff -urN plasma-nm-5.24.90/kcm/qml/AddConnectionDialog.qml plasma-nm-5.24.90-patched/kcm/qml/AddConnectionDialog.qml --- plasma-nm-5.24.90/kcm/qml/AddConnectionDialog.qml 2022-05-25 05:49:01.000000000 +0300 +++ plasma-nm-5.24.90-patched/kcm/qml/AddConnectionDialog.qml 2022-05-27 15:41:52.537515312 +0300 @@ -157,7 +157,7 @@ QQC2.Button { id: createButton enabled: false - text: i18n("Create") + text: i18nd("plasmanetworkmanagement-kcm", "Create") onClicked: { dialog.close() @@ -167,7 +167,7 @@ QQC2.Button { id: cancelButton - text: i18n("Cancel") + text: i18nd("plasmanetworkmanagement-kcm", "Cancel") onClicked: { dialog.close() @@ -184,7 +184,7 @@ } icon.name: "configure" - QQC2.ToolTip.text: i18n("Configuration") + QQC2.ToolTip.text: i18nd("plasmanetworkmanagement-kcm", "Configuration") QQC2.ToolTip.visible: hovered onClicked: { diff -urN plasma-nm-5.24.90/kcm/qml/ConfigurationDialog.qml plasma-nm-5.24.90-patched/kcm/qml/ConfigurationDialog.qml --- plasma-nm-5.24.90/kcm/qml/ConfigurationDialog.qml 2022-05-25 05:49:01.000000000 +0300 +++ plasma-nm-5.24.90-patched/kcm/qml/ConfigurationDialog.qml 2022-05-27 15:44:58.213325511 +0300 @@ -13,7 +13,7 @@ Dialog { id: configurationDialog standardButtons: Dialog.Ok | Dialog.Cancel - title: i18nc("@title:window", "Configuration") + title: i18ndc("plasmanetworkmanagement-kcm", "@title:window", "Configuration") contentItem: Item { implicitHeight: 230 @@ -34,19 +34,19 @@ Kirigami.Heading { id: generalLabel level: 2 - text: i18n("General") + text: i18nd("plasmanetworkmanagement-kcm", "General") } QQC2.CheckBox { id: unlockModem - text: i18n("Ask for PIN on modem detection") + text: i18nd("plasmanetworkmanagement-kcm", "Ask for PIN on modem detection") onClicked: configurationChanged() Component.onCompleted: checked = PlasmaNM.Configuration.unlockModemOnDetection } QQC2.CheckBox { id: manageVirtualConnections - text: i18n("Show virtual connections") + text: i18nd("plasmanetworkmanagement-kcm", "Show virtual connections") onClicked: configurationChanged() Component.onCompleted: checked = PlasmaNM.Configuration.manageVirtualConnections } @@ -54,13 +54,13 @@ Kirigami.Heading { id: hotspotLabel level: 2 - text: i18n("Hotspot") + text: i18nd("plasmanetworkmanagement-kcm", "Hotspot") Component.onCompleted: visible = handler.hotspotSupported } QQC2.TextField { id: hotspotName - Kirigami.FormData.label: i18n("Hotspot name:") + Kirigami.FormData.label: i18nd("plasmanetworkmanagement-kcm", "Hotspot name:") onTextChanged: configurationChanged() Component.onCompleted: { text = PlasmaNM.Configuration.hotspotName @@ -70,7 +70,7 @@ QQC2.TextField { id: hotspotPassword - Kirigami.FormData.label: i18n("Hotspot password:") + Kirigami.FormData.label: i18nd("plasmanetworkmanagement-kcm", "Hotspot password:") validator: RegExpValidator { regExp: if (useApMode) { /^$|^(?:.{8,64}){1}$/ @@ -100,7 +100,7 @@ QQC2.Button { id: okButton enabled: false - text: i18n("Ok") + text: i18nd("plasmanetworkmanagement-kcm", "Ok") onClicked: { configurationDialog.accept() @@ -109,7 +109,7 @@ QQC2.Button { id: cancelButton - text: i18n("Cancel") + text: i18nd("plasmanetworkmanagement-kcm", "Cancel") onClicked: { configurationDialog.close() diff -urN plasma-nm-5.24.90/kcm/qml/ConnectionItem.qml plasma-nm-5.24.90-patched/kcm/qml/ConnectionItem.qml --- plasma-nm-5.24.90/kcm/qml/ConnectionItem.qml 2022-05-25 05:49:01.000000000 +0300 +++ plasma-nm-5.24.90-patched/kcm/qml/ConnectionItem.qml 2022-05-27 15:40:56.484176369 +0300 @@ -96,7 +96,7 @@ id: connectionItemMenu QQC.MenuItem { - text: ConnectionState == PlasmaNM.Enums.Deactivated ? i18n("Connect") : i18n("Disconnect") + text: ConnectionState == PlasmaNM.Enums.Deactivated ? i18nd("plasmanetworkmanagement-kcm", "Connect") : i18nd("plasmanetworkmanagement-kcm", "Disconnect") visible: ItemType == 1 onTriggered: { if (ConnectionState == PlasmaNM.Enums.Deactivated) { @@ -109,7 +109,7 @@ QQC.MenuItem { iconName: "list-remove" - text: i18n("Delete"); + text: i18nd("plasmanetworkmanagement-kcm", "Delete"); onTriggered: { aboutToRemoveConnection(Name, ConnectionPath) @@ -119,7 +119,7 @@ QQC.MenuItem { iconName: "document-export" visible: KcmVpnConnectionExportable - text: i18n("Export"); + text: i18nd("plasmanetworkmanagement-kcm", "Export"); onTriggered: aboutToExportConnection(ConnectionPath) } @@ -144,9 +144,9 @@ in the list at the left side of the applet. */ function itemText() { if (ConnectionState == PlasmaNM.Enums.Activated) { - return i18n("Connected") + return i18nd("plasmanetworkmanagement-kcm", "Connected") } else if (ConnectionState == PlasmaNM.Enums.Activating) { - return i18n("Connecting") + return i18nd("plasmanetworkmanagement-kcm", "Connecting") } else { return LastUsed } diff -urN plasma-nm-5.24.90/kcm/qml/main.qml plasma-nm-5.24.90-patched/kcm/qml/main.qml --- plasma-nm-5.24.90/kcm/qml/main.qml 2022-05-25 05:49:01.000000000 +0300 +++ plasma-nm-5.24.90-patched/kcm/qml/main.qml 2022-05-27 15:46:34.460190387 +0300 @@ -136,7 +136,7 @@ icon.name: "list-add" - QQC2.ToolTip.text: i18n("Add new connection") + QQC2.ToolTip.text: i18nd("plasmanetworkmanagement-kcm", "Add new connection") QQC2.ToolTip.visible: hovered onClicked: { @@ -150,7 +150,7 @@ enabled: connectionView.currentConnectionPath && connectionView.currentConnectionPath.length icon.name: "list-remove" - QQC2.ToolTip.text: i18n("Remove selected connection") + QQC2.ToolTip.text: i18nd("plasmanetworkmanagement-kcm", "Remove selected connection") QQC2.ToolTip.visible: hovered onClicked: { @@ -166,7 +166,7 @@ enabled: connectionView.currentConnectionExportable icon.name: "document-export" - QQC2.ToolTip.text: i18n("Export selected connection") + QQC2.ToolTip.text: i18nd("plasmanetworkmanagement-kcm", "Export selected connection") QQC2.ToolTip.visible: hovered onClicked: { @@ -190,7 +190,7 @@ icon.name: "configure" - QQC2.ToolTip.text: i18n("Configuration") + QQC2.ToolTip.text: i18nd("plasmanetworkmanagement-kcm", "Configuration") QQC2.ToolTip.visible: hovered onClicked: { @@ -218,8 +218,8 @@ icon: StandardIcon.Question standardButtons: StandardButton.Ok | StandardButton.Cancel - title: i18nc("@title:window", "Remove Connection") - text: i18n("Do you want to remove the connection '%1'?", toHtmlEscaped(connectionName)) + title: i18ndc("plasmanetworkmanagement-kcm", "@title:window", "Remove Connection") + text: i18nd("plasmanetworkmanagement-kcm", "Do you want to remove the connection '%1'?", toHtmlEscaped(connectionName)) onAccepted: { if (connectionPath == connectionView.currentConnectionPath) {
_______________________________________________ kde-russian mailing list kde-russian@lists.kde.ru https://lists.kde.ru/mailman/listinfo/kde-russian