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

Missing source strings in pod settings

(cherry picked from commit 93e2b20c73a56f779193e9a451f1abb4574f5b12)
Jon Mårtensson 4 лет назад
Родитель
Сommit
b343d6a660

+ 1 - 1
Dependencies/rileylink_ios/OmniKitUI/ViewControllers/OmnipodSettingsViewController.swift

@@ -452,7 +452,7 @@ class OmnipodSettingsViewController: RileyLinkSettingsViewController {
             case .insulinType:
                 let cell = tableView.dequeueReusableCell(withIdentifier: SettingsTableViewCell.className, for: indexPath)
                 cell.prepareForReuse()
-                cell.textLabel?.text = "Insulin Type"
+                cell.textLabel?.text = LocalizedString("Insulin Type", comment: "The title of the Insulin Type")
                 cell.detailTextLabel?.text = pumpManager.insulinType?.brandName
                 cell.accessoryType = .disclosureIndicator
                 return cell

+ 22 - 0
Dependencies/rileylink_ios/OmniKitUI/en.lproj/Localizable.strings

@@ -68,6 +68,9 @@
 /* The title of the configuration section in settings */
 "Configuration" = "Configuration";
 
+/* The title of the Insulin Type */
+"Insulin Type" = "Insulin Type";
+
 /* The title of the continue action in an action sheet */
 "Continue" = "Continue";
 
@@ -99,6 +102,12 @@
 /* The alert title for enable bolus beeps error */
 "Error enabling bolus beeps" = "Error enabling bolus beeps";
 
+/* The alert title for enable Confirmation Beeps */
+"Enable Confirmation Beeps" =  "Enable Confirmation Beeps";
+
+/* The alert title for enable Automatic Bolus Beeps */
+"Enable Automatic Bolus Beeps" ="Enable Automatic Bolus Beeps";
+
 /* The alert title for a resume error */
 "Error Resuming" = "Error Resuming";
 
@@ -229,3 +238,16 @@
 
 /* The detail text for delivered insulin when no measurement is available */
 "Unknown" = "Unknown";
+
+/* The title of the diagnostics section in settings */
+"Diagnostics" = "Diagnostics";
+
+/* The diagnostic command Read Pod Status */
+"Read Pod Status" = "Read Pod Status";
+
+/* The diagnostic command Read Pulse Log */
+"Read Pulse Log" = "Read Pulse Log";
+
+/* The title of the pod details section in settings */
+"Pod Details" = "Pod Details";
+