diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index e68b29730..cc51f3107 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -298,6 +298,7 @@ "room_event_action_reaction_history" = "Reaction history"; "room_warning_about_encryption" = "End-to-end encryption is in beta and may not be reliable.\n\nYou should not yet trust it to secure data.\n\nDevices will not yet be able to decrypt history from before they joined the room.\n\nEncrypted messages will not be visible on clients that do not yet implement encryption."; "room_event_failed_to_send" = "Failed to send"; +"room_action_camera" = "Take photo or video"; "room_action_send_photo_or_video" = "Send photo or video"; "room_action_send_sticker" = "Send sticker"; "room_action_send_file" = "Send file"; @@ -574,9 +575,14 @@ "receipt_status_read" = "Read: "; // Media picker +"media_picker_title" = "Media library"; "media_picker_library" = "Library"; "media_picker_select" = "Select"; +// Image picker +"image_picker_action_camera" = "Take photo"; +"image_picker_action_library" = "Choose from library"; + // Directory "directory_title" = "Directory"; "directory_server_picker_title" = "Select a directory"; @@ -607,6 +613,8 @@ "rage_shake_prompt" = "You seem to be shaking the phone in frustration. Would you like to submit a bug report?"; "do_not_ask_again" = "Do not ask again"; "camera_access_not_granted" = "%@ doesn't have permission to use Camera, please change privacy settings"; +"camera_unavailable" = "The camera is unavailable on your device"; +"photo_library_access_not_granted" = "%@ doesn't have permission to access photo library, please change privacy settings"; "large_badge_value_k_format" = "%.1fK"; "room_does_not_exist" = "%@ does not exist"; diff --git a/Riot/Generated/Strings.swift b/Riot/Generated/Strings.swift index 8608e0e0e..27ddc0ec6 100644 --- a/Riot/Generated/Strings.swift +++ b/Riot/Generated/Strings.swift @@ -374,6 +374,10 @@ internal enum VectorL10n { internal static func cameraAccessNotGranted(_ p1: String) -> String { return VectorL10n.tr("Vector", "camera_access_not_granted", p1) } + /// The camera is unavailable on your device + internal static var cameraUnavailable: String { + return VectorL10n.tr("Vector", "camera_unavailable") + } /// Cancel internal static var cancel: String { return VectorL10n.tr("Vector", "cancel") @@ -1110,6 +1114,14 @@ internal enum VectorL10n { internal static var homeserverConnectionLost: String { return VectorL10n.tr("Vector", "homeserver_connection_lost") } + /// Take photo + internal static var imagePickerActionCamera: String { + return VectorL10n.tr("Vector", "image_picker_action_camera") + } + /// Choose from library + internal static var imagePickerActionLibrary: String { + return VectorL10n.tr("Vector", "image_picker_action_library") + } /// Invite internal static var invite: String { return VectorL10n.tr("Vector", "invite") @@ -1354,6 +1366,10 @@ internal enum VectorL10n { internal static var mediaPickerSelect: String { return VectorL10n.tr("Vector", "media_picker_select") } + /// Media library + internal static var mediaPickerTitle: String { + return VectorL10n.tr("Vector", "media_picker_title") + } /// The Internet connection appears to be offline. internal static var networkOfflinePrompt: String { return VectorL10n.tr("Vector", "network_offline_prompt") @@ -1394,6 +1410,10 @@ internal enum VectorL10n { internal static var peopleNoConversation: String { return VectorL10n.tr("Vector", "people_no_conversation") } + /// %@ doesn't have permission to access photo library, please change privacy settings + internal static func photoLibraryAccessNotGranted(_ p1: String) -> String { + return VectorL10n.tr("Vector", "photo_library_access_not_granted", p1) + } /// Preview internal static var preview: String { return VectorL10n.tr("Vector", "preview") @@ -1438,6 +1458,10 @@ internal enum VectorL10n { internal static var retry: String { return VectorL10n.tr("Vector", "retry") } + /// Take photo or video + internal static var roomActionCamera: String { + return VectorL10n.tr("Vector", "room_action_camera") + } /// Reply internal static var roomActionReply: String { return VectorL10n.tr("Vector", "room_action_reply")