From ece4d338046b606416a89ecdc560bee292b1db96 Mon Sep 17 00:00:00 2001 From: marionbarker Date: Fri, 16 Jan 2026 06:54:28 -0800 Subject: [PATCH 1/3] Live-Activity: short labels for display, long labels for description --- LoopCore/LiveActivitySettings.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/LoopCore/LiveActivitySettings.swift b/LoopCore/LiveActivitySettings.swift index ef37a88f2..ef3e44986 100644 --- a/LoopCore/LiveActivitySettings.swift +++ b/LoopCore/LiveActivitySettings.swift @@ -23,9 +23,9 @@ public enum BottomRowConfiguration: Codable { public func name() -> String { switch self { case .iob: - return NSLocalizedString("Active Insulin", comment: "") + return NSLocalizedString("IOB", comment: "") case .cob: - return NSLocalizedString("Active Carbs", comment: "") + return NSLocalizedString("COB", comment: "") case .basal: return NSLocalizedString("Basal", comment: "") case .currentBg: @@ -35,7 +35,7 @@ public enum BottomRowConfiguration: Codable { case .deltaBg: return NSLocalizedString("Delta", comment: "") case .updatedAt: - return NSLocalizedString("Updated", comment: "") + return NSLocalizedString("at", comment: "") } } @@ -46,13 +46,13 @@ public enum BottomRowConfiguration: Codable { case .cob: return NSLocalizedString("Active Carbohydrates", comment: "") case .basal: - return NSLocalizedString("Basal", comment: "") + return NSLocalizedString("Relative Basal Rate", comment: "") case .currentBg: return NSLocalizedString("Current Glucose", comment: "") case .eventualBg: - return NSLocalizedString("Eventually", comment: "") + return NSLocalizedString("Eventual Glucose", comment: "") case .deltaBg: - return NSLocalizedString("Delta", comment: "") + return NSLocalizedString("Delta Glucose", comment: "") case .updatedAt: return NSLocalizedString("Updated at", comment: "") } From 28dd3e743a19be1de8fcc38f7d05fde63bd49fde Mon Sep 17 00:00:00 2001 From: marionbarker Date: Fri, 16 Jan 2026 06:55:36 -0800 Subject: [PATCH 2/3] Enable autoscaling in Live Activity widget to prevent truncation --- Loop Widget Extension/Live Activity/BasalViewActivity.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Loop Widget Extension/Live Activity/BasalViewActivity.swift b/Loop Widget Extension/Live Activity/BasalViewActivity.swift index 915335c5f..4342100fa 100644 --- a/Loop Widget Extension/Live Activity/BasalViewActivity.swift +++ b/Loop Widget Extension/Live Activity/BasalViewActivity.swift @@ -25,10 +25,14 @@ struct BasalViewActivity: View { if let rateString = decimalFormatter.string(from: NSNumber(value: rate)) { Text("\(rateString)U") .font(.subheadline) + .minimumScaleFactor(0.5) + .lineLimit(2) } else { Text("-U") .font(.subheadline) + .minimumScaleFactor(0.5) + .lineLimit(2) } } } From f651548f0c5f10193a03afb3d8d5d6d9bdc319aa Mon Sep 17 00:00:00 2001 From: marionbarker Date: Fri, 16 Jan 2026 07:00:19 -0800 Subject: [PATCH 3/3] update string catalog for Live Activity modifications --- .../Bootstrap/Localizable.xcstrings | 5 +-- LoopCore/Localizable.xcstrings | 36 ++++++++++++------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/Loop Widget Extension/Bootstrap/Localizable.xcstrings b/Loop Widget Extension/Bootstrap/Localizable.xcstrings index 17bac774e..0f623cee6 100644 --- a/Loop Widget Extension/Bootstrap/Localizable.xcstrings +++ b/Loop Widget Extension/Bootstrap/Localizable.xcstrings @@ -440,7 +440,8 @@ } }, "%@U" : { - + "comment" : "A label displaying the basal insulin rate in micro-units (U).", + "isCommentAutoGenerated" : true }, "%1$@ v%2$@" : { "comment" : "The format string for the app name and version number. (1: bundle name)(2: bundle version)", @@ -1553,5 +1554,5 @@ } } }, - "version" : "1.0" + "version" : "1.1" } \ No newline at end of file diff --git a/LoopCore/Localizable.xcstrings b/LoopCore/Localizable.xcstrings index 28eac3f1a..55f478be2 100644 --- a/LoopCore/Localizable.xcstrings +++ b/LoopCore/Localizable.xcstrings @@ -130,14 +130,14 @@ "comment" : "Description of a bottom row configuration option for active carbohydrates.", "isCommentAutoGenerated" : true }, - "Active Carbs" : { - "comment" : "Name of the \"Active Carbs\" option in the Live Activity settings.", - "isCommentAutoGenerated" : true - }, "Active Insulin" : { "comment" : "Name of the active insulin value in the bottom row.", "isCommentAutoGenerated" : true }, + "at" : { + "comment" : "Label for the timestamp in the Live Activity.", + "isCommentAutoGenerated" : true + }, "Automatic Bolus" : { "comment" : "Title string for automatic bolus dosing strategy", "localizations" : { @@ -231,8 +231,12 @@ "comment" : "Name of the basal insulin rate.", "isCommentAutoGenerated" : true }, + "COB" : { + "comment" : "Name of the COB value in the Live Activity.", + "isCommentAutoGenerated" : true + }, "Current BG" : { - "comment" : "Name of a bottom row item that shows the current blood glucose level.", + "comment" : "Name of a bottom row item that shows the current glucose value.", "isCommentAutoGenerated" : true }, "Current Glucose" : { @@ -243,22 +247,34 @@ "comment" : "The name of the delta BG value.", "isCommentAutoGenerated" : true }, + "Delta Glucose" : { + "comment" : "Description of a bottom row configuration option that shows the delta glucose value.", + "isCommentAutoGenerated" : true + }, "Eventual BG" : { - "comment" : "Description of a bottom row configuration option for displaying the eventual glucose value.", + "comment" : "Name of a bottom row item that shows the eventual glucose value.", "isCommentAutoGenerated" : true }, - "Eventually" : { - "comment" : "Description of a glucose value that is expected to change in the future.", + "Eventual Glucose" : { + "comment" : "Description of a bottom row configuration option that shows the eventual glucose value.", "isCommentAutoGenerated" : true }, "In which mode do you want to render the Live Activity" : { "comment" : "Description of a setting that allows the user to choose between a large or small display of the Live Activity.", "isCommentAutoGenerated" : true }, + "IOB" : { + "comment" : "Name of a bottom row configuration option for IOB (Insulin On Board).", + "isCommentAutoGenerated" : true + }, "Large" : { "comment" : "Name of the \"Large\" Live Activity mode.", "isCommentAutoGenerated" : true }, + "Relative Basal Rate" : { + "comment" : "Description of a bottom row configuration option for the basal rate.", + "isCommentAutoGenerated" : true + }, "Small" : { "comment" : "Name of the \"Small\" Live Activity mode.", "isCommentAutoGenerated" : true @@ -352,10 +368,6 @@ } } }, - "Updated" : { - "comment" : "Name of the \"Updated\" option in the Live Activity settings.", - "isCommentAutoGenerated" : true - }, "Updated at" : { "comment" : "Label for the date and time when the last update was made.", "isCommentAutoGenerated" : true