fix: deprecated i18n translation still display issue

This commit is contained in:
CMK 2022-05-13 19:09:33 +08:00
parent 384e0aff87
commit 7a3145083a
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ final class MastodonConfirmEmailViewController: UIViewController, NeedsDependenc
let label = UILabel()
label.font = UIFontMetrics(forTextStyle: .title1).scaledFont(for: UIFont.systemFont(ofSize: 20))
label.textColor = .secondaryLabel
label.text = L10n.Scene.ConfirmEmail.subtitle
label.text = L10n.Scene.ConfirmEmail.tapTheLinkWeEmailedToYouToVerifyYourAccount
label.numberOfLines = 0
return label
}()

View File

@ -23,7 +23,7 @@ extension MastodonRegisterViewModel {
switch item {
case .header(let domain):
let cell = tableView.dequeueReusableCell(withIdentifier: String(describing: OnboardingHeadlineTableViewCell.self), for: indexPath) as! OnboardingHeadlineTableViewCell
cell.titleLabel.text = L10n.Scene.Register.title(domain)
cell.titleLabel.text = L10n.Scene.Register.letsGetYouSetUpOnDomain(domain)
cell.subTitleLabel.isHidden = true
return cell
case .avatar: