diff --git a/NextcloudTalk/BaseChatViewController.swift b/NextcloudTalk/BaseChatViewController.swift index 843dfa72e..a44e1d25a 100644 --- a/NextcloudTalk/BaseChatViewController.swift +++ b/NextcloudTalk/BaseChatViewController.swift @@ -934,7 +934,7 @@ import QuickLook if message.isObjectShare() { NCAPIController.sharedInstance().shareRichObject(message.richObjectFromObjectShare(), inRoom: room.token, for: activeAccount) { error in if error == nil { - self.view.makeToast(NSLocalizedString("Added note to self", comment: ""), duration: 1.5, position: CSToastPositionCenter) + self.view.makeToast(NSLocalizedString("Added to personal notes", comment: ""), duration: 1.5, position: CSToastPositionCenter) } else { self.view.makeToast(NSLocalizedString("An error occurred while adding note", comment: ""), duration: 1.5, position: CSToastPositionCenter) } @@ -942,7 +942,7 @@ import QuickLook } else { NCAPIController.sharedInstance().sendChatMessage(message.parsedMessage().string, toRoom: room.token, displayName: nil, replyTo: -1, referenceId: nil, silently: false, for: activeAccount) { error in if error == nil { - self.view.makeToast(NSLocalizedString("Added note to self", comment: ""), duration: 1.5, position: CSToastPositionCenter) + self.view.makeToast(NSLocalizedString("Added to personal notes", comment: ""), duration: 1.5, position: CSToastPositionCenter) } else { self.view.makeToast(NSLocalizedString("An error occurred while adding note", comment: ""), duration: 1.5, position: CSToastPositionCenter) } diff --git a/NextcloudTalk/ChatViewController.swift b/NextcloudTalk/ChatViewController.swift index f78e7a03b..8768aa3b7 100644 --- a/NextcloudTalk/ChatViewController.swift +++ b/NextcloudTalk/ChatViewController.swift @@ -1513,7 +1513,7 @@ import UIKit // Note to self if message.file() == nil, message.poll() == nil, !message.isDeletedMessage(), room.type != kNCRoomTypeNoteToSelf, NCDatabaseManager.sharedInstance().serverHasTalkCapability(kCapabilityNoteToSelf) { - actions.append(UIAction(title: NSLocalizedString("Note to self", comment: ""), image: .init(systemName: "square.and.pencil")) { _ in + actions.append(UIAction(title: NSLocalizedString("Add to personal notes", comment: ""), image: .init(systemName: "square.and.pencil")) { _ in self.didPressNoteToSelf(for: message) }) } diff --git a/NextcloudTalk/en.lproj/Localizable.strings b/NextcloudTalk/en.lproj/Localizable.strings index 79153bf9f..95f457e00 100644 --- a/NextcloudTalk/en.lproj/Localizable.strings +++ b/NextcloudTalk/en.lproj/Localizable.strings @@ -95,7 +95,10 @@ "Add to favorites" = "Add to favorites"; /* No comment provided by engineer. */ -"Added note to self" = "Added note to self"; +"Add to personal notes" = "Add to personal notes"; + +/* No comment provided by engineer. */ +"Added to personal notes" = "Added to personal notes"; /* No comment provided by engineer. */ "Address" = "Address"; @@ -1171,9 +1174,6 @@ /* No comment provided by engineer. */ "Not supported" = "Not supported"; -/* No comment provided by engineer. */ -"Note to self" = "Note to self"; - /* No comment provided by engineer. */ "Notifications" = "Notifications";