Skip to content

Commit

Permalink
added localization for the chart all on the project-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Kreiner committed Jan 30, 2025
1 parent 0fb4392 commit a514bfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/page/ProjectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const ProjectPage: React.FunctionComponent = () => {
<Typography
onClick={() => redirect(Object.keys(localization.misc.status), Object.keys(localization.misc.severity))}
marginBottom={"2rem"} variant="h5"
sx={chartTitle}>{"Alle"}</Typography>
sx={chartTitle}>{localization.ProjectPage.allReportsTitle}</Typography>
<Box sx={chartBoxProps}>
<CustomDoughnut data={processedStatus} options={
{
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/utilities/localization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const language = {
updatedTitle: "Aktualisiert am",
dependenciesTitle: "Dependencies",
resolvedReportsTitle: "Erledigt",
allReportsTitle: "Alle",
notEvaluatedTitle: "Unbewertet",
evaluatedTitle: "Bewertet",
statusRatio: "Status Verhältnis",
Expand Down Expand Up @@ -394,6 +395,7 @@ const language = {
updatedTitle: "Updated on",
dependenciesTitle: "Dependencies",
resolvedReportsTitle: "Resolved",
allReportsTitle: "All",
notEvaluatedTitle: "Unevaluated",
evaluatedTitle: "Evaluated",
statusRatio: "Status ratio",
Expand Down

0 comments on commit a514bfb

Please sign in to comment.