From 1775cf3b18459eccc3e84a00309f621f9970f23f Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 21 May 2015 17:17:16 -0700 Subject: [PATCH] Namegen: mention that 'syllables' config var sets the amount of extra syllables allowed, not the total amount --- Namegen/config.py | 6 +++--- Namegen/test.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Namegen/config.py b/Namegen/config.py index 021970d..282c86c 100644 --- a/Namegen/config.py +++ b/Namegen/config.py @@ -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: diff --git a/Namegen/test.py b/Namegen/test.py index eff5ba5..bed88a8 100644 --- a/Namegen/test.py +++ b/Namegen/test.py @@ -38,5 +38,4 @@ class NamegenTestCase(PluginTestCase): self.assertNotError('namegen') self.assertNotError('namegen 2') - # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: