diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:26:50 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:26:50 +0200 |
commit | 669df123648aaa6aeccc70206b5417bc48b4e9ae (patch) | |
tree | 463c107a8d6405020bb304f7a7253e6b64afeee0 /zen/i18n.h | |
parent | 5.18 (diff) | |
download | FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2 FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip |
5.19
Diffstat (limited to 'zen/i18n.h')
-rw-r--r-- | zen/i18n.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ std::wstring translate(const std::wstring& text) inline std::wstring translate(const std::wstring& singular, const std::wstring& plural, int n) { + if (n < 0) n = -n; return getTranslator() ? getTranslator()->translate(singular, plural, n) : n == 1 ? singular : plural; } |