Namegen: mention that 'syllables' config var sets the amount of extra syllables allowed, not the total amount

This commit is contained in:
James Lu 2015-05-21 17:17:16 -07:00
parent d2a203bd00
commit 1775cf3b18
2 changed files with 3 additions and 4 deletions

View File

@ -50,8 +50,8 @@ def configure(advanced):
Namegen = conf.registerPlugin('Namegen')
conf.registerGlobalValue(Namegen, 'syllables',
registry.PositiveInteger(2, _("""Specifies the maximum
amount of syllables a name can have.""")))
registry.PositiveInteger(1, _("""Specifies the maximum
amount of extra syllables (apart from a beginning and
an ending) a name can have.""")))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:

View File

@ -38,5 +38,4 @@ class NamegenTestCase(PluginTestCase):
self.assertNotError('namegen')
self.assertNotError('namegen 2')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: