diff --git a/Passepartout-iOS/Scenes/Organizer/AboutViewController.swift b/Passepartout-iOS/Scenes/Organizer/AboutViewController.swift index 7cb08bc0..1189f39f 100644 --- a/Passepartout-iOS/Scenes/Organizer/AboutViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/AboutViewController.swift @@ -176,7 +176,7 @@ extension AboutViewController { switch model.row(at: indexPath) { case .version: let cell = Cells.setting.dequeue(from: tableView, for: indexPath) - cell.leftText = L10n.About.Cells.Version.caption + cell.leftText = L10n.Version.title cell.rightText = Utils.versionString() return cell diff --git a/Passepartout-iOS/Scenes/Organizer/VersionViewController.swift b/Passepartout-iOS/Scenes/Organizer/VersionViewController.swift index 2aa1b5ec..3ed80733 100644 --- a/Passepartout-iOS/Scenes/Organizer/VersionViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/VersionViewController.swift @@ -47,6 +47,7 @@ class VersionViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() + title = L10n.Version.title labelTitle?.text = GroupConstants.App.name labelVersion?.text = Utils.versionString() labelIntro?.text = L10n.Version.Labels.intro diff --git a/Passepartout/Resources/en.lproj/Localizable.strings b/Passepartout/Resources/en.lproj/Localizable.strings index dba503e6..0f91051d 100644 --- a/Passepartout/Resources/en.lproj/Localizable.strings +++ b/Passepartout/Resources/en.lproj/Localizable.strings @@ -189,7 +189,6 @@ "about.sections.source.header" = "Source code"; "about.sections.share.header" = "Share"; "about.sections.feedback.header" = "Feedback"; -"about.cells.version.caption" = "Version"; "about.cells.website.caption" = "Visit website"; "about.cells.share_twitter.caption" = "Tweet about it!"; "about.cells.share_generic.caption" = "Invite a friend"; @@ -198,6 +197,7 @@ "share.message" = "Passepartout is an user-friendly, open source OpenVPN client for iOS and macOS"; +"version.title" = "Version"; "version.labels.intro" = "Passepartout and TunnelKit are written and maintained by Davide De Rosa (keeshux).\n\nTunnelKit is a native OpenVPN client originally forked from PIATunnel by Private Internet Access.\n\nSource code for Passepartout and TunnelKit is publicly available on GitHub under the GPLv3."; "version.buttons.changelog" = "CHANGELOG"; "version.buttons.credits" = "CREDITS"; diff --git a/Passepartout/Sources/SwiftGen+Strings.swift b/Passepartout/Sources/SwiftGen+Strings.swift index e61c319c..81187bde 100644 --- a/Passepartout/Sources/SwiftGen+Strings.swift +++ b/Passepartout/Sources/SwiftGen+Strings.swift @@ -28,10 +28,6 @@ internal enum L10n { /// Tweet about it! internal static let caption = L10n.tr("Localizable", "about.cells.share_twitter.caption") } - internal enum Version { - /// Version - internal static let caption = L10n.tr("Localizable", "about.cells.version.caption") - } internal enum Website { /// Visit website internal static let caption = L10n.tr("Localizable", "about.cells.website.caption") @@ -611,6 +607,8 @@ internal enum L10n { } internal enum Version { + /// Version + internal static let title = L10n.tr("Localizable", "version.title") internal enum Buttons { /// CHANGELOG internal static let changelog = L10n.tr("Localizable", "version.buttons.changelog")