Mercurial > libervia-desktop-kivy
comparison src/cagou/plugins/plugin_wid_chat.kv @ 104:663e44f30092
chat: added gettext call for hint_text in input
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 09 Jan 2017 00:47:03 +0100 |
parents | c601e3d40342 |
children | ce6ef88f2cff |
comparison
equal
deleted
inserted
replaced
103:c601e3d40342 | 104:663e44f30092 |
---|---|
13 | 13 |
14 # You should have received a copy of the GNU Affero General Public License | 14 # You should have received a copy of the GNU Affero General Public License |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | 16 |
17 #:import TransferMenu cagou.core.menu.TransferMenu | 17 #:import TransferMenu cagou.core.menu.TransferMenu |
18 #:import _ sat.core.i18n._ | |
18 | 19 |
19 | 20 |
20 <SimpleXHTMLWidgetEscapedText>: | 21 <SimpleXHTMLWidgetEscapedText>: |
21 size_hint: None, None | 22 size_hint: None, None |
22 size: self.texture_size | 23 size: self.texture_size |
110 height: dp(40) | 111 height: dp(40) |
111 message_input: message_input | 112 message_input: message_input |
112 MessageInputWidget: | 113 MessageInputWidget: |
113 id: message_input | 114 id: message_input |
114 size_hint: 1, 1 | 115 size_hint: 1, 1 |
115 hint_text: "Enter your message here" | 116 hint_text: _(u"Enter your message here") |
116 on_text_validate: root.onSend(args[0]) | 117 on_text_validate: root.onSend(args[0]) |
117 IconButton | 118 IconButton |
118 # transfer button | 119 # transfer button |
119 source: app.expand("{media}/icons/tango/actions/32/list-add.png") | 120 source: app.expand("{media}/icons/tango/actions/32/list-add.png") |
120 allow_stretch: True | 121 allow_stretch: True |