mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* More docstrings * still not ready... * push this untested pile of code. * working, menu needs cleaning up though, modlog converter not here yet * menu cleanup * add note about the fact that values are overwritten * add i18n * User friendlier quitting * Better naming of a function * setup automodule for dataconverter * More documentation * use Config.MEMBER (etc) instead of 'MEMBER' (etc)
16 lines
207 B
Python
16 lines
207 B
Python
import subprocess
|
|
|
|
TO_TRANSLATE = [
|
|
'../dataconverter.py'
|
|
]
|
|
|
|
|
|
def regen_messages():
|
|
subprocess.run(
|
|
['pygettext', '-n'] + TO_TRANSLATE
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
regen_messages()
|