mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-11 05:38:54 -05:00
* Initial commit * Beginning of working i18n * Add some translation files * Add more strings to translate * Update and add some more translations * Update spanish translation * Update french translation * Add alias translation templates * Add bank translations * Add economy translations * Add general translations * Add image translations * Add core translations
17 lines
257 B
Python
17 lines
257 B
Python
import subprocess
|
|
|
|
TO_TRANSLATE = [
|
|
'../cog_manager.py',
|
|
'../core_commands.py',
|
|
'../dev_commands.py'
|
|
]
|
|
|
|
|
|
def regen_messages():
|
|
subprocess.run(
|
|
['pygettext', '-n'] + TO_TRANSLATE
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
regen_messages() |