From 2fa11b659515e60988508b0e8edf5c7bdb92e8e5 Mon Sep 17 00:00:00 2001 From: jk234ert Date: Tue, 23 Feb 2021 12:41:56 +0800 Subject: [PATCH] chore: resolve conflicts --- Mastodon/Resources/en.lproj/Localizable.strings | 3 --- Mastodon/Scene/PickServer/PickServerViewController.swift | 2 +- Mastodon/Scene/Welcome/WelcomeViewController.swift | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Mastodon/Resources/en.lproj/Localizable.strings b/Mastodon/Resources/en.lproj/Localizable.strings index 3eec2fce..9ef82436 100644 --- a/Mastodon/Resources/en.lproj/Localizable.strings +++ b/Mastodon/Resources/en.lproj/Localizable.strings @@ -15,9 +15,6 @@ "Common.Controls.Actions.TakePhoto" = "Take photo"; "Common.Controls.Timeline.LoadMore" = "Load More"; -"Common.Label.Slogan" = "Social networking\nback in your hands."; -"Common.Label.PickAServer" = "Pick a server,\nany server."; - "Button.SignUp" = "Sign Up"; "Button.SignIn" = "Sign In"; "Common.Countable.Photo.Multiple" = "photos"; diff --git a/Mastodon/Scene/PickServer/PickServerViewController.swift b/Mastodon/Scene/PickServer/PickServerViewController.swift index 10027fdc..97cfd395 100644 --- a/Mastodon/Scene/PickServer/PickServerViewController.swift +++ b/Mastodon/Scene/PickServer/PickServerViewController.swift @@ -12,7 +12,7 @@ class PickServerViewController: UIViewController { let label = UILabel() label.font = .boldSystemFont(ofSize: 34) label.textColor = Asset.Colors.Label.black.color - label.text = L10n.Common.Label.slogan + label.text = L10n.Scene.ServerPicker.title label.adjustsFontForContentSizeCategory = true label.translatesAutoresizingMaskIntoConstraints = false label.numberOfLines = 0 diff --git a/Mastodon/Scene/Welcome/WelcomeViewController.swift b/Mastodon/Scene/Welcome/WelcomeViewController.swift index 0787f2ab..f8a7136b 100644 --- a/Mastodon/Scene/Welcome/WelcomeViewController.swift +++ b/Mastodon/Scene/Welcome/WelcomeViewController.swift @@ -18,7 +18,7 @@ final class WelcomeViewController: UIViewController { let label = UILabel() label.font = UIFontMetrics(forTextStyle: .largeTitle).scaledFont(for: UIFont.boldSystemFont(ofSize: 34)) label.textColor = Asset.Colors.Label.black.color - label.text = L10n.Common.Label.slogan + label.text = L10n.Scene.Welcome.slogan label.adjustsFontForContentSizeCategory = true label.translatesAutoresizingMaskIntoConstraints = false label.numberOfLines = 0 @@ -52,7 +52,7 @@ extension WelcomeViewController { override func viewDidLoad() { super.viewDidLoad() - view.backgroundColor = Asset.Colors.Background.signUpSystemBackground.color + view.backgroundColor = Asset.Colors.Background.onboardingBackground.color view.addSubview(logoImageView) NSLayoutConstraint.activate([