Make the term 'Verified' fully localizable
FREEBIE
This commit is contained in:
@@ -112,6 +112,9 @@
|
|||||||
"verify": {
|
"verify": {
|
||||||
"message": "Verify"
|
"message": "Verify"
|
||||||
},
|
},
|
||||||
|
"verified": {
|
||||||
|
"message": "Verified"
|
||||||
|
},
|
||||||
"newIdentity": {
|
"newIdentity": {
|
||||||
"message": "New safety number",
|
"message": "New safety number",
|
||||||
"description": "Header for a key change dialog"
|
"description": "Header for a key change dialog"
|
||||||
|
@@ -79,9 +79,9 @@
|
|||||||
{{ #number }}
|
{{ #number }}
|
||||||
<span class='conversation-number'>{{ number }}</span>
|
<span class='conversation-number'>{{ number }}</span>
|
||||||
{{ /number }}
|
{{ /number }}
|
||||||
{{ #verified }}
|
{{ #isVerified }}
|
||||||
<span class='verified'>✓ Verified</span>
|
<span class='verified'>✓ {{ verified }}</span>
|
||||||
{{ /verified }}
|
{{ /isVerified }}
|
||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='conversation'>
|
<script type='text/x-tmpl-mustache' id='conversation'>
|
||||||
<div class='conversation-header {{ avatar.color }}'>
|
<div class='conversation-header {{ avatar.color }}'>
|
||||||
@@ -251,7 +251,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
||||||
<h3 class='name' dir='auto'> {{ title }} </h3>
|
<h3 class='name' dir='auto'> {{ title }} </h3>
|
||||||
<div class='number'>{{ #verified }}✓ Verified ·{{ /verified }} {{ number }}</div>
|
<div class='number'>{{ #isVerified }}✓ {{ verified }} ·{{ /isVerified }} {{ number }}</div>
|
||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='contact'>
|
<script type='text/x-tmpl-mustache' id='contact'>
|
||||||
{{> avatar }}
|
{{> avatar }}
|
||||||
|
@@ -35,7 +35,8 @@
|
|||||||
title: this.model.getTitle(),
|
title: this.model.getTitle(),
|
||||||
number: this.model.getNumber(),
|
number: this.model.getNumber(),
|
||||||
avatar: this.model.getAvatar(),
|
avatar: this.model.getAvatar(),
|
||||||
verified: this.model.isVerified()
|
isVerified: this.model.isVerified(),
|
||||||
|
verified: i18n('verified')
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
showIdentity: function() {
|
showIdentity: function() {
|
||||||
|
@@ -64,7 +64,8 @@
|
|||||||
},
|
},
|
||||||
render_attributes: function() {
|
render_attributes: function() {
|
||||||
return {
|
return {
|
||||||
verified: this.model.isVerified(),
|
isVerified: this.model.isVerified(),
|
||||||
|
verified: i18n('verified'),
|
||||||
name: this.model.getName(),
|
name: this.model.getName(),
|
||||||
number: this.model.getNumber(),
|
number: this.model.getNumber(),
|
||||||
};
|
};
|
||||||
|
@@ -86,6 +86,17 @@
|
|||||||
<script type='text/x-tmpl-mustache' id='hint'>
|
<script type='text/x-tmpl-mustache' id='hint'>
|
||||||
<p> {{ content }}</p>
|
<p> {{ content }}</p>
|
||||||
</script>
|
</script>
|
||||||
|
<script type='text/x-tmpl-mustache' id='conversation-title'>
|
||||||
|
{{ #name }}
|
||||||
|
<span class='conversation-name' dir='auto'>{{ name }}</span>
|
||||||
|
{{ /name }}
|
||||||
|
{{ #number }}
|
||||||
|
<span class='conversation-number'>{{ number }}</span>
|
||||||
|
{{ /number }}
|
||||||
|
{{ #isVerified }}
|
||||||
|
<span class='verified'>✓ {{ verified }}</span>
|
||||||
|
{{ /isVerified }}
|
||||||
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='conversation'>
|
<script type='text/x-tmpl-mustache' id='conversation'>
|
||||||
<div class='conversation-header {{ avatar.color }}'>
|
<div class='conversation-header {{ avatar.color }}'>
|
||||||
<div class='header-buttons left'>
|
<div class='header-buttons left'>
|
||||||
@@ -115,14 +126,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class='conversation-title'>
|
<span class='conversation-title'></span>
|
||||||
{{ #name }}
|
|
||||||
<span class='conversation-name' dir='auto'>{{ name }}</span>
|
|
||||||
{{ /name }}
|
|
||||||
{{ #number }}
|
|
||||||
<span class='conversation-number'>{{ number }}</span>
|
|
||||||
{{ /number }}
|
|
||||||
</span>
|
|
||||||
{{> avatar }}
|
{{> avatar }}
|
||||||
</div>
|
</div>
|
||||||
<div class='main panel'>
|
<div class='main panel'>
|
||||||
@@ -232,7 +236,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
||||||
<h3 class='name' dir='auto'> {{ title }} </h3>
|
<h3 class='name' dir='auto'> {{ title }} </h3>
|
||||||
<div class='number'>{{ number }}</div>
|
<div class='number'>{{ #isVerified }}✓ {{ verified }} ·{{ /isVerified }} {{ number }}</div>
|
||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='contact'>
|
<script type='text/x-tmpl-mustache' id='contact'>
|
||||||
{{> avatar }}
|
{{> avatar }}
|
||||||
|
Reference in New Issue
Block a user