mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
[V3] add a script for regenerating all strings (#1318)
* [V3] add a script for regenerating all strings * Edits to the yml files * Fix up deploy section * Make generate_strings upload to Crowdin
This commit is contained in:
parent
39dbe2805b
commit
86b5932c8f
45
.travis.yml
45
.travis.yml
@ -1,17 +1,42 @@
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.5.3"
|
- 3.5.3
|
||||||
- "3.6.1"
|
- 3.6.1
|
||||||
install:
|
install:
|
||||||
- echo "pytest>3" >> requirements.txt
|
- echo "pytest>3" >> requirements.txt
|
||||||
- echo "pytest-asyncio" >> requirements.txt
|
- echo "pytest-asyncio" >> requirements.txt
|
||||||
- echo "git+https://github.com/Rapptz/discord.py.git@rewrite#egg=discord.py[voice]" >> requirements.txt
|
- echo "git+https://github.com/Rapptz/discord.py.git@rewrite#egg=discord.py[voice]"
|
||||||
- pip install -r requirements.txt
|
>> requirements.txt
|
||||||
- pip install -e .
|
- pip install -r requirements.txt
|
||||||
|
- pip install -e .
|
||||||
script:
|
script:
|
||||||
- python -m compileall ./redbot/cogs
|
- python -m compileall ./redbot/cogs
|
||||||
- python -m pytest
|
- python -m pytest
|
||||||
|
before_deploy:
|
||||||
|
- curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -
|
||||||
|
- echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
- sudo apt-get install -y crowdin
|
||||||
|
deploy:
|
||||||
|
- provider: pypi
|
||||||
|
user: Red-DiscordBot
|
||||||
|
password:
|
||||||
|
secure: Ty9vYnd/wCuQkVC/OsS4E2jT9LVDVfzsFrQc4U2hMYcTJnYbl/3omyObdCWCOBC40vUDkVHAQU8ULHzoCA+2KX9Ds/7/P5zCumAA0uJRR9Smw7OlRzSMxJI+/lGq4CwXKzxDZKuo5rsxXEbW5qmYjtO8Mk6KuLkvieb1vyr2DcqWEFzg/7TZNDfD1oP8et8ITQ26lLP1dtQx/jlAiIBzgK9wziuwj1Divb9A///VsGz43N8maZ+jfsDjYqrfUVWTy3ar7JPUplletenYCR1PmQ5C46XfV0kitKd1aITJ48YPAKyYgKy8AIT+Uz1JArTnqdzLSFRNELS57qS00lzgllbteCyWQ8Uzy0Zpxb/5DDH8/mL1n0MyJrF8qjZd2hLNAXg3z/k9bGXeiMLGwoxRlGXkL2XpiVgI93UKKyVyooGNMgPTc/QdSc7krjAWcOtX/HgLR34jxeLPFEdzJNAFIimfDD8N+XTFcNBw6EvOYm/n5MXkckNoX/G+ThNobHZ7VKSASltZ9zBRAJ2dDh35G3CYmVEk33U77RKbL9le/Za9QVBcAO8i6rqVGYkdO7thHHKHc/1CB1jNnjsFSDt0bURtNfAqfwKCurQC8487zbEzT+2fog3Wygv7g3cklaRg4guY8UjZuFWStYGqbroTsOCd9ATNqeO5B13pNhllSzU=
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
repo: Cog-Creators/Red-DiscordBot
|
||||||
|
branch: V3/develop
|
||||||
|
python: 3.5.3
|
||||||
|
tags: true
|
||||||
|
- provider: script
|
||||||
|
script: python3 ./generate_strings.py
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
repo: Cog-Creators/Red-DiscordBot
|
||||||
|
branch: V3/develop
|
||||||
|
python: 3.5.3
|
||||||
|
tags: true
|
||||||
cache: pip
|
cache: pip
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
api_key_env: CROWDIN_API_KEY
|
||||||
|
project_identifier_env: CROWDIN_PROJECT_ID
|
||||||
files:
|
files:
|
||||||
- source: /**/*.pot
|
- source: /**/*.pot
|
||||||
translation: /%original_path%/%two_letters_code%.po
|
translation: /%original_path%/%locale%.po
|
||||||
|
|||||||
33
generate_strings.py
Normal file
33
generate_strings.py
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
import subprocess
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
interpreter = sys.executable
|
||||||
|
print(interpreter)
|
||||||
|
root_dir = os.getcwd()
|
||||||
|
cogs = [i for i in os.listdir("redbot/cogs") if os.path.isdir(os.path.join("redbot/cogs", i))]
|
||||||
|
for d in cogs:
|
||||||
|
if "locales" in os.listdir(os.path.join("redbot/cogs", d)):
|
||||||
|
os.chdir(os.path.join("redbot/cogs", d, "locales"))
|
||||||
|
if "regen_messages.py" not in os.listdir(os.getcwd()):
|
||||||
|
print("Directory 'locales' exists for {} but no 'regen_messages.py' is available!".format(d))
|
||||||
|
exit(1)
|
||||||
|
else:
|
||||||
|
print("Running 'regen_messages.py' for {}".format(d))
|
||||||
|
retval = subprocess.run([interpreter, "regen_messages.py"])
|
||||||
|
if retval.returncode != 0:
|
||||||
|
exit(1)
|
||||||
|
os.chdir(root_dir)
|
||||||
|
os.chdir("redbot/core/locales")
|
||||||
|
print("Running 'regen_messages.py' for core")
|
||||||
|
retval = subprocess.run([interpreter, "regen_messages.py"])
|
||||||
|
if retval.returncode != 0:
|
||||||
|
exit(1)
|
||||||
|
os.chdir(root_dir)
|
||||||
|
subprocess.run(["crowdin", "upload"])
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
17
redbot/cogs/admin/locales/messages.pot
Normal file
17
redbot/cogs/admin/locales/messages.pot
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
15
redbot/cogs/admin/locales/regen_messages.py
Normal file
15
redbot/cogs/admin/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../admin.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 17:23+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,51 +15,75 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ../alias.py:138
|
#: ../alias.py:129
|
||||||
msgid "No prefix found."
|
msgid "No prefix found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:234
|
#: ../alias.py:198
|
||||||
|
msgid "You attempted to create a new alias with the name {} but that name is already a command on this bot."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:205
|
||||||
|
msgid "You attempted to create a new alias with the name {} but that alias already exists on this server."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:212
|
||||||
|
msgid "You attempted to create a new alias with the name {} but that name is an invalid alias name. Alias names may not contain spaces."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:224
|
||||||
msgid "A new alias with the trigger `{}` has been created."
|
msgid "A new alias with the trigger `{}` has been created."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:270
|
#: ../alias.py:236
|
||||||
|
msgid "You attempted to create a new global alias with the name {} but that name is already a command on this bot."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:243
|
||||||
|
msgid "You attempted to create a new global alias with the name {} but that alias already exists on this server."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:250
|
||||||
|
msgid "You attempted to create a new global alias with the name {} but that name is an invalid alias name. Alias names may not contain spaces."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../alias.py:259
|
||||||
msgid "A new global alias with the trigger `{}` has been created."
|
msgid "A new global alias with the trigger `{}` has been created."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:285
|
#: ../alias.py:274
|
||||||
msgid "No such alias exists."
|
msgid "No such alias exists."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:294
|
#: ../alias.py:283
|
||||||
msgid "The `{}` alias will execute the command `{}`"
|
msgid "The `{}` alias will execute the command `{}`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:297
|
#: ../alias.py:286
|
||||||
msgid "There is no alias with the name `{}`"
|
msgid "There is no alias with the name `{}`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:309
|
#: ../alias.py:298
|
||||||
msgid "There are no aliases on this guild."
|
msgid "There are no aliases on this guild."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:313 ../alias.py:331
|
#: ../alias.py:302 ../alias.py:320
|
||||||
msgid "Alias with the name `{}` was successfully deleted."
|
msgid "Alias with the name `{}` was successfully deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:316 ../alias.py:334
|
#: ../alias.py:305 ../alias.py:323
|
||||||
msgid "Alias with name `{}` was not found."
|
msgid "Alias with name `{}` was not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:327
|
#: ../alias.py:316
|
||||||
msgid "There are no aliases on this bot."
|
msgid "There are no aliases on this bot."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:342 ../alias.py:353
|
#: ../alias.py:331 ../alias.py:342
|
||||||
msgid "Aliases:"
|
msgid "Aliases:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../alias.py:344 ../alias.py:355
|
#: ../alias.py:333 ../alias.py:344
|
||||||
msgid "There are no aliases on this server."
|
msgid "There are no aliases on this server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/alias/locales/regen_messages.py
Normal file
15
redbot/cogs/alias/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../alias.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -4,6 +4,10 @@ import os
|
|||||||
import youtube_dl
|
import youtube_dl
|
||||||
import discord
|
import discord
|
||||||
|
|
||||||
|
from redbot.core.i18n import CogI18n
|
||||||
|
|
||||||
|
_ = CogI18n("Audio", __file__)
|
||||||
|
|
||||||
|
|
||||||
# Just a little experimental audio cog not meant for final release
|
# Just a little experimental audio cog not meant for final release
|
||||||
|
|
||||||
@ -18,7 +22,7 @@ class Audio:
|
|||||||
async def local(self, ctx, *, filename: str):
|
async def local(self, ctx, *, filename: str):
|
||||||
"""Play mp3"""
|
"""Play mp3"""
|
||||||
if ctx.author.voice is None:
|
if ctx.author.voice is None:
|
||||||
await ctx.send("Join a voice channel first!")
|
await ctx.send(_("Join a voice channel first!"))
|
||||||
return
|
return
|
||||||
|
|
||||||
if ctx.voice_client:
|
if ctx.voice_client:
|
||||||
@ -26,22 +30,22 @@ class Audio:
|
|||||||
await ctx.voice_client.disconnect()
|
await ctx.voice_client.disconnect()
|
||||||
path = os.path.join("cogs", "audio", "songs", filename + ".mp3")
|
path = os.path.join("cogs", "audio", "songs", filename + ".mp3")
|
||||||
if not os.path.isfile(path):
|
if not os.path.isfile(path):
|
||||||
await ctx.send("Let's play a file that exists pls")
|
await ctx.send(_("Let's play a file that exists pls"))
|
||||||
return
|
return
|
||||||
player = PCMVolumeTransformer(FFmpegPCMAudio(path), volume=1)
|
player = PCMVolumeTransformer(FFmpegPCMAudio(path), volume=1)
|
||||||
voice = await ctx.author.voice.channel.connect()
|
voice = await ctx.author.voice.channel.connect()
|
||||||
voice.play(player)
|
voice.play(player)
|
||||||
await ctx.send("{} is playing a song...".format(ctx.author))
|
await ctx.send(_("{} is playing a song...").format(ctx.author))
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def play(self, ctx, url: str):
|
async def play(self, ctx, url: str):
|
||||||
"""Play youtube url"""
|
"""Play youtube url"""
|
||||||
url = url.strip("<").strip(">")
|
url = url.strip("<").strip(">")
|
||||||
if ctx.author.voice is None:
|
if ctx.author.voice is None:
|
||||||
await ctx.send("Join a voice channel first!")
|
await ctx.send(_("Join a voice channel first!"))
|
||||||
return
|
return
|
||||||
elif "youtube.com" not in url.lower():
|
elif "youtube.com" not in url.lower():
|
||||||
await ctx.send("Youtube links pls")
|
await ctx.send(_("Youtube links pls"))
|
||||||
return
|
return
|
||||||
|
|
||||||
if ctx.voice_client:
|
if ctx.voice_client:
|
||||||
@ -51,7 +55,7 @@ class Audio:
|
|||||||
player = PCMVolumeTransformer(yt, volume=1)
|
player = PCMVolumeTransformer(yt, volume=1)
|
||||||
voice = await ctx.author.voice.channel.connect()
|
voice = await ctx.author.voice.channel.connect()
|
||||||
voice.play(player)
|
voice.play(player)
|
||||||
await ctx.send("{} is playing a song...".format(ctx.author))
|
await ctx.send(_("{} is playing a song...").format(ctx.author))
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def stop(self, ctx):
|
async def stop(self, ctx):
|
||||||
@ -60,7 +64,7 @@ class Audio:
|
|||||||
ctx.voice_client.source.cleanup()
|
ctx.voice_client.source.cleanup()
|
||||||
await ctx.voice_client.disconnect()
|
await ctx.voice_client.disconnect()
|
||||||
else:
|
else:
|
||||||
await ctx.send("I'm not even connected to a voice channel!", delete_after=2)
|
await ctx.send(_("I'm not even connected to a voice channel!"), delete_after=2)
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@ -70,7 +74,7 @@ class Audio:
|
|||||||
ctx.voice_client.pause()
|
ctx.voice_client.pause()
|
||||||
await ctx.send("👌", delete_after=2)
|
await ctx.send("👌", delete_after=2)
|
||||||
else:
|
else:
|
||||||
await ctx.send("I'm not even connected to a voice channel!", delete_after=2)
|
await ctx.send(_("I'm not even connected to a voice channel!"), delete_after=2)
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@ -80,7 +84,7 @@ class Audio:
|
|||||||
ctx.voice_client.resume()
|
ctx.voice_client.resume()
|
||||||
await ctx.send("👌", delete_after=2)
|
await ctx.send("👌", delete_after=2)
|
||||||
else:
|
else:
|
||||||
await ctx.send("I'm not even connected to a voice channel!", delete_after=2)
|
await ctx.send(_("I'm not even connected to a voice channel!"), delete_after=2)
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
@commands.command(hidden=True)
|
@commands.command(hidden=True)
|
||||||
@ -88,9 +92,9 @@ class Audio:
|
|||||||
"""Sets the volume"""
|
"""Sets the volume"""
|
||||||
if ctx.voice_client:
|
if ctx.voice_client:
|
||||||
ctx.voice_client.source.volume = n
|
ctx.voice_client.source.volume = n
|
||||||
await ctx.send("Volume set.", delete_after=2)
|
await ctx.send(_("Volume set."), delete_after=2)
|
||||||
else:
|
else:
|
||||||
await ctx.send("I'm not even connected to a voice channel!", delete_after=2)
|
await ctx.send(_("I'm not even connected to a voice channel!"), delete_after=2)
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
def __unload(self):
|
def __unload(self):
|
||||||
|
|||||||
41
redbot/cogs/audio/locales/messages.pot
Normal file
41
redbot/cogs/audio/locales/messages.pot
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: ../audio.py:25 ../audio.py:45
|
||||||
|
msgid "Join a voice channel first!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../audio.py:33
|
||||||
|
msgid "Let's play a file that exists pls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../audio.py:38 ../audio.py:58
|
||||||
|
msgid "{} is playing a song..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../audio.py:48
|
||||||
|
msgid "Youtube links pls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../audio.py:67 ../audio.py:77 ../audio.py:87 ../audio.py:97
|
||||||
|
msgid "I'm not even connected to a voice channel!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../audio.py:95
|
||||||
|
msgid "Volume set."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
15
redbot/cogs/audio/locales/regen_messages.py
Normal file
15
redbot/cogs/audio/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../audio.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 17:32+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|||||||
15
redbot/cogs/bank/locales/regen_messages.py
Normal file
15
redbot/cogs/bank/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../bank.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,13 +5,21 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-10-22 16:34-0800\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=cp1252\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: ../cleanup.py:150
|
||||||
|
msgid "This command can only be used on bots with bot accounts."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../cleanup.py:157
|
||||||
|
msgid "Message not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/cleanup/locales/regen_messages.py
Normal file
15
redbot/cogs/cleanup/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../cleanup.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,63 +5,63 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-10-27 19:40-0800\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: customcom.py:44
|
#: ../customcom.py:44
|
||||||
msgid ""
|
msgid ""
|
||||||
"Welcome to the interactive random {} maker!\n"
|
"Welcome to the interactive random {} maker!\n"
|
||||||
"Every message you send will be added as one of the random response to choose from once this {} is triggered. To exit this interactive menu, type `{}`"
|
"Every message you send will be added as one of the random response to choose from once this {} is triggered. To exit this interactive menu, type `{}`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:56
|
#: ../customcom.py:56
|
||||||
msgid "Add a random response:"
|
msgid "Add a random response:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:119
|
#: ../customcom.py:119
|
||||||
msgid "Do you want to create a 'randomized' cc? {}"
|
msgid "Do you want to create a 'randomized' cc? {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:126
|
#: ../customcom.py:126
|
||||||
msgid "What response do you want?"
|
msgid "What response do you want?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:205 customcom.py:235
|
#: ../customcom.py:205 ../customcom.py:235
|
||||||
msgid "Custom command successfully added."
|
msgid "Custom command successfully added."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:207 customcom.py:237
|
#: ../customcom.py:207 ../customcom.py:237
|
||||||
msgid "This command already exists. Use `{}` to edit it."
|
msgid "This command already exists. Use `{}` to edit it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:229
|
#: ../customcom.py:229
|
||||||
msgid "That command is already a standard command."
|
msgid "That command is already a standard command."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:261
|
#: ../customcom.py:261
|
||||||
msgid "Custom command successfully edited."
|
msgid "Custom command successfully edited."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:263
|
#: ../customcom.py:263
|
||||||
msgid "That command doesn't exist. Use `{}` to add it."
|
msgid "That command doesn't exist. Use `{}` to add it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:282
|
#: ../customcom.py:282
|
||||||
msgid "Custom command successfully deleted."
|
msgid "Custom command successfully deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:284
|
#: ../customcom.py:284
|
||||||
msgid "That command doesn't exist."
|
msgid "That command doesn't exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: customcom.py:294
|
#: ../customcom.py:294
|
||||||
msgid "There are no custom commands in this guild. Use `{}` to start adding some."
|
msgid "There are no custom commands in this guild. Use `{}` to start adding some."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/customcom/locales/regen_messages.py
Normal file
15
redbot/cogs/customcom/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../customcom.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 16:24+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,71 +15,71 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ../downloader.py:202
|
#: ../downloader.py:215
|
||||||
msgid "That git repo has already been added under another name."
|
msgid "That git repo has already been added under another name."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:204 ../downloader.py:205
|
#: ../downloader.py:217 ../downloader.py:218
|
||||||
msgid "Something went wrong during the cloning process."
|
msgid "Something went wrong during the cloning process."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:207
|
#: ../downloader.py:220
|
||||||
msgid "Repo `{}` successfully added."
|
msgid "Repo `{}` successfully added."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:216
|
#: ../downloader.py:229
|
||||||
msgid "The repo `{}` has been deleted successfully."
|
msgid "The repo `{}` has been deleted successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:224
|
#: ../downloader.py:237
|
||||||
msgid ""
|
msgid ""
|
||||||
"Installed Repos:\n"
|
"Installed Repos:\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:244
|
#: ../downloader.py:258
|
||||||
msgid "Error, there is no cog by the name of `{}` in the `{}` repo."
|
msgid "Error, there is no cog by the name of `{}` in the `{}` repo."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:249
|
#: ../downloader.py:263
|
||||||
msgid "Failed to install the required libraries for `{}`: `{}`"
|
msgid "Failed to install the required libraries for `{}`: `{}`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:259
|
#: ../downloader.py:273
|
||||||
msgid "`{}` cog successfully installed."
|
msgid "`{}` cog successfully installed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:275
|
#: ../downloader.py:289
|
||||||
msgid "`{}` was successfully removed."
|
msgid "`{}` was successfully removed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:277
|
#: ../downloader.py:291
|
||||||
msgid "That cog was installed but can no longer be located. You may need to remove it's files manually if it is still usable."
|
msgid "That cog was installed but can no longer be located. You may need to remove it's files manually if it is still usable."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:301
|
#: ../downloader.py:315
|
||||||
msgid "Cog update completed successfully."
|
msgid "Cog update completed successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:309
|
#: ../downloader.py:323
|
||||||
msgid ""
|
msgid ""
|
||||||
"Available Cogs:\n"
|
"Available Cogs:\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:321
|
#: ../downloader.py:335
|
||||||
msgid "There is no cog `{}` in the repo `{}`"
|
msgid "There is no cog `{}` in the repo `{}`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:326
|
#: ../downloader.py:340
|
||||||
msgid ""
|
msgid ""
|
||||||
"Information on {}:\n"
|
"Information on {}:\n"
|
||||||
"{}"
|
"{}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:350
|
#: ../downloader.py:381
|
||||||
msgid "Missing from info.json"
|
msgid "Missing from info.json"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:359
|
#: ../downloader.py:390
|
||||||
msgid ""
|
msgid ""
|
||||||
"Command: {}\n"
|
"Command: {}\n"
|
||||||
"Made by: {}\n"
|
"Made by: {}\n"
|
||||||
@ -87,7 +87,7 @@ msgid ""
|
|||||||
"Cog name: {}"
|
"Cog name: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../downloader.py:383
|
#: ../downloader.py:422
|
||||||
msgid "That command doesn't seem to exist."
|
msgid "That command doesn't seem to exist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/downloader/locales/regen_messages.py
Normal file
15
redbot/cogs/downloader/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../downloader.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 17:40+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,35 +15,35 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ../economy.py:38
|
#: ../economy.py:40
|
||||||
msgid "JACKPOT! 226! Your bid has been multiplied * 2500!"
|
msgid "JACKPOT! 226! Your bid has been multiplied * 2500!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:42
|
#: ../economy.py:44
|
||||||
msgid "4LC! +1000!"
|
msgid "4LC! +1000!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:46
|
#: ../economy.py:48
|
||||||
msgid "Three cherries! +800!"
|
msgid "Three cherries! +800!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:50
|
#: ../economy.py:52
|
||||||
msgid "2 6! Your bid has been multiplied * 4!"
|
msgid "2 6! Your bid has been multiplied * 4!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:54
|
#: ../economy.py:56
|
||||||
msgid "Two cherries! Your bid has been multiplied * 3!"
|
msgid "Two cherries! Your bid has been multiplied * 3!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:58
|
#: ../economy.py:60
|
||||||
msgid "Three symbols! +500!"
|
msgid "Three symbols! +500!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:62
|
#: ../economy.py:64
|
||||||
msgid "Two consecutive symbols! Your bid has been multiplied * 2!"
|
msgid "Two consecutive symbols! Your bid has been multiplied * 2!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:66
|
#: ../economy.py:68
|
||||||
msgid ""
|
msgid ""
|
||||||
"Slot machine payouts:\n"
|
"Slot machine payouts:\n"
|
||||||
"{two.value} {two.value} {six.value} Bet * 2500\n"
|
"{two.value} {two.value} {six.value} Bet * 2500\n"
|
||||||
@ -56,61 +56,61 @@ msgid ""
|
|||||||
"Two symbols: Bet * 2"
|
"Two symbols: Bet * 2"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:155
|
#: ../economy.py:157
|
||||||
msgid "{}'s balance is {} {}"
|
msgid "{}'s balance is {} {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:169
|
#: ../economy.py:171
|
||||||
msgid "{} transferred {} {} to {}"
|
msgid "{} transferred {} {} to {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:189
|
#: ../economy.py:191
|
||||||
msgid "{} added {} {} to {}'s account."
|
msgid "{} added {} {} to {}'s account."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:194
|
#: ../economy.py:196
|
||||||
msgid "{} removed {} {} from {}'s account."
|
msgid "{} removed {} {} from {}'s account."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:199
|
#: ../economy.py:201
|
||||||
msgid "{} set {}'s account to {} {}."
|
msgid "{} set {}'s account to {} {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:210
|
#: ../economy.py:212
|
||||||
msgid ""
|
msgid ""
|
||||||
"This will delete all bank accounts for {}.\n"
|
"This will delete all bank accounts for {}.\n"
|
||||||
"If you're sure, type {}bank reset yes"
|
"If you're sure, type `{}bank reset yes`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:227
|
#: ../economy.py:229
|
||||||
msgid "All bank accounts of this guild have been deleted."
|
msgid "All bank accounts of this guild have been deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:246 ../economy.py:266
|
#: ../economy.py:248 ../economy.py:268
|
||||||
msgid "{} Here, take some {}. Enjoy! (+{} {}!)"
|
msgid "{} Here, take some {}. Enjoy! (+{} {}!)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:256 ../economy.py:274
|
#: ../economy.py:258 ../economy.py:276
|
||||||
msgid "{} Too soon. For your next payday you have to wait {}."
|
msgid "{} Too soon. For your next payday you have to wait {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:311
|
#: ../economy.py:313
|
||||||
msgid "There are no accounts in the bank."
|
msgid "There are no accounts in the bank."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:337
|
#: ../economy.py:339
|
||||||
msgid "You're on cooldown, try again in a bit."
|
msgid "You're on cooldown, try again in a bit."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:340
|
#: ../economy.py:342
|
||||||
msgid "That's an invalid bid amount, sorry :/"
|
msgid "That's an invalid bid amount, sorry :/"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:343
|
#: ../economy.py:345
|
||||||
msgid "You ain't got enough money, friend."
|
msgid "You ain't got enough money, friend."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:389
|
#: ../economy.py:391
|
||||||
msgid ""
|
msgid ""
|
||||||
"{}\n"
|
"{}\n"
|
||||||
"{} {}\n"
|
"{} {}\n"
|
||||||
@ -119,7 +119,7 @@ msgid ""
|
|||||||
"{} → {}!"
|
"{} → {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:396
|
#: ../economy.py:398
|
||||||
msgid ""
|
msgid ""
|
||||||
"{}\n"
|
"{}\n"
|
||||||
"{} Nothing!\n"
|
"{} Nothing!\n"
|
||||||
@ -127,7 +127,7 @@ msgid ""
|
|||||||
"{} → {}!"
|
"{} → {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:421
|
#: ../economy.py:423
|
||||||
msgid ""
|
msgid ""
|
||||||
"Minimum slot bid: {}\n"
|
"Minimum slot bid: {}\n"
|
||||||
"Maximum slot bid: {}\n"
|
"Maximum slot bid: {}\n"
|
||||||
@ -137,63 +137,63 @@ msgid ""
|
|||||||
"Amount given at account registration: {}"
|
"Amount given at account registration: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:431
|
#: ../economy.py:433
|
||||||
msgid "Current Economy settings:"
|
msgid "Current Economy settings:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:439
|
#: ../economy.py:441
|
||||||
msgid "Invalid min bid amount."
|
msgid "Invalid min bid amount."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:447
|
#: ../economy.py:449
|
||||||
msgid "Minimum bid is now {} {}."
|
msgid "Minimum bid is now {} {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:454
|
#: ../economy.py:456
|
||||||
msgid "Invalid slotmax bid amount. Must be greater than slotmin."
|
msgid "Invalid slotmax bid amount. Must be greater than slotmin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:463
|
#: ../economy.py:465
|
||||||
msgid "Maximum bid is now {} {}."
|
msgid "Maximum bid is now {} {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:473
|
#: ../economy.py:475
|
||||||
msgid "Cooldown is now {} seconds."
|
msgid "Cooldown is now {} seconds."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:483
|
#: ../economy.py:485
|
||||||
msgid "Value modified. At least {} seconds must pass between each payday."
|
msgid "Value modified. At least {} seconds must pass between each payday."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:492
|
#: ../economy.py:494
|
||||||
msgid "Har har so funny."
|
msgid "Har har so funny."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:498
|
#: ../economy.py:500
|
||||||
msgid "Every payday will now give {} {}."
|
msgid "Every payday will now give {} {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:509
|
#: ../economy.py:511
|
||||||
msgid "Registering an account will now give {} {}."
|
msgid "Registering an account will now give {} {}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:515
|
#: ../economy.py:517
|
||||||
msgid "weeks"
|
msgid "weeks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:516
|
#: ../economy.py:518
|
||||||
msgid "days"
|
msgid "days"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:517
|
#: ../economy.py:519
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:518
|
#: ../economy.py:520
|
||||||
msgid "minutes"
|
msgid "minutes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../economy.py:519
|
#: ../economy.py:521
|
||||||
msgid "seconds"
|
msgid "seconds"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/economy/locales/regen_messages.py
Normal file
15
redbot/cogs/economy/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../economy.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,61 +5,61 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-11-28 13:25-0900\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: filter.py:62
|
#: ../filter.py:62
|
||||||
msgid "Filtered in this server:"
|
msgid "Filtered in this server:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:67
|
#: ../filter.py:67
|
||||||
msgid "I can't send direct messages to you."
|
msgid "I can't send direct messages to you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:96
|
#: ../filter.py:96
|
||||||
msgid "Words added to filter."
|
msgid "Words added to filter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:98
|
#: ../filter.py:98
|
||||||
msgid "Words already in the filter."
|
msgid "Words already in the filter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:127
|
#: ../filter.py:127
|
||||||
msgid "Words removed from filter."
|
msgid "Words removed from filter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:129
|
#: ../filter.py:129
|
||||||
msgid "Those words weren't in the filter."
|
msgid "Those words weren't in the filter."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:142
|
#: ../filter.py:142
|
||||||
msgid "Names and nicknames will no longer be checked against the filter"
|
msgid "Names and nicknames will no longer be checked against the filter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:147
|
#: ../filter.py:147
|
||||||
msgid "Names and nicknames will now be checked against the filter"
|
msgid "Names and nicknames will now be checked against the filter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:160
|
#: ../filter.py:160
|
||||||
msgid "The name to use on filtered names has been set"
|
msgid "The name to use on filtered names has been set"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:171
|
#: ../filter.py:171
|
||||||
msgid "Count and timeframe either both need to be 0 or both need to be greater than 0!"
|
msgid "Count and timeframe either both need to be 0 or both need to be greater than 0!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:179
|
#: ../filter.py:179
|
||||||
msgid "Autoban disabled."
|
msgid "Autoban disabled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: filter.py:183
|
#: ../filter.py:183
|
||||||
msgid "Count and time have been set."
|
msgid "Count and time have been set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/filter/locales/regen_messages.py
Normal file
15
redbot/cogs/filter/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../filter.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 17:50+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,219 +15,227 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ../general.py:40
|
#: ../general.py:42
|
||||||
msgid "As I see it, yes"
|
msgid "As I see it, yes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:40
|
#: ../general.py:42
|
||||||
msgid "It is certain"
|
msgid "It is certain"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:40
|
#: ../general.py:42
|
||||||
msgid "It is decidedly so"
|
msgid "It is decidedly so"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:41
|
#: ../general.py:43
|
||||||
msgid "Most likely"
|
msgid "Most likely"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:41
|
#: ../general.py:43
|
||||||
msgid "Outlook good"
|
msgid "Outlook good"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:41
|
#: ../general.py:43
|
||||||
msgid "Signs point to yes"
|
msgid "Signs point to yes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:42
|
#: ../general.py:44
|
||||||
msgid "Without a doubt"
|
msgid "Without a doubt"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:42
|
#: ../general.py:44
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:42
|
#: ../general.py:44
|
||||||
msgid "Yes – definitely"
|
msgid "Yes – definitely"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:42
|
#: ../general.py:44
|
||||||
msgid "You may rely on it"
|
msgid "You may rely on it"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:43
|
#: ../general.py:45
|
||||||
msgid "Ask again later"
|
msgid "Ask again later"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:43
|
#: ../general.py:45
|
||||||
msgid "Reply hazy, try again"
|
msgid "Reply hazy, try again"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:44
|
#: ../general.py:46
|
||||||
msgid "Better not tell you now"
|
msgid "Better not tell you now"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:44
|
#: ../general.py:46
|
||||||
msgid "Cannot predict now"
|
msgid "Cannot predict now"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:45
|
#: ../general.py:47
|
||||||
msgid "Concentrate and ask again"
|
msgid "Concentrate and ask again"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:45
|
#: ../general.py:47
|
||||||
msgid "Don't count on it"
|
msgid "Don't count on it"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:45
|
#: ../general.py:47
|
||||||
msgid "My reply is no"
|
msgid "My reply is no"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:46
|
#: ../general.py:48
|
||||||
msgid "My sources say no"
|
msgid "My sources say no"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:46
|
#: ../general.py:48
|
||||||
msgid "Outlook not so good"
|
msgid "Outlook not so good"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:46
|
#: ../general.py:48
|
||||||
msgid "Very doubtful"
|
msgid "Very doubtful"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:62
|
#: ../general.py:64
|
||||||
msgid "Not enough choices to pick from."
|
msgid "Not enough choices to pick from."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:76
|
#: ../general.py:78
|
||||||
msgid "{} :game_die: {} :game_die:"
|
msgid "{} :game_die: {} :game_die:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:79
|
#: ../general.py:81
|
||||||
msgid "{} Maybe higher than 1? ;P"
|
msgid "{} Maybe higher than 1? ;P"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:91
|
#: ../general.py:93
|
||||||
msgid ""
|
msgid ""
|
||||||
"Nice try. You think this is funny?How about *this* instead:\n"
|
"Nice try. You think this is funny?How about *this* instead:\n"
|
||||||
"\n"
|
"\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:104
|
#: ../general.py:106
|
||||||
msgid "*flips a coin and... "
|
msgid "*flips a coin and... "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:104
|
#: ../general.py:106
|
||||||
msgid "HEADS!*"
|
msgid "HEADS!*"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:104
|
#: ../general.py:106
|
||||||
msgid "TAILS!*"
|
msgid "TAILS!*"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:128
|
#: ../general.py:130
|
||||||
msgid "{} You win {}!"
|
msgid "{} You win {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:132
|
#: ../general.py:134
|
||||||
msgid "{} You lose {}!"
|
msgid "{} You lose {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:136
|
#: ../general.py:138
|
||||||
msgid "{} We're square {}!"
|
msgid "{} We're square {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:149
|
#: ../general.py:151
|
||||||
msgid "That doesn't look like a question."
|
msgid "That doesn't look like a question."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:157
|
#: ../general.py:159
|
||||||
msgid " Stopwatch started!"
|
msgid " Stopwatch started!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:161
|
#: ../general.py:163
|
||||||
msgid " Stopwatch stopped! Time: **"
|
msgid " Stopwatch stopped! Time: **"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:214 ../general.py:215
|
#: ../general.py:216 ../general.py:217
|
||||||
msgid ""
|
msgid ""
|
||||||
"{}\n"
|
"{}\n"
|
||||||
"({} days ago)"
|
"({} days ago)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:217
|
#: ../general.py:219
|
||||||
msgid "Chilling in {} status"
|
msgid "Chilling in {} status"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:220
|
#: ../general.py:223
|
||||||
msgid "Streaming: [{}]({})"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../general.py:222
|
|
||||||
msgid "Playing {}"
|
msgid "Playing {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../general.py:225
|
||||||
|
msgid "Streaming [{}]({})"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:227
|
#: ../general.py:227
|
||||||
|
msgid "Listening to {}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../general.py:229
|
||||||
|
msgid "Watching {}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../general.py:234
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:230
|
#: ../general.py:237
|
||||||
msgid "Joined Discord on"
|
msgid "Joined Discord on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:231
|
#: ../general.py:238
|
||||||
msgid "Joined this guild on"
|
msgid "Joined this guild on"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:232 ../general.py:277
|
#: ../general.py:239 ../general.py:286
|
||||||
msgid "Roles"
|
msgid "Roles"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:233
|
#: ../general.py:240
|
||||||
msgid "Member #{} | User ID: {}"
|
msgid "Member #{} | User ID: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:248 ../general.py:290
|
#: ../general.py:257 ../general.py:299
|
||||||
msgid "I need the `Embed links` permission to send this."
|
msgid "I need the `Embed links` permission to send this."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:263
|
#: ../general.py:272
|
||||||
msgid "Since {}. That's over {} days ago!"
|
msgid "Since {}. That's over {} days ago!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:273
|
#: ../general.py:282
|
||||||
msgid "Region"
|
msgid "Region"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:274
|
#: ../general.py:283
|
||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:275
|
#: ../general.py:284
|
||||||
msgid "Text Channels"
|
msgid "Text Channels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:276
|
#: ../general.py:285
|
||||||
msgid "Voice Channels"
|
msgid "Voice Channels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:278
|
#: ../general.py:287
|
||||||
msgid "Owner"
|
msgid "Owner"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:279
|
#: ../general.py:288
|
||||||
msgid "Guild ID: "
|
msgid "Guild ID: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:334
|
#: ../general.py:343
|
||||||
msgid "Your search terms gave no results."
|
msgid "Your search terms gave no results."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:336
|
#: ../general.py:345
|
||||||
msgid "There is no definition #{}"
|
msgid "There is no definition #{}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../general.py:338
|
#: ../general.py:347
|
||||||
msgid "Error."
|
msgid "Error."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/general/locales/regen_messages.py
Normal file
15
redbot/cogs/general/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../general.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-08-26 17:57+EDT\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,32 +15,32 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ../image.py:48
|
#: ../image.py:49
|
||||||
msgid "Your search returned no results"
|
msgid "Your search returned no results"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:51
|
#: ../image.py:52
|
||||||
msgid ""
|
msgid ""
|
||||||
"Search results...\n"
|
"Search results...\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:57 ../image.py:99
|
#: ../image.py:58 ../image.py:100
|
||||||
msgid "Something went wrong. Error code is {}"
|
msgid "Something went wrong. Error code is {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:69
|
#: ../image.py:70
|
||||||
msgid "Only 'new' and 'top' are a valid sort type."
|
msgid "Only 'new' and 'top' are a valid sort type."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:97 ../image.py:134 ../image.py:156
|
#: ../image.py:98 ../image.py:135 ../image.py:157
|
||||||
msgid "No results found."
|
msgid "No results found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:114
|
#: ../image.py:115
|
||||||
msgid "Set the imgur client id!"
|
msgid "Set the imgur client id!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../image.py:136 ../image.py:158
|
#: ../image.py:137 ../image.py:159
|
||||||
msgid "Error contacting the API"
|
msgid "Error contacting the API"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/image/locales/regen_messages.py
Normal file
15
redbot/cogs/image/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../image.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,266 +5,282 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-11-28 13:26-0900\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: mod.py:209
|
#: ../mod.py:209
|
||||||
msgid "Role hierarchy will be checked when moderation commands are issued."
|
msgid "Role hierarchy will be checked when moderation commands are issued."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:213
|
#: ../mod.py:213
|
||||||
msgid "Role hierarchy will be ignored when moderation commands are issued."
|
msgid "Role hierarchy will be ignored when moderation commands are issued."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:228
|
#: ../mod.py:228
|
||||||
msgid "Autoban for mention spam enabled. Anyone mentioning {} or more different people in a single message will be autobanned."
|
msgid "Autoban for mention spam enabled. Anyone mentioning {} or more different people in a single message will be autobanned."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:239
|
#: ../mod.py:239
|
||||||
msgid "Autoban for mention spam disabled."
|
msgid "Autoban for mention spam disabled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:249
|
#: ../mod.py:249
|
||||||
msgid "Messages repeated up to 3 times will be deleted."
|
msgid "Messages repeated up to 3 times will be deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:253
|
#: ../mod.py:253
|
||||||
msgid "Repeated messages will be ignored."
|
msgid "Repeated messages will be ignored."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:267
|
#: ../mod.py:267
|
||||||
msgid "Command deleting disabled."
|
msgid "Command deleting disabled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:270
|
#: ../mod.py:270
|
||||||
msgid "Delete delay set to {} seconds."
|
msgid "Delete delay set to {} seconds."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:275
|
#: ../mod.py:275
|
||||||
msgid "Bot will delete command messages after {} seconds. Set this value to -1 to stop deleting messages"
|
msgid "Bot will delete command messages after {} seconds. Set this value to -1 to stop deleting messages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:279
|
#: ../mod.py:279
|
||||||
msgid "I will not delete command messages."
|
msgid "I will not delete command messages."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:292
|
#: ../mod.py:292
|
||||||
msgid "Users unbanned with {} will be reinvited."
|
msgid "Users unbanned with {} will be reinvited."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:295
|
#: ../mod.py:295
|
||||||
msgid "Users unbanned with {} will not be reinvited."
|
msgid "Users unbanned with {} will not be reinvited."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:309 mod.py:349 mod.py:505
|
#: ../mod.py:309 ../mod.py:349 ../mod.py:506
|
||||||
msgid "I cannot let you do that. Self-harm is bad {}"
|
msgid "I cannot let you do that. Self-harm is bad {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:313 mod.py:353 mod.py:509
|
#: ../mod.py:313 ../mod.py:353 ../mod.py:510
|
||||||
msgid "I cannot let you do that. You are not higher than the user in the role hierarchy."
|
msgid "I cannot let you do that. You are not higher than the user in the role hierarchy."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:323 mod.py:379 mod.py:569
|
#: ../mod.py:323 ../mod.py:379 ../mod.py:570
|
||||||
msgid "I'm not allowed to do that."
|
msgid "I'm not allowed to do that."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:327
|
#: ../mod.py:327
|
||||||
msgid "Done. That felt good."
|
msgid "Done. That felt good."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:369
|
#: ../mod.py:369
|
||||||
msgid "Invalid days. Must be between 0 and 7."
|
msgid "Invalid days. Must be between 0 and 7."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:384
|
#: ../mod.py:384
|
||||||
msgid "Done. It was about time."
|
msgid "Done. It was about time."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:413
|
#: ../mod.py:413
|
||||||
msgid "User is already banned."
|
msgid "User is already banned."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:429
|
#: ../mod.py:429
|
||||||
msgid "User not found. Have you provided the correct user ID?"
|
msgid "User not found. Have you provided the correct user ID?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:433
|
#: ../mod.py:433
|
||||||
msgid "I lack the permissions to do this."
|
msgid "I lack the permissions to do this."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:435
|
#: ../mod.py:435
|
||||||
msgid "Done. The user will not be able to join this guild."
|
msgid "Done. The user will not be able to join this guild."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:471 mod.py:524
|
#: ../mod.py:472
|
||||||
|
msgid "You have been temporarily banned from {} until {}. Here is an invite for when your ban expires: {}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../mod.py:481
|
||||||
|
msgid "I can't do that for some reason."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../mod.py:483
|
||||||
|
msgid "Something went wrong while banning"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../mod.py:485
|
||||||
|
msgid "Done. Enough chaos for now"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../mod.py:525
|
||||||
msgid ""
|
msgid ""
|
||||||
"You have been banned and then unbanned as a quick way to delete your messages.\n"
|
"You have been banned and then unbanned as a quick way to delete your messages.\n"
|
||||||
"You can now join the guild again. {}"
|
"You can now join the guild again. {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:536
|
#: ../mod.py:537
|
||||||
msgid "My role is not high enough to softban that user."
|
msgid "My role is not high enough to softban that user."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:552
|
#: ../mod.py:553
|
||||||
msgid "Done. Enough chaos."
|
msgid "Done. Enough chaos."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:586
|
#: ../mod.py:587
|
||||||
msgid "Couldn't find a user with that ID!"
|
msgid "Couldn't find a user with that ID!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:592
|
#: ../mod.py:593
|
||||||
msgid "It seems that user isn't banned!"
|
msgid "It seems that user isn't banned!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:600
|
#: ../mod.py:601
|
||||||
msgid "Something went wrong while attempting to unban that user"
|
msgid "Something went wrong while attempting to unban that user"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:603
|
#: ../mod.py:604
|
||||||
msgid "Unbanned that user from this guild"
|
msgid "Unbanned that user from this guild"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:618
|
#: ../mod.py:619
|
||||||
msgid ""
|
msgid ""
|
||||||
"You've been unbanned from {}.\n"
|
"You've been unbanned from {}.\n"
|
||||||
"Here is an invite for that guild: {}"
|
"Here is an invite for that guild: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:622
|
#: ../mod.py:623
|
||||||
msgid ""
|
msgid ""
|
||||||
"I failed to send an invite to that user. Perhaps you may be able to send it for me?\n"
|
"I failed to send an invite to that user. Perhaps you may be able to send it for me?\n"
|
||||||
"Here's the invite link: {}"
|
"Here's the invite link: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:628
|
#: ../mod.py:629
|
||||||
msgid "Something went wrong when attempting to send that useran invite. Here's the link so you can try: {}"
|
msgid "Something went wrong when attempting to send that useran invite. Here's the link so you can try: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:672 mod.py:709
|
#: ../mod.py:673 ../mod.py:710
|
||||||
msgid "No voice state for that user!"
|
msgid "No voice state for that user!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:686
|
#: ../mod.py:687
|
||||||
msgid "That user is already muted and deafened guild-wide!"
|
msgid "That user is already muted and deafened guild-wide!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:689
|
#: ../mod.py:690
|
||||||
msgid "User has been banned from speaking or listening in voice channels"
|
msgid "User has been banned from speaking or listening in voice channels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:721
|
#: ../mod.py:722
|
||||||
msgid "That user isn't muted or deafened by the guild!"
|
msgid "That user isn't muted or deafened by the guild!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:724
|
#: ../mod.py:725
|
||||||
msgid "User is now allowed to speak and listen in voice channels"
|
msgid "User is now allowed to speak and listen in voice channels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:753
|
#: ../mod.py:754
|
||||||
msgid "I cannot do that, I lack the '{}' permission."
|
msgid "I cannot do that, I lack the '{}' permission."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:782
|
#: ../mod.py:783
|
||||||
msgid "Muted {}#{} in channel {}"
|
msgid "Muted {}#{} in channel {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:796
|
#: ../mod.py:797
|
||||||
msgid "That user is already muted in {}!"
|
msgid "That user is already muted in {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:799 mod.py:931
|
#: ../mod.py:800 ../mod.py:932
|
||||||
msgid "That user is not in a voice channel right now!"
|
msgid "That user is not in a voice channel right now!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:801 mod.py:933
|
#: ../mod.py:802 ../mod.py:934
|
||||||
msgid "No voice state for the target!"
|
msgid "No voice state for the target!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:821
|
#: ../mod.py:822
|
||||||
msgid "User has been muted in this channel."
|
msgid "User has been muted in this channel."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:857
|
#: ../mod.py:858
|
||||||
msgid "User has been muted in this guild."
|
msgid "User has been muted in this guild."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:918
|
#: ../mod.py:919
|
||||||
msgid "Unmuted {}#{} in channel {}"
|
msgid "Unmuted {}#{} in channel {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:928
|
#: ../mod.py:929
|
||||||
msgid "That user is already unmuted in {}!"
|
msgid "That user is already unmuted in {}!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:948
|
#: ../mod.py:949
|
||||||
msgid "User unmuted in this channel."
|
msgid "User unmuted in this channel."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:957
|
#: ../mod.py:958
|
||||||
msgid "Unmute failed. Reason: {}"
|
msgid "Unmute failed. Reason: {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:980
|
#: ../mod.py:981
|
||||||
msgid "User has been unmuted in this guild."
|
msgid "User has been unmuted in this guild."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1044
|
#: ../mod.py:1045
|
||||||
msgid "Channel added to ignore list."
|
msgid "Channel added to ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1046
|
#: ../mod.py:1047
|
||||||
msgid "Channel already in ignore list."
|
msgid "Channel already in ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1055
|
#: ../mod.py:1055
|
||||||
msgid "This guild has been added to the ignore list."
|
msgid "This guild has been added to the ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1057
|
#: ../mod.py:1057
|
||||||
msgid "This guild is already being ignored."
|
msgid "This guild is already being ignored."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1078
|
#: ../mod.py:1078
|
||||||
msgid "Channel removed from ignore list."
|
msgid "Channel removed from ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1080
|
#: ../mod.py:1080
|
||||||
msgid "That channel is not in the ignore list."
|
msgid "That channel is not in the ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1089
|
#: ../mod.py:1088
|
||||||
msgid "This guild has been removed from the ignore list."
|
msgid "This guild has been removed from the ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1091
|
#: ../mod.py:1090
|
||||||
msgid "This guild is not in the ignore list."
|
msgid "This guild is not in the ignore list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1103
|
#: ../mod.py:1102
|
||||||
msgid ""
|
msgid ""
|
||||||
"Currently ignoring:\n"
|
"Currently ignoring:\n"
|
||||||
"{} channels\n"
|
"{} channels\n"
|
||||||
"{} guilds\n"
|
"{} guilds\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1131
|
#: ../mod.py:1133
|
||||||
msgid "**Past 20 names**:"
|
msgid "**Past 20 names**:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1138
|
#: ../mod.py:1140
|
||||||
msgid "**Past 20 nicknames**:"
|
msgid "**Past 20 nicknames**:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: mod.py:1144
|
#: ../mod.py:1146
|
||||||
msgid "That user doesn't have any recorded name or nickname change."
|
msgid "That user doesn't have any recorded name or nickname change."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/mod/locales/regen_messages.py
Normal file
15
redbot/cogs/mod/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../mod.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,13 +5,57 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2017-10-22 16:34-0800\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=cp1252\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: ../modlog.py:36
|
||||||
|
msgid "Mod events will be sent to {}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:42
|
||||||
|
msgid "I do not have permissions to send messages in {}!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:52
|
||||||
|
msgid "Mod log deactivated."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:63
|
||||||
|
msgid "Current settings:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:75
|
||||||
|
msgid "That action is not registered"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:82
|
||||||
|
msgid "Case creation for {} actions is now {}."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:94
|
||||||
|
msgid "Cases have been reset."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:103
|
||||||
|
msgid "That case does not exist for that guild"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:122
|
||||||
|
msgid "That case does not exist!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:146
|
||||||
|
msgid "You are not authorized to modify that case!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../modlog.py:155
|
||||||
|
msgid "Reason has been updated."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
15
redbot/cogs/modlog/locales/regen_messages.py
Normal file
15
redbot/cogs/modlog/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../modlog.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
17
redbot/cogs/streams/locales/messages.pot
Normal file
17
redbot/cogs/streams/locales/messages.pot
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
15
redbot/cogs/streams/locales/regen_messages.py
Normal file
15
redbot/cogs/streams/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../mod.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
17
redbot/cogs/trivia/locales/messages.pot
Normal file
17
redbot/cogs/trivia/locales/messages.pot
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: ENCODING\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
15
redbot/cogs/trivia/locales/regen_messages.py
Normal file
15
redbot/cogs/trivia/locales/regen_messages.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
TO_TRANSLATE = [
|
||||||
|
'../mod.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def regen_messages():
|
||||||
|
subprocess.run(
|
||||||
|
['pygettext', '-n'] + TO_TRANSLATE
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
regen_messages()
|
||||||
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2018-01-28 15:46+AKST\n"
|
"POT-Creation-Date: 2018-02-18 14:42+AKST\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -22,7 +22,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../cog_manager.py:324
|
#: ../cog_manager.py:324
|
||||||
msgid "That path is does not exist or does not point to a valid directory."
|
msgid "That path does not exist or does not point to a valid directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../cog_manager.py:333
|
#: ../cog_manager.py:333
|
||||||
@ -57,211 +57,219 @@ msgstr ""
|
|||||||
msgid "The bot will install new cogs to the `{}` directory."
|
msgid "The bot will install new cogs to the `{}` directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:189 ../core_commands.py:223
|
#: ../core_commands.py:224 ../core_commands.py:258
|
||||||
msgid "No module by that name was found in any cog path."
|
msgid "No module by that name was found in any cog path."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:197
|
#: ../core_commands.py:232
|
||||||
msgid "Failed to load package. Check your console or logs for details."
|
msgid "Failed to load package. Check your console or logs for details."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:201 ../core_commands.py:210 ../core_commands.py:235
|
#: ../core_commands.py:236 ../core_commands.py:245 ../core_commands.py:270
|
||||||
#: ../core_commands.py:324 ../core_commands.py:388 ../core_commands.py:402
|
#: ../core_commands.py:359 ../core_commands.py:447 ../core_commands.py:461
|
||||||
msgid "Done."
|
msgid "Done."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:212
|
#: ../core_commands.py:247
|
||||||
msgid "That extension is not loaded."
|
msgid "That extension is not loaded."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:232
|
#: ../core_commands.py:267
|
||||||
msgid "Failed to reload package. Check your console or logs for details."
|
msgid "Failed to reload package. Check your console or logs for details."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:245
|
#: ../core_commands.py:280
|
||||||
msgid "Shutting down... "
|
msgid "Shutting down... "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:260
|
#: ../core_commands.py:295
|
||||||
msgid "Restarting..."
|
msgid "Restarting..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:297
|
#: ../core_commands.py:332
|
||||||
msgid "The admin role for this guild has been set."
|
msgid "The admin role for this guild has been set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:305
|
#: ../core_commands.py:340
|
||||||
msgid "The mod role for this guild has been set."
|
msgid "The mod role for this guild has been set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:318
|
#: ../core_commands.py:353
|
||||||
msgid "Failed. Remember that you can edit my avatar up to two times a hour. The URL must be a direct link to a JPG / PNG."
|
msgid "Failed. Remember that you can edit my avatar up to two times a hour. The URL must be a direct link to a JPG / PNG."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:322
|
#: ../core_commands.py:357
|
||||||
msgid "JPG / PNG format only."
|
msgid "JPG / PNG format only."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:337
|
#: ../core_commands.py:372
|
||||||
msgid "Game set."
|
msgid "Game set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:366
|
#: ../core_commands.py:384
|
||||||
|
msgid "Listening set."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../core_commands.py:396
|
||||||
|
msgid "Watching set."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../core_commands.py:425
|
||||||
msgid "Status changed to %s."
|
msgid "Status changed to %s."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:397
|
#: ../core_commands.py:456
|
||||||
msgid "Failed to change name. Remember that you can only do it up to 2 times an hour. Use nicknames if you need frequent changes. `{}set nickname`"
|
msgid "Failed to change name. Remember that you can only do it up to 2 times an hour. Use nicknames if you need frequent changes. `{}set nickname`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:412
|
#: ../core_commands.py:471
|
||||||
msgid "I lack the permissions to change my own nickname."
|
msgid "I lack the permissions to change my own nickname."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:426 ../core_commands.py:439
|
#: ../core_commands.py:485 ../core_commands.py:498
|
||||||
msgid "Prefix set."
|
msgid "Prefix set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:435
|
#: ../core_commands.py:494
|
||||||
msgid "Guild prefixes have been reset."
|
msgid "Guild prefixes have been reset."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:458
|
#: ../core_commands.py:517
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
"Verification token:"
|
"Verification token:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:461
|
#: ../core_commands.py:520
|
||||||
msgid ""
|
msgid ""
|
||||||
"Remember:\n"
|
"Remember:\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:464
|
#: ../core_commands.py:523
|
||||||
msgid "I have printed a one-time token in the console. Copy and paste it here to confirm you are the owner."
|
msgid "I have printed a one-time token in the console. Copy and paste it here to confirm you are the owner."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:472
|
#: ../core_commands.py:531
|
||||||
msgid "The set owner request has timed out."
|
msgid "The set owner request has timed out."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:478
|
#: ../core_commands.py:537
|
||||||
msgid "You have been set as owner."
|
msgid "You have been set as owner."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:480
|
#: ../core_commands.py:539
|
||||||
msgid "Invalid token."
|
msgid "Invalid token."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:492
|
#: ../core_commands.py:551
|
||||||
msgid "Locale has been set."
|
msgid "Locale has been set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:506
|
#: ../core_commands.py:565
|
||||||
msgid "Done. Sentry logging is now enabled."
|
msgid "Done. Sentry logging is now enabled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:509
|
#: ../core_commands.py:568
|
||||||
msgid "Done. Sentry logging is now disabled."
|
msgid "Done. Sentry logging is now disabled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:519
|
#: ../core_commands.py:578
|
||||||
msgid "User ID: %s"
|
msgid "User ID: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:522
|
#: ../core_commands.py:581
|
||||||
msgid "through DM"
|
msgid "through DM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:524
|
#: ../core_commands.py:583
|
||||||
msgid "from {}"
|
msgid "from {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:525
|
#: ../core_commands.py:584
|
||||||
msgid " | Server ID: %s"
|
msgid " | Server ID: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:534
|
#: ../core_commands.py:593
|
||||||
msgid "Use `{}dm {} <text>` to reply to this user"
|
msgid "Use `{}dm {} <text>` to reply to this user"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:542
|
#: ../core_commands.py:601
|
||||||
msgid "Sent by {} {}"
|
msgid "Sent by {} {}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:554
|
#: ../core_commands.py:613
|
||||||
msgid "I cannot send your message, I'm unable to find my owner... *sigh*"
|
msgid "I cannot send your message, I'm unable to find my owner... *sigh*"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:557
|
#: ../core_commands.py:616
|
||||||
msgid "I'm unable to deliver your message. Sorry."
|
msgid "I'm unable to deliver your message. Sorry."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:559
|
#: ../core_commands.py:618
|
||||||
msgid "Your message has been sent."
|
msgid "Your message has been sent."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:573
|
#: ../core_commands.py:632
|
||||||
msgid "Invalid ID or user not found. You can only send messages to people I share a server with."
|
msgid "Invalid ID or user not found. You can only send messages to people I share a server with."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:579
|
#: ../core_commands.py:638
|
||||||
msgid "Owner of %s"
|
msgid "Owner of %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:583
|
#: ../core_commands.py:642
|
||||||
msgid "You can reply to this message with %scontact"
|
msgid "You can reply to this message with %scontact"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:593
|
#: ../core_commands.py:652
|
||||||
msgid "Sorry, I couldn't deliver your message to %s"
|
msgid "Sorry, I couldn't deliver your message to %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:596
|
#: ../core_commands.py:655
|
||||||
msgid "Message delivered to %s"
|
msgid "Message delivered to %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:616
|
#: ../core_commands.py:675
|
||||||
msgid "User added to whitelist."
|
msgid "User added to whitelist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:625
|
#: ../core_commands.py:684
|
||||||
msgid "Whitelisted Users:"
|
msgid "Whitelisted Users:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:645
|
#: ../core_commands.py:704
|
||||||
msgid "User has been removed from whitelist."
|
msgid "User has been removed from whitelist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:647
|
#: ../core_commands.py:706
|
||||||
msgid "User was not in the whitelist."
|
msgid "User was not in the whitelist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:655
|
#: ../core_commands.py:714
|
||||||
msgid "Whitelist has been cleared."
|
msgid "Whitelist has been cleared."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:672
|
#: ../core_commands.py:731
|
||||||
msgid "You cannot blacklist an owner!"
|
msgid "You cannot blacklist an owner!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:679
|
#: ../core_commands.py:738
|
||||||
msgid "User added to blacklist."
|
msgid "User added to blacklist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:688
|
#: ../core_commands.py:747
|
||||||
msgid "blacklisted Users:"
|
msgid "blacklisted Users:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:708
|
#: ../core_commands.py:767
|
||||||
msgid "User has been removed from blacklist."
|
msgid "User has been removed from blacklist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:710
|
#: ../core_commands.py:769
|
||||||
msgid "User was not in the blacklist."
|
msgid "User was not in the blacklist."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../core_commands.py:718
|
#: ../core_commands.py:777
|
||||||
msgid "blacklist has been cleared."
|
msgid "blacklist has been cleared."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user