From: Lynn "Zhorken" Vaughan Date: Tue, 7 Dec 2010 17:43:58 +0000 (-0500) Subject: Rename the "none" damage class to "non-damaging". X-Git-Tag: veekun-promotions/2010121201~11 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/f79f5d23ea1fb067fadfe19fb7456c690edaef56?hp=30cf4000f012aabf0ceec70f86e75842a5812987 Rename the "none" damage class to "non-damaging". Also decapitalize the classes' names, because they make sense that way and they're not among the things the games always capitalize. --- diff --git a/pokedex/data/csv/move_damage_classes.csv b/pokedex/data/csv/move_damage_classes.csv index 669693a..1baeeda 100644 --- a/pokedex/data/csv/move_damage_classes.csv +++ b/pokedex/data/csv/move_damage_classes.csv @@ -1,4 +1,4 @@ id,name,description -1,None,No damage -2,Physical,"Physical damage, controlled by Attack and Defense" -3,Special,"Special damage, controlled by Special Attack and Special Defense" +1,non-damaging,No damage +2,physical,"Physical damage, controlled by Attack and Defense" +3,special,"Special damage, controlled by Special Attack and Special Defense" diff --git a/pokedex/data/media/chrome/damage-classes/none.png b/pokedex/data/media/chrome/damage-classes/non-damaging.png similarity index 100% rename from pokedex/data/media/chrome/damage-classes/none.png rename to pokedex/data/media/chrome/damage-classes/non-damaging.png diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 177309a..59755a7 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -573,7 +573,7 @@ class MoveDamageClass(TableBase): __tablename__ = 'move_damage_classes' id = Column(Integer, primary_key=True, nullable=False, info=dict(description="A numeric ID")) - name = Column(Unicode(8), nullable=False, + name = Column(Unicode(16), nullable=False, info=dict(description="An English name of the class", format='plaintext')) description = Column(Unicode(64), nullable=False, info=dict(description="An English description of the class", format='plaintext'))