generated from StanfordBDHG/SwiftPackageTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add human-readable error description for TimeoutError (#10)
# Add human-readable error description for TimeoutError ## ♻️ Current situation & Problem This PR adopts the LocalizedError protocol for the TimeoutError providing a generic, localized error description and failure reason. ## ⚙️ Release Notes * Localize TimeoutError ## 📝 Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).
- Loading branch information
Showing
4 changed files
with
56 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"sourceLanguage" : "en", | ||
"strings" : { | ||
"The operation timed out." : { | ||
"localizations" : { | ||
"de" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Der Vorgang hat das Zeitlimit überschritten." | ||
} | ||
}, | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "The operation timed out." | ||
} | ||
} | ||
} | ||
}, | ||
"Timeout" : { | ||
"localizations" : { | ||
"de" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Zeitüberschreitung" | ||
} | ||
}, | ||
"en" : { | ||
"stringUnit" : { | ||
"state" : "translated", | ||
"value" : "Timeout" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"version" : "1.0" | ||
} |
5 changes: 5 additions & 0 deletions
5
Sources/SpeziFoundation/Resources/Localizable.xcstrings.license
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 @@ | ||
This source file is part of the Stanford Spezi open-source project | ||
|
||
SPDX-FileCopyrightText: 2024 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
|
||
SPDX-License-Identifier: MIT |