Prechádzať zdrojové kódy

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

(cherry picked from commit a65b4d96cd08471720aa6d313b7531c76dca82e1)
Jon B Mårtensson 4 rokov pred
rodič
commit
9a920aa243

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

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