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

Move strings to our own localization

Sam King 1 год назад
Родитель
Сommit
fcffa914ab

+ 4 - 4
Trio/Sources/APS/PluginManager.swift

@@ -23,22 +23,22 @@ class BasePluginManager: Injectable, PluginManager {
     static let cgms = [
         CgmPluginDescription(
             pluginIdentifier: G5CGMManager.pluginIdentifier,
-            localizedTitle: "Dexcom G5",
+            localizedTitle: String(localized: "Dexcom G5"),
             manager: G5CGMManager.self
         ),
         CgmPluginDescription(
             pluginIdentifier: G6CGMManager.pluginIdentifier,
-            localizedTitle: "Dexcom G6 / ONE",
+            localizedTitle: String(localized: "Dexcom G6 / ONE"),
             manager: G6CGMManager.self
         ),
         CgmPluginDescription(
             pluginIdentifier: G7CGMManager.pluginIdentifier,
-            localizedTitle: "Dexcom G7 / ONE+",
+            localizedTitle: String(localized: "Dexcom G7 / ONE+"),
             manager: G7CGMManager.self
         ),
         CgmPluginDescription(
             pluginIdentifier: LibreTransmitterManagerV3.pluginIdentifier,
-            localizedTitle: "FreeStyle Libre",
+            localizedTitle: String(localized: "FreeStyle Libre"),
             manager: LibreTransmitterManagerV3.self
         )
     ]

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

@@ -65243,6 +65243,12 @@
         }
       }
     },
+    "Dexcom G5" : {
+
+    },
+    "Dexcom G6 / ONE" : {
+
+    },
     "Dexcom G6 app" : {
       "comment" : "Dexcom G6 app",
       "extractionState" : "manual",
@@ -65351,6 +65357,9 @@
         }
       }
     },
+    "Dexcom G7 / ONE+" : {
+
+    },
     "DIA" : {
       "localizations" : {
         "bg" : {
@@ -87528,6 +87537,9 @@
         }
       }
     },
+    "FreeStyle Libre" : {
+
+    },
     "From" : {
       "localizations" : {
         "bg" : {