diff --git a/damus/Views/Events/EventMenu.swift b/damus/Views/Events/EventMenu.swift index 57228d91..1669241a 100644 --- a/damus/Views/Events/EventMenu.swift +++ b/damus/Views/Events/EventMenu.swift @@ -47,9 +47,9 @@ struct EventMenuContext: View { notify(.update_bookmarks, event) } label: { let imageName = isBookmarked ? "bookmark.fill" : "bookmark" - let unBookmarkString = NSLocalizedString("Un-Bookmark", comment: "Context menu option for un-bookmarking a note") - let bookmarkString = NSLocalizedString("Bookmark", comment: "Context menu option for bookmarking a note") - Label(isBookmarked ? unBookmarkString : bookmarkString, systemImage: imageName) + let removeBookmarkString = NSLocalizedString("Remove Bookmark", comment: "Context menu option for removing a note bookmark.") + let addBookmarkString = NSLocalizedString("Add Bookmark", comment: "Context menu option for adding a note bookmark.") + Label(isBookmarked ? removeBookmarkString : addBookmarkString, systemImage: imageName) } .onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 1) { diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff index e9a01b82..0ce1a9f5 100644 --- a/damus/en-US.xcloc/Localized Contents/en-US.xliff +++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -119,6 +119,11 @@ Sentence composed of 2 variables to describe how many people are following a use Button to add recommended relay server. Button to confirm adding user inputted relay. + + Add Bookmark + Add Bookmark + Context menu option for adding a note bookmark. + Add Relay Add Relay @@ -201,11 +206,6 @@ Sentence composed of 2 variables to describe how many people are following a use Blue Wallet Dropdown option label for Lightning wallet, Blue Wallet. - - Bookmark - Bookmark - Context menu option for bookmarking a note - Bookmarks Bookmarks @@ -785,6 +785,11 @@ Label for filter for seeing your posts and replies (instead of only your posts). Relays have been notified and clients will be able to use this information to filter content. Thank you! Description of what was done as a result of sending a report to relay servers. + + Remove Bookmark + Remove Bookmark + Context menu option for removing a note bookmark. + Remove all Remove all @@ -1052,11 +1057,6 @@ Label for filter for seeing your posts and replies (instead of only your posts). URL Example URL to LibreTranslate server - - Un-Bookmark - Un-Bookmark - Context menu option for un-bookmarking a note - Unfollow Unfollow diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings index d13f961a..cf836b48 100644 Binary files a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings and b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings differ diff --git a/transifex.yml b/transifex.yml index ab7c9b4c..f109a5ca 100644 --- a/transifex.yml +++ b/transifex.yml @@ -4,25 +4,27 @@ git: file_format: STRINGSDICT source_file_extension: stringsdict source_language: en_US - source_file_dir: damus/en-US.xcloc/Source Contents/damus/en-US.lproj/ - translation_files_expression: damus/.lproj/ + source_file_dir: 'damus/en-US.xcloc/Source Contents/damus/en-US.lproj/' + translation_files_expression: 'damus/.lproj/' - filter_type: dir file_format: STRINGS source_file_extension: strings source_language: en_US - source_file_dir: damus/en-US.xcloc/Source Contents/damus/en-US.lproj/ - translation_files_expression: damus/.lproj/ + source_file_dir: 'damus/en-US.xcloc/Source Contents/damus/en-US.lproj/' + translation_files_expression: 'damus/.lproj/' -settings: - language_mapping: - de_AT: de-AT - el_GR: el-GR - es_419: es-419 - fr_FR: fr-FR - it_IT: it-IT - lv_LV: lv-LV - pl_PL: pl-PL - pt_PT: pt-PT - tr_TR: tr-TR - zh_CN: zh-CN + settings: + language_mapping: + en_US: en-US + el_GR: el-GR + es_419: es-419 + fr_FR: fr-FR + it_IT: it-IT + lv_LV: lv-LV + pl_PL: pl-PL + pt_PT: pt-PT + tr_TR: tr-TR + zh_CN: zh-CN + zh_HK: zh-HK + zh_TW: zh-TW \ No newline at end of file