Support multiple languages
This commit is contained in:
BIN
locales/en/LC_MESSAGES/base.mo
Normal file
BIN
locales/en/LC_MESSAGES/base.mo
Normal file
Binary file not shown.
154
locales/en/LC_MESSAGES/base.po
Normal file
154
locales/en/LC_MESSAGES/base.po
Normal file
@@ -0,0 +1,154 @@
|
||||
# RSS Bot translation
|
||||
# Copyright (C) 2019 Andreas Bielawski
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2019-03-18 20:31+0100\n"
|
||||
"PO-Revision-Date: 2019-03-18 20:32+0100\n"
|
||||
"Last-Translator: Andreas Bielawski\n"
|
||||
"Language-Team: \n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 2.2.1\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: bot.py:45
|
||||
msgid "Logging Level invalid. Will be changed to INFO"
|
||||
msgstr "Logging Level invalid. Will be changed to INFO"
|
||||
|
||||
#: bot.py:61 bot.py:64
|
||||
msgid "Bot token is missing, check config.ini."
|
||||
msgstr "Bot token is missing, check config.ini."
|
||||
|
||||
#: bot.py:71 bot.py:74
|
||||
msgid "No admin IDs are set, check config.ini."
|
||||
msgstr "No admin IDs are set, check config.ini."
|
||||
|
||||
#: bot.py:79
|
||||
msgid "Admin IDs need to be integers."
|
||||
msgstr "Admin IDs need to be integers."
|
||||
|
||||
#: bot.py:94
|
||||
msgid "Failed to connect to Redis server."
|
||||
msgstr "Failed to connect to Redis server."
|
||||
|
||||
#: bot.py:105
|
||||
msgid ""
|
||||
"<b>Welcome to the RSS Bot!</b>\n"
|
||||
"Send /help to get started."
|
||||
msgstr ""
|
||||
"<b>Welcome to the RSS Bot!</b>\n"
|
||||
"Send /help to get started."
|
||||
|
||||
#: bot.py:115
|
||||
msgid ""
|
||||
"<b>/rss</b> <i>[Chat]</i>: Show subbed feeds\n"
|
||||
"<b>/sub</b> <i>Feed URL</i> <i>[Chat]</i>: Sub to feed\n"
|
||||
"<b>/del</b> <i>n</i> <i>[Chat]</i>: Unsubscribe feed\n"
|
||||
"<i>[Chat]</i> is an optional argument with the @Channelname."
|
||||
msgstr ""
|
||||
"<b>/rss</b> <i>[Chat]</i>: Show subbed feeds\n"
|
||||
"<b>/sub</b> <i>Feed URL</i> <i>[Chat]</i>: Sub to feed\n"
|
||||
"<b>/del</b> <i>n</i> <i>[Chat]</i>: Unsubscribe feed\n"
|
||||
"<i>[Chat]</i> is an optional argument with the @Channelname."
|
||||
|
||||
#: bot.py:132 bot.py:175 bot.py:232
|
||||
msgid "This channel does not exist."
|
||||
msgstr "This channel does not exist."
|
||||
|
||||
#: bot.py:145
|
||||
msgid "There are no feeds."
|
||||
msgstr "There are no feeds."
|
||||
|
||||
#: bot.py:147
|
||||
msgid "<b>{0}</b> is subscribed to:\n"
|
||||
msgstr "<b>{0}</b> is subscribed to:\n"
|
||||
|
||||
#: bot.py:162
|
||||
msgid "No feed URL given."
|
||||
msgstr "No feed URL given."
|
||||
|
||||
#: bot.py:166
|
||||
msgid "That doesn't look like an URL."
|
||||
msgstr "That doesn't look like an URL."
|
||||
|
||||
#: bot.py:180
|
||||
msgid "You need to add the bot as an administrator to the channel."
|
||||
msgstr "You need to add the bot as an administrator to the channel."
|
||||
|
||||
#: bot.py:188
|
||||
msgid "Not a valid feed."
|
||||
msgstr "Not a valid feed."
|
||||
|
||||
#: bot.py:192
|
||||
msgid "Already subscribed to this feed."
|
||||
msgstr "Already subscribed to this feed."
|
||||
|
||||
#: bot.py:213
|
||||
msgid "<b>{0}</b> added!"
|
||||
msgstr "<b>{0}</b> added!"
|
||||
|
||||
#: bot.py:223 bot.py:241
|
||||
msgid "No number given."
|
||||
msgstr "No number given."
|
||||
|
||||
#: bot.py:247
|
||||
msgid "Number must be bigger than 0!"
|
||||
msgstr "Number must be bigger than 0!"
|
||||
|
||||
#: bot.py:250
|
||||
msgid "Feed ID too high."
|
||||
msgstr "Feed ID too high."
|
||||
|
||||
#: bot.py:261
|
||||
msgid "<b>{0}</b> removed!"
|
||||
msgstr "<b>{0}</b> removed!"
|
||||
|
||||
#: bot.py:273
|
||||
msgid "{0} - Not a valid feed, got HTTP Code {1}"
|
||||
msgstr "{0} - Not a valid feed, got HTTP Code {1}"
|
||||
|
||||
#: bot.py:275
|
||||
msgid "{0} - Not a valid feed: {1}"
|
||||
msgstr "{0} - Not a valid feed: {1}"
|
||||
|
||||
#: bot.py:286
|
||||
msgid "No title"
|
||||
msgstr "No title"
|
||||
|
||||
#: bot.py:312
|
||||
msgid "Read more on {0}"
|
||||
msgstr "Read more on {0}"
|
||||
|
||||
#: bot.py:326
|
||||
msgid "Chat {0} doesn't exist anymore, will be deleted."
|
||||
msgstr "Chat {0} doesn't exist anymore, will be deleted."
|
||||
|
||||
#: bot.py:331
|
||||
msgid "Chat migrated: "
|
||||
msgstr "Chat migrated: "
|
||||
|
||||
#: bot.py:372
|
||||
msgid "Update \"%s\" caused error \"%s\""
|
||||
msgstr "Update \"%s\" caused error \"%s\""
|
||||
|
||||
#: bot.py:380
|
||||
msgid "Starting {0}, AKA @{1} ({2})"
|
||||
msgstr "Starting {0}, AKA @{1} ({2})"
|
||||
|
||||
#: bot.py:382
|
||||
msgid "Logging in failed, check bot token."
|
||||
msgstr "Logging in failed, check bot token."
|
||||
|
||||
#~ msgid "config.ini not found"
|
||||
#~ msgstr "config.ini not found"
|
||||
|
||||
#~| msgid "WELCOMEMSG"
|
||||
#~ msgid "WELCOMEMSG."
|
||||
#~ msgstr ""
|
||||
#~ "<b>Welcome to the RSS Bot!</b>\n"
|
||||
#~ "Send /help to get started."
|
||||
Reference in New Issue
Block a user