forked from zelo72/mastodon-ios
chore: update app version footer and i18n strings
This commit is contained in:
parent
e6ee02b2b9
commit
70c2741504
|
@ -25,7 +25,7 @@ final class OnboardingHeadlineTableViewCell: UITableViewCell {
|
|||
let label = UILabel()
|
||||
label.font = MastodonPickServerViewController.subTitleFont
|
||||
label.textColor = MastodonPickServerViewController.subTitleTextColor
|
||||
label.text = "Pick a community based on your interests, region, or a general purpose one. Each community is operated by an entirely independent organization or individual."
|
||||
label.text = L10n.Scene.ServerPicker.subtitle
|
||||
label.adjustsFontForContentSizeCategory = true
|
||||
label.numberOfLines = 0
|
||||
return label
|
||||
|
|
|
@ -64,7 +64,7 @@ final class WelcomeViewController: UIViewController, NeedsDependency {
|
|||
let button = PrimaryActionButton()
|
||||
button.adjustsBackgroundImageWhenUserInterfaceStyleChanges = false
|
||||
button.titleLabel?.font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 15, weight: .semibold))
|
||||
button.setTitle("Log In", for: .normal)
|
||||
button.setTitle(L10n.Scene.Welcome.logIn, for: .normal)
|
||||
let backgroundImageColor = Asset.Scene.Welcome.signInButtonBackground.color
|
||||
let backgroundImageHighlightedColor = Asset.Scene.Welcome.signInButtonBackground.color.withAlphaComponent(0.8)
|
||||
button.setBackgroundImage(.placeholder(color: backgroundImageColor), for: .normal)
|
||||
|
|
|
@ -206,8 +206,7 @@ extension SettingsViewController {
|
|||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
|
||||
let footer = "Mastodon v\(UIApplication.appVersion()) (\(UIApplication.appBuild()))"
|
||||
let footer = "Mastodon for iOS v\(UIApplication.appVersion()) (\(UIApplication.appBuild()))"
|
||||
let metaContent = PlaintextMetaContent(string: footer)
|
||||
tableFooterLabel.configure(content: metaContent)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue