Skip to content

Commit

Permalink
Merge pull request #64 from IDEMSInternational/app_updates_20240201
Browse files Browse the repository at this point in the history
App updates 20240201
  • Loading branch information
esmeetewinkel authored Feb 1, 2024
2 parents 60270f6 + ee4dedf commit 578fa8d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ cover/

# Translations
*.mo
*.pot
1_compose_result/*
2_extract_result/*
4_result_from_translators/*

# Django stuff:
*.log
Expand Down
2 changes: 1 addition & 1 deletion app/config_files/plh_facilitator_mx_settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"CoreFiles": "../parenting-app-ui/.idems_app/deployments/plh_facilitator_mx/app_data/sheets",
"ComposeResult": "app/1_compose_result",
"CoreGroups": [["data_list", ["campaign_rows", "campaign_schedule", "legal_terms"]],["global", ["legal_terms"]],["template", ["legal_terms"]],["tour", [""]]],
"CoreGroups": [["data_list", ["campaign_rows", "campaign_schedule", "legal_terms","generated"]],["global", ["legal_terms"]],["template", ["legal_terms"]],["tour", [""]]],
"SplitGroups": [["main","plh_facilitator_mx"], ["legal_terms","plh_facilitator_mx"]],
"ExtractResult": "app/2_extract_result",
"ReadyForTranslation": "app/3_ready_for_translators",
Expand Down
2 changes: 1 addition & 1 deletion app/config_files/plh_facilitator_my_settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"CoreFiles": "../parenting-app-ui/.idems_app/deployments/plh_facilitator_my/app_data/sheets",
"ComposeResult": "app/1_compose_result",
"CoreGroups": [["data_list", ["campaign_rows", "campaign_schedule", "legal_terms"]],["global", ["legal_terms"]],["template", ["legal_terms"]],["tour", [""]]],
"CoreGroups": [["data_list", ["campaign_rows", "campaign_schedule", "legal_terms","generated"]],["global", ["legal_terms"]],["template", ["legal_terms"]],["tour", [""]]],
"SplitGroups": [["main","plh_facilitator_my"], ["legal_terms","plh_facilitator_my"]],
"ExtractResult": "app/2_extract_result",
"ReadyForTranslation": "app/3_ready_for_translators",
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/merge_files_post_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def main():

# Loop through all languages to merge into a single JSON dictionary
for file in os.listdir(post_translation_jsons):
dictionary_name = file + "_dictionary"
dictionary_name = file + "_dictionary.json"
subprocess.run(["node", "./common_tools/index.js", "concatenate_json", os.path.join(post_translation_jsons, file), final_dictionaries, dictionary_name], check=True)


Expand Down

0 comments on commit 578fa8d

Please sign in to comment.