рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
* Re: [kde-russian] sddm-theme
  @ 2016-08-12  8:51 ` Yuri Chornoivan
    0 siblings, 1 reply; 4+ messages in thread
From: Yuri Chornoivan @ 2016-08-12  8:51 UTC (permalink / raw)
  To: KDE russian translation mailing list

написане Fri, 12 Aug 2016 11:25:48 +0300, Виктор <victorr2007@ya.ru>:

> Добрый день!
> В plasma-workspace, в ветке «Мастер» переместили тему входа в систему
> из lookandfeel в sddm-theme.
> https://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=ab5de0c89fbb55c2888654e535ce7c1a47073c55
> Теперь файлы в plasma-workspace/sddm-theme не обрабатываются файлом  
> plasma-workspace/lookandfeel/Messages.sh
> и как следствие, экран входа без перевода.
> Пришлось скопировать plasma-workspace/sddm-theme в  
> plasma-workspace/lookandfeel/contents,
> а потом запустить Messages.sh для получения корректного  
> plasma_lookandfeel_org.kde.lookandfeel.pot.
> Кстати, в plasma-workspace/sddm-theme не все строки доступны для  
> перевода.
> Сделал такой патч, и теперь перавод работает для всех строк.
>
> diff -urN plasma-workspace/sddm-theme/Login.qml  
> plasma-workspace-patched/sddm-theme/Login.qml
> --- plasma-workspace/sddm-theme/Login.qml 2016-08-11 14:06:49.000000000  
> +0300
> +++ plasma-workspace-patched/sddm-theme/Login.qml 2016-08-12  
> 09:26:37.000000000
> +0300
> @@ -100,7 +100,7 @@
> anchors.horizontalCenter: parent.horizontalCenter
> anchors.verticalCenter: parent.verticalCenter
> anchors.verticalCenterOffset: units.largeSpacing * 5
> - placeholderText: "Password"
> + placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel",  
> "Password")
> focus: true
> echoMode: TextInput.Password
>
> @@ -132,7 +132,7 @@
> anchors.top: passwordBox.bottom
> anchors.topMargin: units.smallSpacing
>
> - text: "Login"
> + text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login")
> enabled: !loggingIn
>
> onClicked: startLogin();
> diff -urN plasma-workspace/sddm-theme/Main.qml  
> plasma-workspace-patched/sddm-theme/Main.qml
> --- plasma-workspace/sddm-theme/Main.qml 2016-08-11 14:06:49.000000000  
> +0300
> +++ plasma-workspace-patched/sddm-theme/Main.qml 2016-08-12  
> 09:08:03.000000000 +0300
> @@ -77,7 +77,7 @@
> property alias searching : login.searching
>
> iconSource: searching ? "edit-select" : "search"
> - text: searching ? "Select User" : "Search for User"
> + text: searching ?  
> i18nd("plasma_lookandfeel_org.kde.lookandfeel","Select User")
> : i18nd("plasma_lookandfeel_org.kde.lookandfeel","Search for User")
>
> onClicked: {
> searching = !searching
>

Привет,

Исправлено. Спасибо за замечания.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [kde-russian] sddm-theme
  @ 2016-08-20 14:49     ` Yuri Chornoivan
    0 siblings, 1 reply; 4+ messages in thread
From: Yuri Chornoivan @ 2016-08-20 14:49 UTC (permalink / raw)
  To: KDE russian translation mailing list

субота, 20-сер-2016 17:35:25 Виктор написано:
> Здравствуйте, Юрий!
> Увидел, что вы откатили lookandfeel/Messages.sh
> https://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=8d9bf71f4829
> e7870ff26007c9fff5495c2856e7 Если не секрет, с чем это связано?
> Неужели опять отменяется новый экран входа?

Добрый день,

Просто не туда посмотрел. В журнале обработки строки предупреждений переехали 
в lookandfeel и я не туда посмотрел. :(

Сейчас исправлю.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [kde-russian] sddm-theme
  @ 2016-08-20 15:48         ` Yuri Chornoivan
    0 siblings, 1 reply; 4+ messages in thread
From: Yuri Chornoivan @ 2016-08-20 15:48 UTC (permalink / raw)
  To: KDE russian translation mailing list

субота, 20-сер-2016 18:42:47 Виктор написано:
> Ещё в поле ввода пароля слово Password без перевода.
> Я себе в файле plasma-workspace/lookandfeel/contents/components/Login.qml
> https://quickgit.kde.org/?p=plasma-workspace.git&a=blob&h=1d9bd253c7c0714b9f
> ad873f3d86c45b37e84ad4&hb=8d9bf71f4829e7870ff26007c9fff5495c2856e7&f=lookand
> feel%2Fcontents%2Fcomponents%2FLogin.qml менял строку
> placeholderText: "Password"
> 
> на
> 
> placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel",
> "Password");

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [kde-russian] sddm-theme
  @ 2016-08-25  8:41             ` Yuri Chornoivan
  0 siblings, 0 replies; 4+ messages in thread
From: Yuri Chornoivan @ 2016-08-25  8:41 UTC (permalink / raw)
  To: KDE russian translation mailing list

четвер, 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: ""
>              }

Добрый день,

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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-25  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12  8:51 ` [kde-russian] sddm-theme Yuri Chornoivan
2016-08-20 14:49     ` Yuri Chornoivan
2016-08-20 15:48         ` Yuri Chornoivan
2016-08-25  8:41             ` Yuri Chornoivan

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git