Fix typo and formatting in user-facing strings

This commit is contained in:
JC Brand 2018-12-19 05:48:11 +01:00
parent d75e47db6f
commit c8d78d744b
2 changed files with 4 additions and 4 deletions

4
dist/converse.js vendored
View File

@ -56089,7 +56089,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
api = _converse.api;
ev.preventDefault();
if (confirm(__("Are you sure you want to generate new OMEMO keys? " + "This will remove your old keys and all previously encrypted messages will no longer be ecryptable on this device."))) {
if (confirm(__("Are you sure you want to generate new OMEMO keys? " + "This will remove your old keys and all previously encrypted messages will no longer be decryptable on this device."))) {
api.omemo.bundle.generate();
}
}
@ -56477,7 +56477,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
__ = _converse.__;
if (!this.model.get('omemo_supported')) {
return _converse.api.alert.show(Strophe.LogLevel.ERROR, __('Error'), [__(`Cannot use end-to-end encryption because %1$s uses a client that doesn't support OMEMO.`, this.model.contact.getDisplayName())]);
return _converse.api.alert.show(Strophe.LogLevel.ERROR, __('Error'), [__("Cannot use end-to-end encryption because %1$s uses a client that doesn't support OMEMO.", this.model.contact.getDisplayName())]);
}
ev.preventDefault();

View File

@ -130,7 +130,7 @@ converse.plugins.add('converse-omemo', {
ev.preventDefault();
if (confirm(__(
"Are you sure you want to generate new OMEMO keys? " +
"This will remove your old keys and all previously encrypted messages will no longer be ecryptable on this device.")
"This will remove your old keys and all previously encrypted messages will no longer be decryptable on this device.")
)) {
api.omemo.bundle.generate();
}
@ -501,7 +501,7 @@ converse.plugins.add('converse-omemo', {
return _converse.api.alert.show(
Strophe.LogLevel.ERROR,
__('Error'),
[__(`Cannot use end-to-end encryption because %1$s uses a client that doesn't support OMEMO.`,
[__("Cannot use end-to-end encryption because %1$s uses a client that doesn't support OMEMO.",
this.model.contact.getDisplayName()
)]
)