Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed error messages text #123

Merged
merged 1 commit into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class RealtimeUpdateFeature: RealtimeUpdateFeatureProtocol {

func start() {
guard CrowdinSDK.inSDKLocalizations.contains(localization) else {
let message = "Unable to start real-time preview as \(localization) is not supported on crowdin for this project."
let message = "Unable to start real-time preview as there is no '\(localization)' language in Crowdin project target languages."
print(message)
self.error?(NSError(domain: message, code: defaultCrowdinErrorCode, userInfo: nil))
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CrowdinScreenshotUploader: ScreenshotUploader {
case storageIdIsMissing = "Storage id is missing."
case screenshotIdIsMissing = "Screenshot id is missing."
case unknownError = "Unknown error."
case noLocalizedStringsDetected = "There are no localizad strings detected on current screen."
case noLocalizedStringsDetected = "There are no localized strings detected on current screen."
}

init(organizationName: String? = nil, hash: String, sourceLanguage: String) {
Expand Down