Skip to content

Commit

Permalink
Added datatype symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
macabeus authored and Elvish-Hunter committed Mar 22, 2016
1 parent 2eeac02 commit 54efe7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/schema.cfg
@@ -1,6 +1,7 @@
#textdomain wesnoth
[schema]
identifier="re ^[a-zA-Z0-9_ ]+$"
symbol="re ^[A-Z_]+$"
string="re ^[ -~]+$"
integer="re ^(\+|-)?[0-9]+$"
float="re ^(\+|-)?[0-9]+(\.[0-9]*)?$"
Expand Down Expand Up @@ -85,9 +86,9 @@
_about="repeated about-campaign"

abbrev="required identifier translatable"
define="required identifier" #TODO: maybe require it to be uppercase?
define="required symbol"
description="required string translatable"
difficulties="required string list"
difficulties="required symbol list"
difficulty_descriptions="required string" #TODO: this one's especially complicated
extra_defines="optional string list"
first_scenario="required identifier"
Expand Down

0 comments on commit 54efe7a

Please sign in to comment.