diff --git a/app-ios/Modules/Sources/Assets/Resources/Strings/en.lproj/Localizable.strings b/app-ios/Modules/Sources/Assets/Resources/Strings/en.lproj/Localizable.strings index 9e53d9ab3..19d8aca51 100644 --- a/app-ios/Modules/Sources/Assets/Resources/Strings/en.lproj/Localizable.strings +++ b/app-ios/Modules/Sources/Assets/Resources/Strings/en.lproj/Localizable.strings @@ -16,6 +16,11 @@ "about.app_version" = "App Version"; "about.android_robot_description" = "The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License."; +"bookmark.title" = "Bookmarks"; +"bookmark.all_day" = "All"; +"bookmark.bookmarks_not_found" = "No sessions registered"; +"bookmark.bookmarks_not_found_note" = "Add the sessions you are interested in to your bookmarks\nand collect them!"; + "search.day" = "Day"; "search.category" = "Category"; "search.session_type" = "Session type"; diff --git a/app-ios/Modules/Sources/Assets/Resources/Strings/ja.lproj/Localizable.strings b/app-ios/Modules/Sources/Assets/Resources/Strings/ja.lproj/Localizable.strings index 7de1ad346..2b39ba7ed 100644 --- a/app-ios/Modules/Sources/Assets/Resources/Strings/ja.lproj/Localizable.strings +++ b/app-ios/Modules/Sources/Assets/Resources/Strings/ja.lproj/Localizable.strings @@ -16,6 +16,11 @@ "about.app_version" = "アプリバージョン"; "about.android_robot_description" = "The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License."; +"bookmark.title" = "Bookmarks"; +"bookmark.all_day" = "全て"; +"bookmark.bookmarks_not_found" = "登録されたセッションが\nありません"; +"bookmark.bookmarks_not_found_note" = "気になるセッションをブックマークに追加して\n集めてみましょう!"; + "search.day" = "開催日"; "search.category" = "カテゴリー"; "search.session_type" = "セッション種別"; diff --git a/app-ios/Modules/Sources/Timetable/Bookmark/BookmarkView.swift b/app-ios/Modules/Sources/Timetable/Bookmark/BookmarkView.swift index 395f06689..c3d38a1d2 100644 --- a/app-ios/Modules/Sources/Timetable/Bookmark/BookmarkView.swift +++ b/app-ios/Modules/Sources/Timetable/Bookmark/BookmarkView.swift @@ -28,7 +28,7 @@ struct BookmarkView: View { VStack(alignment: .leading, spacing: 0) { HStack { FilterLabel( - title: "全て", + title: L10n.Bookmark.allDay, isSelection: false, isSelected: viewModel.state.selectedDay == nil, onSelect: { @@ -48,6 +48,7 @@ struct BookmarkView: View { ) } } + .padding(.horizontal, 16) if timetableItems.map({ $0.items }).flatMap({ $0 }).isEmpty { BookmarkEmptyView() } else { @@ -68,7 +69,7 @@ struct BookmarkView: View { } } .background(AssetColors.Surface.surface.swiftUIColor) - .navigationTitle("Bookmark") + .navigationTitle(L10n.Bookmark.title) } } @@ -82,12 +83,12 @@ private struct BookmarkEmptyView: View { .background(AssetColors.Secondary.secondaryContainer.swiftUIColor) .clipShape(RoundedRectangle(cornerRadius: 24)) Spacer().frame(height: 24) - Text("登録されたセッションがありません") + Text(L10n.Bookmark.bookmarksNotFound) .font(Font.custom(FontAssets.Montserrat.medium, size: 22)) .multilineTextAlignment(.center) .foregroundStyle(AssetColors.Surface.onSurface.swiftUIColor) Spacer().frame(height: 8) - Text("気になるセッションをブックマークに追加して集めてみましょう!") + Text(L10n.Bookmark.bookmarksNotFoundNote) .font(Font.custom(FontAssets.Montserrat.medium, size: 14)) .multilineTextAlignment(.center) .foregroundStyle(AssetColors.Surface.onSurfaceVariant.swiftUIColor)