FlightGear next
FGTranslate.cxx File Reference

Class for retrieving translated strings. More...

#include <cstddef>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <simgear/debug/logstream.hxx>
#include <simgear/nasal/cppbind/Ghost.hxx>
#include <simgear/nasal/cppbind/NasalCallContext.hxx>
#include <Main/locale.hxx>
#include <Main/globals.hxx>
#include "FGTranslate.hxx"
#include "TranslationDomain.hxx"

Go to the source code of this file.

Functions

static naRef f_get (const FGTranslate &tr, const nasal::CallContext &ctx)
 
static naRef f_getPlural (const FGTranslate &tr, const nasal::CallContext &ctx)
 
static naRef f_getWithDefault (const FGTranslate &tr, const nasal::CallContext &ctx)
 
static naRef f_getPluralWithDefault (const FGTranslate &tr, const nasal::CallContext &ctx)
 
static naRef f_translationUnit (const FGTranslate &tr, const nasal::CallContext &ctx)
 

Detailed Description

Class for retrieving translated strings.

Definition in file FGTranslate.cxx.

Function Documentation

◆ f_get()

static naRef f_get ( const FGTranslate & tr,
const nasal::CallContext & ctx )
static

Definition at line 138 of file FGTranslate.cxx.

◆ f_getPlural()

static naRef f_getPlural ( const FGTranslate & tr,
const nasal::CallContext & ctx )
static

Definition at line 152 of file FGTranslate.cxx.

◆ f_getPluralWithDefault()

static naRef f_getPluralWithDefault ( const FGTranslate & tr,
const nasal::CallContext & ctx )
static

Definition at line 186 of file FGTranslate.cxx.

◆ f_getWithDefault()

static naRef f_getWithDefault ( const FGTranslate & tr,
const nasal::CallContext & ctx )
static

Definition at line 168 of file FGTranslate.cxx.

◆ f_translationUnit()

static naRef f_translationUnit ( const FGTranslate & tr,
const nasal::CallContext & ctx )
static

Definition at line 207 of file FGTranslate.cxx.