Consolidate translation script (#33911)
* Consolidate translation script * Remove commented code
This commit is contained in:
1 parent
9535dd87b0
commit
425c97626a
8 files changed
+123
-49
No files matched your search
@@ -0,0 +1,10 @@
|
||||
"""Errors for translations."""
|
||||
|
||||
|
||||
class ExitApp(Exception):
|
||||
"""Exception to indicate app should exit."""
|
||||
|
||||
def __init__(self, reason, exit_code=1):
|
||||
"""Initialize the exit app exception."""
|
||||
self.reason = reason
|
||||
self.exit_code = exit_code
|
||||
Reference in new issue
Block a user