From bbead6902dde7cf4d1c7c611cec27d6d0d643e23 Mon Sep 17 00:00:00 2001 From: gabe Date: Mon, 4 Nov 2024 17:05:29 -0500 Subject: [PATCH] Tweak: english text improvements (#422) --- App/Features/About/AboutView.swift | 2 +- App/Features/Registration/RegistrationView.swift | 2 +- App/Features/Setting/SettingView.swift | 8 ++++---- App/Features/WallabagPlus/WallabagPlusView.swift | 16 ++++++++-------- App/en.lproj/Localizable.strings | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/App/Features/About/AboutView.swift b/App/Features/About/AboutView.swift index 80cffce2..0de4792d 100644 --- a/App/Features/About/AboutView.swift +++ b/App/Features/About/AboutView.swift @@ -9,7 +9,7 @@ struct AboutView: View { var body: some View { VStack { - Text("Wallabag").font(.largeTitle).fontWeight(.bold) + Text("wallabag").font(.largeTitle).fontWeight(.bold) Text(String(format: "Version %@ build %@".localized, arguments: [version, build])) Spacer() Link("Project page", destination: "https://github.com/wallabag/ios-app") diff --git a/App/Features/Registration/RegistrationView.swift b/App/Features/Registration/RegistrationView.swift index 9dffc38c..cbb59310 100644 --- a/App/Features/Registration/RegistrationView.swift +++ b/App/Features/Registration/RegistrationView.swift @@ -7,7 +7,7 @@ struct RegistrationView: View { Image("logo") .resizable() .scaledToFit() - Text("Wallabag") + Text("wallabag") .font(.title) NavigationLink("Log in", destination: ServerView()) .buttonStyle(.borderedProminent) diff --git a/App/Features/Setting/SettingView.swift b/App/Features/Setting/SettingView.swift index 1273e5bc..4469c297 100644 --- a/App/Features/Setting/SettingView.swift +++ b/App/Features/Setting/SettingView.swift @@ -18,17 +18,17 @@ struct SettingView: View { } } } - Section("Badge") { - Toggle("Show badge", isOn: $badge) + Section("Notifications") { + Toggle("Show total entries badge", isOn: $badge) } Section("Entry") { Toggle("Justify entry", isOn: $justifyArticle) } Section("Sync") { - Stepper("Item per page during sync \(itemPerPageDuringSync)", value: $itemPerPageDuringSync, in: 20 ... 200) + Stepper("Items per page during sync: \(itemPerPageDuringSync)", value: $itemPerPageDuringSync, in: 20 ... 200) } } - .navigationTitle("Setting") + .navigationTitle("Settings") } } diff --git a/App/Features/WallabagPlus/WallabagPlusView.swift b/App/Features/WallabagPlus/WallabagPlusView.swift index 7d87bd3f..556913c5 100644 --- a/App/Features/WallabagPlus/WallabagPlusView.swift +++ b/App/Features/WallabagPlus/WallabagPlusView.swift @@ -5,17 +5,17 @@ struct WallabagPlusView: View { var body: some View { VStack(alignment: .leading) { - GroupBox("What is wallabag Plus ?") { - Text("Wallabag plus offert premium feature powered by AI") + GroupBox("What is wallabag Plus?") { + Text("wallabag Plus offers premium features powered by AI") .frame(idealWidth: .infinity, maxWidth: .infinity, alignment: .leading) } - GroupBox("wallabag Plus is available on my instance ?") { - Text("No, wallabag plus is a premium feature only available on your iOS devices") + GroupBox("Is wallabag Plus available on my instance?") { + Text("No, wallabag Plus is a premium feature only available on your iOS devices.") .frame(idealWidth: .infinity, maxWidth: .infinity, alignment: .leading) - Text("Wallabag Plus is not affiliate with any other service.") + Text("wallabag Plus is not affiliated with any other service.") .font(.footnote) } - GroupBox("What is included with wallabag Plus") { + GroupBox("What is included with wallabag Plus?") { Grid(alignment: .leading, horizontalSpacing: 10, verticalSpacing: 10) { GridRow { Image(systemName: "checkmark.circle.fill") @@ -30,7 +30,7 @@ struct WallabagPlusView: View { .padding() } GroupBox("Privacy") { - Text("When you use wallabag Plus, your entry will be sent to openAI") + Text("When you use wallabag Plus, your entry will be sent to [OpenAI](https://openai.com)") .frame(idealWidth: .infinity, maxWidth: .infinity, alignment: .leading) } Spacer() @@ -47,7 +47,7 @@ struct WallabagPlusView: View { .fullScreenCover(isPresented: $showSubscriptionView, content: { WallabagPlusSubscribeView() }) - .navigationTitle("Wallabag Plus") + .navigationTitle("wallabag Plus") } } diff --git a/App/en.lproj/Localizable.strings b/App/en.lproj/Localizable.strings index 6b4d2823..c7343112 100644 --- a/App/en.lproj/Localizable.strings +++ b/App/en.lproj/Localizable.strings @@ -6,7 +6,7 @@ "About" = "About"; "Don" = "Donation"; "Bug report" = "Bug report"; -"Setting" = "Setting"; +"Setting" = "Settings"; "Logout" = "Logout"; // Mode picker