summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-05-17 10:32:07 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2019-05-17 10:32:07 +0100
commit2ca683e8fe8653bf7946f4237f562aef6a2a010a (patch)
treec151cbe8efe2556a2723d4a544e1e6a170e4d4fc
parentfd20addead83fce11c23a607011639c882f862b0 (diff)
downloaddeluge-2ca683e8fe8653bf7946f4237f562aef6a2a010a.tar.gz
deluge-2ca683e8fe8653bf7946f4237f562aef6a2a010a.tar.bz2
deluge-2ca683e8fe8653bf7946f4237f562aef6a2a010a.zip
[Daemon] Fix showing translation warning messages
Disable the warn_msg in daemon_entry since the argparse option are all marked for translation and warnings are being output. The original intent of this warn_msg was to identify anything in core code that was incorrectly marked for translation.
-rw-r--r--deluge/core/daemon_entry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/daemon_entry.py b/deluge/core/daemon_entry.py
index 0a2261a08..8b3746c43 100644
--- a/deluge/core/daemon_entry.py
+++ b/deluge/core/daemon_entry.py
@@ -78,7 +78,7 @@ def start_daemon(skip_start=False):
deluge.core.daemon.Daemon: A new daemon object
"""
- setup_mock_translation(warn_msg=True)
+ setup_mock_translation()
# Setup the argument parser
parser = ArgParserBase()