[V3] Warning system (#1173)

* [V3 Warning] initial work on a warning system for v3

* [V3 Warning] rename some stuff and add a case type

* [V3 Warnings] rename package from warning

* [V3 Warnings] restructuring commands

* [V3 Warnings] remove expiry stuff + other refactoring

* [V3 Warnings] refactoring action logic

* [V3 Warnings] rewrites to action logic

* [V3 Warnings] add regen_messages.py
This commit is contained in:
palmtree5
2018-02-25 20:14:38 -09:00
committed by GitHub
parent 21de95e0a6
commit c1ac78eea4
5 changed files with 651 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import subprocess
TO_TRANSLATE = [
'../warnings.py',
'../helpers.py'
]
def regen_messages():
subprocess.run(
['pygettext', '-n'] + TO_TRANSLATE
)
if __name__ == "__main__":
regen_messages()