diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-02 09:21:47 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-02 09:21:47 +0200 |
commit | e41595833a60bd3e989c731a8c781b5cc7e9475d (patch) | |
tree | 9ecd03b62e40a45962d33e22a20c90978fae30d2 /src/plugins/weechat-plugin.h | |
parent | 83dc57f56e7ec441cef849d1a68bb1c10ee00530 (diff) | |
download | weechat-e41595833a60bd3e989c731a8c781b5cc7e9475d.zip |
core: update description of plugins and translate them in output of /plugin
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 2d5b53816..ef8f048b6 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -911,11 +911,15 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); #ifndef __WEECHAT_H #ifndef _ #define _(string) weechat_plugin->gettext(string) +#endif /* _ */ +#ifndef N_ #define N_(string) (string) +#endif /* N_ */ +#ifndef NG_ #define NG_(single,plural,number) \ weechat_plugin->ngettext(single, plural, number) -#endif -#endif +#endif /* NG_ */ +#endif /* __WEECHAT_H */ #define weechat_gettext(string) weechat_plugin->gettext(string) #define weechat_ngettext(single,plural,number) \ weechat_plugin->ngettext(single, plural, number) |