info=dict(description="The name", format='plaintext', official=True, ripped=True)),
)
create_translation_table('item_prose', Item, 'prose',
- short_effect = Column(Unicode(256), nullable=False,
+ short_effect = Column(markdown.MarkdownColumn(256), nullable=False,
info=dict(description="A short summary of the effect", format='plaintext')),
effect = Column(markdown.MarkdownColumn(5120), nullable=False,
info=dict(description=u"Detailed description of the item's effect.", format='markdown')),
u"""Returns the Pokémon's name, including its form if applicable."""
if self.form_name:
- return u'{0} {1}'.format(self.form_name, self.name)
+ return u'%s %s' % (self.form_name, self.name)
else:
return self.name
if not self.name:
return None
elif self.form_group and self.form_group.term:
- return u'{0} {1}'.format(self.name, self.form_group.term)
+ return u'%s %s' % (self.name, self.form_group.term)
else:
return self.name
"""
if self.name:
- return u'{0} {1}'.format(self.name, self.form_base_pokemon.name)
+ return u'%s %s' % (self.name, self.form_base_pokemon.name)
else:
return self.form_base_pokemon.name