Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix localization #1396

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading