From 40dfb730dc3f149db3c2d571761deec5555ffdec Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Thu, 7 Nov 2019 16:35:04 -0500 Subject: [PATCH] we do not want localization for logging output /ref https://discourse.joplinapp.org/t/message-in-log-file-translated-by-mistake/4198?u=tessus --- ReactNativeClient/lib/synchronizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactNativeClient/lib/synchronizer.js b/ReactNativeClient/lib/synchronizer.js index 31683e7b8..bc7f9e904 100644 --- a/ReactNativeClient/lib/synchronizer.js +++ b/ReactNativeClient/lib/synchronizer.js @@ -266,7 +266,7 @@ class Synchronizer { if (!options) options = {}; if (this.state() != 'idle') { - let error = new Error(_('Synchronisation is already in progress. State: %s', this.state())); + let error = new Error(sprintf('Synchronisation is already in progress. State: %s', this.state())); error.code = 'alreadyStarted'; throw error; }