Skip to content

Commit 9add7c7

Browse files
committed
chore: Update localizable
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
1 parent d6aadc3 commit 9add7c7

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

NextcloudTalk/Chat/Chat views/References/GithubPermalinkViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import SwiftyAttributes
7070

7171
NCAppBranding.styleViewController(self)
7272

73-
self.navigationItem.title = NSLocalizedString("Source code", comment: "")
73+
self.navigationItem.title = NSLocalizedString("Source code", comment: "Title of a view showing the source code of a file or a code block")
7474

7575
self.navigationItem.leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(self.cancelButtonPressed))
7676
if #unavailable(iOS 26.0) {
@@ -148,7 +148,7 @@ import SwiftyAttributes
148148

149149
func copyButtonPressed() {
150150
UIPasteboard.general.string = self.codeBlock
151-
NotificationPresenter.shared().present(text: NSLocalizedString("Code copied", comment: ""), dismissAfterDelay: 5.0, includedStyle: .dark)
151+
NotificationPresenter.shared().present(text: NSLocalizedString("Code copied", comment: "Shown after the code of a code block was copied to the clipboard"), dismissAfterDelay: 5.0, includedStyle: .dark)
152152
}
153153

154154
func githubButtonPressed() {

NextcloudTalk/en.lproj/Localizable.strings

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,9 @@
676676
/* Code block */
677677
"Code" = "Code";
678678

679+
/* Shown after the code of a code block was copied to the clipboard */
680+
"Code copied" = "Code copied";
681+
679682
/* No comment provided by engineer. */
680683
"Configuration" = "Configuration";
681684

@@ -2328,7 +2331,7 @@
23282331
/* Title for conversations sorting options */
23292332
"Sort conversations" = "Sort conversations";
23302333

2331-
/* No comment provided by engineer. */
2334+
/* Title of a view showing the source code of a file or a code block */
23322335
"Source code" = "Source code";
23332336

23342337
/* speaker = Loudspeaker, device */

0 commit comments

Comments
 (0)