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

Some spelling and grammar corrections #2

Merged
merged 5 commits into from Jul 10, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions PlayCover/PlayCoverError.swift
Expand Up @@ -18,15 +18,15 @@ extension PlayCoverError: LocalizedError {
case .infoPlistNotFound:
return NSLocalizedString("This .IPA is courrupted. It doesn't contains Info.plist.", comment: "")
case .waitInstallation:
return NSLocalizedString("Please, wait current install to finish!", comment: "")
return NSLocalizedString("Please, wait for the current install to finish!", comment: "")
case .playcoverReinstall:
return NSLocalizedString("Please, reinstall PlayCover app", comment: "")
return NSLocalizedString("Please, reinstall the PlayCover app", comment: "")
case .appEncrypted:
return NSLocalizedString("App is encrypted! Please, use decrypted .ipa from AppDb or download one from the internal store. iMazing .ipa are not currently supported!", comment: "")
case .appCorrupted:
return NSLocalizedString("Something went wrong with this .ipa. Please try to use another .ipa file.", comment: "")
case .appProhibited:
return NSLocalizedString("You'll receive ban on this PlayCover version! Call of Duty supported on 0.9.2-0.9.4. PUBG requires higher PlayCover version. Free Fire status is not confirmed. There is one message of ban.", comment: "")
return NSLocalizedString("You'll receive a ban on this PlayCover version! Call of Duty is supported on 0.9.2-0.9.4. PUBG requires a higher PlayCover version. Free Fire's status is not confirmed. There is one message of ban.", comment: "")
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions PlayCover/View/AppsView.swift
Expand Up @@ -30,7 +30,7 @@ struct AppsView : View {
Spacer()
ExportView().environmentObject(InstallVM.shared)
Spacer()
Button("Download any appaction") {
Button("Download any application") {
if let url = URL(string: "https://armconverter.com/decryptedappstore") {
NSWorkspace.shared.open(url)
}
Expand Down Expand Up @@ -133,7 +133,7 @@ struct AppAddView : View {
} else{
showWrongfileTypeAlert = true
}
}.help("Drag or open app file to install. IPA from Configurator or iMazing won't work! You should get decrypted IPA, either from top right button, Discord, AppDb, jailbroken device.")
}.help("Drag or open an app file to install. IPAs from Configurator or iMazing won't work! You should get decrypted IPAs, either from the top right button, Discord, AppDb, or a jailbroken device.")
}

private func installApp(){
Expand Down Expand Up @@ -170,7 +170,7 @@ struct ExportView : View {

var body: some View {

Button("Export for Sideloadly") {
Button("Export to Sideloadly") {
if install.installing {
isHover = false
Log.shared.error(PlayCoverError.waitInstallation)
Expand Down Expand Up @@ -220,7 +220,7 @@ struct ExportView : View {
} else{
showWrongfileTypeAlert = true
}
}.help("Drag or open app file to install. IPA from Configurator or iMazing won't work! You should get decrypted IPA, either from top right button, Discord, AppDb, jailbroken device.")
}.help("Drag or open an app file to install. IPAs from Configurator or iMazing won't work! You should get decrypted IPAs, either from the top right button, Discord, AppDb, or a jailbroken device.")
}

private func exportIPA(){
Expand Down
2 changes: 1 addition & 1 deletion PlayCover/View/PlayAppView.swift
Expand Up @@ -110,7 +110,7 @@ struct PlayAppView : View {
AppSettingsView(settings: app.settings, adaptiveDisplay: app.settings.adaptiveDisplay, keymapping: app.settings.keymapping, gamingMode: app.settings.gamingMode, bypass: app.settings.bypass, selectedRefreshRate: app.settings.refreshRate == 60 ? 0 : 1, sensivity: app.settings.sensivity).frame(minWidth: 500)
}.sheet(isPresented: $showSetup) {
SetupView()
}.alert("All app data will be erased. You may need to redownload app files again. Wish to continue?", isPresented: $showClearCacheAlert) {
}.alert("All app data will be erased. You may need to redownload app files again. Do you wish to continue?", isPresented: $showClearCacheAlert) {
Button("OK", role: .cancel) {
app.container?.clear()
showClearCacheToast.toggle()
Expand Down
6 changes: 3 additions & 3 deletions PlayCover/View/SetupView.swift
Expand Up @@ -38,12 +38,12 @@ struct SetupView : View {
}

func playSignPromt(_ firstTime : Bool){
let text = firstTime ? "Please, input your login password" : "You typed incorrect password."
promptForReply(text, "It is one you use for Mac unlock"){ strResponse, bResponse in
let text = firstTime ? "Please, input your login password" : "You have typed an incorrect password."
promptForReply(text, "It is the one you use to unlock your Mac"){ strResponse, bResponse in
if SystemConfig.enablePlaySign(strResponse) {
if SystemConfig.isPRAMValid() {
presentationMode.wrappedValue.dismiss()
Log.shared.msg("Now restart Mac and all is done!")
Log.shared.msg("Now, restart the Mac and all is done!")
} else{
playSignPromt(false)
}
Expand Down