From c8d78d744be7fc9136c44806d7f7e2643554385b Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 19 Dec 2018 05:48:11 +0100 Subject: [PATCH] Fix typo and formatting in user-facing strings --- dist/converse.js | 4 ++-- src/converse-omemo.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/converse.js b/dist/converse.js index bcb04d925..4ee439fad 100644 --- a/dist/converse.js +++ b/dist/converse.js @@ -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(); diff --git a/src/converse-omemo.js b/src/converse-omemo.js index 78fcda297..edb6247d8 100644 --- a/src/converse-omemo.js +++ b/src/converse-omemo.js @@ -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() )] )