Set title for about-screen (IOS-14)

This commit is contained in:
Nathan Mattes 2023-06-28 09:05:21 +02:00
parent 3e2531e8fb
commit 4107370957
4 changed files with 6 additions and 4 deletions

View File

@ -719,7 +719,7 @@
}
"about_mastodon": {
"title": "About Mastodon",
"title": "About",
"more_settings": "Even More Settings",
"contribute_to_mastodon": "Contribute to Mastodon",
"privacy_policy": "Privacy Policy",

View File

@ -2,6 +2,7 @@
import UIKit
import MastodonCore
import MastodonLocalization
protocol AboutViewControllerDelegate: AnyObject {
func didSelect(_ viewController: AboutViewController, entry: AboutSettingsEntry)
@ -39,6 +40,7 @@ class AboutViewController: UIViewController {
view.addSubview(tableView)
view.backgroundColor = .systemGroupedBackground
title = L10n.Scene.Settings.AboutMastodon.title
tableView.pinToParent()
}

View File

@ -1425,8 +1425,8 @@ public enum L10n {
public static let moreSettings = L10n.tr("Localizable", "Scene.Settings.AboutMastodon.MoreSettings", fallback: "Even More Settings")
/// Privacy Policy
public static let privacyPolicy = L10n.tr("Localizable", "Scene.Settings.AboutMastodon.PrivacyPolicy", fallback: "Privacy Policy")
/// About Mastodon
public static let title = L10n.tr("Localizable", "Scene.Settings.AboutMastodon.Title", fallback: "About Mastodon")
/// About
public static let title = L10n.tr("Localizable", "Scene.Settings.AboutMastodon.Title", fallback: "About")
}
public enum Footer {
/// Mastodon is open source software. You can report issues on GitHub at %@ (%@)

View File

@ -537,7 +537,7 @@ uploaded to Mastodon.";
"Scene.Settings.Overview.AboutMastodon" = "About Mastodon";
"Scene.Settings.Overview.Logout" = "Logout %@";
"Scene.Settings.AboutMastodon.Title" = "About Mastodon";
"Scene.Settings.AboutMastodon.Title" = "About";
"Scene.Settings.AboutMastodon.MoreSettings" = "Even More Settings";
"Scene.Settings.AboutMastodon.ContributeToMastodon" = "Contribute to Mastodon";
"Scene.Settings.AboutMastodon.PrivacyPolicy" = "Privacy Policy";