Add link to CrowdIn in About

This commit is contained in:
Justin Mazzocchi 2021-03-26 23:07:16 -07:00
parent aacde25ab1
commit 5cc2a5a3ec
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
2 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@
"about.official-account" = "Official Account";
"about.rate-the-app" = "Rate the app";
"about.source-code-and-issue-tracker" = "Source Code & Issue Tracker";
"about.translations" = "Translations";
"about.website" = "Website";
"accessibility.activate-link-%@" = "Link: %@";
"accessibility.copy-text" = "Copy text";

View File

@ -41,6 +41,13 @@ struct AboutView: View {
Image(systemName: "wrench.and.screwdriver")
}
}
Link(destination: Self.translationsURL) {
Label {
Text("about.translations").foregroundColor(.primary)
} icon: {
Image(systemName: "globe")
}
}
Link(destination: Self.reviewURL) {
Label {
Text("about.rate-the-app").foregroundColor(.primary)
@ -64,6 +71,7 @@ private extension AboutView {
static let websiteURL = URL(string: "https://metabolist.org")!
static let officialAccountURL = URL(string: "https://mastodon.social/@metabolist")!
static let sourceCodeAndIssueTrackerURL = URL(string: "https://github.com/metabolist/metatext")!
static let translationsURL = URL(string: "https://crowdin.com/project/metatext")!
static let reviewURL = URL(string: "https://apps.apple.com/app/metatext/id1523996615?mt=8&action=write-review")!
static var version: String {