Просмотр исходного кода

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

t1dude 1 год назад
Родитель
Сommit
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() }
                     )