mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-19 23:20:57 +01:00
RSS: Internationalize feed-specific format config doc.
This commit is contained in:
parent
b89d49a480
commit
1d4a1b13d8
@ -188,11 +188,11 @@ class RSS(callbacks.Plugin):
|
|||||||
conf.registerGlobalValue(group, name, registry.String(url, ''))
|
conf.registerGlobalValue(group, name, registry.String(url, ''))
|
||||||
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
|
||||||
supybot.plugins.RSS.format if empty."""))
|
supybot.plugins.RSS.format if empty.""")))
|
||||||
conf.registerChannelValue(feed_group, 'announceFormat',
|
conf.registerChannelValue(feed_group, 'announceFormat',
|
||||||
registry.String('', """Feed-specific announce format.
|
registry.String('', _("""Feed-specific announce format.
|
||||||
Defaults to supybot.plugins.RSS.announceFormat if empty."""))
|
Defaults to supybot.plugins.RSS.announceFormat if empty.""")))
|
||||||
|
|
||||||
def register_feed(self, name, url, plugin_is_loading, announced=[]):
|
def register_feed(self, name, url, plugin_is_loading, announced=[]):
|
||||||
self.feed_names[name] = url
|
self.feed_names[name] = url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user