Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output check_interval via feeds command #18

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion nina_xmpp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,7 @@ def feeds(self, jid, arg):
url=url,
last_modified=last_modified,
))
return '\n'.join(feeds)
return '\n'.join(feeds + [
'',
_('The feeds are checked for updates every {} seconds').format(self.config['check_interval']),
herndlm marked this conversation as resolved.
Show resolved Hide resolved
])
3 changes: 3 additions & 0 deletions nina_xmpp/locale/de/LC_MESSAGES/nina_xmpp.po
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ msgstr "Dieser Bot wird betrieben von {}"
msgid "{url} (last updated: {last_modified})"
msgstr "{url} (zuletzt aktualisiert: {last_modified})"

msgid "The feeds are checked for updates every {} seconds"
msgstr "Die Warnquellen werden alle {} Sekunden auf Updates geprüft"

#: nina_xmpp/__init__.py:190
msgid "Effective"
msgstr "Gilt ab"
Expand Down
3 changes: 3 additions & 0 deletions nina_xmpp/locale/nina_xmpp.pot
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ msgstr ""
msgid "{url} (last updated: {last_modified})"
msgstr ""

msgid "The feeds are checked for updates every {} seconds"
msgstr ""

#: nina_xmpp/__init__.py:190
msgid "Effective"
msgstr ""
Expand Down