Commit 28e42ea3 authored by twanvl's avatar twanvl

underscores in field names

parent ab481ba7
...@@ -423,12 +423,12 @@ class ApprCardRecord : public IntrusivePtrBase<ApprCardRecord> { ...@@ -423,12 +423,12 @@ class ApprCardRecord : public IntrusivePtrBase<ApprCardRecord> {
ApprCardRecord::ApprCardRecord(const Card& card, const String& sets_) { ApprCardRecord::ApprCardRecord(const Card& card, const String& sets_) {
name = untag_appr(card.value<TextValue>(_("name")).value); name = untag_appr(card.value<TextValue>(_("name")).value);
sets = sets_ + _("-") + card_rarity_code(card.value<ChoiceValue>(_("rarity")).value); sets = sets_ + _("-") + card_rarity_code(card.value<ChoiceValue>(_("rarity")).value);
cc = untag_appr(card.value<TextValue>(_("casting cost")).value); cc = untag_appr(card.value<TextValue>(_("casting_cost")).value);
type = untag_appr(card.value<TextValue>(_("super type")).value); type = untag_appr(card.value<TextValue>(_("super_type")).value);
String subType = untag(card.value<TextValue>(_("sub type")).value); String subType = untag(card.value<TextValue>(_("sub_type")).value);
if (!subType.empty()) type += _(" - ") + subType; if (!subType.empty()) type += _(" - ") + subType;
text = untag_appr(card.value<TextValue>(_("rule text")).value); text = untag_appr(card.value<TextValue>(_("rule_text")).value);
flavor = untag_appr(card.value<TextValue>(_("flavor text")).value); flavor = untag_appr(card.value<TextValue>(_("flavor_text")).value);
pt = untag_appr(card.value<TextValue>(_("pt")).value); pt = untag_appr(card.value<TextValue>(_("pt")).value);
} }
......
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