Skip to content

Commit

Permalink
Merge pull request #1401 from nextcloud/rakekniven-patch-1
Browse files Browse the repository at this point in the history
fix(i18n): Fixed typo
  • Loading branch information
SystemKeeper committed Oct 26, 2023
2 parents 6aafa0a + e9bbd44 commit afe5028
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions NextcloudTalk/BaseChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand All @@ -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)
}
}
Expand Down
12 changes: 6 additions & 6 deletions NextcloudTalk/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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";

Expand All @@ -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";

Expand Down

0 comments on commit afe5028

Please sign in to comment.