Skip to content

Commit 2577df4

Browse files
committed
Tag banner string
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
1 parent 7057209 commit 2577df4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

iOSClient/Share/NCTagEditorModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import NextcloudKit
101101

102102
let createResult = await NextcloudKit.shared.createTag(name: candidate, account: metadata.account)
103103
guard createResult.error == .success else {
104-
await showErrorBanner(windowScene: windowScene, error: createResult.error)
104+
await showErrorBanner(windowScene: windowScene, text: "_create_tag_error_", errorCode: createResult.error.errorCode)
105105
return nil
106106
}
107107

iOSClient/Supporting Files/en.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"_share_tags_no_results_" = "No tags found";
9191
"_share_tags_added_named_" = "Tag %@ has been created.";
9292
"_edit_tags_" = "Manage tags";
93+
"_create_tag_error_" = "There was an issue in creating a new tag. Please try again";
9394
"_of_" = "of";
9495
"_livephoto_save_" = "Save Live Photo to Photo Album";
9596
"_livephoto_save_error_" = "Error during save of Live Photo.";

0 commit comments

Comments
 (0)