Skip to content

Commit

Permalink
Merge pull request #1396 from nextcloud/fix-localization
Browse files Browse the repository at this point in the history
Fix localization
  • Loading branch information
Ivansss authored Oct 23, 2023
2 parents cf28074 + 2096d54 commit f86e3ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NextcloudTalk/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ import UIKit
// Tomorrow
var tomorrowTime = NCUtils.today(withHour: 8, withMinute: 0, withSecond: 0)
tomorrowTime = Calendar.current.date(byAdding: .day, value: 1, to: tomorrowTime)!
let tomorrow = UIAction(title: NSLocalizedString("Tomorrow", comment: "Remind me tomrrow about that message")) { _ in
let tomorrow = UIAction(title: NSLocalizedString("Tomorrow", comment: "Remind me tomorrow about that message")) { _ in
let timestamp = String(Int(tomorrowTime.timeIntervalSince1970))
NCAPIController.sharedInstance().setReminderFor(message, withTimestamp: timestamp, withCompletionBlock: setReminderCompletion)
}
Expand Down
15 changes: 9 additions & 6 deletions NextcloudTalk/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@
/* 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 @@ -220,9 +226,6 @@
/* 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 message" = "An error occurred while adding a reaction to message";

/* No comment provided by engineer. */
"An error occurred while adding note" = "An error occurred while adding note";

Expand All @@ -241,9 +244,6 @@
/* 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 message" = "An error occurred while removing a reaction from message";

/* No comment provided by engineer. */
"An error occurred while removing the avatar" = "An error occurred while removing the avatar";

Expand Down Expand Up @@ -793,6 +793,9 @@
/* External signaling used */
"External" = "External";

/* No comment provided by engineer. */
"Failed to clear reminder" = "Failed to clear reminder";

/* No comment provided by engineer. */
"Failed to connect to %@" = "Failed to connect to %@";

Expand Down

0 comments on commit f86e3ac

Please sign in to comment.