From d166d1eebf2d0c86e4e4b9e6265b4bb9e2269b58 Mon Sep 17 00:00:00 2001 From: standstaff Date: Fri, 15 Mar 2024 17:53:40 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: standstaff --- Cork/Localizable.xcstrings | 10 +++++----- Cork/Views/Installation/Sub-Views/Installing.swift | 2 +- Cork/Views/Shared/Sanitized Package Name.swift | 2 +- Cork/Views/Taps/Add Tap View.swift | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cork/Localizable.xcstrings b/Cork/Localizable.xcstrings index 9c50f15f..d9f4919c 100644 --- a/Cork/Localizable.xcstrings +++ b/Cork/Localizable.xcstrings @@ -3520,7 +3520,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "An error occured while installing %@" + "value" : "An error occurred while installing %@" } }, "fr" : { @@ -3625,7 +3625,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "An error occured during the install process" + "value" : "An error occurred during the install process" } }, "fr" : { @@ -5987,7 +5987,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "An error occured while adding %@" + "value" : "An error occurred while adding %@" } }, "fr" : { @@ -10202,7 +10202,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Error %@ occured" + "value" : "Error %@ occurred" } }, "fr" : { @@ -10358,7 +10358,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Error %@ occured" + "value" : "Error %@ occurred" } }, "fr" : { diff --git a/Cork/Views/Installation/Sub-Views/Installing.swift b/Cork/Views/Installation/Sub-Views/Installing.swift index 11861c3c..ceba232d 100644 --- a/Cork/Views/Installation/Sub-Views/Installing.swift +++ b/Cork/Views/Installation/Sub-Views/Installing.swift @@ -104,7 +104,7 @@ struct InstallingPackageView: View } catch let fatalInstallationError { - print("Fatal error occured during installing a package: \(fatalInstallationError)") + print("Fatal error occurred during installing a package: \(fatalInstallationError)") isShowingSheet = false diff --git a/Cork/Views/Shared/Sanitized Package Name.swift b/Cork/Views/Shared/Sanitized Package Name.swift index 6e460ff2..35b5ed84 100644 --- a/Cork/Views/Shared/Sanitized Package Name.swift +++ b/Cork/Views/Shared/Sanitized Package Name.swift @@ -43,7 +43,7 @@ struct SanitizedPackageName: View if shouldShowVersion { - /// The version is the lenght of the package name, + 1 due to the @ character + /// The version is the length of the package name, + 1 due to the @ character Text("v. \(String(packageNameWithoutTapName.dropFirst(sanitizedName.count + 1)))") .foregroundColor(.gray) .font(.subheadline) diff --git a/Cork/Views/Taps/Add Tap View.swift b/Cork/Views/Taps/Add Tap View.swift index db9d5383..a8cd7ac5 100644 --- a/Cork/Views/Taps/Add Tap View.swift +++ b/Cork/Views/Taps/Add Tap View.swift @@ -20,7 +20,7 @@ enum TapInputErrors enum TappingError: String { case repositoryNotFound = "Repository not found" - case other = "An error occured while tapping" + case other = "An error occurred while tapping" } struct AddTapView: View