mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-17 22:19:08 +00:00
Add title to version screen
This commit is contained in:
parent
fec2f02df5
commit
17ebaccbad
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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";
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user