diff --git a/myApp/HaruDanim/Haru_DanimWatchWidgets/Localizable.xcstrings b/myApp/HaruDanim/Haru_DanimWatchWidgets/Localizable.xcstrings index 89111b1..8555c71 100644 --- a/myApp/HaruDanim/Haru_DanimWatchWidgets/Localizable.xcstrings +++ b/myApp/HaruDanim/Haru_DanimWatchWidgets/Localizable.xcstrings @@ -195,6 +195,22 @@ } } }, + "독서": { + "localizations": { + "en": { + "stringUnit": { + "state": "translated", + "value": "Reading" + } + }, + "ja": { + "stringUnit": { + "state": "translated", + "value": "読書" + } + } + } + }, "목표": { "localizations": { "en": { diff --git a/myApp/HaruDanim/Haru_DanimWatchWidgets/RateComplications.swift b/myApp/HaruDanim/Haru_DanimWatchWidgets/RateComplications.swift index 5a744e8..e4bc4fd 100644 --- a/myApp/HaruDanim/Haru_DanimWatchWidgets/RateComplications.swift +++ b/myApp/HaruDanim/Haru_DanimWatchWidgets/RateComplications.swift @@ -56,8 +56,8 @@ struct GoalRateProvider: AppIntentTimelineProvider { } func placeholder(in context: Context) -> GoalRateEntry { - GoalRateEntry(date: .now, locked: false, title: "목표", symbolName: "flag.checkered", - spanLabel: "하루", ratio: 0.6) + GoalRateEntry(date: .now, locked: false, title: String(localized: "목표"), symbolName: "flag.checkered", + spanLabel: String(localized: "하루"), ratio: 0.6) } func snapshot(for configuration: GoalRateConfigIntent, in context: Context) async -> GoalRateEntry { @@ -200,7 +200,7 @@ struct QuestRateProvider: AppIntentTimelineProvider { } func placeholder(in context: Context) -> QuestRateEntry { - QuestRateEntry(date: .now, locked: false, quest: nil, spanRaw: "day", spanLabel: "하루") + QuestRateEntry(date: .now, locked: false, quest: nil, spanRaw: "day", spanLabel: String(localized: "하루")) } func snapshot(for configuration: QuestRateConfigIntent, in context: Context) async -> QuestRateEntry { diff --git a/myApp/HaruDanim/Haru_DanimWatchWidgets/StatusComplication.swift b/myApp/HaruDanim/Haru_DanimWatchWidgets/StatusComplication.swift index 9269c9f..65938fe 100644 --- a/myApp/HaruDanim/Haru_DanimWatchWidgets/StatusComplication.swift +++ b/myApp/HaruDanim/Haru_DanimWatchWidgets/StatusComplication.swift @@ -51,7 +51,7 @@ struct StatusProvider: TimelineProvider { } func placeholder(in context: Context) -> StatusEntry { - StatusEntry(date: .now, locked: false, runningName: "독서", runningSymbol: "book.fill", + StatusEntry(date: .now, locked: false, runningName: String(localized: "독서"), runningSymbol: "book.fill", runningStartAt: .now, extraCount: 0) } diff --git a/myApp/HaruDanim/Widgets/GoalWidgets.swift b/myApp/HaruDanim/Widgets/GoalWidgets.swift index 05b7006..b70475a 100644 --- a/myApp/HaruDanim/Widgets/GoalWidgets.swift +++ b/myApp/HaruDanim/Widgets/GoalWidgets.swift @@ -457,7 +457,7 @@ struct QuestStatusProvider: AppIntentTimelineProvider { } func placeholder(in context: Context) -> QuestStatusEntry { - QuestStatusEntry(date: .now, locked: false, theme: .matchApp, spanLabel: "오늘", + QuestStatusEntry(date: .now, locked: false, theme: .matchApp, spanLabel: String(localized: "오늘"), largeStyle: .manyQuests, goals: [.sample]) } diff --git a/myApp/HaruDanim/Widgets/LockScreenWidgets.swift b/myApp/HaruDanim/Widgets/LockScreenWidgets.swift index a47f684..869aec5 100644 --- a/myApp/HaruDanim/Widgets/LockScreenWidgets.swift +++ b/myApp/HaruDanim/Widgets/LockScreenWidgets.swift @@ -80,7 +80,7 @@ struct LockGoalProvider: AppIntentTimelineProvider { func placeholder(in context: Context) -> LockGoalEntry { let goal = GoalSnapshot.sample - return LockGoalEntry(date: .now, locked: false, spanLabel: "오늘", style: .gauge, goal: goal, ratio: goal.dayRatio) + return LockGoalEntry(date: .now, locked: false, spanLabel: String(localized: "오늘"), style: .gauge, goal: goal, ratio: goal.dayRatio) } @MainActor diff --git a/myApp/HaruDanim/Widgets/QuestRingWidget.swift b/myApp/HaruDanim/Widgets/QuestRingWidget.swift index b41fba3..633716f 100644 --- a/myApp/HaruDanim/Widgets/QuestRingWidget.swift +++ b/myApp/HaruDanim/Widgets/QuestRingWidget.swift @@ -75,7 +75,7 @@ struct QuestRingProvider: AppIntentTimelineProvider { } func placeholder(in context: Context) -> QuestRingEntry { - QuestRingEntry(date: .now, locked: false, theme: .matchApp, spanLabel: "오늘", + QuestRingEntry(date: .now, locked: false, theme: .matchApp, spanLabel: String(localized: "오늘"), cells: Array(QuestCellSnapshot.samples.prefix(Self.capacity(context.family)))) }