changeset 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
files src/cagou/plugins/plugin_wid_chat.kv
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_wid_chat.kv	Mon Jan 09 00:46:59 2017 +0100
+++ b/src/cagou/plugins/plugin_wid_chat.kv	Mon Jan 09 00:47:03 2017 +0100
@@ -15,6 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #:import TransferMenu cagou.core.menu.TransferMenu
+#:import _ sat.core.i18n._
 
 
 <SimpleXHTMLWidgetEscapedText>:
@@ -112,7 +113,7 @@
         MessageInputWidget:
             id: message_input
             size_hint: 1, 1
-            hint_text: "Enter your message here"
+            hint_text: _(u"Enter your message here")
             on_text_validate: root.onSend(args[0])
         IconButton
             # transfer button