Fix $name$ in confirmation dialogs
Our i18n shim supports multiple substitutions if you give it an array of strings to use as replacements. // FREEBIE
This commit is contained in:
parent
a6af40e9f9
commit
02df917f3a
1 changed files with 3 additions and 2 deletions
|
@ -846,10 +846,11 @@
|
||||||
message = i18n('changedRecentlyMultiple');
|
message = i18n('changedRecentlyMultiple');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
var contactName = contacts.at(0).getTitle();
|
||||||
if (isUnverified) {
|
if (isUnverified) {
|
||||||
message = i18n('changedSinceVerified', contacts.at(0).getTitle());
|
message = i18n('changedSinceVerified', [contactName, contactName]);
|
||||||
} else {
|
} else {
|
||||||
message = i18n('changedRecently', contacts.at(0).getTitle());
|
message = i18n('changedRecently', [contactName, contactName]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue