mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 04:36:58 +02:00
MESSENGER-3304 string in separate files
This commit is contained in:
@@ -70,7 +70,7 @@ final class RoomInfoCoordinator: NSObject, RoomInfoCoordinatorType {
|
||||
}
|
||||
controller.initWithTitles([
|
||||
VectorL10n.roomDetailsPeople,
|
||||
VectorL10n.roomDetailsFiles,
|
||||
BWIL10n.roomDetailsFiles,
|
||||
VectorL10n.roomDetailsSettings
|
||||
], viewControllers: [
|
||||
participants,
|
||||
|
||||
@@ -194,7 +194,7 @@ final class RoomInfoListViewController: UIViewController {
|
||||
let rowSettings = Row(type: .default, icon: Asset.Images.settingsIcon.image, text: VectorL10n.roomDetailsSettings, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .settings()))
|
||||
}
|
||||
let rowRollsAndRights = Row(type: .default, icon: Asset.Images.rollsAndRights.image, text: VectorL10n.bwiRollsAndRights, accessoryType: .disclosureIndicator) {
|
||||
let rowRollsAndRights = Row(type: .default, icon: Asset.Images.rollsAndRights.image, text: BWIL10n.bwiRollsAndRights, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .rollsAndRights))
|
||||
}
|
||||
let roomNotifications = Row(type: .default, icon: Asset.Images.notifications.image, text: VectorL10n.roomDetailsNotifs, accessoryType: .disclosureIndicator) {
|
||||
@@ -204,14 +204,14 @@ final class RoomInfoListViewController: UIViewController {
|
||||
let rowMembers = Row(type: .default, icon: Asset.Images.userIcon.image, text: text, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .members))
|
||||
}
|
||||
let rowUploads = Row(type: .default, icon: Asset.Images.scrollup.image, text: VectorL10n.roomDetailsFiles, accessoryType: .disclosureIndicator) {
|
||||
let rowUploads = Row(type: .default, icon: Asset.Images.scrollup.image, text: BWIL10n.roomDetailsFiles, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .uploads))
|
||||
}
|
||||
let rowSearch = Row(type: .default, icon: Asset.Images.searchIcon.image, text: VectorL10n.roomDetailsSearch, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .search))
|
||||
}
|
||||
|
||||
let rowPermalink = Row(type: .default, icon: nil, text: VectorL10n.roomDetailsPermalink, accessoryType: .none) {
|
||||
let rowPermalink = Row(type: .default, icon: nil, text: BWIL10n.roomDetailsPermalink, accessoryType: .none) {
|
||||
self.viewModel.process(viewAction: .permalink)
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ final class RoomInfoListViewController: UIViewController {
|
||||
|
||||
private func doNotLeaveUIAlertController() -> UIAlertController {
|
||||
let title = VectorL10n.roomParticipantsLeavePromptTitle
|
||||
let message = NSLocalizedString("room_participants_cant_leave_prompt_message", tableName: "Vector", comment: "")
|
||||
let message = BWIL10n.roomParticipantsCantLeavePromptMessage
|
||||
let controller = UIAlertController(title: title, message: message, preferredStyle: .alert)
|
||||
|
||||
controller.addAction(UIAlertAction(title: VectorL10n.cancel, style: .cancel, handler: nil))
|
||||
@@ -513,7 +513,7 @@ extension RoomInfoListViewController {
|
||||
self.viewModel.process(viewAction: .navigate(target: .settings()))
|
||||
}
|
||||
|
||||
let rowUploads = Row(type: .default, icon: Asset.Images.scrollup.image, text: VectorL10n.roomDetailsFiles, accessoryType: .disclosureIndicator) {
|
||||
let rowUploads = Row(type: .default, icon: Asset.Images.scrollup.image, text: BWIL10n.roomDetailsFiles, accessoryType: .disclosureIndicator) {
|
||||
self.viewModel.process(viewAction: .navigate(target: .uploads))
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ class RoomInfoBasicView: UIView {
|
||||
securityTitleLabel.text = VectorL10n.securitySettingsTitle
|
||||
securityInformationLabel.text = viewData.isDirect ?
|
||||
VectorL10n.roomParticipantsSecurityInformationRoomEncryptedForDm :
|
||||
VectorL10n.roomParticipantsSecurityInformationRoomEncrypted
|
||||
BWIL10n.roomParticipantsSecurityInformationRoomEncrypted
|
||||
securityContainerView.isHidden = !viewData.isEncrypted
|
||||
if let directUserId = viewData.directUserId {
|
||||
presenceIndicatorView.configure(userId: directUserId, presence: viewData.directUserPresence)
|
||||
|
||||
Reference in New Issue
Block a user