mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
All package specific locales are now under the 'package' key in locale files. Wildcards in package names are supported.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@971 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+2
-12
@@ -49,19 +49,9 @@ String tr(LocaleCategory cat, const String& key, DefaultLocaleFun def = warn_and
|
||||
|
||||
/// Translate 'key' in the for a Package using the current locale
|
||||
String tr(const Package&, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a Game using the current locale
|
||||
String tr(const Game&, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a StyleSheet using the current locale
|
||||
String tr(const StyleSheet&, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a SymbolFont using the current locale
|
||||
String tr(const SymbolFont&, const String& key, DefaultLocaleFun def);
|
||||
|
||||
/// Translate 'key' in the for a Game using the current locale
|
||||
String tr(const Game&, const String& subcat, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a StyleSheet using the current locale
|
||||
String tr(const StyleSheet&, const String& subcat, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a SymbolFont using the current locale
|
||||
String tr(const SymbolFont&, const String& subcat, const String& key, DefaultLocaleFun def);
|
||||
/// Translate 'key' in the for a Package using the current locale
|
||||
String tr(const Package&, const String& subcat, const String& key, DefaultLocaleFun def);
|
||||
|
||||
/// A localized string for menus
|
||||
#define _MENU_(s) tr(LOCALE_CAT_MENU, _(s))
|
||||
|
||||
Reference in New Issue
Block a user