diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-21 13:51:47 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-21 13:51:47 +0200 |
commit | 4065972000133f6da2c80b23a26ba49bd6218302 (patch) | |
tree | 63624d0fcbbd94c985cf8891176e50ba951bd6d4 /src | |
parent | 916f57f31d9b89e52797996bbd36674e14fc89bb (diff) | |
download | weechat-4065972000133f6da2c80b23a26ba49bd6218302.zip |
core: fix tests when NLS is disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/core/weechat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/weechat.h b/src/core/weechat.h index e47266c29..4d6724df3 100644 --- a/src/core/weechat.h +++ b/src/core/weechat.h @@ -48,7 +48,7 @@ #endif /* defined(ENABLE_NLS) && !defined(_) */ #if !defined(_) #define _(string) (string) - #define NG_(single,plural,number) (plural) + #define NG_(single,plural,number) ((number == 1) ? single : plural) #define N_(string) (string) #define gettext(string) (string) #endif /* !defined(_) */ |