Freeciv-3.2
Loading...
Searching...
No Matches
Functions
api_common_intl.c File Reference
#include "fcintl.h"
#include "luascript.h"
#include "api_common_intl.h"

Go to the source code of this file.

Functions

const charapi_intl__ (lua_State *L, const char *untranslated)
 
const charapi_intl_N_ (lua_State *L, const char *untranslated)
 
const charapi_intl_Q_ (lua_State *L, const char *untranslated)
 
const charapi_intl_PL_ (lua_State *L, const char *singular, const char *plural, int n)
 

Function Documentation

◆ api_intl__()

const char * api_intl__ ( lua_State L,
const char untranslated 
)

Translation helper function.

Definition at line 29 of file api_common_intl.c.

Referenced by tolua_common_a__00().

◆ api_intl_N_()

const char * api_intl_N_ ( lua_State L,
const char untranslated 
)

Translation helper function.

Definition at line 40 of file api_common_intl.c.

Referenced by tolua_common_a_N_00().

◆ api_intl_PL_()

const char * api_intl_PL_ ( lua_State L,
const char singular,
const char plural,
int  n 
)

Translation helper function.

Definition at line 62 of file api_common_intl.c.

Referenced by tolua_common_a_PL_00().

◆ api_intl_Q_()

const char * api_intl_Q_ ( lua_State L,
const char untranslated 
)

Translation helper function.

Definition at line 51 of file api_common_intl.c.

Referenced by tolua_common_a_Q_00().