From f840fe9c80b6d0c29f5e0c3dc771973813f9e37b Mon Sep 17 00:00:00 2001
From: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date: Sat, 25 Feb 2023 10:29:55 +1300
Subject: [PATCH] Update source English strings per feedback from translators
---
damus/Views/Events/EventMenu.swift | 6 ++--
.../Localized Contents/en-US.xliff | 20 +++++------
.../damus/en-US.lproj/Localizable.strings | Bin 60936 -> 60986 bytes
transifex.yml | 34 +++++++++---------
4 files changed, 31 insertions(+), 29 deletions(-)
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 RelayAdd Relay
@@ -201,11 +206,6 @@ Sentence composed of 2 variables to describe how many people are following a use
Blue WalletDropdown option label for Lightning wallet, Blue Wallet.
-
- Bookmark
- Bookmark
- Context menu option for bookmarking a note
- BookmarksBookmarks
@@ -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 allRemove all
@@ -1052,11 +1057,6 @@ Label for filter for seeing your posts and replies (instead of only your posts).
URLExample URL to LibreTranslate server
-
- Un-Bookmark
- Un-Bookmark
- Context menu option for un-bookmarking a note
- UnfollowUnfollow
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 d13f961a855c88e6b2b16bad68579d7b08a31241..cf836b489db95f455ee4da1c973a1dab660d6a27 100644
GIT binary patch
delta 151
zcmeCU!@TPb^9Bvs$pvNxlS5>MCeOLbHM!-vfU+Kg0)rNVJ_8qn5`!Z{3J@wVI5Fe{
zVKzf9Ln1>FL-u4wS>efXI&zaAsETa1kzK_%`GKb1=2bdZ3c;owSj57b3she=x&Nv-
i$jr$`^Q8FE%?O+)2{L1I-MlkqlLaJ2HnUx0k^lg|w=bjs
delta 131
zcmdmWhq>bp^9Bvs$rIE>HouWw#W&f(%3yMdtia@^3bDy=WH=@Z&6fgVp~+`tc_vTL
z(%XDQ=Stz^I9-Fy9rNdyfmDl@GUPGnG9)qN17S8pE<++i5kvOm#tLzee%4Ts>}0|D
S(r}hA*en4_k.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