Explorar o código

Linting fix; update localizations

Deniz Cengiz hai 1 ano
pai
achega
a157c5a92a

+ 1 - 0
Trio/Sources/Localizations/Main/Localizable.xcstrings

@@ -211529,6 +211529,7 @@
       }
     },
     "Trio Website" : {
+      "extractionState" : "stale",
       "localizations" : {
         "bg" : {
           "stringUnit" : {

+ 20 - 5
Trio/Sources/Modules/Settings/SettingItems.swift

@@ -31,11 +31,26 @@ struct FilteredSettingItem: Identifiable {
 enum SettingItems {
     static let trioConfig = [
         SettingItem(title: String(localized: "Devices", comment: "Devices menu item in the Settings main view."), view: .devices),
-        SettingItem(title: String(localized: "Therapy", comment: "Therapy menu item in the Settings main view."), view: .therapySettings),
-        SettingItem(title: String(localized: "Algorithm", comment: "Algorithm menu item in the Settings main view."), view: .algorithmSettings),
-        SettingItem(title: String(localized: "Features", comment: "Features menu item in the Settings main view."), view: .featureSettings),
-        SettingItem(title: String(localized: "Notifications", comment: "Notifications menu item in the Settings main view."), view: .notificationSettings),
-        SettingItem(title: String(localized: "Services", comment: "Services menu item in the Settings main view."), view: .serviceSettings)
+        SettingItem(
+            title: String(localized: "Therapy", comment: "Therapy menu item in the Settings main view."),
+            view: .therapySettings
+        ),
+        SettingItem(
+            title: String(localized: "Algorithm", comment: "Algorithm menu item in the Settings main view."),
+            view: .algorithmSettings
+        ),
+        SettingItem(
+            title: String(localized: "Features", comment: "Features menu item in the Settings main view."),
+            view: .featureSettings
+        ),
+        SettingItem(
+            title: String(localized: "Notifications", comment: "Notifications menu item in the Settings main view."),
+            view: .notificationSettings
+        ),
+        SettingItem(
+            title: String(localized: "Services", comment: "Services menu item in the Settings main view."),
+            view: .serviceSettings
+        )
     ]
 
     static let devicesItems = [