[polari] utils: Unbreak xgettext (again)



commit eb042408e2b1cc0dcc0f3e2f066212fa36352325
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Aug 24 12:34:58 2019 +0300

    utils: Unbreak xgettext (again)
    
    It turns out that xgettext doesn't only have issues with slashes in
    backtick strings, but with quotes as well.

 src/telepathyClient.js | 2 +-
 src/utils.js           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/telepathyClient.js b/src/telepathyClient.js
index 7731b4f..2358636 100644
--- a/src/telepathyClient.js
+++ b/src/telepathyClient.js
@@ -76,7 +76,7 @@ class SASLAuthHandler {
     _onSASLStatusChanged(proxy, sender, [status]) {
         let name = this._channel.connection.get_account().display_name;
         let statusString = Object.keys(SASLStatus)[status];
-        debug(`Auth status for server "${name}": ${statusString}`);
+        debug(`Auth status for server ${name}: ${statusString}`);
 
         switch (status) {
         case SASLStatus.NOT_STARTED:
diff --git a/src/utils.js b/src/utils.js
index db5f52e..69ce5b2 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -119,7 +119,7 @@ function _storePassword(schema, label, account, password, callback) {
             callback(success);
         } catch (e) {
             let name = account.display_name;
-            log(`Failed to store password for account "${name}": ${e.message}`);
+            log(`Failed to store password for account ${name}: ${e.message}`);
             callback(false);
         }
     });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]