Fix localization issues and export strings for translation

Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
2026-03-09 21:08:29 -04:00
parent 963da2d4eb
commit 31e281ce73
33 changed files with 1271 additions and 137 deletions
@@ -57,7 +57,7 @@ struct NDBSearchView: View {
.foregroundColor(.secondary)
if !highlightTerms.isEmpty {
Text("Search: \(searchQuery)")
Text("Search: \(searchQuery)", comment: "Label indicating the search query that resulted in the current list of notes")
.font(.footnote)
.foregroundColor(.secondary)
.padding(.bottom, 4)
@@ -54,7 +54,7 @@ struct InnerSearchResults: View {
let search_model = SearchModel(state: damus_state, search: .filter_hashtag([ht]))
return NavigationLink(value: Route.Search(search: search_model)) {
HStack {
Text("#\(ht)", comment: "Navigation link to search hashtag.")
Text(verbatim: "#\(ht)")
}
.padding(.horizontal, 15)
.padding(.vertical, 5)