Explorar o código

"Replace pod" will now be localized (#77)

(cherry picked from commit a65b4d96cd08471720aa6d313b7531c76dca82e1)
Jon B Mårtensson %!s(int64=4) %!d(string=hai) anos
pai
achega
9a920aa243
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Header/PumpView.swift

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Header/PumpView.swift

@@ -63,7 +63,7 @@ struct PumpView: View {
 
     private func remainingTimeString(time: TimeInterval) -> String {
         guard time > 0 else {
-            return "Replace pod"
+            return NSLocalizedString("Replace pod", comment: "View/Header when pod expired")
         }
 
         var time = time