diff options
| author | Fuwn <[email protected]> | 2026-02-23 13:31:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-23 13:33:43 -0800 |
| commit | 2dd5ad49c5b70471dd17045a7bea6f49d97ef9d9 (patch) | |
| tree | 321be2a11ebfe7b13f51bd2a88b9a011affe6299 /Sora/Views/FavoritesView.swift | |
| parent | chore: sync string catalog from xcode rebuild (diff) | |
| download | sora-testing-2dd5ad49c5b70471dd17045a7bea6f49d97ef9d9.tar.xz sora-testing-2dd5ad49c5b70471dd17045a7bea6f49d97ef9d9.zip | |
feat: localize accessibility fallback and value strings
Diffstat (limited to 'Sora/Views/FavoritesView.swift')
| -rw-r--r-- | Sora/Views/FavoritesView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Sora/Views/FavoritesView.swift b/Sora/Views/FavoritesView.swift index 3f12639..7aa6841 100644 --- a/Sora/Views/FavoritesView.swift +++ b/Sora/Views/FavoritesView.swift @@ -660,14 +660,14 @@ struct FavoritesView: View { // swiftlint:disable:this type_body_length .joined(separator: ", ") if tagSummary.isEmpty { - return "Favorite post \(favorite.postId)" + return String(localized: "Favorite post \(favorite.postId)") } return tagSummary } private func favoriteAccessibilityValue(for favorite: SettingsFavoritePost) -> String { - "Rating \(favorite.rating.rawValue.uppercased()). Provider \(favorite.provider.rawValue)." + String(localized: "Rating \(favorite.rating.rawValue). Provider \(favorite.provider.rawValue).") } } |