From d3a6bdc68bfc99b6e0926fda18544b58b2c2ca59 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 13 Jan 2013 05:37:40 -0500 Subject: Allow the config parser to skip over gettext's _() to allow translating config values --- src/config.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/config.cpp b/src/config.cpp index f287d72ce..6c99e9c6e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1645,6 +1645,8 @@ void ServerConfig::LoadConf(ConfigurationFile &file) ++c; continue; } + else if (!in_word && (ch == '(' || ch == '_' || ch == ')')) + ; else if (ch == '"') { // Quotes are valid only in the value position -- cgit