Fix localization issues and export strings for translation
Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user