рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: "Yuri Chornoivan" <yurchor@ukr.net>
To: "KDE russian translation mailing list" <kde-russian@lists.kde.ru>
Subject: Re: [kde-russian] sddm-theme
Date: Fri, 12 Aug 2016 11:51:39 +0300
Message-ID: <op.yl2qwdcyl2zvei@mycomp.myhome> (raw)
In-Reply-To: <133481470990348@web20g.yandex.ru>

написане 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
>

Привет,

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

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

       reply	other threads:[~2016-08-12  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12  8:51 ` Yuri Chornoivan [this message]
2016-08-20 14:49     ` Yuri Chornoivan
2016-08-20 15:48         ` Yuri Chornoivan
2016-08-25  8:41             ` Yuri Chornoivan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.yl2qwdcyl2zvei@mycomp.myhome \
    --to=yurchor@ukr.net \
    --cc=kde-russian@lists.kde.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

рассылка русскоязычной группы пользователей и разработчиков 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