mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-25 04:48:16 -04:00
Use a common string
This commit is contained in:
parent
98557fc62f
commit
07f649dde1
@ -107,7 +107,7 @@ struct RootView: View {
|
||||
Link(destination: url) {
|
||||
HStack {
|
||||
Image(systemName: "heart")
|
||||
Text("enum.navigation_item.donations".localizedWithFormat(withArgs: Brand.appName))
|
||||
Text("common.support.app_name".localizedWithFormat(withArgs: Brand.appName))
|
||||
.foregroundColor(.primary)
|
||||
Spacer()
|
||||
}
|
||||
|
@ -23,6 +23,7 @@
|
||||
"common.button.yes" = "Ja";
|
||||
"common.button.no" = "nein";
|
||||
"common.search" = "Suchen";
|
||||
"common.support.app_name" = "%@ unterstützen";
|
||||
"common.tab.manager.title" = "Tabs-Manager";
|
||||
"common.tab.navigation.title" = "Tabs";
|
||||
"common.tab.menu.new_tab" = "Neuer Tab";
|
||||
|
@ -39,6 +39,7 @@
|
||||
"common.tab.list.close" = "Close Tab";
|
||||
"common.tab.menu.library" = "Library";
|
||||
"common.tab.menu.settings" = "Settings";
|
||||
"common.support.app_name" = "Support %@";
|
||||
|
||||
"outline_button.outline.title" = "Outline";
|
||||
"outline_button.outline.help" = "Show article outline";
|
||||
@ -167,7 +168,6 @@
|
||||
"settings.miscellaneous.title" = "Misc";
|
||||
"settings.miscellaneous.button.feedback" = "Feedback";
|
||||
"settings.miscellaneous.button.rate_app" = "Rate the App";
|
||||
"settings.miscellaneous.button.donate" = "Support %@";
|
||||
"settings.miscellaneous.navigation.about" = "About";
|
||||
"settings.selected_language.title" = "Languages";
|
||||
"language_selector.name.title" = "Name";
|
||||
@ -264,7 +264,6 @@
|
||||
"enum.navigation_item.new" = "New";
|
||||
"enum.navigation_item.downloads" = "Downloads";
|
||||
"enum.navigation_item.settings" = "Settings";
|
||||
"enum.navigation_item.donations" = "Support %@";
|
||||
"enum.search_result_snippet_mode.disabled" = "Disabled";
|
||||
"enum.search_result_snippet_mode.paragraph" = "First Paragraph";
|
||||
"enum.search_result_snippet_mode.sentence" = "First Sentence";
|
||||
|
@ -21,6 +21,7 @@
|
||||
"common.button.yes" = "It is a title in the summary table on macOS: we list the attributes of a ZIM file: does it contain pictures yes/no, does it contain Videos yes/no, Details? yes/no";
|
||||
"common.button.no" = "It is a title in the summary table on macOS: we list the attributes of a ZIM file: does it contain pictures yes/no, does it contain Videos yes/no, Details? yes/no";
|
||||
"common.search" = "The default placeholder text for searchbars, when the search input field is empty";
|
||||
"common.support.app_name" = "Button title, opening the external browser to support the app. The App Name being the argument, eg: Support Kiwix";
|
||||
"common.tab.manager.title" = "Accessibility label for button tab bar button that opens an overlay menu.";
|
||||
"common.tab.navigation.title" = "On iPad it is a title in the sidemenu grouping tabs related buttons";
|
||||
"common.tab.menu.new_tab" = "Button title of an item in the overflow menu on iOS, the default title for a new tab (that has no content loaded yet) on iPad";
|
||||
@ -140,7 +141,6 @@
|
||||
"settings.miscellaneous.button.feedback" = "Button title in settings";
|
||||
"settings.miscellaneous.button.rate_app" = "Button title in settings";
|
||||
"settings.miscellaneous.navigation.about" = "Button title in settings opening the about page";
|
||||
"settings.miscellaneous.button.donate" = "Button title in settings, opening the external browser to support the app. The App Name being the argument, eg: Support Kiwix"
|
||||
"settings.selected_language.title" = "Label text for language picker in settings";
|
||||
"language_selector.name.title" = "Table header name in listing the languages and ZIM file count in each language in settings";
|
||||
"language_selector.count.table.title" = "Table header name in listing the languages and ZIM file count in each language in settings";
|
||||
@ -225,7 +225,6 @@
|
||||
"enum.navigation_item.new" = "Side navigation menu item title";
|
||||
"enum.navigation_item.downloads" = "Side navigation menu item title";
|
||||
"enum.navigation_item.settings" = "Side navigation menu item title";
|
||||
"enum.navigation_item.donations" = "Side navigation menu item title, with the App Name being the argument, eg: Support Kiwix"
|
||||
"enum.search_result_snippet_mode.disabled" = "Picker option title in settings. Search snippet: Disabled | First Paragraph | First Sentence | Matches";
|
||||
"enum.search_result_snippet_mode.paragraph" = "Picker option title in settings. Search snippet: Disabled | First Paragraph | First Sentence | Matches";
|
||||
"enum.search_result_snippet_mode.sentence" = "Picker option title in settings. Search snippet: Disabled | First Paragraph | First Sentence | Matches";
|
||||
|
@ -229,7 +229,7 @@ struct Settings: View {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
if let url = URL(string: Brand.supportURLString) {
|
||||
Link("settings.miscellaneous.button.donate".localizedWithFormat(withArgs: Brand.appName),
|
||||
Link("common.support.app_name".localizedWithFormat(withArgs: Brand.appName),
|
||||
destination: url)
|
||||
}
|
||||
NavigationLink("settings.miscellaneous.navigation.about".localized) { About() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user