Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Feb 21, 2024
1 parent 4dd6b7a commit 4a8b34b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"governance": "Governance",
"risk": "Risk",
"compliance": "Compliance",
"organisation": "Organisation",
"organization": "Organisation",
"extra": "Extra",
"analytics": "Analytics",
"calendar": "Calendar",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"governance": "Gouvernance",
"risk": "Risque",
"compliance": "Conformité",
"organisation": "Organisation",
"organization": "Organisation",
"extra": "Extra",
"analytics": "Analytiques",
"calendar": "Calendrier",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function localItems(languageTag: string): LocalItems {
governance: m.governance({ languageTag: languageTag }),
risk: m.risk({ languageTag: languageTag }),
compliance: m.compliance({ languageTag: languageTag }),
organisation: m.organisation({ languageTag: languageTag }),
organization: m.organization({ languageTag: languageTag }),
extra: m.extra({ languageTag: languageTag }),
analytics: m.analytics({ languageTag: languageTag }),
calendar: m.calendar({ languageTag: languageTag }),
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/routes/(app)/analytics/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
let dropdown_selected_values: any;
console.log(security_measure_status.localLables);
for (const item in security_measure_status.labels) {
console.log(security_measure_status.labels[item])
security_measure_status.labels[item] = localItems(languageTag())[security_measure_status.localLables[item]];
}
Expand Down

0 comments on commit 4a8b34b

Please sign in to comment.