From c4f7d25793a4a386a75dccb82f3d87161f5815de Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:42:39 +0100 Subject: [PATCH] Fix localization issues and export strings for translation --- damus/Views/SearchResultsView.swift | 2 +- .../Localized Contents/en-US.xliff | 18 +++++++++++------- .../damus/en-US.lproj/Localizable.strings | Bin 159898 -> 160084 bytes damus/en-US.xcloc/contents.json | 4 ++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/damus/Views/SearchResultsView.swift b/damus/Views/SearchResultsView.swift index b945d3ae..b496ae13 100644 --- a/damus/Views/SearchResultsView.swift +++ b/damus/Views/SearchResultsView.swift @@ -70,7 +70,7 @@ struct InnerSearchResults: View { func TextSearch(_ txt: String) -> some View { return NavigationLink(value: Route.NDBSearch(results: $results)) { HStack { - Text("\(txt)", comment: "Navigation link to search text.") + Text(txt) } .padding(.horizontal, 15) .padding(.vertical, 5) diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff index eb1752d8..fde6bd62 100644 --- a/damus/en-US.xcloc/Localized Contents/en-US.xliff +++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -2,7 +2,7 @@
- +
@@ -44,7 +44,7 @@
- +
@@ -909,6 +909,11 @@ Section header for first aid tools and settings Follow Button to follow a user. + + Follow %@ on Nostr + Follow %@ on Nostr + Text on QR code view to prompt viewer looking at screen to follow the user. + Follow All Follow All @@ -1489,8 +1494,7 @@ Text to indicate that what is being shown is a note which has been muted. Notes Notes A label indicating that the notes being displayed below it are from a timeline, not search results -Label for filter for seeing only notes (instead of notes and replies). -Navigation link to search text. +Label for filter for seeing only notes (instead of notes and replies). Notes & Replies @@ -2966,7 +2970,7 @@ String indicating that a given timestamp just occurred
- +
@@ -3348,7 +3352,7 @@ String indicating that a given timestamp just occurred
- +
@@ -3370,7 +3374,7 @@ String indicating that a given timestamp just occurred
- +
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 8c00063193c3898762ab0a4f6896f0b0b62065b9..636287213b49579958a4451ba9042c1ca84e7a8d 100644 GIT binary patch delta 57 zcmbRBkn_qT&JFMGOx|#B9kVKf!{o&K+E7|_vWT<7