switch back string
This commit is contained in:
parent
a2dfc9fc0c
commit
875eafecd1
|
@ -68,9 +68,9 @@ internal enum L10n {
|
|||
internal static let genres = L10n.tr("Localizable", "genres")
|
||||
/// Home
|
||||
internal static let home = L10n.tr("Localizable", "home")
|
||||
/// Latest in %@
|
||||
internal static func latestInWithString(_ p1: Any) -> String {
|
||||
return L10n.tr("Localizable", "latestInWithString", String(describing: p1))
|
||||
/// Latest %@
|
||||
internal static func latestWithString(_ p1: Any) -> String {
|
||||
return L10n.tr("Localizable", "latestWithString", String(describing: p1))
|
||||
}
|
||||
/// Library
|
||||
internal static let library = L10n.tr("Localizable", "library")
|
||||
|
|
|
@ -18,7 +18,7 @@ struct LatestMediaView: View {
|
|||
var body: some View {
|
||||
VStack(alignment: .leading) {
|
||||
|
||||
L10n.latestInWithString(viewModel.library.name ?? "").text
|
||||
L10n.latestWithString(viewModel.library.name ?? "").text
|
||||
.font(.title3)
|
||||
.padding(.horizontal, 50)
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ struct HomeView: View {
|
|||
|
||||
LatestMediaView(viewModel: LatestMediaViewModel(library: library)) {
|
||||
HStack {
|
||||
Text(L10n.latestInWithString(library.name ?? ""))
|
||||
Text(L10n.latestWithString(library.name ?? ""))
|
||||
.font(.title2)
|
||||
.fontWeight(.bold)
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue