Commit 836a7cb8 authored by lilia's avatar lilia
Browse files

i18n InboxView

// FREEBIE
parent 85eb5c4d
{
"submitDebugLog": {
"message": "Submit debug log"
},
"searchForPeopleOrGroups": {
"message": "Search for people or groups",
"description": "Placeholder text in the search input"
},
"welcomeToSignal": {
"message": "Welcome to Signal"
},
"selectAContact": {
"message": "Select a contact or group to start chatting."
},
"ok": {
"message": "OK"
},
......
......@@ -7,13 +7,13 @@
<div class='global-menu menu'>
<button class='hamburger'></button>
<ul class='menu-list'>
<li><a class='show-debug-log'>Submit debug log</a></li>
<li><a class='show-debug-log'>{{ submitDebugLog }}</a></li>
</ul>
</div>
<span class='socket-status'></span>
<div class='tool-bar clearfix'>
<!-- <button class='show-new-conversation'></button> -->
<input type='search' class='search' placeholder='Search for people or groups'>
<input type='search' class='search' placeholder='{{ searchForPeopleOrGroups }}'>
</div>
</div>
<div class='gutter'>
......@@ -24,8 +24,8 @@
</div>
<div class='conversation-stack'>
<div class='conversation placeholder'>
<h3>Welcome to Signal</h3>
<p> Select a contact or group to start chatting.</p>
<h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p>
</div>
</div>
</script>
......
......@@ -111,6 +111,12 @@
this.inboxListView.stopListening();
}.bind(this));
},
render_attributes: {
welcomeToSignal: i18n('welcomeToSignal'),
selectAContact: i18n('selectAContact'),
searchForPeopleOrGroups: i18n('searchForPeopleOrGroups'),
submitDebugLog: i18n('submitDebugLog')
},
events: {
'click': 'closeMenu',
'click .hamburger': 'toggleMenu',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment