Skip to content

Commit

Permalink
add translation strings for API messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Šimon Macek committed Dec 14, 2024
1 parent bdd1e78 commit f6ab6f3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/i18n/cs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ apiMessageError = "Načítání měst selhalo."
apiMessageErrorWithMessage = "Načítání měst selhalo. Chyba: {error}"
apiMessageSuccess = "Města byla úspěšně načtena."

[getMerchandise]
apiMessageError = "Načítání startovních balíčků selhalo."
apiMessageErrorWithMessage = "Načítání startovních balíčků selhalo. Chyba: {error}"
apiMessageSuccess = "Startovní balíčky byly úspěšně načteny."

[getSubsidiaries]
apiMessageError = "Načítání poboček selhalo."
apiMessageErrorWithMessage = "Načítání poboček selhalo. Chyba: {error}"
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ apiMessageError = "Fetching cities failed."
apiMessageErrorWithMessage = "Fetching cities failed. Error: {error}"
apiMessageSuccess = "Cities fetched successfully."

[getMerchandise]
apiMessageError = "Fetching merchandise failed."
apiMessageErrorWithMessage = "Fetching merchandise failed. Error: {error}"
apiMessageSuccess = "Merchandise fetched successfully."

[getSubsidiaries]
apiMessageError = "Fetching subsidiaries failed."
apiMessageErrorWithMessage = "Fetching subsidiaries failed. Error: {error}"
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/sk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ apiMessageError = "Načítanie miest zlyhalo."
apiMessageErrorWithMessage = "Načítanie miest zlyhalo. Chyba: {error}"
apiMessageSuccess = "Mestá boli úspešne načítané."

[getMerchandise]
apiMessageError = "Načítanie startovních balíčkov zlyhalo."
apiMessageErrorWithMessage = "Načítanie startovních balíčkov zlyhalo. Chyba: {error}"
apiMessageSuccess = "Startovní balíčky boli úspešne načítané."

[getSubsidiaries]
apiMessageError = "Načítanie pobočiek zlyhalo."
apiMessageErrorWithMessage = "Načítanie pobočiek zlyhalo. Chyba: {error}"
Expand Down

0 comments on commit f6ab6f3

Please sign in to comment.