Skip to content

Commit

Permalink
Update iOS permissions texts (#7805) (#7806)
Browse files Browse the repository at this point in the history
* Update iOS permissions texts

* Add missing changes

(cherry picked from commit 41113ce)

Co-authored-by: Daniel Espino García <[email protected]>
  • Loading branch information
mattermost-build and larkox authored Feb 2, 2024
1 parent 950f5e7 commit 08207cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/constants/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const iosPermissions = defineMessages({
},
NSCameraUsageDescription: {
id: 'mobile.ios.plist.NSCameraUsageDescription',
defaultMessage: 'Enabling access to your device cameras means you can take photos or videos and upload them to {applicationName}.',
defaultMessage: 'Allowing access to your camera enables you to take photos or videos and attach them to messages.',
},
NSFaceIDUsageDescription: {
id: 'mobile.ios.plist.NSFaceIDUsageDescription',
Expand All @@ -42,7 +42,7 @@ export const iosPermissions = defineMessages({
},
NSPhotoLibraryUsageDescription: {
id: 'mobile.ios.plist.NSPhotoLibraryUsageDescription',
defaultMessage: 'Enabling read access to your photo library means you can upload photos and videos from your device to {applicationName}.',
defaultMessage: 'Allowing access to your photo library enables you to select photos or videos and attach them to messages.',
},
NSSpeechRecognitionUsageDescription: {
id: 'mobile.ios.plist.NSSpeechRecognitionUsageDescription',
Expand Down
4 changes: 2 additions & 2 deletions assets/base/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,13 +578,13 @@
"mobile.ios.plist.NSAppleMusicUsageDescription": "Enabling access to your media library means you can attach files from your media library to your messages in {applicationName}.",
"mobile.ios.plist.NSBluetoothAlwaysUsageDescription": "Enabling access to Bluetooth means we can synchronize content across your devices and clients.",
"mobile.ios.plist.NSBluetoothPeripheralUsageDescription": "Enabling access to Bluetooth means we can connect to audio peripherals for calls, and synchronize content across your devices and clients.",
"mobile.ios.plist.NSCameraUsageDescription": "Enabling access to your device cameras means you can take photos or videos and upload them to {applicationName}.",
"mobile.ios.plist.NSCameraUsageDescription": "Allowing access to your camera enables you to take photos or videos and attach them to messages.",
"mobile.ios.plist.NSFaceIDUsageDescription": "Enabling access to your Face ID means we can restrict unauthorized users from accessing {applicationName} on your device.",
"mobile.ios.plist.NSLocationAlwaysUsageDescription": "Enabling access to your location data means we can add location metadata to pictures and videos you share in {applicationName}.",
"mobile.ios.plist.NSLocationWhenInUseUsageDescription": "Enabling access to your location data means we can add location metadata to pictures and videos you share in {applicationName}.",
"mobile.ios.plist.NSMicrophoneUsageDescription": "Enabling access to your device's microphones means you can capture audio for calls or videos to share in {applicationName}.",
"mobile.ios.plist.NSPhotoLibraryAddUsageDescription": "Enabling write access to your photo library means you can save downloaded photos and videos from {applicationName} to your device.",
"mobile.ios.plist.NSPhotoLibraryUsageDescription": "Enabling read access to your photo library means you can upload photos and videos from your device to {applicationName}.",
"mobile.ios.plist.NSPhotoLibraryUsageDescription": "Allowing access to your photo library enables you to select photos or videos and attach them to messages.",
"mobile.ios.plist.NSSpeechRecognitionUsageDescription": "Enabling your device to send user data to Apple means you can send voice messages to {applicationName}.",
"mobile.join_channel.error": "We couldn't join the channel {displayName}.",
"mobile.leave_and_join_confirmation": "Leave & Join",
Expand Down
4 changes: 2 additions & 2 deletions ios/Mattermost/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Enabling access to Bluetooth means we can connect to audio peripherals for calls, and synchronize content across your devices and clients.</string>
<key>NSCameraUsageDescription</key>
<string>Enabling access to your device cameras means you can take photos or videos and upload them to $(PRODUCT_NAME).</string>
<string>Allowing access to your camera enables you to take photos or videos and attach them to messages.</string>
<key>NSFaceIDUsageDescription</key>
<string>Enabling access to your Face ID means we can restrict unauthorized users from accessing $(PRODUCT_NAME) on your device.</string>
<key>NSLocationAlwaysUsageDescription</key>
Expand All @@ -70,7 +70,7 @@
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Enabling write access to your photo library means you can save downloaded photos and videos from $(PRODUCT_NAME) to your device.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Enabling read access to your photo library means you can upload photos and videos from your device to $(PRODUCT_NAME).</string>
<string>Allowing access to your photo library enables you to select photos or videos and attach them to messages.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Enabling your device to send user data to Apple means you can send voice messages to $(PRODUCT_NAME).</string>
<key>NSUserActivityTypes</key>
Expand Down

0 comments on commit 08207cb

Please sign in to comment.