Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
L10n.cpp File Reference
#include "precompiled.h"
#include "i18n/L10n.h"
#include "gui/GUIManager.h"
#include "lib/code_annotation.h"
#include "lib/debug.h"
#include "lib/file/vfs/vfs_util.h"
#include "lib/path.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/ConfigDB.h"
#include "ps/Errors.h"
#include "ps/Filesystem.h"
#include "ps/GameSetup/GameSetup.h"
#include "scriptinterface/Interface.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <exception>
#include <sstream>
#include <string>
#include <tinygettext/dictionary.hpp>
#include <tinygettext/log.hpp>
#include <tinygettext/po_parser.hpp>
#include <unicode/bytestream.h>
#include <unicode/calendar.h>
#include <unicode/numfmt.h>
#include <unicode/smpdtfmt.h>
#include <unicode/timezone.h>
#include <unicode/unistr.h>
#include <unicode/unum.h>
#include <utility>
Include dependency graph for L10n.cpp:

Namespaces

namespace  anonymous_namespace{L10n.cpp}
 

Functions

std::vector< icu::Locale > anonymous_namespace{L10n.cpp}::LoadListOfAvailableLocales ()
 Determines the list of locales that the game supports. More...
 
Status anonymous_namespace{L10n.cpp}::ReloadChangedFileCB (void *param, const VfsPath &path)
 
void anonymous_namespace{L10n.cpp}::ReadPoIntoDictionary (const std::string &poContent, tinygettext::Dictionary *dictionary)
 Loads the specified content of a PO file into the specified dictionary. More...
 
std::unique_ptr< icu::DateFormat > anonymous_namespace{L10n.cpp}::CreateDateTimeInstance (const L10n::DateTimeType &type, const icu::DateFormat::EStyle &style, const icu::Locale &locale)
 Creates an ICU date formatted with the specified settings. More...