mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
MESSENGER-3304 string in separate files
This commit is contained in:
@@ -29,7 +29,7 @@ enum KeyVerificationKind {
|
||||
case .otherSession:
|
||||
title = VectorL10n.keyVerificationOtherSessionTitle
|
||||
case .thisSession:
|
||||
title = VectorL10n.keyVerificationThisSessionTitle
|
||||
title = BWIL10n.keyVerificationThisSessionTitle
|
||||
case .newSession:
|
||||
title = VectorL10n.keyVerificationNewSessionTitle
|
||||
case .user:
|
||||
|
||||
+6
-6
@@ -84,16 +84,16 @@ final class KeyVerificationVerifiedViewController: UIViewController {
|
||||
|
||||
switch self.verificationKind {
|
||||
case .otherSession:
|
||||
bodyTitle = VectorL10n.deviceVerificationVerifiedTitle
|
||||
bodyTitle = BWIL10n.deviceVerificationVerifiedTitle
|
||||
informationText = VectorL10n.keyVerificationVerifiedOtherSessionInformation
|
||||
case .newSession:
|
||||
bodyTitle = VectorL10n.keyVerificationVerifiedNewSessionTitle
|
||||
informationText = VectorL10n.keyVerificationVerifiedNewSessionInformation
|
||||
informationText = BWIL10n.keyVerificationVerifiedNewSessionInformation
|
||||
case .thisSession:
|
||||
bodyTitle = VectorL10n.deviceVerificationVerifiedTitle
|
||||
informationText = VectorL10n.keyVerificationVerifiedThisSessionInformation
|
||||
bodyTitle = BWIL10n.deviceVerificationVerifiedTitle
|
||||
informationText = BWIL10n.keyVerificationVerifiedThisSessionInformation
|
||||
case .user:
|
||||
bodyTitle = VectorL10n.deviceVerificationVerifiedTitle
|
||||
bodyTitle = BWIL10n.deviceVerificationVerifiedTitle
|
||||
informationText = VectorL10n.keyVerificationVerifiedUserInformation
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ final class KeyVerificationVerifiedViewController: UIViewController {
|
||||
self.titleLabel.text = bodyTitle
|
||||
self.informationLabel.text = informationText
|
||||
|
||||
self.doneButton.setTitle(VectorL10n.deviceVerificationVerifiedGotItButton, for: .normal)
|
||||
self.doneButton.setTitle(BWIL10n.deviceVerificationVerifiedGotItButton, for: .normal)
|
||||
}
|
||||
|
||||
private func update(theme: Theme) {
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ final class DeviceVerificationIncomingViewController: UIViewController {
|
||||
self.titleLabel.text = VectorL10n.deviceVerificationIncomingTitle
|
||||
self.description1Label.text = VectorL10n.deviceVerificationIncomingDescription1
|
||||
self.description2Label.text = VectorL10n.deviceVerificationIncomingDescription2
|
||||
self.continueButton.setTitle(VectorL10n.continue, for: .normal)
|
||||
self.continueButton.setTitle(BWIL10n.continue, for: .normal)
|
||||
|
||||
if let avatarImageView = self.avatarImageView {
|
||||
let defaultavatarImage = AvatarGenerator.generateAvatar(forMatrixItem: self.viewModel.userId, withDisplayName: self.viewModel.userDisplayName)
|
||||
|
||||
+3
-3
@@ -125,9 +125,9 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController {
|
||||
self.cancelBarButtonItem = cancelBarButtonItem
|
||||
}
|
||||
|
||||
self.title = VectorL10n.deviceVerificationSelfVerifyWaitTitle
|
||||
self.title = BWIL10n.deviceVerificationSelfVerifyWaitTitle
|
||||
|
||||
self.informationLabel.text = VectorL10n.deviceVerificationSelfVerifyWaitInformation(AppInfo.current.displayName)
|
||||
self.informationLabel.text = BWIL10n.deviceVerificationSelfVerifyWaitInformation
|
||||
|
||||
self.desktopClientImageView.image = Asset.Images.monitor.image.withRenderingMode(.alwaysTemplate)
|
||||
self.mobileClientImageView.image = Asset.Images.smartphone.image.withRenderingMode(.alwaysTemplate)
|
||||
@@ -168,7 +168,7 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController {
|
||||
private func renderLoaded(viewData: KeyVerificationSelfVerifyWaitViewData) {
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
|
||||
self.title = viewData.isNewSignIn ? VectorL10n.deviceVerificationSelfVerifyWaitNewSignInTitle : VectorL10n.deviceVerificationSelfVerifyWaitTitle
|
||||
self.title = viewData.isNewSignIn ? VectorL10n.deviceVerificationSelfVerifyWaitNewSignInTitle : BWIL10n.deviceVerificationSelfVerifyWaitTitle
|
||||
self.cancelBarButtonItem?.title = viewData.isNewSignIn ? VectorL10n.skip : VectorL10n.cancel
|
||||
|
||||
let hideRecoverSecrets: Bool
|
||||
|
||||
Reference in New Issue
Block a user