diff --git a/extension.js b/extension.js
index 6f14df7..d6278e7 100644
--- a/extension.js
+++ b/extension.js
@@ -51,7 +51,7 @@ var VitalsMenuButton = GObject.registerClass({
this._warnings = [];
this._sensorMenuItems = {};
this._hotLabels = {};
- this._hotIcons = {};
+ this._hotItems = {};
this._groups = {};
this._widths = {};
this._numGpus = 1;
@@ -67,7 +67,8 @@ var VitalsMenuButton = GObject.registerClass({
x_align: Clutter.ActorAlign.START,
y_align: Clutter.ActorAlign.CENTER,
reactive: true,
- x_expand: true
+ x_expand: true,
+ style_class: 'vitals-panel-menu'
});
this._drawMenu();
@@ -219,8 +220,7 @@ var VitalsMenuButton = GObject.registerClass({
// removes sensors that are no longer available
if (!this._sensorMenuItems[sensor]) {
hotSensors.splice(i, 1);
- this._removeHotLabel(sensor);
- this._removeHotIcon(sensor);
+ this._removeHotItem(sensor);
}
}
@@ -255,9 +255,16 @@ var VitalsMenuButton = GObject.registerClass({
}
_createHotItem(key, value) {
- let icon = this._defaultIcon(key);
- this._hotIcons[key] = icon;
- this._menuLayout.add_child(icon)
+ let item = new St.BoxLayout({
+ style_class: 'vitals-panel-item',
+ });
+ this._hotItems[key] = item;
+ this._menuLayout.add_child(item);
+
+ if (!this._settings.get_boolean('hide-icons') || key == '_default_icon_') {
+ let icon = this._defaultIcon(key);
+ item.add_child(icon);
+ }
// don't add a label when no sensors are in the panel
if (key == '_default_icon_') return;
@@ -268,18 +275,15 @@ var VitalsMenuButton = GObject.registerClass({
y_expand: true,
y_align: Clutter.ActorAlign.CENTER
});
-
// attempt to prevent ellipsizes
label.get_clutter_text().ellipsize = 0;
-
// keep track of label for removal later
this._hotLabels[key] = label;
-
// prevent "called on the widget" "which is not in the stage" errors by adding before width below
- this._menuLayout.add_child(label);
+ item.add_child(label);
// support for fixed widths #55, save label (text) width
- this._widths[key] = label.width;
+ this._widths[key] = label.get_clutter_text().width;
}
_showHideSensorsChanged(self, sensor) {
@@ -329,35 +333,23 @@ var VitalsMenuButton = GObject.registerClass({
this._redrawMenu();
}
- _removeHotLabel(key) {
- if (key in this._hotLabels) {
- let label = this._hotLabels[key];
- delete this._hotLabels[key];
- // make sure set_label is not called on non existent actor
- label.destroy();
+ _removeHotItems(){
+ for (let key in this._hotItems) {
+ this._removeHotItem(key);
}
}
- _removeHotLabels() {
- for (let key in this._hotLabels)
- this._removeHotLabel(key);
- }
-
- _removeHotIcon(key) {
- if (key in this._hotIcons) {
- this._hotIcons[key].destroy();
- delete this._hotIcons[key];
+ _removeHotItem(key) {
+ if (key in this._hotItems) {
+ this._hotItems[key].destroy();
+ delete this._hotItems[key];
+ delete this._hotLabels[key];
+ delete this._widths[key];
}
}
- _removeHotIcons() {
- for (let key in this._hotIcons)
- this._removeHotIcon(key);
- }
-
_redrawMenu() {
- this._removeHotIcons();
- this._removeHotLabels();
+ this._removeHotItems();
for (let key in this._sensorMenuItems) {
if (key.includes('-group')) continue;
@@ -452,8 +444,7 @@ var VitalsMenuButton = GObject.registerClass({
} else {
// remove selected sensor from panel
hotSensors.splice(hotSensors.indexOf(self.key), 1);
- this._removeHotLabel(self.key);
- this._removeHotIcon(self.key);
+ this._removeHotItem(self.key);
}
if (hotSensors.length <= 0) {
@@ -465,7 +456,7 @@ var VitalsMenuButton = GObject.registerClass({
if (defIconPos >= 0) {
// remove generic icon from panel when sensors are selected
hotSensors.splice(defIconPos, 1);
- this._removeHotIcon('_default_icon_');
+ this._removeHotItem('_default_icon_');
}
}
@@ -508,7 +499,7 @@ var VitalsMenuButton = GObject.registerClass({
// don't use the default system icon if the type is a gpu; use the universal gpu icon instead
if (type == 'default' || (!(type in this._sensorIcons) && !type.startsWith('gpu'))) {
icon.gicon = Gio.icon_new_for_string(this._sensorIconPath('system'));
- } else if (!this._settings.get_boolean('hide-icons')) { // support for hide icons #80
+ } else { // support for hide icons #80
let iconObj = (split.length == 2)?'icon-' + split[1]:'icon';
icon.gicon = Gio.icon_new_for_string(this._sensorIconPath(type, iconObj));
}
diff --git a/locale/my_MM/LC_MESSAGES/vitals.mo b/locale/my_MM/LC_MESSAGES/vitals.mo
new file mode 100644
index 0000000..e194797
Binary files /dev/null and b/locale/my_MM/LC_MESSAGES/vitals.mo differ
diff --git a/locale/my_MM/LC_MESSAGES/vitals.po b/locale/my_MM/LC_MESSAGES/vitals.po
new file mode 100644
index 0000000..b935891
--- /dev/null
+++ b/locale/my_MM/LC_MESSAGES/vitals.po
@@ -0,0 +1,731 @@
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: 2023-10-22 21:04+0200\n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: my_MM\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"POT-Revision-Date: 2018-12-29 10:26+0100\n"
+"X-Generator: Poedit 3.7\n"
+"X-Poedit-Basepath: ..\n"
+"X-Poedit-KeywordsList: _returnValue:2\n"
+"X-Poedit-SearchPath-0: values.js\n"
+"X-Poedit-SearchPath-1: sensors.js\n"
+"X-Poedit-SearchPath-2: prefs.js\n"
+"X-Poedit-SearchPath-3: menuItem.js\n"
+"X-Poedit-SearchPath-4: extension.js\n"
+"X-Poedit-SearchPath-5: schemas/"
+"org.gnome.shell.extensions.vitals.gschema.xml\n"
+"X-Poedit-SearchPath-6: prefs.ui\n"
+
+#: extension.js:109
+msgid "Batteries"
+msgstr "ဘက်ထရီများ"
+
+#: extension.js:133
+msgid "No Data"
+msgstr "ဒေတာမရှိ"
+
+#: extension.js:159
+msgid "Refresh"
+msgstr "အသစ်တင်ရန်"
+
+#: extension.js:174
+msgid "System Monitor"
+msgstr "စနစ်စောင့်ကြည့်"
+
+#: extension.js:182 prefs.js:106
+msgid "Preferences"
+msgstr "လိုလားချက်များ"
+
+#: prefs.ui:42 schemas/org.gnome.shell.extensions.vitals.gschema.xml:81
+msgid "Include public IP address"
+msgstr "အများပြည်သူIPလိပ်စာဖော်ပြမည်"
+
+#: prefs.ui:70
+msgid "Format"
+msgstr "ပုံစံချ"
+
+#: prefs.ui:78
+msgid "Bytes"
+msgstr "ဘိုက်"
+
+#: prefs.ui:79
+msgid "Bits"
+msgstr "ဘစ်"
+
+#: prefs.ui:121
+msgid "General"
+msgstr "အထွေထွေ"
+
+#: prefs.ui:149 schemas/org.gnome.shell.extensions.vitals.gschema.xml:11
+msgid "Seconds between updates"
+msgstr "အသစ်ပြမည့်ကြာချိန်(စက္ကန့်)"
+
+#: prefs.ui:184 schemas/org.gnome.shell.extensions.vitals.gschema.xml:16
+msgid "Position in panel"
+msgstr "ပန်နယ်တွင်တည်နေရာ"
+
+#: prefs.ui:193
+msgid "Left"
+msgstr "ဘယ်ဘက်"
+
+#: prefs.ui:194
+msgid "Center"
+msgstr "အလယ်"
+
+#: prefs.ui:195
+msgid "Right"
+msgstr "ညာဘက်"
+
+#: prefs.ui:196
+msgid "Far Left"
+msgstr "ဘယ်စွန်း"
+
+#: prefs.ui:197
+msgid "Far Right"
+msgstr "ညာစွန်း"
+
+#: prefs.ui:220 schemas/org.gnome.shell.extensions.vitals.gschema.xml:21
+msgid "Use higher precision"
+msgstr "ပိုမိုတိကျစေမည်"
+
+#: prefs.ui:247 schemas/org.gnome.shell.extensions.vitals.gschema.xml:26
+msgid "Alphabetize sensors"
+msgstr "အာရုံခံစက်များကိုအက္ခရာစဉ်ဖြင့်ပြမည်"
+
+#: prefs.ui:274 schemas/org.gnome.shell.extensions.vitals.gschema.xml:31
+msgid "Hide zero values"
+msgstr "သုညတန်ဖိုးများဝှက်ထားမည်"
+
+#: prefs.ui:301
+msgid "Use fixed widths"
+msgstr "ပုံသေအနံအသုံးပြုမည်"
+
+#: prefs.ui:328 schemas/org.gnome.shell.extensions.vitals.gschema.xml:171
+msgid "Hide icons in top bar"
+msgstr "ထိပ်ဆုံးတန်းတွင် အိုင်ကွန်မပြပါ"
+
+#: prefs.ui:355
+msgid "Menu always centered"
+msgstr "မီနူးကိုအမြဲတမ်းအလယ်ထား"
+
+#: prefs.ui:379
+msgid "About"
+msgstr "အကြောင်း"
+
+#: prefs.ui:394
+msgid ""
+"Feature requests or bugs? Please visit GitHub. No warranty, expressed or implied. Donate if you found this "
+"useful."
+msgstr ""
+"လိုချင်တဲ့စွမ်းရည်များ သို့ ပြစ်ချက်များ ပြောပြလိုလျှင်GitHubသို့လာခဲ့ပါ။ လှူဒါန်းလိုပါက "
+
+#: prefs.ui:421
+msgid "Sensors"
+msgstr "အာရုံခံစက်များ"
+
+#: prefs.ui:449 schemas/org.gnome.shell.extensions.vitals.gschema.xml:36
+msgid "Monitor temperature"
+msgstr "အပူချိန်စောင့်ကြည့်မည်"
+
+#: prefs.ui:500 schemas/org.gnome.shell.extensions.vitals.gschema.xml:46
+msgid "Monitor voltage"
+msgstr "ဗို့အားစောင့်ကြည့်မည်"
+
+#: prefs.ui:528 schemas/org.gnome.shell.extensions.vitals.gschema.xml:51
+msgid "Monitor fan"
+msgstr "ပန်ကာစောင့်ကြည့်မည်"
+
+#: prefs.ui:556 schemas/org.gnome.shell.extensions.vitals.gschema.xml:56
+msgid "Monitor memory"
+msgstr "မှတ်ဉာဏ်စောင့်ကြည့်မည်"
+
+#: prefs.ui:607 schemas/org.gnome.shell.extensions.vitals.gschema.xml:61
+msgid "Monitor processor"
+msgstr "စက်ဦးနှောက်စောင့်ကြည့်မည်"
+
+#: prefs.ui:658 schemas/org.gnome.shell.extensions.vitals.gschema.xml:66
+msgid "Monitor system"
+msgstr "စနစ်စောင့်ကြည့်မည်"
+
+#: prefs.ui:709 schemas/org.gnome.shell.extensions.vitals.gschema.xml:76
+msgid "Monitor network"
+msgstr "ကွန်ရက်စောင့်ကြည့်"
+
+#: prefs.ui:760 schemas/org.gnome.shell.extensions.vitals.gschema.xml:71
+msgid "Monitor storage"
+msgstr "သိုလှောင်နေရာစောင့်ကြည့်မည်"
+
+#: prefs.ui:811 schemas/org.gnome.shell.extensions.vitals.gschema.xml:96
+msgid "Monitor battery"
+msgstr "ဘက်ထရီစောင့်ကြည့်မည်"
+
+#: prefs.ui:890
+msgid "Path"
+msgstr "လမ်းကြောင်း"
+
+#: prefs.ui:922 prefs.ui:1031
+msgid "Measurement"
+msgstr "တိုင်းတာမှု"
+
+#: prefs.ui:930 prefs.ui:1039
+msgid "Binary"
+msgstr "ဒွိကိန်း"
+
+#: prefs.ui:931 prefs.ui:1040
+msgid "Decimal"
+msgstr "ဒသမကိန်း"
+
+#: prefs.ui:976
+msgid "Unit"
+msgstr "ယူနစ်"
+
+#: prefs.ui:985
+msgid "°C"
+msgstr "°စင်"
+
+#: prefs.ui:986
+msgid "°F"
+msgstr "°ဖာ"
+
+#: prefs.ui:1086
+msgid "Monitor BAT0"
+msgstr "BAT0စောင့်ကြည့်မည်"
+
+#: prefs.ui:1116
+msgid "Monitor BAT1"
+msgstr "BAT1စောင့်ကြည့်မည်"
+
+#: prefs.ui:1146
+msgid "Monitor BAT2"
+msgstr "BAT2စောင့်ကြည့်မည်"
+
+#: prefs.ui:1176
+msgid "Monitor CMB0"
+msgstr "CMB0စောင့်ကြည့်မည်"
+
+#: prefs.ui:1206
+msgid "Monitor macsmc-battery"
+msgstr "ဘက်ထရီmacsmc စောင့်ကြည့်မည်"
+
+#: prefs.ui:1247
+msgid "Calculate Combined Values"
+msgstr "ပေါင်းပြဒေတာများတွက်ချက်မည်"
+
+#: prefs.ui:1277 schemas/org.gnome.shell.extensions.vitals.gschema.xml:141
+msgid "Include BAT0"
+msgstr "BAT0အပါအဝင်"
+
+#: prefs.ui:1307 schemas/org.gnome.shell.extensions.vitals.gschema.xml:146
+msgid "Include BAT1"
+msgstr "BAT1အပါအဝင်"
+
+#: prefs.ui:1337 schemas/org.gnome.shell.extensions.vitals.gschema.xml:151
+msgid "Include BAT2"
+msgstr "BAT2အပါအဝင်"
+
+#: prefs.ui:1367 schemas/org.gnome.shell.extensions.vitals.gschema.xml:156
+msgid "Include CMB0"
+msgstr "CMB0အပါအဝင်"
+
+#: prefs.ui:1397 schemas/org.gnome.shell.extensions.vitals.gschema.xml:161
+msgid "Include macsmc-battery"
+msgstr "ဘက်ထရီmacsmc အပါအဝင်"
+
+#: prefs.ui:1446
+msgid "Monitor command"
+msgstr "စနစ်စောင့်ကြည့်အမိန့်"
+
+#: prefs.ui:1498
+msgid "Include static info"
+msgstr "အငြိမ်အချက်အလက်ပါဖော်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:6
+msgid "Sensors to show in panel"
+msgstr "ပန်နယ်တွင်ပြမည့်အာရုံခံစက်များ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:7
+msgid "List of sensors to be shown in the panel"
+msgstr "ပန်နယ်တွင်ပြမည့်အာရုံခံစက်များစာရင်း"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:12
+msgid "Delay between sensor polling"
+msgstr "အာရုံခံစက်တန်ဖိုးဖတ်မည့်နှုန်း"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:17
+msgid "Position in Panel ('left', 'center', 'right')"
+msgstr "ပန်နယ်ရှိနေရာ('ဘယ်','အလယ်','ညာ')"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:22
+msgid "Show one extra digit after decimal"
+msgstr "ဒသမနောက် နောက်ထပ်ကိန်းတစ်လုံးပိုပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:27
+msgid "Display sensors in alphabetical order"
+msgstr "အာရုံခံစက်များကိုအက္ခရာစဉ်ဖြင့်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:32
+msgid "Hide data from sensors that are invalid"
+msgstr "အာရုံခံစက်များမှ မမှန်ကန်သောဒေတာများဖွက်မည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:37
+msgid "Display temperature of various components"
+msgstr "စက်ပစ္စည်းများ၏အပူချိန် ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:41
+msgid "Temperature unit"
+msgstr "အပူချိန်ယူနစ်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:42
+msgid ""
+"The unit ('centigrade' or 'fahrenheit') the extension should display the "
+"temperature in"
+msgstr "အပူချိန်ကိုဖော်ပြမည့်ယူနစ် (စင်တိီဂရိတ် သို့ ဖာရင်ဟိုက်)"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:47
+msgid "Display voltage of various components"
+msgstr "စက်ပစ္စည်းများ၏ဗို့အား ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:52
+msgid "Display fan rotation per minute"
+msgstr "ပန်ကာလည်နှုန်းပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:57
+msgid "Display memory information"
+msgstr "မှတ်ဉာဏ်အချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:62
+msgid "Display processor information"
+msgstr "စက်ဦးနှောက်အချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:67
+msgid "Display system information"
+msgstr "စနစ်အချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:72
+msgid "Display storage information"
+msgstr "သိုလှောင်နေရာအချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:77
+msgid "Display network information"
+msgstr "ကွန်ရက်အချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:82
+msgid "Display public IP address of internet connection"
+msgstr "အများပြည်သူIPလိပ်စာဖော်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:86
+msgid "Network speed format"
+msgstr "ကွန်ရက်မြန်နှုန်းပုံစံ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:87
+msgid "Should speed display in bits or bytes?"
+msgstr "ဘစ် သို့ ဘိုက်ဖြင့် ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:91
+msgid "Storage path"
+msgstr "သိုလှောင်နေရာလမ်းကြောင်း"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:92
+msgid "Storage path for monitoring"
+msgstr "စောင့်ကြည့်မည့်သိုလှောင်နေရာလမ်းကြောင်း"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:97
+msgid "Monitor battery health"
+msgstr "ဘက်ထရီကျန်းမာရေးစောင့်ကြည့်မည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:101
+msgid "Memory measurement"
+msgstr "မှတ်ဉာဏ်တိုင်းတာမှု"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:102
+msgid "Can use gigabyte or gibibyte for memory"
+msgstr "ဂစ်ဂါဘိုက် သို့ ဂစ်ဘီဘိုက်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:106
+msgid "Storage measurement"
+msgstr "သိုလှောင်နေရာတိုင်းတာမှု"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:107
+msgid "Can use gigabyte or gibibyte for storage"
+msgstr "ဂစ်ဂါဘိုက် သို့ ဂစ်ဘီဘိုက်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:111
+msgid "Display battery BAT0"
+msgstr "BAT0ပြ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:112
+msgid "Should battery 'BAT0' be displayed?"
+msgstr "BAT0ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:116
+msgid "Display battery BAT1"
+msgstr "BAT1ပြ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:117
+msgid "Should battery 'BAT1' be displayed?"
+msgstr "BAT1ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:121
+msgid "Display battery BAT2"
+msgstr "BAT2ပြ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:122
+msgid "Should battery 'BAT2' be displayed?"
+msgstr "BAT2ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:126
+msgid "Display battery CMB0"
+msgstr "CMB0ပြ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:127
+msgid "Should battery 'CMB0' be displayed?"
+msgstr "CMB0ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:131
+msgid "Display battery macsmc-battery"
+msgstr "ဘက်ထရီmacsmc ပြ"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:132
+msgid "Should battery 'macsmc-battery' be displayed?"
+msgstr "ဘက်ထရီmacsmc ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:136
+msgid "Display combined battery data"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:137
+msgid "Display combined values for selected batteries"
+msgstr "ရွေးချယ်ထားသောဘက်ထရီများ၏ဒေတာများပေါင်းပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:142
+msgid "Include 'BAT0' when calculating combined Battery"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြဖို့တွက်ချက်ရာတွင် 'BAT0'ပါဝင်စေမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:147
+msgid "Include 'BAT1' when calculating combined Battery"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြဖို့တွက်ချက်ရာတွင် 'BAT1'ပါဝင်စေမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:152
+msgid "Include 'BAT2' when calculating combined Battery"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြဖို့တွက်ချက်ရာတွင် 'BAT2'ပါဝင်စေမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:157
+msgid "Include 'CMB0' when calculating combined Battery"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြဖို့တွက်ချက်ရာတွင် 'CMBO'ပါဝင်စေမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:162
+msgid "Include 'macsmc-battery' when calculating combined Battery"
+msgstr "ဘက်ထရီဒေတာပေါင်းပြဖို့တွက်ချက်ရာတွင် 'macsmc-battery'ပါဝင်စေမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:166
+msgid "Use fixed widths in top bar"
+msgstr "ထိပ်ဆုံးတန်းတွင်ပုံသေအနံအသုံးပြုမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:167
+msgid "Keep sensors in top bar from jumping around"
+msgstr "ထိပ်ဆုံးတန်းရှိ အာရုံခံစက်ပြခြင်းကို အသေထားမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:172
+msgid "Keep top bar clean by only showing sensor values"
+msgstr "ရှင်းရှင်းလင်းလင်းဖြစ်အောင် တန်ဖိုးပဲပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:176
+msgid "Make the menu centered"
+msgstr "မီနူးကိုအမြဲတမ်းအလယ်ထားမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:177
+msgid "Center the menu to the icon regardless of the position in the panel"
+msgstr "ပန်နယ်တွင်ဘယ်နေရာရောက်ရောက် မီနူးကို အိုင်ကွန်ဖြင့် အလယ်ထားမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:181
+msgid "System Monitor command"
+msgstr "စနစ်စောင့်ကြည့်အမိန့်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:182
+msgid "The command run when system monitor button is clicked"
+msgstr "စနစ်စောင့်ကြည့်ခလုတ်ကိုနှိပ်လိုက်သောအခါလုပ်ဆောင်မည့်အမိန့်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:186
+msgid "Include processor static information"
+msgstr "စက်ဦးနှောက်၏အငြိမ်အချက်အလက်ပြမည်"
+
+#: schemas/org.gnome.shell.extensions.vitals.gschema.xml:187
+msgid "Display processor static information that doesn't change"
+msgstr "စက်ဦးနှောက်၏မပြောင်းလဲသောအချက်အလက်ပြမည်"
+
+#: sensors.js:65
+msgid "Public IP"
+msgstr "အများပြည်သူIP"
+
+#: sensors.js:133 sensors.js:181
+msgid "Usage"
+msgstr "အသုံးပြု"
+
+#: sensors.js:134
+msgid "memory"
+msgstr "မှတ်ဉာဏ်"
+
+#: sensors.js:135
+msgid "Physical"
+msgstr "အစစ်"
+
+#: sensors.js:136
+msgid "Available"
+msgstr "ရရှိနိုင်"
+
+#: sensors.js:137
+msgid "Allocated"
+msgstr "ပေးထား"
+
+#: sensors.js:138
+msgid "Cached"
+msgstr "ယာယီကတ်ရှ္"
+
+#: sensors.js:139 sensors.js:355
+msgid "Free"
+msgstr "လွတ်"
+
+#: sensors.js:140
+msgid "Swap"
+msgstr "Swap"
+
+#: sensors.js:248
+msgid "Average"
+msgstr "ပျမ်းမျှ"
+
+#: sensors.js:180
+msgid "processor"
+msgstr "စက်ဦးနှောက်"
+
+#: sensors.js:183
+#, javascript-format
+msgid "Core %d"
+msgstr "ဦးနှောက်ငယ် %d"
+
+#: sensors.js:213 sensors.js:222
+msgid "Frequency"
+msgstr "ကြိမ်နှုန်း"
+
+#: sensors.js:231
+msgid "Open Files"
+msgstr "ဖွင့်ထားသောဖိုင်"
+
+#: sensors.js:238
+msgid "Load 1m"
+msgstr "ဝန် ၁မိနစ်"
+
+#: sensors.js:239
+msgid "system"
+msgstr "စနစ်"
+
+#: sensors.js:240
+msgid "Load 5m"
+msgstr "ဝန် ၅မိနစ်"
+
+#: sensors.js:241
+msgid "Load 15m"
+msgstr "ဝန် ၁၅မိနစ်"
+
+#: sensors.js:242
+msgid "Threads Active"
+msgstr "သက်ဝင်အလုပ်တန်း"
+
+#: sensors.js:243
+msgid "Threads Total"
+msgstr "စုစုပေါင်းအလုပ်တန်း"
+
+#: sensors.js:248
+msgid "Uptime"
+msgstr "စက်နိုးကြာချိန်"
+
+#: sensors.js:252
+msgid "Process Time"
+msgstr "လုပ်ဆောင်ကြာချိန်"
+
+#: sensors.js:302
+msgid "WiFi Link Quality"
+msgstr "ဝိုင်ဖိုင်ချိတ်ဆက်မှုအရည်အသွေး"
+
+#: sensors.js:303
+msgid "WiFi Signal Level"
+msgstr "ဝိုင်ဖိုင်အချက်ပြပမာဏ"
+
+#: sensors.js:318
+msgid "ARC Target"
+msgstr "ARCပစ်မှတ်"
+
+#: sensors.js:319
+msgid "ARC Maximum"
+msgstr "ARCအများဆုံး"
+
+#: sensors.js:320
+msgid "ARC Current"
+msgstr "ARCလက်ရှိ"
+
+#: sensors.js:330
+msgid "Read total"
+msgstr "စုစုပေါင်းဖတ်မှု"
+
+#: sensors.js:331
+msgid "Write total"
+msgstr "စုစုပေါင်းရေးမှု"
+
+#: sensors.js:332
+msgid "Read rate"
+msgstr "ဖတ်နှုန်း"
+
+#: sensors.js:333
+msgid "Write rate"
+msgstr "ရေးနှုန်း"
+
+#: sensors.js:352
+msgid "Total"
+msgstr "စုစုပေါင်း"
+
+#: sensors.js:353
+msgid "Used"
+msgstr "သုံး"
+
+#: sensors.js:354
+msgid "Reserved"
+msgstr "အရန်"
+
+#: sensors.js:356
+msgid "storage"
+msgstr "သိုလှောင်နေရာ"
+
+#: sensors.js:393
+msgid "Label"
+msgstr "အညွှန်း"
+
+#: sensors.js:404 sensors.js:529
+msgid "State"
+msgstr "အခြေအနေ"
+
+#: sensors.js:409 sensors.js:519
+msgid "Cycles"
+msgstr "အားသွင်းအကြိမ်ရေ"
+
+#: sensors.js:414
+msgid "Voltage"
+msgstr "ဗို့အား"
+
+#: sensors.js:418
+msgid "Level"
+msgstr "လျှပ်သိုပမာဏ"
+
+#: sensors.js:422 sensors.js:553
+msgid "Percentage"
+msgstr "ရာခိုင်နှုန်း"
+
+#: sensors.js:432 sensors.js:527
+msgid "Rate"
+msgstr "နှုန်း"
+
+#: sensors.js:442 sensors.js:535
+msgid "Energy (full)"
+msgstr "စွမ်းအင်(အပြည့်)"
+
+#: sensors.js:451 sensors.js:541
+msgid "Energy (design)"
+msgstr "စွမ်းအင်(ဒီဇိုင်း)"
+
+#: sensors.js:455
+msgid "Capacity"
+msgstr "လျှပ်သိုအား"
+
+#: sensors.js:464 sensors.js:547
+msgid "Energy (now)"
+msgstr "စွမ်းအင်(ယခု)"
+
+#: sensors.js:501 sensors.js:504 sensors.js:588 sensors.js:591
+msgid "Time left"
+msgstr "ကျန်ရှိချိန်"
+
+#: sensors.js:677
+msgid "Vendor"
+msgstr "ထုတ်လုပ်သူ"
+
+#: sensors.js:678
+msgid "Bogomips"
+msgstr "Bogomips"
+
+#: sensors.js:679
+msgid "Sockets"
+msgstr "ဆော့ကတ်"
+
+#: sensors.js:680
+msgid "Cache"
+msgstr "ကက်ရှ်"
+
+#: sensors.js:685
+msgid "Kernel"
+msgstr "ကာနယ်"
+
+#: prefs.js:98
+msgid "Temperature"
+msgstr "အပူချိန်"
+
+#: prefs.js:98
+msgid "Network"
+msgstr "ကွန်ရက်"
+
+#: prefs.js:98
+msgid "Storage"
+msgstr "သိုလှောင်နေရာ"
+
+#: prefs.js:98
+msgid "Memory"
+msgstr "မှတ်ဉာဏ်"
+
+#: prefs.js:98
+msgid "Battery"
+msgstr "ဘက်ထရီ"
+
+#: extension.js:112
+msgid "Battery 1"
+msgstr "ဘက်ထရီ၁"
+
+#: extension.js:112
+msgid "Battery 2"
+msgstr "ဘက်ထရီ၂"
+
+#: extension.js:112
+msgid "Battery 3"
+msgstr "ဘက်ထရီ၃"
+
+#: extension.js:112
+msgid "Battery 4"
+msgstr "ဘက်ထရီ၄"
+
+#: extension.js:112
+msgid "Battery 5"
+msgstr "ဘက်ထရီ၅"
+
+#: extension.js:115
+msgid "Battery (hidden)"
+msgstr "ဘက်ထရီ(ဖွက်)"
+
+#: prefs.js:98
+msgid "System"
+msgstr "စနစ်"
+
+#: prefs.js:98
+msgid "Processor"
+msgstr "ပရိုဆက်ဆာ"
+
+#: sensors.js:759
+msgid "Fan"
+msgstr "ပန်ကာ"
diff --git a/metadata.json b/metadata.json
index d97ea9b..2fba3a9 100644
--- a/metadata.json
+++ b/metadata.json
@@ -8,7 +8,7 @@
],
"url": "https://github.com/corecoding/Vitals",
"uuid": "Vitals@CoreCoding.com",
- "version": 72,
+ "version": 73,
"donations": {
"paypal": "corecoding"
}
diff --git a/stylesheet.css b/stylesheet.css
index adec425..4fcd985 100644
--- a/stylesheet.css
+++ b/stylesheet.css
@@ -1,15 +1,18 @@
.vitals-icon { icon-size: 16px; }
.vitals-menu-button-container {}
-.vitals-panel-icon-temperature { margin: 0 1px 0 8px; padding: 0; }
-.vitals-panel-icon-voltage { margin: 0 0 0 8px; padding: 0; }
-.vitals-panel-icon-fan { margin: 0 4px 0 8px; padding: 0; }
-.vitals-panel-icon-memory { margin: 0 2px 0 8px; padding: 0; }
-.vitals-panel-icon-processor { margin: 0 3px 0 8px; padding: 0; }
-.vitals-panel-icon-system { margin: 0 3px 0 8px; padding: 0; }
-.vitals-panel-icon-network { margin: 0 3px 0 8px; padding: 0; }
-.vitals-panel-icon-storage { margin: 0 2px 0 8px; padding: 0; }
-.vitals-panel-icon-battery { margin: 0 4px 0 8px; padding: 0; }
-.vitals-panel-label { margin: 0 3px 0 0; padding: 0; }
+.vitals-panel-item{spacing: 0;}
+.vitals-panel-menu{spacing: 11px; padding: 3px; }
+.vitals-panel-icon-default {}
+.vitals-panel-icon-temperature { margin: 0 1px 0 0; padding: 0; }
+.vitals-panel-icon-voltage { margin: 0 0 0 0; padding: 0; }
+.vitals-panel-icon-fan { margin: 0 4px 0 0; padding: 0; }
+.vitals-panel-icon-memory { margin: 0 2px 0 0; padding: 0; }
+.vitals-panel-icon-processor { margin: 0 3px 0 0; padding: 0; }
+.vitals-panel-icon-system { margin: 0 3px 0 0; padding: 0; }
+.vitals-panel-icon-network { margin: 0 3px 0 0; padding: 0; }
+.vitals-panel-icon-storage { margin: 0 2px 0 0; padding: 0; }
+.vitals-panel-icon-battery { margin: 0 4px 0 0; padding: 0; }
+.vitals-panel-label {}
.vitals-button-action { -st-icon-style: symbolic; border-radius: 32px; margin: 0px; min-height: 22px; min-width: 22px; padding: 10px; font-size: 100%; border: 1px solid transparent; }
.vitals-button-action:hover, .vitals-button-action:focus { border-color: #777; }
.vitals-button-action > StIcon { icon-size: 16px; }
diff --git a/values.js b/values.js
index a7cabb0..e9192e5 100644
--- a/values.js
+++ b/values.js
@@ -212,7 +212,7 @@ export const Values = GObject.registerClass({
break;
}
- return format.format(value, ending);
+ return format.format(value, ending).trim();
}
returnIfDifferent(dwell, label, value, type, format, key) {