[polari] cleanup: Use template literals for non-translated strings



commit 48c3667371011e841988e404f8198655755a7004
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Aug 12 19:37:14 2021 +0200

    cleanup: Use template literals for non-translated strings
    
    https://gitlab.gnome.org/GNOME/polari/-/merge_requests/211

 src/application.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.js b/src/application.js
index a8da49d2..50b98fc3 100644
--- a/src/application.js
+++ b/src/application.js
@@ -144,7 +144,7 @@ export default GObject.registerClass({
             proc.init(null);
             this._demons.push(proc);
         } catch (e) {
-            log('Failed to launch %s: %s'.format(command, e.message));
+            log(`Failed to launch ${command}: ${e.message}`);
         }
     }
 


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