diff options
Diffstat (limited to 'src/translation.cpp')
-rw-r--r-- | src/translation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/translation.cpp b/src/translation.cpp index e8582f328..31efca41e 100644 --- a/src/translation.cpp +++ b/src/translation.cpp @@ -80,6 +80,8 @@ void Translations::loadTranslation(const std::string &data) if (i + 1 < wline.length()) { if (wline[i + 1] == L'=') { word1.put(L'='); + } else if (wline[i + 1] == L'n') { + word1.put(L'\n'); } else { word1.put(L'@'); word1.put(wline[i + 1]); @@ -113,6 +115,8 @@ void Translations::loadTranslation(const std::string &data) if (i + 1 < wline.length()) { if (wline[i + 1] == L'=') { word2.put(L'='); + } else if (wline[i + 1] == L'n') { + word2.put(L'\n'); } else { word2.put(L'@'); word2.put(wline[i + 1]); |