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()
|
let label = UILabel()
|
||||||
label.font = MastodonPickServerViewController.subTitleFont
|
label.font = MastodonPickServerViewController.subTitleFont
|
||||||
label.textColor = MastodonPickServerViewController.subTitleTextColor
|
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.adjustsFontForContentSizeCategory = true
|
||||||
label.numberOfLines = 0
|
label.numberOfLines = 0
|
||||||
return label
|
return label
|
||||||
|
|
|
@ -64,7 +64,7 @@ final class WelcomeViewController: UIViewController, NeedsDependency {
|
||||||
let button = PrimaryActionButton()
|
let button = PrimaryActionButton()
|
||||||
button.adjustsBackgroundImageWhenUserInterfaceStyleChanges = false
|
button.adjustsBackgroundImageWhenUserInterfaceStyleChanges = false
|
||||||
button.titleLabel?.font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 15, weight: .semibold))
|
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 backgroundImageColor = Asset.Scene.Welcome.signInButtonBackground.color
|
||||||
let backgroundImageHighlightedColor = Asset.Scene.Welcome.signInButtonBackground.color.withAlphaComponent(0.8)
|
let backgroundImageHighlightedColor = Asset.Scene.Welcome.signInButtonBackground.color.withAlphaComponent(0.8)
|
||||||
button.setBackgroundImage(.placeholder(color: backgroundImageColor), for: .normal)
|
button.setBackgroundImage(.placeholder(color: backgroundImageColor), for: .normal)
|
||||||
|
|
|
@ -206,8 +206,7 @@ extension SettingsViewController {
|
||||||
}
|
}
|
||||||
.store(in: &disposeBag)
|
.store(in: &disposeBag)
|
||||||
|
|
||||||
|
let footer = "Mastodon for iOS v\(UIApplication.appVersion()) (\(UIApplication.appBuild()))"
|
||||||
let footer = "Mastodon v\(UIApplication.appVersion()) (\(UIApplication.appBuild()))"
|
|
||||||
let metaContent = PlaintextMetaContent(string: footer)
|
let metaContent = PlaintextMetaContent(string: footer)
|
||||||
tableFooterLabel.configure(content: metaContent)
|
tableFooterLabel.configure(content: metaContent)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue