From 9647d1fd6e3fd0dabdcbc4868bb6035f5823eba0 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Fri, 25 Nov 2022 16:35:25 +0100 Subject: [PATCH] feat: added an option to make the pictogram transparent when no activity (#1177) --- Kit/Widgets/BarChart.swift | 1 - Kit/Widgets/Speed.swift | 51 ++++++++++++++----- .../bg.lproj/Localizable.strings | 1 + .../ca.lproj/Localizable.strings | 1 + .../cs.lproj/Localizable.strings | 1 + .../da.lproj/Localizable.strings | 1 + .../de.lproj/Localizable.strings | 1 + .../el.lproj/Localizable.strings | 1 + .../en.lproj/Localizable.strings | 1 + .../es.lproj/Localizable.strings | 1 + .../fa.lproj/Localizable.strings | 1 + .../fr.lproj/Localizable.strings | 1 + .../he.lproj/Localizable.strings | 1 + .../hr.lproj/Localizable.strings | 1 + .../hu.lproj/Localizable.strings | 1 + .../id.lproj/Localizable.strings | 1 + .../it.lproj/Localizable.strings | 1 + .../ja.lproj/Localizable.strings | 1 + .../ko.lproj/Localizable.strings | 1 + .../nb.lproj/Localizable.strings | 1 + .../nl.lproj/Localizable.strings | 1 + .../pl.lproj/Localizable.strings | 1 + .../pt-BR.lproj/Localizable.strings | 1 + .../pt-PT.lproj/Localizable.strings | 1 + .../ro.lproj/Localizable.strings | 1 + .../ru.lproj/Localizable.strings | 1 + .../sl.lproj/Localizable.strings | 1 + .../sv.lproj/Localizable.strings | 1 + .../tr.lproj/Localizable.strings | 1 + .../uk.lproj/Localizable.strings | 1 + .../vi.lproj/Localizable.strings | 1 + .../zh-Hans.lproj/Localizable.strings | 1 + .../zh-Hant.lproj/Localizable.strings | 1 + 33 files changed, 70 insertions(+), 13 deletions(-) diff --git a/Kit/Widgets/BarChart.swift b/Kit/Widgets/BarChart.swift index 57289e9a..aeb45b92 100644 --- a/Kit/Widgets/BarChart.swift +++ b/Kit/Widgets/BarChart.swift @@ -330,7 +330,6 @@ public class BarChart: WidgetWrapper { self.colorState = newColor } - print(key) Store.shared.set(key: "\(self.title)_\(self.type.rawValue)_color", value: key) self.display() } diff --git a/Kit/Widgets/Speed.swift b/Kit/Widgets/Speed.swift index 8dd0a0f9..d5c658fa 100644 --- a/Kit/Widgets/Speed.swift +++ b/Kit/Widgets/Speed.swift @@ -19,6 +19,7 @@ public class SpeedWidget: WidgetWrapper { private var unitsState: Bool = true private var monochromeState: Bool = false private var valueColorState: Bool = false + private var transparentIconsState: Bool = false private var downloadColorState: Color = .secondBlue private var uploadColorState: Color = .secondRed @@ -34,16 +35,16 @@ public class SpeedWidget: WidgetWrapper { private var width: CGFloat = 58 private var valueColorView: NSView? = nil + private var transparentIconView: NSView? = nil private var downloadColor: NSColor { - get { - return self.monochromeState ? MonochromeColor.blue : (self.downloadColorState.additional as? NSColor ?? NSColor.systemBlue) - } + self.monochromeState ? MonochromeColor.blue : (self.downloadColorState.additional as? NSColor ?? NSColor.systemBlue) } private var uploadColor: NSColor { - get { - return self.monochromeState ? MonochromeColor.red : (self.uploadColorState.additional as? NSColor ?? NSColor.red) - } + self.monochromeState ? MonochromeColor.red : (self.uploadColorState.additional as? NSColor ?? NSColor.red) + } + private var noActivityColor: NSColor { + self.transparentIconsState ? NSColor.clear : NSColor.textColor } public init(title: String, config: NSDictionary?, preview: Bool = false) { @@ -75,6 +76,7 @@ public class SpeedWidget: WidgetWrapper { self.valueColorState = Store.shared.bool(key: "\(self.title)_\(self.type.rawValue)_valueColor", defaultValue: self.valueColorState) self.downloadColorState = Color.fromString(Store.shared.string(key: "\(self.title)_\(self.type.rawValue)_downloadColor", defaultValue: self.downloadColorState.key)) self.uploadColorState = Color.fromString(Store.shared.string(key: "\(self.title)_\(self.type.rawValue)_uploadColor", defaultValue: self.uploadColorState.key)) + self.transparentIconsState = Store.shared.bool(key: "\(self.title)_\(self.type.rawValue)_transparentIcons", defaultValue: self.transparentIconsState) } if self.valueState && self.icon != "none" { @@ -157,12 +159,12 @@ public class SpeedWidget: WidgetWrapper { var downloadCircle = NSBezierPath() downloadCircle = NSBezierPath(ovalIn: CGRect(x: Constants.Widget.margin.x, y: y-0.2, width: size, height: size)) - (self.downloadValue >= 1_024 ? self.downloadColor : NSColor.textColor).set() + (self.downloadValue >= 1_024 ? self.downloadColor : self.noActivityColor).set() downloadCircle.fill() var uploadCircle = NSBezierPath() uploadCircle = NSBezierPath(ovalIn: CGRect(x: Constants.Widget.margin.x, y: 10.5, width: size, height: size)) - (self.uploadValue >= 1_024 ? self.uploadColor : NSColor.textColor).set() + (self.uploadValue >= 1_024 ? self.uploadColor : self.noActivityColor).set() uploadCircle.fill() } @@ -182,7 +184,7 @@ public class SpeedWidget: WidgetWrapper { arrowAngle: arrowAngle ) - (self.downloadValue >= 1_024 ? self.downloadColor : NSColor.textColor).set() + (self.downloadValue >= 1_024 ? self.downloadColor : self.noActivityColor).set() downloadArrow.lineWidth = lineWidth downloadArrow.stroke() downloadArrow.close() @@ -195,7 +197,7 @@ public class SpeedWidget: WidgetWrapper { arrowAngle: arrowAngle ) - (self.uploadValue >= 1_024 ? self.uploadColor : NSColor.textColor).set() + (self.uploadValue >= 1_024 ? self.uploadColor : self.noActivityColor).set() uploadArrow.lineWidth = lineWidth uploadArrow.stroke() uploadArrow.close() @@ -207,7 +209,7 @@ public class SpeedWidget: WidgetWrapper { if self.symbols.count > 1 { let downloadAttributes = [ NSAttributedString.Key.font: NSFont.systemFont(ofSize: 9, weight: .regular), - NSAttributedString.Key.foregroundColor: self.downloadValue >= 1_024 ? self.downloadColor : NSColor.textColor, + NSAttributedString.Key.foregroundColor: self.downloadValue >= 1_024 ? self.downloadColor : self.noActivityColor, NSAttributedString.Key.paragraphStyle: NSMutableParagraphStyle() ] let rect = CGRect(x: Constants.Widget.margin.x, y: 1, width: 8, height: rowHeight) @@ -218,7 +220,7 @@ public class SpeedWidget: WidgetWrapper { if !self.symbols.isEmpty { let uploadAttributes = [ NSAttributedString.Key.font: NSFont.systemFont(ofSize: 9, weight: .regular), - NSAttributedString.Key.foregroundColor: self.uploadValue >= 1_024 ? self.uploadColor : NSColor.textColor, + NSAttributedString.Key.foregroundColor: self.uploadValue >= 1_024 ? self.uploadColor : self.noActivityColor, NSAttributedString.Key.paragraphStyle: NSMutableParagraphStyle() ] let rect = CGRect(x: Constants.Widget.margin.x, y: rowHeight+1, width: 8, height: rowHeight) @@ -237,6 +239,16 @@ public class SpeedWidget: WidgetWrapper { selected: self.icon )) + self.transparentIconView = toggleSettingRow( + title: localizedString("Transparent pictogram when no activity"), + action: #selector(toggleTransparentIcons), + state: self.transparentIconsState + ) + if let v = self.transparentIconView { + view.addArrangedSubview(v) + findAndToggleEnableNSControlState(v, state: self.icon != "none") + } + view.addArrangedSubview(selectSettingsRow( title: localizedString("Base"), action: #selector(toggleBase), @@ -337,6 +349,8 @@ public class SpeedWidget: WidgetWrapper { NotificationCenter.default.post(name: .toggleModule, object: nil, userInfo: ["module": self.title, "state": true]) self.state = true } + + findAndToggleEnableNSControlState(self.transparentIconView, state: self.icon != "none") } @objc private func toggleBase(_ sender: NSMenuItem) { @@ -408,4 +422,17 @@ public class SpeedWidget: WidgetWrapper { }) } } + + @objc private func toggleTransparentIcons(_ sender: NSControl) { + var state: NSControl.StateValue? = nil + if #available(OSX 10.15, *) { + state = sender is NSSwitch ? (sender as! NSSwitch).state: nil + } else { + state = sender is NSButton ? (sender as! NSButton).state: nil + } + self.transparentIconsState = state! == .on ? true : false + + Store.shared.set(key: "\(self.title)_\(self.type.rawValue)_transparentIcons", value: self.transparentIconsState) + self.display() + } } diff --git a/Stats/Supporting Files/bg.lproj/Localizable.strings b/Stats/Supporting Files/bg.lproj/Localizable.strings index d735d783..66d29525 100644 --- a/Stats/Supporting Files/bg.lproj/Localizable.strings +++ b/Stats/Supporting Files/bg.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Цвят на неактивното състояние"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Оставете празно, за да изключите проверката"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Ниво"; diff --git a/Stats/Supporting Files/ca.lproj/Localizable.strings b/Stats/Supporting Files/ca.lproj/Localizable.strings index f66b013d..96c70a5e 100644 --- a/Stats/Supporting Files/ca.lproj/Localizable.strings +++ b/Stats/Supporting Files/ca.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nivell"; diff --git a/Stats/Supporting Files/cs.lproj/Localizable.strings b/Stats/Supporting Files/cs.lproj/Localizable.strings index 0c2c2552..fabbbb35 100644 --- a/Stats/Supporting Files/cs.lproj/Localizable.strings +++ b/Stats/Supporting Files/cs.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Barva neaktivního stavu"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Úroveň"; diff --git a/Stats/Supporting Files/da.lproj/Localizable.strings b/Stats/Supporting Files/da.lproj/Localizable.strings index 158b3b6c..b62539d8 100644 --- a/Stats/Supporting Files/da.lproj/Localizable.strings +++ b/Stats/Supporting Files/da.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Niveau"; diff --git a/Stats/Supporting Files/de.lproj/Localizable.strings b/Stats/Supporting Files/de.lproj/Localizable.strings index 4835d7da..de42370d 100644 --- a/Stats/Supporting Files/de.lproj/Localizable.strings +++ b/Stats/Supporting Files/de.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Ladezustand"; diff --git a/Stats/Supporting Files/el.lproj/Localizable.strings b/Stats/Supporting Files/el.lproj/Localizable.strings index f024b816..956bdca6 100644 --- a/Stats/Supporting Files/el.lproj/Localizable.strings +++ b/Stats/Supporting Files/el.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Επίπεδο"; diff --git a/Stats/Supporting Files/en.lproj/Localizable.strings b/Stats/Supporting Files/en.lproj/Localizable.strings index 125f3cfb..59362aca 100644 --- a/Stats/Supporting Files/en.lproj/Localizable.strings +++ b/Stats/Supporting Files/en.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Level"; diff --git a/Stats/Supporting Files/es.lproj/Localizable.strings b/Stats/Supporting Files/es.lproj/Localizable.strings index 9fdafa5b..e86e1475 100644 --- a/Stats/Supporting Files/es.lproj/Localizable.strings +++ b/Stats/Supporting Files/es.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nivel"; diff --git a/Stats/Supporting Files/fa.lproj/Localizable.strings b/Stats/Supporting Files/fa.lproj/Localizable.strings index 5f1bfb8b..a613b7b6 100644 --- a/Stats/Supporting Files/fa.lproj/Localizable.strings +++ b/Stats/Supporting Files/fa.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "رنگ حالت غیر فعال"; "Connectivity host (ICMP)" = "میزبان اتصال (ICMP)"; "Leave empty to disable the check" = "خالی بگذارید تا بررسی غیرفعال شود"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "سطح"; diff --git a/Stats/Supporting Files/fr.lproj/Localizable.strings b/Stats/Supporting Files/fr.lproj/Localizable.strings index c9935b2c..584f6823 100644 --- a/Stats/Supporting Files/fr.lproj/Localizable.strings +++ b/Stats/Supporting Files/fr.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Niveau"; diff --git a/Stats/Supporting Files/he.lproj/Localizable.strings b/Stats/Supporting Files/he.lproj/Localizable.strings index 9c6e9a76..a0459dfe 100644 --- a/Stats/Supporting Files/he.lproj/Localizable.strings +++ b/Stats/Supporting Files/he.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "רמה"; diff --git a/Stats/Supporting Files/hr.lproj/Localizable.strings b/Stats/Supporting Files/hr.lproj/Localizable.strings index 77482b8d..c5e51feb 100644 --- a/Stats/Supporting Files/hr.lproj/Localizable.strings +++ b/Stats/Supporting Files/hr.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Stanje"; diff --git a/Stats/Supporting Files/hu.lproj/Localizable.strings b/Stats/Supporting Files/hu.lproj/Localizable.strings index 4cafad9c..a00a8eb0 100644 --- a/Stats/Supporting Files/hu.lproj/Localizable.strings +++ b/Stats/Supporting Files/hu.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Töltöttségi szint"; diff --git a/Stats/Supporting Files/id.lproj/Localizable.strings b/Stats/Supporting Files/id.lproj/Localizable.strings index 3f39a55f..939c6672 100644 --- a/Stats/Supporting Files/id.lproj/Localizable.strings +++ b/Stats/Supporting Files/id.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Level"; diff --git a/Stats/Supporting Files/it.lproj/Localizable.strings b/Stats/Supporting Files/it.lproj/Localizable.strings index dc345da4..b909a34f 100644 --- a/Stats/Supporting Files/it.lproj/Localizable.strings +++ b/Stats/Supporting Files/it.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Livello"; diff --git a/Stats/Supporting Files/ja.lproj/Localizable.strings b/Stats/Supporting Files/ja.lproj/Localizable.strings index 753925b6..6037d38d 100644 --- a/Stats/Supporting Files/ja.lproj/Localizable.strings +++ b/Stats/Supporting Files/ja.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "充電残量"; diff --git a/Stats/Supporting Files/ko.lproj/Localizable.strings b/Stats/Supporting Files/ko.lproj/Localizable.strings index 8ea1b998..128c77b3 100644 --- a/Stats/Supporting Files/ko.lproj/Localizable.strings +++ b/Stats/Supporting Files/ko.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "잔량"; diff --git a/Stats/Supporting Files/nb.lproj/Localizable.strings b/Stats/Supporting Files/nb.lproj/Localizable.strings index 4a6ddac8..d16afbde 100644 --- a/Stats/Supporting Files/nb.lproj/Localizable.strings +++ b/Stats/Supporting Files/nb.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nivå"; diff --git a/Stats/Supporting Files/nl.lproj/Localizable.strings b/Stats/Supporting Files/nl.lproj/Localizable.strings index 95d74865..1eb3b222 100644 --- a/Stats/Supporting Files/nl.lproj/Localizable.strings +++ b/Stats/Supporting Files/nl.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Niveau"; diff --git a/Stats/Supporting Files/pl.lproj/Localizable.strings b/Stats/Supporting Files/pl.lproj/Localizable.strings index 27bff72c..1b9d401a 100644 --- a/Stats/Supporting Files/pl.lproj/Localizable.strings +++ b/Stats/Supporting Files/pl.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Kolor stanu nieaktywnego"; "Connectivity host (ICMP)" = "Host łączności (ICMP)"; "Leave empty to disable the check" = "Pozostaw puste, aby wyłączyć sprawdzanie"; +"Transparent pictogram when no activity" = "Przejrzysty piktogram, przy braku aktywności"; // Battery "Level" = "Poziom naładowania"; diff --git a/Stats/Supporting Files/pt-BR.lproj/Localizable.strings b/Stats/Supporting Files/pt-BR.lproj/Localizable.strings index 268a03c9..c539f67f 100644 --- a/Stats/Supporting Files/pt-BR.lproj/Localizable.strings +++ b/Stats/Supporting Files/pt-BR.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nível"; diff --git a/Stats/Supporting Files/pt-PT.lproj/Localizable.strings b/Stats/Supporting Files/pt-PT.lproj/Localizable.strings index 5428a892..e1e602dd 100644 --- a/Stats/Supporting Files/pt-PT.lproj/Localizable.strings +++ b/Stats/Supporting Files/pt-PT.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nível"; diff --git a/Stats/Supporting Files/ro.lproj/Localizable.strings b/Stats/Supporting Files/ro.lproj/Localizable.strings index 176b6f3d..13113753 100644 --- a/Stats/Supporting Files/ro.lproj/Localizable.strings +++ b/Stats/Supporting Files/ro.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nivel"; diff --git a/Stats/Supporting Files/ru.lproj/Localizable.strings b/Stats/Supporting Files/ru.lproj/Localizable.strings index 6d790ed3..6d05a5f6 100644 --- a/Stats/Supporting Files/ru.lproj/Localizable.strings +++ b/Stats/Supporting Files/ru.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Цвет неактивного состояния"; "Connectivity host (ICMP)" = "Хост подключения (ICMP)"; "Leave empty to disable the check" = "Оставьте пустым, чтобы отключить проверку"; +"Transparent pictogram when no activity" = "Прозрачная пиктограмма при отсутствии активности"; // Battery "Level" = "Уровень заряда"; diff --git a/Stats/Supporting Files/sl.lproj/Localizable.strings b/Stats/Supporting Files/sl.lproj/Localizable.strings index 9be4cdfd..9c02d2ec 100644 --- a/Stats/Supporting Files/sl.lproj/Localizable.strings +++ b/Stats/Supporting Files/sl.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Barva neaktivnega stanja"; "Connectivity host (ICMP)" = "Gostitelj za preverjanje povezljivosti (ICMP)"; "Leave empty to disable the check" = "Pustite prazno, če želite onemogočiti preverjanje povezljivosti"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Raven"; diff --git a/Stats/Supporting Files/sv.lproj/Localizable.strings b/Stats/Supporting Files/sv.lproj/Localizable.strings index 5fcfa064..75a6cc6e 100644 --- a/Stats/Supporting Files/sv.lproj/Localizable.strings +++ b/Stats/Supporting Files/sv.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Nivå"; diff --git a/Stats/Supporting Files/tr.lproj/Localizable.strings b/Stats/Supporting Files/tr.lproj/Localizable.strings index c1bd07f6..12e73499 100644 --- a/Stats/Supporting Files/tr.lproj/Localizable.strings +++ b/Stats/Supporting Files/tr.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Etkin olmayan durum rengi"; "Connectivity host (ICMP)" = "Bağlantı sunucusu (ICMP)"; "Leave empty to disable the check" = "Kontrolü devre dışı bırakmak için boş bırakın"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Doluluk"; diff --git a/Stats/Supporting Files/uk.lproj/Localizable.strings b/Stats/Supporting Files/uk.lproj/Localizable.strings index ed27dcac..69a3ac88 100644 --- a/Stats/Supporting Files/uk.lproj/Localizable.strings +++ b/Stats/Supporting Files/uk.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Колір неактивного стану"; "Connectivity host (ICMP)" = "Хост підключення (ICMP)"; "Leave empty to disable the check" = "Залиште пустим, щоб вимкнути перевірку"; +"Transparent pictogram when no activity" = "Прозора піктограма, коли немає активності"; // Battery "Level" = "Рівень заряду"; diff --git a/Stats/Supporting Files/vi.lproj/Localizable.strings b/Stats/Supporting Files/vi.lproj/Localizable.strings index 6d6cfd84..c9527f71 100644 --- a/Stats/Supporting Files/vi.lproj/Localizable.strings +++ b/Stats/Supporting Files/vi.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "Nonactive state color"; "Connectivity host (ICMP)" = "Connectivity host (ICMP)"; "Leave empty to disable the check" = "Leave empty to disable the check"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "Dung lượng Pin"; diff --git a/Stats/Supporting Files/zh-Hans.lproj/Localizable.strings b/Stats/Supporting Files/zh-Hans.lproj/Localizable.strings index 59f825d1..f755f37d 100644 --- a/Stats/Supporting Files/zh-Hans.lproj/Localizable.strings +++ b/Stats/Supporting Files/zh-Hans.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "非活跃状态颜色"; "Connectivity host (ICMP)" = "连接Host (ICMP)"; "Leave empty to disable the check" = "不在该选项内输入以禁用检查"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "电量"; diff --git a/Stats/Supporting Files/zh-Hant.lproj/Localizable.strings b/Stats/Supporting Files/zh-Hant.lproj/Localizable.strings index 99f372ae..29cc5692 100644 --- a/Stats/Supporting Files/zh-Hant.lproj/Localizable.strings +++ b/Stats/Supporting Files/zh-Hant.lproj/Localizable.strings @@ -307,6 +307,7 @@ "Nonactive state color" = "未連線狀態色彩"; "Connectivity host (ICMP)" = "連線主機 (ICMP)"; "Leave empty to disable the check" = "留空來停用檢查"; +"Transparent pictogram when no activity" = "Transparent pictogram when no activity"; // Battery "Level" = "電量";