Commit 845a2cb5 authored by twanvl's avatar twanvl

Added 'insert symbol' menu to magic-mana-large, fixed title and message of...

Added 'insert symbol' menu to magic-mana-large, fixed title and message of 'insert colorless mana' dialog.
parent ac0dd16f
......@@ -603,6 +603,8 @@ symbol font:
menu item Y: Variable mana &Y Y
menu item Z: Variable mana &Z Z
menu item colorless: &Colorless mana...
title colorless: Colorless mana
message colorless: Enter amount of colorless mana:
menu item half: &Half mana
menu item |W: &White |W
menu item |U: Bl&ue |U
......@@ -633,3 +635,49 @@ symbol font:
menu item B/G/W: Black/Green/White mana B/G/W
menu item R/W/U: Red/White/Blue mana R/W/U
menu item G/U/B: Green/Blue/Black mana G/U/B
magic-mana-large:
# Exactly the same
menu item T: &Tap symbol T
menu item W: &White mana W
menu item U: Bl&ue mana U
menu item B: &Black mana B
menu item R: &Red mana R
menu item G: &Green mana G
menu item S: &Snow mana S
menu item X: Variable mana &X X
menu item Y: Variable mana &Y Y
menu item Z: Variable mana &Z Z
menu item colorless: &Colorless mana...
title colorless: Colorless mana
message colorless: Enter amount of colorless mana:
menu item half: &Half mana
menu item |W: &White |W
menu item |U: Bl&ue |U
menu item |B: &Black |B
menu item |R: &Red |R
menu item |G: &Green |G
menu item |S: &Snow |S
menu item 1/2: &Colorless 1/2
menu item hybrid: H&ybrid mana (two color)
menu item W/U: White/Blue mana W/U
menu item U/B: Blue/Black mana U/B
menu item B/R: Black/Red mana B/R
menu item R/G: Red/Green mana R/G
menu item G/W: Green/White mana G/W
menu item W/B: White/Black mana W/B
menu item U/R: Blue/Red mana U/R
menu item B/G: Black/Green mana B/G
menu item R/W: Red/White mana R/W
menu item G/U: Green/Blue mana G/U
menu item hybrid 3: H&ybrid mana (three color)
menu item W/U/B: White/Blue/Black mana W/U/B
menu item U/B/R: Blue/Black/Red mana U/B/R
menu item B/R/G: Black/Red/Green mana B/R/G
menu item R/G/W: Red/Green/White mana R/G/W
menu item G/W/U: Green/White/Blue mana G/W/U
menu item W/B/R: White/Black/Red mana W/B/R
menu item U/R/G: Blue/Red/Green mana U/R/G
menu item B/G/W: Black/Green/White mana B/G/W
menu item R/W/U: Red/White/Blue mana R/W/U
menu item G/U/B: Green/Blue/Black mana G/U/B
......@@ -143,4 +143,64 @@ text font:
text margin left: 3
text margin right: 2
text margin top: -1
text margin bottom: -1
\ No newline at end of file
text margin bottom: -1
##############################################################
# Insert-symbol menu
insert symbol menu:
item: T
item:
type: line
item: X
item: Y
item: Z
item:
type: custom
name: colorless
item:
type: line
item: W
item: U
item: B
item: R
item: G
item: S
item:
type: line
item:
name: half
item: 1/2
item: |W
item: |U
item: |B
item: |R
item: |G
item: |S
item:
name: hybrid
item: W/U
item: U/B
item: B/R
item: R/G
item: G/W
item:
type: line
item: W/B
item: U/R
item: B/G
item: R/W
item: G/U
item:
name: hybrid 3
item: W/U/B
item: U/B/R
item: B/R/G
item: R/G/W
item: G/W/U
item:
type: line
item: W/B/R
item: U/R/G
item: B/G/W
item: R/W/U
item: G/U/B
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment