update strings

pull/1061/head
Ryan ZHAO 2 weeks ago
parent baf26894cc
commit 0321a5026c

@ -143,7 +143,7 @@ extension ConversationVC:
let confirmationModal: ConfirmationModal = ConfirmationModal(
info: ConfirmationModal.Info(
title: "permissionsRequired".localized(),
body: .text("Microphone access is required to make calls and record audio messages. Toggle the \"Microphone\" permission in Settings to continue."),
body: .text("permissionsMicrophoneAccessRequiredCallsIos".localized()),
showCondition: .disabled,
confirmTitle: "sessionSettings".localized(),
onConfirm: { _ in
@ -160,7 +160,7 @@ extension ConversationVC:
let confirmationModal: ConfirmationModal = ConfirmationModal(
info: ConfirmationModal.Info(
title: "permissionsRequired".localized(),
body: .text("Local Network access is required to facilitate calls. Toggle the \"Local Network\" permission in Settings to continue."),
body: .text("permissionsLocalNetworkAccessRequiredCallsIos".localized()),
showCondition: .disabled,
confirmTitle: "sessionSettings".localized(),
onConfirm: { _ in

@ -154,7 +154,7 @@ class PrivacySettingsViewModel: SessionTableViewModel, NavigationItemSource, Nav
SessionCell.Info(
id: .microphone,
title: "permissionsMicrophone".localized(),
subtitle: "Allow access to microphone for voice calls and audio messages",
subtitle: "permissionsMicrophoneDescriptionIos".localized(),
trailingAccessory: .toggle(
Permissions.microphone == .granted,
oldValue: Permissions.microphone == .granted,
@ -172,7 +172,7 @@ class PrivacySettingsViewModel: SessionTableViewModel, NavigationItemSource, Nav
SessionCell.Info(
id: .camera,
title: "contentDescriptionCamera".localized(),
subtitle: "Allow access to camera for video calls",
subtitle: "permissionsCameraDescriptionIos".localized(),
trailingAccessory: .toggle(
Permissions.camera == .granted,
oldValue: Permissions.camera == .granted,
@ -189,8 +189,8 @@ class PrivacySettingsViewModel: SessionTableViewModel, NavigationItemSource, Nav
),
SessionCell.Info(
id: .localNetwork,
title: "Local Network",
subtitle: "Allow access to local network to facilitate voice and video calls",
title: "permissionsLocalNetworkIos".localized(),
subtitle: "permissionsLocalNetworkDescriptionIos".localized(),
trailingAccessory: .toggle(
current.localNetworkPermission,
oldValue: (previous ?? current).localNetworkPermission,

Loading…
Cancel
Save