Skip to content

Commit

Permalink
Ran translation export
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickseguraoddball committed Oct 10, 2024
1 parent c4d20f9 commit 0acefac
Show file tree
Hide file tree
Showing 5 changed files with 374 additions and 2 deletions.
4 changes: 3 additions & 1 deletion mappings/export/exportTranslation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import basics from '../../src/i18n/en-US/modelPlan/basics';
import beneficiaries from '../../src/i18n/en-US/modelPlan/beneficiaries';
import collaborators from '../../src/i18n/en-US/modelPlan/collaborators';
import crs from '../../src/i18n/en-US/modelPlan/crs';
import dataExchangeApproach from '../../src/i18n/en-US/modelPlan/dataExchangeApproach';
import discussions from '../../src/i18n/en-US/modelPlan/discussions';
import documents from '../../src/i18n/en-US/modelPlan/documents';
import documentSolutionLink from '../../src/i18n/en-US/modelPlan/documentSolutionLink';
Expand Down Expand Up @@ -46,7 +47,8 @@ export const translationSections = {
operational_solution: operationalSolutions,
operational_solution_subtask: subtasks,
existing_model_link: existingModelLink,
plan_document_solution_link: documentSolutionLink
plan_document_solution_link: documentSolutionLink,
data_exchange_approach: dataExchangeApproach
};

export const parseTypscriptToJSON = (translations: any, outputFile: string) => {
Expand Down
4 changes: 3 additions & 1 deletion mappings/export/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import basics from '../../src/i18n/en-US/modelPlan/basics';
import beneficiaries from '../../src/i18n/en-US/modelPlan/beneficiaries';
import collaborator from '../../src/i18n/en-US/modelPlan/collaborators';
import crs from '../../src/i18n/en-US/modelPlan/crs';
import dataExchangeApproach from '../../src/i18n/en-US/modelPlan/dataExchangeApproach';
import discussion from '../../src/i18n/en-US/modelPlan/discussions';
import document from '../../src/i18n/en-US/modelPlan/documents';
import documentSolutionLink from '../../src/i18n/en-US/modelPlan/documentSolutionLink';
Expand Down Expand Up @@ -45,7 +46,8 @@ export const translationSections = {
operational_solution: operationalSolution,
operational_solution_subtask: subtask,
existing_model_link: existingModelLink,
plan_document_solution_link: documentSolutionLink
plan_document_solution_link: documentSolutionLink,
data_exchange_approach: dataExchangeApproach
};

// Fields that are not needed by BE
Expand Down
Loading

0 comments on commit 0acefac

Please sign in to comment.