Bläddra i källkod

use wording 'Images and videos' and 'Files' also in the view-controllers

B. Petersen 5 år sedan
förälder
incheckning
fcb70a866d

+ 1 - 1
deltachat-ios/Controller/ChatViewController.swift

@@ -1238,7 +1238,7 @@ extension ChatViewController: MessagesLayoutDelegate {
         let alert = UIAlertController(title: nil, message: nil, preferredStyle: .safeActionSheet)
         let galleryAction = PhotoPickerAlertAction(title: String.localized("gallery"), style: .default, handler: galleryButtonPressed(_:))
         let cameraAction = PhotoPickerAlertAction(title: String.localized("camera"), style: .default, handler: cameraButtonPressed(_:))
-        let documentAction = UIAlertAction(title: String.localized("documents"), style: .default, handler: documentActionPressed(_:))
+        let documentAction = UIAlertAction(title: String.localized("files"), style: .default, handler: documentActionPressed(_:))
         let voiceMessageAction = UIAlertAction(title: String.localized("voice_message"), style: .default, handler: voiceMessageButtonPressed(_:))
         let isLocationStreaming = dcContext.isSendingLocationsToChat(chatId: chatId)
         let locationStreamingAction = UIAlertAction(title: isLocationStreaming ? String.localized("stop_sharing_location") : String.localized("location"),

+ 1 - 1
deltachat-ios/Controller/DocumentGalleryController.swift

@@ -25,7 +25,7 @@ class DocumentGalleryController: UIViewController {
     init(fileMessageIds: [Int]) {
         self.fileMessageIds = fileMessageIds
         super.init(nibName: nil, bundle: nil)
-        self.title = String.localized("documents")
+        self.title = String.localized("files")
     }
 
     required init?(coder: NSCoder) {

+ 1 - 1
deltachat-ios/Controller/GalleryViewController.swift

@@ -59,7 +59,7 @@ class GalleryViewController: UIViewController {
     override func viewDidLoad() {
         super.viewDidLoad()
         setupSubviews()
-        title = String.localized("gallery")
+        title = String.localized("images_and_videos")
         if mediaMessageIds.isEmpty {
             emptyStateView.isHidden = false
         }