aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/I18n.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/I18n.hh')
-rw-r--r--src/FbTk/I18n.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/I18n.hh b/src/FbTk/I18n.hh
index 08f973d..186809b 100644
--- a/src/FbTk/I18n.hh
+++ b/src/FbTk/I18n.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: I18n.hh,v 1.1 2004/06/07 11:46:05 rathnor Exp $ 25// $Id: I18n.hh,v 1.2 2004/07/19 13:53:46 fluxgen Exp $
26 26
27#ifndef I18N_HH 27#ifndef I18N_HH
28#define I18N_HH 28#define I18N_HH
@@ -44,7 +44,7 @@
44extern "C" { 44extern "C" {
45#include <nl_types.h> 45#include <nl_types.h>
46} 46}
47#elif defined(__CYGWIN__) 47#elif defined(__CYGWIN__) || defined(__EMX__)
48#ifdef __cplusplus 48#ifdef __cplusplus
49extern "C" { 49extern "C" {
50#endif // __cplusplus 50#endif // __cplusplus
@@ -68,7 +68,7 @@ void catclose(nl_catd cat);
68// ignore the description, it's for helping translators 68// ignore the description, it's for helping translators
69#define _FBTEXT(msgset, msgid, default_text, description) \ 69#define _FBTEXT(msgset, msgid, default_text, description) \
70 i18n.getMessage(FBNLS::msgset ## Set, FBNLS::msgset ## msgid, default_text) 70 i18n.getMessage(FBNLS::msgset ## Set, FBNLS::msgset ## msgid, default_text)
71 71
72// This ensure that FbTk nls stuff is in a kind of namespace of its own 72// This ensure that FbTk nls stuff is in a kind of namespace of its own
73#define _FBTKTEXT( msgset, msgid, default_text, description) \ 73#define _FBTKTEXT( msgset, msgid, default_text, description) \
74 i18n.getMessage(FBNLS::FbTk ## msgset ## Set, FBNLS::FbTk ## msgset ## msgid, default_text) 74 i18n.getMessage(FBNLS::FbTk ## msgset ## Set, FBNLS::FbTk ## msgset ## msgid, default_text)