Freeciv21
Develop your civilization from humble roots to a global empire
api_common_intl.cpp File Reference
#include "fcintl.h"
#include "luascript.h"
#include "api_common_intl.h"
+ Include dependency graph for api_common_intl.cpp:

Go to the source code of this file.

Functions

const char * api_intl__ (sol::this_state s, const char *untranslated)
 Translation helper function. More...
 
const char * api_intl_N_ (sol::this_state s, const char *untranslated)
 Translation helper function. More...
 
const char * api_intl_Q_ (sol::this_state s, const char *untranslated)
 Translation helper function. More...
 
const char * api_intl_PL_ (sol::this_state s, const char *singular, const char *plural, int n)
 Translation helper function. More...
 

Function Documentation

◆ api_intl__()

const char* api_intl__ ( sol::this_state  s,
const char *  untranslated 
)

Translation helper function.

Definition at line 22 of file api_common_intl.cpp.

Referenced by luascript_common_a_register().

◆ api_intl_N_()

const char* api_intl_N_ ( sol::this_state  s,
const char *  untranslated 
)

Translation helper function.

Definition at line 32 of file api_common_intl.cpp.

Referenced by luascript_common_a_register().

◆ api_intl_PL_()

const char* api_intl_PL_ ( sol::this_state  s,
const char *  singular,
const char *  plural,
int  n 
)

Translation helper function.

Definition at line 52 of file api_common_intl.cpp.

Referenced by luascript_common_a_register().

◆ api_intl_Q_()

const char* api_intl_Q_ ( sol::this_state  s,
const char *  untranslated 
)

Translation helper function.

Definition at line 42 of file api_common_intl.cpp.

Referenced by luascript_common_a_register().