Skip to content
Open
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
177 changes: 141 additions & 36 deletions RClick/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -3329,6 +3329,76 @@
}
}
},
"GitHub has limited update requests. Try again later." : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub has limited update requests. Try again later."
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub ha limitado las solicitudes de actualización. Vuelve a intentarlo más tarde."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub a limité les demandes de mise à jour. Réessayez plus tard."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub が更新の確認を制限しています。しばらくしてからもう一度お試しください。"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub 限制了更新检查请求,请稍后再试。"
}
}
}
},
"GitHub returned HTTP %lld." : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub returned HTTP %lld."
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub devolvió el código HTTP %lld."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub a renvoyé le code HTTP %lld."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub が HTTP %lld を返しました。"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "GitHub 返回了 HTTP %lld。"
}
}
}
},
"GitHub Desktop" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -4379,41 +4449,6 @@
}
}
},
"No .app.zip application package was found." : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "No .app.zip application package was found."
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "No se encontró ningún paquete de aplicación .app.zip."
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Aucun paquet d’application .app.zip n’a été trouvé."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : ".app.zip 形式のアプリケーションパッケージが見つかりません。"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "未找到 .app.zip 格式的应用程序包。"
}
}
}
},
"No Icons" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -5708,6 +5743,41 @@
}
}
},
"Release Notes" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Release Notes"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Notas de la versión"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Notes de version"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "リリースノート"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "更新说明"
}
}
}
},
"Remove folder permission" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -7213,6 +7283,41 @@
}
}
},
"Try Again" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Try Again"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Reintentar"
}
},
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Réessayer"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "再試行"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "重试"
}
}
}
},
"Typora" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -8194,4 +8299,4 @@
}
},
"version" : "1.0"
}
}
14 changes: 12 additions & 2 deletions RClick/Settings/AboutSettingsTabView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ struct AboutSettingsTabView: View {
}

private var updateStatus: UpdateStatus {
let channel = updateManager.updateChannel
if case .appStore = channel {
return UpdateStatus(
title: AppLocalization.localized("Update via Mac App Store"),
icon: "bag",
color: .secondary,
actionTitle: channel.manualActionTitle,
action: .check
)
}
if updateManager.isChecking {
return UpdateStatus(
title: AppLocalization.localized("Checking for updates..."),
Expand All @@ -113,8 +123,8 @@ struct AboutSettingsTabView: View {
title: AppLocalization.localized("Failed to Check for Updates"),
icon: "exclamationmark.triangle.fill",
color: .yellow,
actionTitle: AppLocalization.localized("Check for Updates"),
action: .check
actionTitle: AppLocalization.localized("View Details…"),
action: .details
)
}
if updateManager.isUpToDate {
Expand Down
Loading
Loading