[CHANGE] Extracted all strings into the Localizable.strings

This commit is contained in:
Fabian Thies
2023-01-16 21:23:16 +01:00
parent 0000610b9d
commit f90bf3bfcf
9 changed files with 91 additions and 24 deletions

View File

@@ -138,7 +138,7 @@ struct AppDetailView: View {
HStack {
Spacer()
Image(systemSymbol: .checkmarkSealFill)
Text("Official App")
Text(L10n.AppDetailView.Badge.official)
Spacer()
}
.foregroundColor(.accentColor)
@@ -148,7 +148,7 @@ struct AppDetailView: View {
HStack {
Spacer()
Image(systemSymbol: .shieldLefthalfFill)
Text("From Trusted Source")
Text(L10n.AppDetailView.Badge.trusted)
Spacer()
}
.foregroundColor(.accentColor)

View File

@@ -44,11 +44,11 @@ struct AppScreenshotsPreview: View {
}
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
ToolbarItem(placement: .cancellationAction) {
SwiftUI.Button {
self.dismiss()
} label: {
Text("Close")
Text(L10n.Action.close)
}
}
}