Add es-419 and finish adding support for the translations

Added Latin American Spanish (probably not the best translation)

Made everything reference the swiftgen stuff rather than having strings
This commit is contained in:
bogotesr
2022-12-24 21:06:28 -07:00
committed by Joe Mattiello
parent 6257fdcd61
commit 2c07009b04
15 changed files with 499 additions and 81 deletions

View File

@@ -35,7 +35,7 @@ struct SourcesView: View {
LazyVStack(alignment: .leading, spacing: 24) {
// Installed Sources
LazyVStack(alignment: .leading, spacing: 12) {
Text("Sources control what apps are available to download through SideStore.")
Text(L10n.SourcesView.sourcesDescription)
.font(.callout)
.foregroundColor(.secondary)
@@ -58,7 +58,7 @@ struct SourcesView: View {
SwiftUI.Button {
self.removeSource(source)
} label: {
Label("Remove", systemSymbol: .trash)
Label(L10n.SourcesView.remove, systemSymbol: .trash)
}
}))
}
@@ -67,11 +67,11 @@ struct SourcesView: View {
// Trusted Sources
LazyVStack(alignment: .leading) {
Text("Trusted Sources")
Text(L10n.SourcesView.trustedSources)
.font(.title3)
.bold()
Text("SideStore has reviewed these sources to make sure they meet our safety standards.")
Text(L10n.SourcesView.reviewedText)
.font(.callout)
.foregroundColor(.secondary)
@@ -80,7 +80,7 @@ struct SourcesView: View {
}
.padding()
}
.navigationTitle("Sources")
.navigationTitle(L10n.SourcesView.sources)
.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
SwiftUI.Button {
@@ -107,7 +107,7 @@ struct SourcesView: View {
ToolbarItem(placement: .navigationBarTrailing) {
SwiftUI.Button(action: self.dismiss) {
Text("Done").bold()
Text(L10n.SourcesView.done).bold()
}
}
}