mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
...more localisation...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@120 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -56,6 +56,12 @@ String tr(LocaleCategory cat, const String& key);
|
||||
/// A localized string for error messages
|
||||
#define _ERROR_(s) tr(LOCALE_CAT_ERROR, _(s))
|
||||
|
||||
/// A localized string for menus/toolbar buttons, with 1 argument (printf style)
|
||||
#define _MENU_1_(s,a) String::Format(tr(LOCALE_CAT_MENU, _(s)), a)
|
||||
|
||||
/// A localized string for tooltip text, with 1 argument (printf style)
|
||||
#define _TOOL_1_(s,a) String::Format(tr(LOCALE_CAT_TOOL, _(s)), a)
|
||||
|
||||
/// A localized string for error messages, with 1 argument (printf style)
|
||||
#define _ERROR_1_(s,a) String::Format(tr(LOCALE_CAT_ERROR, _(s)), a)
|
||||
/// A localized string for error messages, with 2 argument (printf style)
|
||||
|
||||
Reference in New Issue
Block a user