mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
more localisation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@117 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+4
-1
@@ -27,6 +27,7 @@ enum LocaleCategory
|
||||
, LOCALE_CAT_TOOL
|
||||
, LOCALE_CAT_LABEL
|
||||
, LOCALE_CAT_BUTTON
|
||||
, LOCALE_CAT_TITLE
|
||||
, LOCALE_CAT_TYPE
|
||||
, LOCALE_CAT_ACTION
|
||||
, LOCALE_CAT_ERROR
|
||||
@@ -44,8 +45,10 @@ String tr(LocaleCategory cat, const String& key);
|
||||
#define _TOOL_(s) tr(LOCALE_CAT_TOOL, _(s))
|
||||
/// A localized string for labels
|
||||
#define _LABEL_(s) tr(LOCALE_CAT_LABEL, _(s))
|
||||
/// A localized string for buttons
|
||||
/// A localized string for buttons/checkboxes/etc.
|
||||
#define _BUTTON_(s) tr(LOCALE_CAT_BUTTON,_(s))
|
||||
/// A localized string for window titles
|
||||
#define _TITLE_(s) tr(LOCALE_CAT_TITLE, _(s))
|
||||
/// A localized string for type names in scripts
|
||||
#define _TYPE_(s) tr(LOCALE_CAT_TYPE, _(s))
|
||||
/// A localized string for action names
|
||||
|
||||
@@ -174,6 +174,9 @@ enum ControlID {
|
||||
, ID_MOVE_DOWN
|
||||
, ID_SHOW
|
||||
, ID_HIDE
|
||||
// Card select
|
||||
, ID_SELECT_ALL
|
||||
, ID_SELECT_NONE
|
||||
// Settings
|
||||
, ID_NOTEBOOK
|
||||
, ID_APPRENTICE_BROWSE
|
||||
|
||||
Reference in New Issue
Block a user