Freeciv21
Develop your civilization from humble roots to a global empire
api_common_intl.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  part of Freeciv21. Freeciv21 is free software: you can redistribute it
4  and/or modify it under the terms of the GNU General Public License as
5  published by the Free Software Foundation, either version 3 of the
6  License, or (at your option) any later version. You should have received
7  a copy of the GNU General Public License along with Freeciv21. If not,
8  see https://www.gnu.org/licenses/.
9 **************************************************************************/
10 #pragma once
11 
12 // sol2
13 #include "sol/sol.hpp"
14 
15 const char *api_intl__(sol::this_state s, const char *untranslated);
16 const char *api_intl_N_(sol::this_state s, const char *untranslated);
17 const char *api_intl_Q_(sol::this_state s, const char *untranslated);
18 const char *api_intl_PL_(sol::this_state s, const char *singular,
19  const char *plural, int n);
const char * api_intl_PL_(sol::this_state s, const char *singular, const char *plural, int n)
Translation helper function.
const char * api_intl_N_(sol::this_state s, const char *untranslated)
Translation helper function.
const char * api_intl_Q_(sol::this_state s, const char *untranslated)
Translation helper function.
const char * api_intl__(sol::this_state s, const char *untranslated)
Translation helper function.