Freeciv-3.1: /fast/freeciv/nightly/S3_1/common/scriptcore/api_common_intl.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
api_common_intl.h
Go to the documentation of this file.
1/*****************************************************************************
2 Freeciv - Copyright (C) 2005 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12*****************************************************************************/
13
14#ifndef FC__API_COMMON_INTL_H
15#define FC__API_COMMON_INTL_H
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21struct lua_State;
22
23const char *api_intl__(lua_State *L, const char *untranslated);
24const char *api_intl_N_(lua_State *L, const char *untranslated);
25const char *api_intl_Q_(lua_State *L, const char *untranslated);
26const char *api_intl_PL_(lua_State *L, const char *singular,
27 const char *plural, int n);
28
29#ifdef __cplusplus
30}
31#endif /* __cplusplus */
32
33#endif /* FC__API_COMMON_INTL_H */
api_intl_N_
const char * api_intl_N_(lua_State *L, const char *untranslated)
Definition api_common_intl.c:40
api_intl_PL_
const char * api_intl_PL_(lua_State *L, const char *singular, const char *plural, int n)
Definition api_common_intl.c:62
api_intl__
const char * api_intl__(lua_State *L, const char *untranslated)
Definition api_common_intl.c:29
api_intl_Q_
const char * api_intl_Q_(lua_State *L, const char *untranslated)
Definition api_common_intl.c:51
n
#define n
Definition astring.c:77