-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement backend error translations
- Loading branch information
Showing
21 changed files
with
266 additions
and
75 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,4 +1,37 @@ | ||
{ | ||
"manifest-package-name-mismatch": "Tapplet manifest does not match package name. Expected: {{ packageName }} Received: {{ manifestId }} from: {{ endpoint }}/tapplet.manifest.json", | ||
"fetching-taplet-manifest-failed": "Error fetching tapplet manifest: {{ error }}" | ||
"fetching-taplet-manifest-failed": "Error fetching tapplet manifest: {{ error }}", | ||
"no-pending-transaction-found": "No pending transaction found", | ||
"no-data-in-event": "No data in event", | ||
"no-source-in-event": "No source in event", | ||
"tauri-error": "Tauri error", | ||
"failed-to-parse-tapplet-version": "Failed to parse tapplet version", | ||
"failed-to-find-tapplet-version": "Failed to find tapplet version", | ||
"failed-to-obtain-permission-token-lock": "Failed to obtain permission token lock", | ||
"failed-to-obtain-auth-token-lock": "Failed to obtain auth token lock", | ||
"provider-call-failed-for-method": "Provider call failed for method {{ method }} with params {{ params }}", | ||
"failed-to-obtain-local-address": "Failed to obtain local address", | ||
"failed-to-start-tapplet-server": "Failed to start tapplet server", | ||
"tapplet-server-already-running": "Tapplet server already running", | ||
"token-for-tapplet-server-is-invalid": "Token for tapplet server is invalid", | ||
"failed-to-bind-port": "Failed to bind port: {{ port }}", | ||
"already-exists": "Entity {{ entity_name }} with field {{ field_name }} already exists", | ||
"failed-to-retrieve-data": "Failed to retrieve entity {{ entity_name }} data", | ||
"failed-to-delete": "Failed to delete entity {{ entity_name }}", | ||
"failed-to-update": "Failed to update entity {{ entity_name }}", | ||
"failed-to-create": "Failed to create entity {{ entity_name }}", | ||
"failed-to-copy-file": "Failed to copy file from {{ from }} to {{ to }}", | ||
"failed-to-read-dir": "Failed to read directory at path: {{ path }}", | ||
"failed-to-read-file": "Failed to read file at path: {{ path }}", | ||
"failed-to-create-dir": "Failed to create directory at path: {{ path }}", | ||
"failed-to-create-file": "Failed to create file at path: {{ path }}", | ||
"failed-to-write-file": "Failed to write file at path: {{ path }}", | ||
"failed-to-parse-int": "Failed to parse integer", | ||
"failed-to-unpack-file": "Failed to unpack file at path: {{ path }}", | ||
"missing-package-json-or-tapplet-manifest-json": "Missing package.json or tapplet.manifest.json from unpacked tapplet at path: {{ path }}", | ||
"failed-to-delete-tapplet": "Failed to delete tapplet from path: {{ path }}", | ||
"failed-to-get-file-path": "Failed to get file path", | ||
"fetch-manifest-error": "Failed to fetch manifest from {{ endpoint }}", | ||
"manifest-response-error": "Failed to receive manifest {{ endpoint }}", | ||
"failed-to-download": "Failed to download from {{ url }}" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"wallet": "Wallet", | ||
"installed-tapplets": "Installed Tapplets", | ||
"tapplet-registry": "Tapplet Registry" | ||
} |
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,4 +1,37 @@ | ||
{ | ||
"manifest-package-name-mismatch": "Manifest tapplet'u nie pasuje do nazwy pakietu. Oczekiwano: {{ packageName }} Otrzymano: {{ manifestId }} z: {{ endpoint }}/tapplet.manifest.json", | ||
"fetching-taplet-manifest-failed": "Błąd pobierania manifestu tapplet'u: {{ error }}" | ||
"fetching-taplet-manifest-failed": "Błąd pobierania manifestu tapplet'u: {{ error }}", | ||
"no-pending-transaction-found": "Nie znaleziono oczekującej transakcji", | ||
"no-data-in-event": "Brak danych w zdarzeniu", | ||
"no-source-in-event": "Brak źródła w zdarzeniu", | ||
"tauri-error": "Błąd Tauri", | ||
"failed-to-parse-tapplet-version": "Nie udało się sparsować wersji tapplet'u", | ||
"failed-to-find-tapplet-version": "Nie udało się znaleźć wersji tapplet'u", | ||
"failed-to-obtain-permission-token-lock": "Nie udało się uzyskać blokady tokena uprawnień", | ||
"failed-to-obtain-auth-token-lock": "Nie udało się uzyskać blokady tokena autoryzacji", | ||
"provider-call-failed-for-method": "Wywołanie provider'a nie powiodło się dla metody {{ method }} z parametrami {{ params }}", | ||
"failed-to-obtain-local-address": "Nie udało się uzyskać lokalnego adresu", | ||
"failed-to-start-tapplet-server": "Nie udało się uruchomić serwera tapplet'u", | ||
"tapplet-server-already-running": "Serwer tapplet'u już działa", | ||
"token-for-tapplet-server-is-invalid": "Token dla serwera tapplet'u jest nieprawidłowy", | ||
"failed-to-bind-port": "Nie udało się przypisać portu: {{ port }}", | ||
"already-exists": "Encja {{ entity_name }} z polem {{ field_name }} już istnieje", | ||
"failed-to-retrieve-data": "Nie udało się pobrać danych encji {{ entity_name }}", | ||
"failed-to-delete": "Nie udało się usunąć encji {{ entity_name }}", | ||
"failed-to-update": "Nie udało się zaktualizować encji {{ entity_name }}", | ||
"failed-to-create": "Nie udało się utworzyć encji {{ entity_name }}", | ||
"failed-to-copy-file": "Nie udało się skopiować pliku z {{ from }} do {{ to }}", | ||
"failed-to-read-dir": "Nie udało się odczytać katalogu pod ścieżką: {{ path }}", | ||
"failed-to-read-file": "Nie udało się odczytać pliku pod ścieżką: {{ path }}", | ||
"failed-to-create-dir": "Nie udało się utworzyć katalogu pod ścieżką: {{ path }}", | ||
"failed-to-create-file": "Nie udało się utworzyć pliku pod ścieżką: {{ path }}", | ||
"failed-to-write-file": "Nie udało się zapisać pliku pod ścieżką: {{ path }}", | ||
"failed-to-parse-int": "Nie udało się sparsować liczby całkowitej", | ||
"failed-to-unpack-file": "Nie udało się rozpakować pliku pod ścieżką: {{ path }}", | ||
"missing-package-json-or-tapplet-manifest-json": "Brak package.json lub tapplet.manifest.json w rozpakowanym tapplet'cie pod ścieżką: {{ path }}", | ||
"failed-to-delete-tapplet": "Nie udało się usunąć tapplet'u z ścieżki: {{ path }}", | ||
"failed-to-get-file-path": "Nie udało się uzyskać ścieżki pliku", | ||
"fetch-manifest-error": "Nie udało się pobrać manifestu z {{ endpoint }}", | ||
"manifest-response-error": "Nie udało się odebrać manifestu {{ endpoint }}", | ||
"failed-to-download": "Nie udało się pobrać z {{ url }}" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"wallet": "Portfel", | ||
"installed-tapplets": "Zainstalowane Tapplet'y", | ||
"tapplet-registry": "Rejestr Tapplet'ów" | ||
} |
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
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
Oops, something went wrong.