Polish approved 1.0 scope and verify portable previews
This commit is contained in:
1 parent
1819f35f91
commit
2b45df2816
181 files changed
+996
-139
No files matched your search
@@ -103,20 +103,24 @@ export function mountStatistics(
|
||||
t,
|
||||
}),
|
||||
);
|
||||
const number = new Intl.NumberFormat(t("ru-RU", "en-US"), {
|
||||
minimumFractionDigits: 1,
|
||||
maximumFractionDigits: 1,
|
||||
});
|
||||
const kpis = {
|
||||
cpu: {
|
||||
label: t("CPU сейчас", "CPU now"),
|
||||
value: `${last(next.cpu).toFixed(1)} %`,
|
||||
value: `${number.format(last(next.cpu))} %`,
|
||||
values: next.cpu,
|
||||
},
|
||||
memory: {
|
||||
label: t("Память сейчас", "Memory now"),
|
||||
value: `${last(next.memory).toFixed(1)} / ${next.memoryTotal || 16} ${t("ГБ", "GB")}`,
|
||||
value: `${number.format(last(next.memory))} / ${next.memoryTotal || 16} ${t("ГБ", "GB")}`,
|
||||
values: next.memory,
|
||||
},
|
||||
network: {
|
||||
label: t("Входящий трафик", "Inbound traffic"),
|
||||
value: `${last(next.networkIn).toFixed(1)} ${t("МБ/с", "MB/s")}`,
|
||||
value: `${number.format(last(next.networkIn))} ${t("МБ/с", "MB/s")}`,
|
||||
values: next.networkIn,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user