시리즈 메인 탭 라벨을 다국어로 제공한다

This commit is contained in:
Yu Sung
2025-12-19 18:38:23 +09:00
parent 27b024f187
commit fdac62fc7a
2 changed files with 11 additions and 3 deletions

View File

@@ -15,9 +15,9 @@ struct SeriesMainView: View {
var title: String { var title: String {
switch self { switch self {
case .home: return "" case .home: return I18n.SeriesMain.home
case .dayOfWeek: return "요일별" case .dayOfWeek: return I18n.SeriesMain.dayOfWeek
case .byGenre: return "장르별" case .byGenre: return I18n.SeriesMain.byGenre
} }
} }
} }

View File

@@ -323,6 +323,14 @@ enum I18n {
} }
} }
//
enum SeriesMain {
// : SeriesDetail.home
static var home: String { SeriesDetail.home }
static var dayOfWeek: String { pick(ko: "요일별", en: "By day", ja: "曜日別") }
static var byGenre: String { pick(ko: "장르별", en: "By genre", ja: "ジャンル別") }
}
// / // /
enum Purchase { enum Purchase {
static var rent: String { pick(ko: "대여하기", en: "Rent", ja: "レンタルする") } static var rent: String { pick(ko: "대여하기", en: "Rent", ja: "レンタルする") }