mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
RSS: add missing configuration help for feed URL options
This fixes confusing "That configuration group exists, but seems to have no help." errors on the URL options for feeds, when these options are actually relevant and settable.
This commit is contained in:
parent
c78aff24e8
commit
bdd0adfef5
@ -234,7 +234,13 @@ class RSS(callbacks.Plugin):
|
|||||||
def register_feed_config(self, name, url=''):
|
def register_feed_config(self, name, url=''):
|
||||||
self.registryValue('feeds').add(name)
|
self.registryValue('feeds').add(name)
|
||||||
group = self.registryValue('feeds', value=False)
|
group = self.registryValue('feeds', value=False)
|
||||||
conf.registerGlobalValue(group, name, registry.String(url, ''))
|
conf.registerGlobalValue(group, name,
|
||||||
|
registry.String(url, """The URL for the feed
|
||||||
|
%s. Note that because
|
||||||
|
announced lines are cached,
|
||||||
|
you may need to reload this
|
||||||
|
plugin after changing this
|
||||||
|
option.""" % name))
|
||||||
feed_group = conf.registerGroup(group, name)
|
feed_group = conf.registerGroup(group, name)
|
||||||
conf.registerChannelValue(feed_group, 'format',
|
conf.registerChannelValue(feed_group, 'format',
|
||||||
registry.String('', _("""Feed-specific format. Defaults to
|
registry.String('', _("""Feed-specific format. Defaults to
|
||||||
|
Loading…
Reference in New Issue
Block a user