소스 검색

More Watch App localizations

Jon Mårtensson 4 년 전
부모
커밋
fef35f140a

+ 3 - 0
FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings

@@ -67,6 +67,9 @@
 /* Add carbs screen */
 "Add Carbs" = "Add Carbs";
 
+/* Add carbs header in Watch app */
+"Add Carbs " = "Add Carbs ";
+
 /*  */
 "Amount Carbs" = "Amount Carbs";
 

+ 3 - 0
FreeAPS/Sources/Localizations/Main/sv.lproj/Localizable.strings

@@ -67,6 +67,9 @@
 /* Add carbs screen */
 "Add Carbs" = "Lägg till kolhydrater";
 
+/* Add carbs header and button in Watch app. You can skip the last " " space. It's just for differentation */
+"Add Carbs " = "Kolhydrater";
+
 /*  */
 "Amount Carbs" = "Mängd kolhydrater";
 

+ 2 - 2
FreeAPSWatch WatchKit Extension/Views/CarbsView.swift

@@ -53,12 +53,12 @@ struct CarbsView: View {
                         .resizable()
                         .frame(width: 24, height: 24)
                         .foregroundColor(.loopGreen)
-                    Text("Add Carbs")
+                    Text("Add Carbs ")
                 }
             }
             .disabled(amount <= 0)
         }
-        .navigationTitle("Add Carbs")
+        .navigationTitle("Add Carbs ")
         .onAppear {
             amount = Double(state.carbsRequired ?? 0)
         }