Add a few missing translatable strings to conversation search view
This commit is contained in:
parent
b1a37da68b
commit
eb5c95e287
2 changed files with 15 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
render_attributes: function() {
|
||||
return {
|
||||
number: 'Click to create new contact',
|
||||
number: i18n('newContact'),
|
||||
title: this.model.getNumber(),
|
||||
avatar: this.model.getAvatar(),
|
||||
};
|
||||
|
@ -105,7 +105,7 @@
|
|||
this.resetTypeahead();
|
||||
}.bind(this));
|
||||
} else {
|
||||
this.new_contact_view.$('.number').text("Invalid number");
|
||||
this.new_contact_view.$('.number').text(i18n('invalidNumberError'));
|
||||
this.$input.focus();
|
||||
}
|
||||
},
|
||||
|
@ -144,7 +144,7 @@
|
|||
if (!this.hintView) {
|
||||
this.hintView = new Whisper.HintView({
|
||||
className: 'contact placeholder',
|
||||
content: "Enter a phone number to add a contact."
|
||||
content: i18n('newPhoneNumber')
|
||||
}).render();
|
||||
this.hintView.$el.insertAfter(this.$input);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue