Skip to content

Commit

Permalink
Added i18 translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasmadei authored and blcham committed Jul 8, 2024
1 parent 97fd291 commit 4c9c856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"operationalHours": "Doba provozu"
},
"faultEventMenu": {
"eventName": "Název události",
"criticality": "Kritičnost",
"fhaBasedFailureRate": "Intenzita poruch založená na FHA",
"predictedFailureRate": "Predikovaná intenzita poruch",
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"operationalHours": "Operational Hours"
},
"faultEventMenu": {
"eventName": "Event name",
"criticality": "Criticality",
"fhaBasedFailureRate": "FHA based failure rate",
"predictedFailureRate": "Predicted failure rate",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const FaultEventMenu = ({ shapeToolData, onEventUpdated, refreshTree, rootIri }:
{shapeToolData && shapeToolData.iri === rootIri && (
<>
<Typography className={classes.labelRow}>
<span className={classes.label}>Event name:</span>
<span className={classes.label}>{`${t("faultEventMenu.eventName")}: `}</span>
{shapeToolData.name}
</Typography>
{basedFailureRate && (
Expand Down

0 comments on commit 4c9c856

Please sign in to comment.