Skip to content

Commit c815053

Browse files
make favorite food translatable
1 parent a03be57 commit c815053

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

LoopKitUI/CarbKit/AbsorptionTimePickerRow.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public struct AbsorptionTimePickerRow: View {
3535
public var body: some View {
3636
VStack(alignment: .leading, spacing: 0) {
3737
HStack {
38-
Text("Absorption Time")
38+
Text(LocalizedString("Absorption Time", comment: "Label Absorption Time in CarbKit"))
3939
.foregroundColor(.primary)
4040

4141
if showHowAbsorptionTimeWorks != nil {

LoopKitUI/CarbKit/DatePickerRow.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public struct DatePickerRow: View {
5252
public var body: some View {
5353
VStack(alignment: .leading, spacing: 0) {
5454
HStack {
55-
Text("Time")
55+
Text(LocalizedString("Time", comment: "Label Time in CarbKit"))
5656
.foregroundColor(.primary)
5757

5858
Spacer()

LoopKitUI/CarbKit/FoodTypeRow.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public struct FoodTypeRow: View {
4141
public var body: some View {
4242
HStack {
4343
Text("Food Type")
44-
.foregroundColor(.primary)
44+
.foregroundColor(.primary)
4545

4646
Spacer()
4747

LoopKitUI/Resources/de.lproj/Localizable.strings

+2-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@
646646
Information about workout range relative to correction range */
647647
"This will typically be" = "Ist in der Regel ";
648648

649-
/* Label for offset from midnight picker */
649+
/* Label for offset from midnight picker
650+
Label Time in CarbKit */
650651
"Time" = "Zeit";
651652

652653
/* The schedule table view header describing the configured time zone difference from the default time zone. The substitution parameters are: (1: time zone name)(2: +/-)(3: time interval) */

0 commit comments

Comments
 (0)