Remove formatting in importError localization string

This commit is contained in:
Scott Nonnenberg 2018-05-21 11:57:40 -07:00
parent ab00c71c46
commit 01be58acc2
4 changed files with 15 additions and 10 deletions

View file

@ -11,11 +11,8 @@ describe('i18n', function() {
assert.equal(actual, 'Attempting reconnect in 5 seconds');
});
it('returns message with multiple substitutions', function() {
const actual = i18n('verifyContact', ['<strong>', '</strong>']);
assert.equal(
actual,
'You may wish to <strong> verify </strong> your safety number with this contact.'
);
const actual = i18n('theyChangedTheTimer', ['Someone', '5 minutes']);
assert.equal(actual, 'Someone set the timer to 5 minutes.');
});
});