-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d53c95d
commit 7c8b275
Showing
6 changed files
with
112 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"Home": "Home", | ||
"Overview": "Overview" | ||
"home": "Home", | ||
"overview": "Overview", | ||
"context": "Context", | ||
"governance": "Governance", | ||
"risk": "Risk", | ||
"compliance": "Compliance", | ||
"organisation": "Organisation", | ||
"extra": "Extra", | ||
"analytics": "Analytics", | ||
"calendar": "Calendar", | ||
"threats": "Threats", | ||
"securityFunctions": "Security functions", | ||
"securityMeasures": "Security measures", | ||
"assets": "Assets", | ||
"policies": "Policies", | ||
"riskMatrices": "Risk matrices", | ||
"riskAssessments": "Risk assessments", | ||
"riskScenarios": "Risk scenarios", | ||
"riskAcceptances": "Risk acceptances", | ||
"complianceAssessments": "Compliance assessments", | ||
"evidences": "Evidences", | ||
"frameworks": "Frameworks", | ||
"domains": "Domains", | ||
"projects": "Projects", | ||
"users": "Users", | ||
"userGroups": "User groups", | ||
"roleAssignments": "Role assignments", | ||
"xrays": "X-rays", | ||
"scoringAssistant": "Scoring assistant", | ||
"libraries": "Libraries", | ||
"backupRestore": "Backup & restore" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"Home": "Accueil", | ||
"Overview": "Vue d'ensemble" | ||
"home": "Accueil", | ||
"overview": "Vue d'ensemble", | ||
"context": "Contexte", | ||
"governance": "Gouvernance", | ||
"risk": "Risque", | ||
"compliance": "Conformité", | ||
"organisation": "Organisation", | ||
"extra": "Extra" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 15 additions & 4 deletions
19
frontend/src/lib/components/SideBar/SideBarCategory.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
<script lang="ts"> | ||
export let item: any; // TODO: type this | ||
export let item: any; // Specify the type of 'item' as a key of 'Sidebar' | ||
import * as m from '$paraglide/messages'; | ||
const sidebar: any = { | ||
overview: m.overview(), | ||
context: m.context(), | ||
governance: m.governance(), | ||
risk: m.risk(), | ||
compliance: m.compliance(), | ||
organisation: m.organisation(), | ||
extra: m.extra(), | ||
} | ||
</script> | ||
|
||
<span class="whitespace-nowrap text-primary-800 font-semibold uppercase tracking-tighter text-xs" | ||
>{item.name}</span | ||
> | ||
<span class="whitespace-nowrap text-primary-800 font-semibold uppercase tracking-tighter text-xs"> | ||
{sidebar[item.name]} | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters