[kde-russian] sddm-theme

Yuri Chornoivan yurchor на ukr.net
Чт Авг 25 11:41:38 MSK 2016


четвер, 25-сер-2016 11:24:59 Виктор написано:
> Добрый день!
> Как оказалось, есть ещё места без перевода.
> При блокировке экрана и ещё в паре мест.
> Исправлял таким патчем
>  
> diff -urN plasma-workspace/lookandfeel/contents/lockscreen/LockScreenUi.qml
> plasma-workspace-patched/lookandfeel/contents/lockscreen/LockScreenUi.qml
> --- plasma-workspace/lookandfeel/contents/lockscreen/LockScreenUi.qml  
>  2016-08-24 16:25:24.000000000 +0300 +++
> plasma-workspace-patched/lookandfeel/contents/lockscreen/LockScreenUi.qml  
>  2016-08-24 17:15:30.000000000 +0300 @@ -137,7 +137,7 @@
>  
>              PlasmaComponents.Button {
>                  Layout.fillWidth: true
> -                text: "Switch Session"
> +                text:
> i18nd("org.kde.plasma_lookandfeel_org.kde.lookandfeel", "Switch Session")
> onClicked: {
>                     
> sessionsModel.switchUser(userListCurrentModelData.vtNumber) mainStack.pop()
> diff -urN plasma-workspace/lookandfeel/contents/lockscreen/MainBlock.qml
> plasma-workspace-patched/lookandfeel/contents/lockscreen/MainBlock.qml ---
> plasma-workspace/lookandfeel/contents/lockscreen/MainBlock.qml  
>  2016-08-24 16:25:24.000000000 +0300 +++
> plasma-workspace-patched/lookandfeel/contents/lockscreen/MainBlock.qml  
>  2016-08-25 10:19:08.000000000 +0300 @@ -64,7 +64,7 @@
>          id: passwordBox
>          Layout.fillWidth: true
>  
> -        placeholderText: i18nd("plasma_lookandfeel_org", "Password")
> +        placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel",
> "Password") focus: true
>          echoMode: TextInput.Password
>  
> @@ -90,7 +90,7 @@
>          id: loginButton
>          Layout.fillWidth: true
>  
> -        text: userListCurrentIndex == 0 ? i18nd("plasma_lookandfeel_org",
> "Unlock") : i18nd("plasma_lookandfeel_org", "Start New Session") +       
> text: userListCurrentIndex == 0 ?
> i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Unlock") :
> i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Start New Session")
> onClicked: userListCurrentIndex == 0 ? startLogin() : newSession() }
>  }
> diff -urN plasma-workspace/sddm-theme/Main.qml
> plasma-workspace-patched/sddm-theme/Main.qml ---
> plasma-workspace/sddm-theme/Main.qml    2016-08-24 16:25:24.000000000 +0300
> +++ plasma-workspace-patched/sddm-theme/Main.qml    2016-08-25
> 10:20:13.000000000 +0300 @@ -122,7 +122,7 @@
>              notificationMessage: root.notificationMessage
>  
>              userListModel: QtObject {
> -                property string name: i18nd("plasma_lookandfeel_org",
> "Login as different user") +                property string name:
> i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login as different user")
> property string iconSource: ""
>              }

Добрый день,

Исправил. Спасибо.

С уважением,
Юрий


Подробная информация о списке рассылки kde-russian