diff --git a/NextcloudTalk/BaseChatViewController.swift b/NextcloudTalk/BaseChatViewController.swift index c10a87ce8..a9e14b72d 100644 --- a/NextcloudTalk/BaseChatViewController.swift +++ b/NextcloudTalk/BaseChatViewController.swift @@ -2262,7 +2262,7 @@ import QuickLook NCAPIController.sharedInstance().addReaction(reaction, toMessage: message.messageId, inRoom: self.room.token, for: activeAccount) { _, error, _ in if error != nil { - self.view.makeToast(NSLocalizedString("An error occured while adding a reaction to a message", comment: ""), duration: 5, position: CSToastPositionCenter) + self.view.makeToast(NSLocalizedString("An error occurred while adding a reaction to a message", comment: ""), duration: 5, position: CSToastPositionCenter) self.removeTemporaryReaction(reaction: reaction, forMessageId: message.messageId) } } @@ -2274,7 +2274,7 @@ import QuickLook NCAPIController.sharedInstance().removeReaction(reaction, fromMessage: message.messageId, inRoom: self.room.token, for: activeAccount) { _, error, _ in if error != nil { - self.view.makeToast(NSLocalizedString("An error occured while removing a reaction from a message", comment: ""), duration: 5, position: CSToastPositionCenter) + self.view.makeToast(NSLocalizedString("An error occurred while removing a reaction from a message", comment: ""), duration: 5, position: CSToastPositionCenter) self.removeTemporaryReaction(reaction: reaction, forMessageId: message.messageId) } } diff --git a/NextcloudTalk/en.lproj/Localizable.strings b/NextcloudTalk/en.lproj/Localizable.strings index 3a0d602d7..64d85a1df 100644 --- a/NextcloudTalk/en.lproj/Localizable.strings +++ b/NextcloudTalk/en.lproj/Localizable.strings @@ -181,12 +181,6 @@ /* Please put {user0} and {user1} placeholders in the correct position on the translated text but do not translate them */ "An administrator removed {user0} and {user1}" = "An administrator removed {user0} and {user1}"; -/* No comment provided by engineer. */ -"An error occured while adding a reaction to a message" = "An error occured while adding a reaction to a message"; - -/* No comment provided by engineer. */ -"An error occured while removing a reaction from a message" = "An error occured while removing a reaction from a message"; - /* No comment provided by engineer. */ "An error occurred changing privacy setting" = "An error occurred changing privacy setting"; @@ -226,6 +220,9 @@ /* No comment provided by engineer. */ "An error occurred while adding %@ to the room" = "An error occurred while adding %@ to the room"; +/* No comment provided by engineer. */ +"An error occurred while adding a reaction to a message" = "An error occurred while adding a reaction to a message"; + /* No comment provided by engineer. */ "An error occurred while adding note" = "An error occurred while adding note"; @@ -244,6 +241,9 @@ /* No comment provided by engineer. */ "An error occurred while opening the file %@" = "An error occurred while opening the file %@"; +/* No comment provided by engineer. */ +"An error occurred while removing a reaction from a message" = "An error occurred while removing a reaction from a message"; + /* No comment provided by engineer. */ "An error occurred while removing the avatar" = "An error occurred while removing the avatar";