ximol/translation.cpp File Reference

#include <ximol/translation.hpp>

Include dependency graph for translation.cpp:

Include dependency graph

Go to the source code of this file.

Functions

XIMOL_BEGIN_PRIVATE_NAMESPACE
void 
start_translation ()
XIMOL_END_PRIVATE_NAMESPACE
XIMOL_BEGIN_NAMESPACE const
wchar_t * 
translate (const wchar_t *x)
 base function for the translation.

std::wstring _ (const std::wstring &x)
 Function for the translation with 0 argument.

std::wstring translate (const std::wstring &x, const std::list< std::wstring > &args)
 Translate the base string and place arguments.


Function Documentation

std::wstring _ const std::wstring &  x  ) 
 

Function for the translation with 0 argument.

Definition at line 93 of file translation.cpp.

XIMOL_BEGIN_PRIVATE_NAMESPACE void start_translation  ) 
 

Definition at line 67 of file translation.cpp.

Referenced by translate().

std::wstring translate const std::wstring &  x,
const std::list< std::wstring > &  args
 

Translate the base string and place arguments.

Parameters:
x: the input string in english.
args: arguments serialized in wstring.
Returns:
the output string in other langage.

Definition at line 101 of file translation.cpp.

Referenced by _().

XIMOL_END_PRIVATE_NAMESPACE XIMOL_BEGIN_NAMESPACE const wchar_t* translate const wchar_t *  x  ) 
 

base function for the translation.

Parameters:
x: the input string in english.
Returns:
the output string in other langage.

Definition at line 78 of file translation.cpp.



Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.