This commit is contained in:
Serhiy Mytrovtsiy
2024-04-21 12:44:14 +02:00
parent 495b5b3b50
commit 368be82837
6 changed files with 11 additions and 10 deletions

View File

@@ -263,7 +263,8 @@ public class Disk: Module {
switch w.item {
case let widget as Mini: widget.setValue(d.percentage)
case let widget as BarChart: widget.setValue([[ColorValue(d.percentage)]])
case let widget as MemoryWidget: widget.setValue((DiskSize(d.free).getReadableMemory(), DiskSize(d.size - d.free).getReadableMemory()))
case let widget as MemoryWidget:
widget.setValue((DiskSize(d.free).getReadableMemory(), DiskSize(d.size - d.free).getReadableMemory()), usedPercentage: d.percentage)
case let widget as PieChart:
widget.setValue([
circle_segment(value: d.percentage, color: NSColor.systemBlue)

View File

@@ -2522,7 +2522,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 2.10.9;
MARKETING_VERSION = 2.10.10;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2560,7 +2560,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 2.10.9;
MARKETING_VERSION = 2.10.10;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";

View File

@@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>551</string>
<string>552</string>
<key>Description</key>
<string>Simple macOS system monitor in your menu bar</string>
<key>LSApplicationCategoryType</key>

View File

@@ -208,8 +208,8 @@
"Merge widgets" = "Pąłącz widżety";
"No available widgets to configure" = "Brak dostępnych widżetów do konfiguracji";
"No options to configure for the popup in this module" = "Brak opcji do skonfigurowania dla okienka w tym module";
"Process" = "Process";
"Kill process" = "Kill process";
"Process" = "Proces";
"Kill process" = "Zamknąć proces";
// Modules
"Number of top processes" = "Liczba procesów";

View File

@@ -208,8 +208,8 @@
"Merge widgets" = "Объединить виджеты";
"No available widgets to configure" = "Нет доступных виджетов для настройки";
"No options to configure for the popup in this module" = "Нет параметров для настройки всплывающего окна в этом модуле";
"Process" = "Process";
"Kill process" = "Kill process";
"Process" = "Процесс";
"Kill process" = "Завершить процесс";
// Modules
"Number of top processes" = "Количество процессов";

View File

@@ -208,8 +208,8 @@
"Merge widgets" = "Об’єднайти віджети";
"No available widgets to configure" = "Немає доступних віджетів для налаштування";
"No options to configure for the popup in this module" = "У цьому модулі немає параметрів для налаштування спливаючого вікна";
"Process" = "Process";
"Kill process" = "Kill process";
"Process" = "Процес";
"Kill process" = "Завершити процес";
// Modules
"Number of top processes" = "Кількість процесів";