mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added 'insert symbol' menu to magic-mana-large, fixed title and message of 'insert colorless mana' dialog.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@451 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -418,8 +418,9 @@ String InsertSymbolMenu::getCode(int id, const SymbolFont& font) const {
|
||||
} else if (id == 0 && type == ITEM_CODE) {
|
||||
return name;
|
||||
} else if (id == 0 && type == ITEM_CUSTOM) {
|
||||
String message = tr(font,name,name);
|
||||
return wxGetTextFromUser(message, message);
|
||||
String caption = tr(font,_("title ") + name, capitalize_sentence(name));
|
||||
String message = tr(font,_("message ") + name, capitalize_sentence(name));
|
||||
return wxGetTextFromUser(message, caption);
|
||||
}
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user