mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 12:48:54 -05:00
* [V3] add a script for regenerating all strings * Edits to the yml files * Fix up deploy section * Make generate_strings upload to Crowdin
15 lines
200 B
Python
15 lines
200 B
Python
import subprocess
|
|
|
|
TO_TRANSLATE = [
|
|
'../cleanup.py'
|
|
]
|
|
|
|
|
|
def regen_messages():
|
|
subprocess.run(
|
|
['pygettext', '-n'] + TO_TRANSLATE
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
regen_messages() |