i18n: Add missing translation tags to typing notifications.

Thanks to Andrea Soc for the report.
This commit is contained in:
Tim Abbott
2020-02-12 10:48:55 -08:00
parent 19ab295172
commit 4cc25f8e84
2 changed files with 2 additions and 2 deletions

View File

@@ -1450,7 +1450,7 @@ run_test('typing_notifications', () => {
html += '</ul>';
const li = $(html).find('li').first();
assert.equal(li.text(), 'Hamlet is typing...');
assert.equal(li.text(), 'translated: Hamlet is typing...');
});

View File

@@ -1 +1 @@
<li data-email="{{this.email}}" class="typing_notification">{{this.full_name}} is typing...</li>
<li data-email="{{this.email}}" class="typing_notification">{{#tr this}}__full_name__ is typing...{{/tr}}</li>