-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
38 lines (35 loc) · 1.01 KB
/
settings.py
File metadata and controls
38 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def init():
global campaign_name
campaign_name = ""
global zip_file_path
zip_file_path = ""
global split_markers
split_markers = []
global keys_to_process
keys_to_process = []
global ignore_list
ignore_list = []
global target_language
target_language = ""
global working_dir
working_dir = ""
global translations_path
translations_path = ""
global verbose
verbose = False
global translations_errors
translations_errors = {}
global translations_mapping
translations_mapping = {}
# Custom translations
global custom_translations_folder
custom_translations_folder = None
global custom_translations
custom_translations = {}
global use_embedded_custom_translations
use_embedded_custom_translations = False
global display_original_values_in_parenthesis
display_original_values_in_parenthesis = False
# Proper nouns that might be interesting to translate manually
global proper_nouns
proper_nouns = []