Преглед изворни кода

Removed stale (obsolete) translations from string catalog.
Added localization for Stat and Info buttons on Main Screen.

t1dude пре 1 година
родитељ
комит
5ed0d30c7a

Разлика између датотеке није приказан због своје велике величине
+ 16 - 1414
Trio/Sources/Localizations/Main/Localizable.xcstrings


+ 2 - 2
Trio/Sources/Modules/Home/View/HomeRootView.swift

@@ -899,7 +899,7 @@ extension Home {
                 HStack {
                     tappableButton(
                         buttonColor: (colorScheme == .dark ? Color.white : Color.black).opacity(0.8),
-                        label: "Stats",
+                        label: String(localized: "Stats", comment: "Stats icon in main view"),
                         iconString: statsIconString,
                         action: { state.showModal(for: .statistics) }
                     )
@@ -913,7 +913,7 @@ extension Home {
 
                     tappableButton(
                         buttonColor: (colorScheme == .dark ? Color.white : Color.black).opacity(0.8),
-                        label: "Info",
+                        label: String(localized: "Info", comment: "Info icon in main view"),
                         iconString: "info",
                         action: { state.isLegendPresented.toggle() }
                     )