Freeciv-3.3: /fast/freeciv/nightly/main/common/scriptcore/api_common_intl.c File Reference

Freeciv-3.3

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 char * | api_intl__ (lua_State *L, const char *untranslated)
const char * | api_intl_N_ (lua_State *L, const char *untranslated)
const char * | api_intl_Q_ (lua_State *L, const char *untranslated)
const char * | api_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().