Skip to content

Commit

Permalink
[#550] Localize errors for EN and CZ
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Aug 26, 2024
1 parent 79cb609 commit dcf6eb8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions public/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,29 @@
"rename": "Přejmenovat",
"save": "Uložit",
"discard": "Zahodit"
},
"errors": {
"faultTree": {
"rootEvent": {
"deleteViolation": "Kořenová událost stromu nesmí být smazána!"
}
},
"user": {
"update": {
"uriMismatch": "URI pro aktualizaci uživatele se neshoduje s aktuálním uživatelem!",
"incorrectOldPassword": "Staré heslo je nesprávné!"
},
"impersonation": {
"adminImpersonation": "Nelze se vydávat za správce."
}
},
"faultTreeTraversal": {
"intermediateEventAsLeaf": "Mezilehlá událost nesmí být na konci cesty!"
},
"externalService": {
"configuration": {
"failureRateServiceNotSet": "Konfigurační parametr operationalFailureRateService není nastaven."
}
}
}
}
24 changes: 24 additions & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,29 @@
"rename": "Rename",
"save": "Save",
"discard": "Discard"
},
"errors": {
"faultTree": {
"rootEvent": {
"deleteViolation": "Root event of tree mustn't be deleted!"
}
},
"user": {
"update": {
"uriMismatch": "User update uri does not match current user!",
"incorrectOldPassword": "Old password incorrect!"
},
"impersonation": {
"adminImpersonation": "Cannot impersonate admin."
}
},
"faultTreeTraversal": {
"intermediateEventAsLeaf": "Intermediate event must not be the end of the path!"
},
"externalService": {
"configuration": {
"failureRateServiceNotSet": "Configuration parameter operationalFailureRateService not set."
}
}
}
}

0 comments on commit dcf6eb8

Please sign in to comment.