#include <tLocale.h>
Static Public Member Functions | |
static const tLocaleItem & | Find (const char *id) |
static void | Load (const char *filename) |
static void | Clear () |
Definition at line 213 of file tLocale.h.
const tLocaleItem & tLocale::Find | ( | const char * | id | ) | [static] |
Definition at line 776 of file tLocale.cpp.
References tLocaleItem::Find().
Referenced by tOutput::AddLocale(), and operator<<().
00777 { 00778 return tLocaleItem::Find(id); 00779 }
void tLocale::Load | ( | const char * | filename | ) | [static] |
Definition at line 781 of file tLocale.cpp.
References tString::Clear(), tLocaleItem::Load(), and s_gameName.
Referenced by main().
00782 { 00783 tLocaleItem::Load(filename, false); 00784 00785 // determine the name of the game 00786 s_gameName.Clear(); 00787 s_gameName << tOutput("$game_name"); 00788 }
void tLocale::Clear | ( | void | ) | [static] |
Definition at line 790 of file tLocale.cpp.
References tLocaleItem::Clear().
Referenced by main(), quitWithMessage(), and quitWithMessagePrepare().
00791 { 00792 tLocaleItem::Clear(); 00793 }