From 4322787066b893d515cb081c9794e2cc949b2b55 Mon Sep 17 00:00:00 2001 From: SuiziM Date: Sat, 30 Aug 2025 20:40:01 +0200 Subject: [PATCH 1/5] feat: Improved spacing between elements in panel --- extension.js | 67 ++++++++++++++++++++++---------------------------- stylesheet.css | 23 +++++++++-------- 2 files changed, 42 insertions(+), 48 deletions(-) diff --git a/extension.js b/extension.js index 6f14df7c..d6278e75 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/stylesheet.css b/stylesheet.css index adec4251..4fcd9858 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; } From 56cf3f0fa9825c18a86fc84b2d6c779b1163a915 Mon Sep 17 00:00:00 2001 From: SuiziM Date: Sat, 30 Aug 2025 20:03:58 +0200 Subject: [PATCH 2/5] fix: Remove trailing whitespace in values for "System\>Last XXmin". --- values.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/values.js b/values.js index a7cabb03..eae5aa08 100644 --- a/values.js +++ b/values.js @@ -200,7 +200,7 @@ export const Values = GObject.registerClass({ ending = 'Wh'; break; case 'load': - format = (use_higher_precision)?'%.2f %s':'%.1f %s'; + format = (use_higher_precision)?'%.2f %s':'%.1f'; break; case 'pcie': let split = value.split('x'); From d58a3b917c84738bb33310515b47dfc7d24ac879 Mon Sep 17 00:00:00 2001 From: zay-yar-lwin Date: Fri, 26 Sep 2025 13:54:54 +0630 Subject: [PATCH 3/5] add support for Burmese (my_MM) --- locale/my_MM/LC_MESSAGES/vitals.mo | Bin 0 -> 17140 bytes locale/my_MM/LC_MESSAGES/vitals.po | 731 +++++++++++++++++++++++++++++ 2 files changed, 731 insertions(+) create mode 100644 locale/my_MM/LC_MESSAGES/vitals.mo create mode 100644 locale/my_MM/LC_MESSAGES/vitals.po diff --git a/locale/my_MM/LC_MESSAGES/vitals.mo b/locale/my_MM/LC_MESSAGES/vitals.mo new file mode 100644 index 0000000000000000000000000000000000000000..e194797aaf82c8fae117fe847e20183432142531 GIT binary patch literal 17140 zcmd6t50qS0ea9bx00smFHxNuV1Y-WM*-e5#1>VlQ-FakY-Y{<_ z$;Lm-@>iu6LV-ZQAgEA*kVq{d2BP(7EA6SLN{@$Ad&-%D)gqoAtZfxfZ9l*JyYJ20 z-P!D}cutv&*Wt5=b|&qf>5lVn;IYT>#b@tvjw9W#S$qMU z!T3cGQs*DQcY*&1o(R5X$G--TVm$45U7rEU_$2T>;F)&5)#3#fms(t9aRYcH^w)w% zfCJ#s;3iPcuUOm$3SA964ZIy}0UrV9fG>iw@0Xy^{TA#7ry-2UwE~p+wRXG#6nlIe zJPF)p@l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HFZ49YMD5NK_2RhyS6l5;i>_F#PGInlg2>ooYeGDdpQi@;j8i!QnjWg z;V(fP#@c@KEys|K;yfgQJEv&?W5{P?T1Xm(f^=-qr2RZrlu5JJ+jazl)F09l{bY`N zb0l5kPwNf3#9CwP{m9LRP`u!#-gWZFBf?&Tr)DgL2QjlvTb4(2A>VN)#=@`~pRy0a z5o03_Td^z4Hdsw&V@HhzvO)box?u2|(BpEC{C23XKL) z&5&ViwE{8?n^LDtlsJh_jk2_tpr4$+DN#s0Jq-CqB!W?3r?HjQ-qk9n=b{lZ^YrCE z#S-K6MMpOk>5}Jg*XpO69!@JN)e%)yXMS=i2|A>;g(;^ao7_}{$|0_SL+#{{12HG0 zRpVn@CXrlDn1DUYBW$7MuthYstNW5%YjR^E9m=MQ&+`mngVA+X-3}f6xFecxNEhMl z=G-JI65b7)8K)#Kh2Q@qcB+ONUYw-vM}I7+mBa=j8a4D}fRIX#q0)|pXfMk z8e=$dG|`~vX-p7B>EUqfH;Fj&W~rGD5*#$A!3Za7@lrEl1EPFl)=(>V<%r&RiEmgV zn*1RG#=^;XNl%+>d?q`soG{a#sxji%IVM#J9!s6YxdGitHub. 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 "ပန်ကာ" From ddb0377e20516bcd972b71d2a040d13b3b48f411 Mon Sep 17 00:00:00 2001 From: Chris Monahan <3803591+corecoding@users.noreply.github.com> Date: Fri, 3 Oct 2025 08:31:31 -0400 Subject: [PATCH 4/5] Update metadata.json --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index d97ea9bf..2fba3a90 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" } From 89de55d1f3b6d9ffd362b3dcc7c687c85f58ea2a Mon Sep 17 00:00:00 2001 From: Chris Monahan Date: Fri, 3 Oct 2025 08:42:02 -0400 Subject: [PATCH 5/5] bring back %s and add trim --- values.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values.js b/values.js index eae5aa08..e9192e56 100644 --- a/values.js +++ b/values.js @@ -200,7 +200,7 @@ export const Values = GObject.registerClass({ ending = 'Wh'; break; case 'load': - format = (use_higher_precision)?'%.2f %s':'%.1f'; + format = (use_higher_precision)?'%.2f %s':'%.1f %s'; break; case 'pcie': let split = value.split('x'); @@ -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) {