Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
c43fcbdf60 | |||
|
c44728486b | ||
|
1842273e84 | ||
|
43d19428df | ||
|
96a14aa312 | ||
|
6370ad16e7 | ||
|
abe908277a | ||
|
526a516981 | ||
|
35972c6a3d | ||
|
e07a0a005d |
6
NEWS
6
NEWS
@@ -1,3 +1,9 @@
|
||||
16 February 2024: Overview of changes in 2.41.3
|
||||
================================================
|
||||
|
||||
* Fixed daemon buffer overflow #72
|
||||
* Updated translations
|
||||
|
||||
15 October 2023: Overview of changes in 2.41.2
|
||||
================================================
|
||||
|
||||
|
@@ -4,7 +4,7 @@ dnl
|
||||
|
||||
m4_define([libgtop_major_version], [2])
|
||||
m4_define([libgtop_minor_version], [41])
|
||||
m4_define([libgtop_micro_version], [2])
|
||||
m4_define([libgtop_micro_version], [3])
|
||||
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
||||
|
||||
dnl increment if the interface has additions, changes, removals.
|
||||
|
@@ -53,6 +53,8 @@ struct _glibtop_sysinfo
|
||||
glibtop_entry cpuinfo [GLIBTOP_NCPU];
|
||||
};
|
||||
|
||||
const char *decode_cpu_part(unsigned int part);
|
||||
|
||||
#define glibtop_get_sysinfo_r glibtop_get_sysinfo_s
|
||||
|
||||
const glibtop_sysinfo *glibtop_get_sysinfo_s (glibtop *server);
|
||||
|
@@ -41,6 +41,7 @@ id
|
||||
it
|
||||
ja
|
||||
ka
|
||||
kab
|
||||
kn
|
||||
ko
|
||||
ku
|
||||
|
111
po/hi.po
111
po/hi.po
@@ -6,192 +6,191 @@
|
||||
# Ravishankar Shrivastava <raviratlami@yahoo.com>, 2004.
|
||||
# Rajesh Ranjan <rranjan@redhat.com>, 2005.
|
||||
# Rajesh Ranjan <rajesh672@gmail.com>, 2009.
|
||||
# Scrambled777 <weblate.scrambled777@simplelogin.com>, 2024.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: libgtop.gnome-2-26\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop&component=general\n"
|
||||
"POT-Creation-Date: 2009-04-18 19:52+0000\n"
|
||||
"PO-Revision-Date: 2009-06-10 14:37+0530\n"
|
||||
"Last-Translator: Rajesh Ranjan <rajesh672@gmail.com>\n"
|
||||
"Language-Team: Hindi <hindi.sf.net>\n"
|
||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libgtop/issues\n"
|
||||
"POT-Creation-Date: 2022-07-07 17:11+0000\n"
|
||||
"PO-Revision-Date: 2024-04-17 18:19+0530\n"
|
||||
"Last-Translator: Scrambled777 <weblate.scrambled777@simplelogin.com>\n"
|
||||
"Language-Team: Hindi\n"
|
||||
"Language: hi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.4\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n!=1);\n\n"
|
||||
"X-Generator: Gtranslator 46.0\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"\n"
|
||||
"\n"
|
||||
|
||||
#: ../lib/read.c:51
|
||||
#: lib/read.c:49
|
||||
#, c-format
|
||||
msgid "read %d byte"
|
||||
msgid_plural "read %d bytes"
|
||||
msgstr[0] "%d बाइट पढ़ें"
|
||||
msgstr[1] "%d बाइट पढ़ें"
|
||||
|
||||
#: ../lib/read_data.c:51
|
||||
#: lib/read_data.c:49
|
||||
msgid "read data size"
|
||||
msgstr "डेटा आकार पढ़ें"
|
||||
|
||||
#: ../lib/read_data.c:70
|
||||
#: lib/read_data.c:66
|
||||
#, c-format
|
||||
msgid "read %lu byte of data"
|
||||
msgid_plural "read %lu bytes of data"
|
||||
msgstr[0] "%lu आंकड़ा का बाइट पढ़ें"
|
||||
msgstr[1] "%lu आंकड़ा का बाइट्स पढ़ें"
|
||||
|
||||
#: ../lib/write.c:51
|
||||
#: lib/write.c:49
|
||||
#, c-format
|
||||
msgid "wrote %d byte"
|
||||
msgid_plural "wrote %d bytes"
|
||||
msgstr[0] "%d बाइट लिखा"
|
||||
msgstr[1] "%d बाइट्स लिखा"
|
||||
|
||||
#: ../src/daemon/gnuserv.c:455
|
||||
#: src/daemon/gnuserv.c:456
|
||||
msgid "Enable debugging"
|
||||
msgstr "डीबगिंग सक्षम करें"
|
||||
|
||||
#: ../src/daemon/gnuserv.c:457
|
||||
#: src/daemon/gnuserv.c:458
|
||||
msgid "Enable verbose output"
|
||||
msgstr "वाचाल आउटपुट सक्षम करें"
|
||||
|
||||
#: ../src/daemon/gnuserv.c:459
|
||||
msgid "Don't fork into background"
|
||||
#: src/daemon/gnuserv.c:460
|
||||
msgid "Don’t fork into background"
|
||||
msgstr "पृष्ठभूमि में फॉर्क न करें"
|
||||
|
||||
#: ../src/daemon/gnuserv.c:461
|
||||
#: src/daemon/gnuserv.c:462
|
||||
msgid "Invoked from inetd"
|
||||
msgstr " inetd द्वारा बुलाया गया "
|
||||
|
||||
#: ../src/daemon/gnuserv.c:495
|
||||
#: src/daemon/gnuserv.c:498
|
||||
#, c-format
|
||||
#| msgid ""
|
||||
#| "Error on option %s: %s.\n"
|
||||
#| "Run '%s --help' to see a full list of available command line options.\n"
|
||||
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||
msgstr "चलाएँ '%s --help' उपलब्ध कमांड लाइन विकल्प की पूरी सूची देखने हेतु.\n"
|
||||
msgid "Run “%s --help” to see a full list of available command line options.\n"
|
||||
msgstr "उपलब्ध कमांड लाइन विकल्पों की पूरी सूची देखने के लिए “%s --help” चलाएँ।\n"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:27 ../sysdeps/sun4/siglist.c:27
|
||||
#: sysdeps/osf1/siglist.c:27 sysdeps/sun4/siglist.c:27
|
||||
msgid "Hangup"
|
||||
msgstr "हैंगअप"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:28 ../sysdeps/sun4/siglist.c:28
|
||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
||||
msgid "Interrupt"
|
||||
msgstr "इंटरप्ट"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:29 ../sysdeps/sun4/siglist.c:29
|
||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
||||
msgid "Quit"
|
||||
msgstr "बाहर"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:30 ../sysdeps/sun4/siglist.c:30
|
||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
||||
msgid "Illegal instruction"
|
||||
msgstr "अवैध निर्देश"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:31 ../sysdeps/sun4/siglist.c:31
|
||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
||||
msgid "Trace trap"
|
||||
msgstr "ट्रेस ट्रैप"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:32 ../sysdeps/sun4/siglist.c:32
|
||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
||||
msgid "Abort"
|
||||
msgstr "छोड़ें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:33 ../sysdeps/sun4/siglist.c:33
|
||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
||||
msgid "EMT error"
|
||||
msgstr "ईएमटी त्रुटि"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:34 ../sysdeps/sun4/siglist.c:34
|
||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
||||
msgid "Floating-point exception"
|
||||
msgstr "फ़्लोटिंग-पाइंट अपवाद"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:35 ../sysdeps/sun4/siglist.c:35
|
||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
||||
msgid "Kill"
|
||||
msgstr "किल"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:36 ../sysdeps/sun4/siglist.c:36
|
||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
||||
msgid "Bus error"
|
||||
msgstr "बस त्रुटि"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:37 ../sysdeps/sun4/siglist.c:37
|
||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
||||
msgid "Segmentation violation"
|
||||
msgstr "सेगमेंटेशन अतिक्रमण"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:38 ../sysdeps/sun4/siglist.c:38
|
||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
||||
msgid "Bad argument to system call"
|
||||
msgstr "सिस्टम काल को गलत आर्गुमेंट"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:39 ../sysdeps/sun4/siglist.c:39
|
||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
||||
msgid "Broken pipe"
|
||||
msgstr "टूटा पाइप"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:40 ../sysdeps/sun4/siglist.c:40
|
||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
||||
msgid "Alarm clock"
|
||||
msgstr "अलार्म घड़ी"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:41 ../sysdeps/sun4/siglist.c:41
|
||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
||||
msgid "Termination"
|
||||
msgstr "समाप्त"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:42 ../sysdeps/sun4/siglist.c:42
|
||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
||||
msgid "Urgent condition on socket"
|
||||
msgstr "सॉकेट पर अत्यावश्यक अवस्था"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:43 ../sysdeps/sun4/siglist.c:43
|
||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
||||
msgid "Stop"
|
||||
msgstr "रोकें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:44 ../sysdeps/sun4/siglist.c:44
|
||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
||||
msgid "Keyboard stop"
|
||||
msgstr "कुंजीपटल रोकें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:45 ../sysdeps/sun4/siglist.c:45
|
||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
||||
msgid "Continue"
|
||||
msgstr "जारी रखें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:46 ../sysdeps/sun4/siglist.c:46
|
||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
||||
msgid "Child status has changed"
|
||||
msgstr "शिशु स्थिति बदल चुकी है"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:47 ../sysdeps/sun4/siglist.c:47
|
||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
||||
msgid "Background read from tty"
|
||||
msgstr "टीटीवाई से पढ़ने का कार्य पृष्ठभूमि में करें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:48 ../sysdeps/sun4/siglist.c:48
|
||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
||||
msgid "Background write to tty"
|
||||
msgstr "टीटीवाई पर लिखने का कार्य पृष्ठभूमि में करें"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:49 ../sysdeps/sun4/siglist.c:49
|
||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
||||
msgid "I/O now possible"
|
||||
msgstr "आई/ओ अब संभव"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:50 ../sysdeps/sun4/siglist.c:50
|
||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
||||
msgid "CPU limit exceeded"
|
||||
msgstr "सीपीयू सीमा से बाहर पहुँच चुकी"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:51 ../sysdeps/sun4/siglist.c:51
|
||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
||||
msgid "File size limit exceeded"
|
||||
msgstr "फ़ाइल आकार सीमा से बाहर पहुँच चुकी"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:52 ../sysdeps/sun4/siglist.c:52
|
||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
||||
msgid "Virtual alarm clock"
|
||||
msgstr "आभासी अलार्म घड़ी"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:53 ../sysdeps/sun4/siglist.c:53
|
||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
||||
msgid "Profiling alarm clock"
|
||||
msgstr "प्रोफ़ाइलिंग अलार्म घड़ी"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:54 ../sysdeps/sun4/siglist.c:54
|
||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
||||
msgid "Window size change"
|
||||
msgstr "विंडो आकार परिवर्तन"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:55 ../sysdeps/sun4/siglist.c:55
|
||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
||||
msgid "Information request"
|
||||
msgstr "जानकारी निवेदन"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:56 ../sysdeps/sun4/siglist.c:56
|
||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
||||
msgid "User defined signal 1"
|
||||
msgstr "उपयोगकर्ता पारिभाषित संकेत १"
|
||||
msgstr "उपयोगकर्ता पारिभाषित संकेत 1"
|
||||
|
||||
#: ../sysdeps/osf1/siglist.c:57 ../sysdeps/sun4/siglist.c:57
|
||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
||||
msgid "User defined signal 2"
|
||||
msgstr "उपयोगकर्ता पारिभाषित संकेत २"
|
||||
|
||||
msgstr "उपयोगकर्ता पारिभाषित संकेत 2"
|
||||
|
189
po/kab.po
Normal file
189
po/kab.po
Normal file
@@ -0,0 +1,189 @@
|
||||
# Kabyle translation for libgtop.
|
||||
# Copyright (C) 2024 libgtop's COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the libgtop package.
|
||||
# Rachida SACI <rgebbid@gmail.com>, 2024.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: libgtop master\n"
|
||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libgtop/issues/\n"
|
||||
"POT-Creation-Date: 2024-03-22 12:09+0000\n"
|
||||
"PO-Revision-Date: 2024-03-30 18:36+0100\n"
|
||||
"Last-Translator: sa\n"
|
||||
"Language-Team: Kabyle <kab@li.org>\n"
|
||||
"Language: kab\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: lib/read.c:49
|
||||
#, c-format
|
||||
msgid "read %d byte"
|
||||
msgid_plural "read %d bytes"
|
||||
msgstr[0] "ɣeṛ %d yibit"
|
||||
msgstr[1] "ɣeṛ %d yibiten"
|
||||
|
||||
#: lib/read_data.c:49
|
||||
msgid "read data size"
|
||||
msgstr "ɣeṛ teɣzi n yisefka"
|
||||
|
||||
#: lib/read_data.c:66
|
||||
#, c-format
|
||||
msgid "read %lu byte of data"
|
||||
msgid_plural "read %lu bytes of data"
|
||||
msgstr[0] "ɣeṛ %lu yibit n yisefka"
|
||||
msgstr[1] "ɣeṛ %lu yibiten n yisefka"
|
||||
|
||||
#: lib/write.c:49
|
||||
#, c-format
|
||||
msgid "wrote %d byte"
|
||||
msgid_plural "wrote %d bytes"
|
||||
msgstr[0] "aru %d yibit"
|
||||
msgstr[1] "aru %d yibiten"
|
||||
|
||||
#: src/daemon/gnuserv.c:460
|
||||
msgid "Enable debugging"
|
||||
msgstr "Rmed n tseɣtayt"
|
||||
|
||||
#: src/daemon/gnuserv.c:462
|
||||
msgid "Enable verbose output"
|
||||
msgstr "Rmed n tuffɣa talqayant"
|
||||
|
||||
#: src/daemon/gnuserv.c:464
|
||||
msgid "Don’t fork into background"
|
||||
msgstr "Ur ttεedday ara deg ugilal"
|
||||
|
||||
#: src/daemon/gnuserv.c:466
|
||||
msgid "Invoked from inetd"
|
||||
msgstr "Yettwancad seg inetd"
|
||||
|
||||
#: src/daemon/gnuserv.c:502
|
||||
#, c-format
|
||||
msgid "Run “%s --help” to see a full list of available command line options.\n"
|
||||
msgstr "Selkem \"%s --tallalat\" i wakken ad twaliḍ tabdart tummidt n textiṛiyin n izirig iwejden.\n"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:27 sysdeps/sun4/siglist.c:27
|
||||
msgid "Hangup"
|
||||
msgstr "Gzem"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
||||
msgid "Interrupt"
|
||||
msgstr "Anegzum"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
||||
msgid "Quit"
|
||||
msgstr "Ffeɣ"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
||||
msgid "Illegal instruction"
|
||||
msgstr "Tnaḍt tarayugant"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
||||
msgid "Trace trap"
|
||||
msgstr "Aḍfar n temdayt"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
||||
msgid "Abort"
|
||||
msgstr "Sefsex"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
||||
msgid "EMT error"
|
||||
msgstr "Tuccḍa EMT"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
||||
msgid "Floating-point exception"
|
||||
msgstr "Tasureft n tefrayt yettifliwin"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
||||
msgid "Kill"
|
||||
msgstr "Neɣ"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
||||
msgid "Bus error"
|
||||
msgstr "Tuccḍa n uzebg"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
||||
msgid "Segmentation violation"
|
||||
msgstr "Akukel useqzuzem"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
||||
msgid "Bad argument to system call"
|
||||
msgstr "Yir afakul i usiwel n unagraw"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
||||
msgid "Broken pipe"
|
||||
msgstr "Tagmamt yerrẓen"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
||||
msgid "Alarm clock"
|
||||
msgstr "Tangedwit"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
||||
msgid "Termination"
|
||||
msgstr "Taggara"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
||||
msgid "Urgent condition on socket"
|
||||
msgstr "Tawtilt taḍrurant ɣef socket"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
||||
msgid "Stop"
|
||||
msgstr "Seḥbes"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
||||
msgid "Keyboard stop"
|
||||
msgstr "Aḥbas n unasiw"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
||||
msgid "Continue"
|
||||
msgstr "Kemmel"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
||||
msgid "Child status has changed"
|
||||
msgstr "Addad aqrur yettwasenfel"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
||||
msgid "Background read from tty"
|
||||
msgstr "Taɣri n ugilal seg tdiwent"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
||||
msgid "Background write to tty"
|
||||
msgstr "Tira n ugilal ɣef tdiwent"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
||||
msgid "I/O now possible"
|
||||
msgstr "Asekcem/Asuffeɣ yella tura"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
||||
msgid "CPU limit exceeded"
|
||||
msgstr "CPU iεedda tilisa"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
||||
msgid "File size limit exceeded"
|
||||
msgstr "Teɣzi n ufaylu tεedda tilisa"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
||||
msgid "Virtual alarm clock"
|
||||
msgstr "Tangedwit tuhlist"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
||||
msgid "Profiling alarm clock"
|
||||
msgstr "Tangedwit n tesnawsit"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
||||
msgid "Window size change"
|
||||
msgstr "Asenfel n teεzi n usfaylu"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
||||
msgid "Information request"
|
||||
msgstr "Tettwasra talɣut"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
||||
msgid "User defined signal 1"
|
||||
msgstr "Tamuli yettusbadu sɣur useqdac 1"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
||||
msgid "User defined signal 2"
|
||||
msgstr "Tamuli yettusbadu sɣur useqdac 2"
|
29
po/th.po
29
po/th.po
@@ -7,9 +7,9 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: libgtop 2.11.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-05-18 17:22+0700\n"
|
||||
"PO-Revision-Date: 2007-05-18 17:23+0700\n"
|
||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libgtop/issues\n"
|
||||
"POT-Creation-Date: 2022-07-07 17:11+0000\n"
|
||||
"PO-Revision-Date: 2024-03-12 18:00+0700\n"
|
||||
"Last-Translator: Theppitak Karoonboonyanan <thep@linux.thai.net>\n"
|
||||
"Language-Team: Thai <l10n@opentle.org>\n"
|
||||
"Language: th\n"
|
||||
@@ -17,49 +17,50 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 3.4.2\n"
|
||||
|
||||
#: lib/read.c:51
|
||||
#: lib/read.c:49
|
||||
#, c-format
|
||||
msgid "read %d byte"
|
||||
msgid_plural "read %d bytes"
|
||||
msgstr[0] "อ่าน %d ไบต์"
|
||||
|
||||
#: lib/read_data.c:51
|
||||
#: lib/read_data.c:49
|
||||
msgid "read data size"
|
||||
msgstr "อ่านขนาดข้อมูล"
|
||||
|
||||
#: lib/read_data.c:70
|
||||
#: lib/read_data.c:66
|
||||
#, c-format
|
||||
msgid "read %lu byte of data"
|
||||
msgid_plural "read %lu bytes of data"
|
||||
msgstr[0] "อ่านข้อมูล %lu ไบต์"
|
||||
|
||||
#: lib/write.c:51
|
||||
#: lib/write.c:49
|
||||
#, c-format
|
||||
msgid "wrote %d byte"
|
||||
msgid_plural "wrote %d bytes"
|
||||
msgstr[0] "เขียน %d ไบต์"
|
||||
|
||||
#: src/daemon/gnuserv.c:458
|
||||
#: src/daemon/gnuserv.c:456
|
||||
msgid "Enable debugging"
|
||||
msgstr "เปิดใช้การดีบั๊ก"
|
||||
|
||||
#: src/daemon/gnuserv.c:460
|
||||
#: src/daemon/gnuserv.c:458
|
||||
msgid "Enable verbose output"
|
||||
msgstr "เปิดข้อความเอาต์พุตละเอียด"
|
||||
|
||||
#: src/daemon/gnuserv.c:462
|
||||
msgid "Don't fork into background"
|
||||
#: src/daemon/gnuserv.c:460
|
||||
msgid "Don’t fork into background"
|
||||
msgstr "ไม่ต้อง fork ไปทำงานเบื้องหลัง"
|
||||
|
||||
#: src/daemon/gnuserv.c:464
|
||||
#: src/daemon/gnuserv.c:462
|
||||
msgid "Invoked from inetd"
|
||||
msgstr "เรียกจาก inetd"
|
||||
|
||||
#: src/daemon/gnuserv.c:498
|
||||
#, c-format
|
||||
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||
msgstr "เรียก '%s --help' เพื่อดูรายการตัวเลือกบรรทัดคำสั่งทั้งหมดที่ใช้ได้\n"
|
||||
msgid "Run “%s --help” to see a full list of available command line options.\n"
|
||||
msgstr "เรียก “%s --help” เพื่อดูรายการตัวเลือกบรรทัดคำสั่งทั้งหมดที่ใช้ได้\n"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:27 sysdeps/sun4/siglist.c:27
|
||||
msgid "Hangup"
|
||||
|
10
po/tr.po
10
po/tr.po
@@ -12,16 +12,16 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: libgtop\n"
|
||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libgtop/issues\n"
|
||||
"POT-Creation-Date: 2023-01-25 20:47+0000\n"
|
||||
"PO-Revision-Date: 2017-09-05 07:33+0300\n"
|
||||
"Last-Translator: Emin Tufan Çetin <etcetin@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-08-08 10:47+0000\n"
|
||||
"PO-Revision-Date: 2023-10-24 02:11+0300\n"
|
||||
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
|
||||
"Language-Team: Türkçe <takim@gnome.org.tr>\n"
|
||||
"Language: tr\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"
|
||||
"X-Generator: Gtranslator 2.91.7\n"
|
||||
"X-Generator: Poedit 3.4\n"
|
||||
|
||||
#: lib/read.c:49
|
||||
#, c-format
|
||||
@@ -106,7 +106,7 @@ msgstr "Öldür"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
||||
msgid "Bus error"
|
||||
msgstr "Veriyolu hatası"
|
||||
msgstr "Veri yolu hatası"
|
||||
|
||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
||||
msgid "Segmentation violation"
|
||||
|
@@ -61,25 +61,31 @@ handle_parent_connection (int s)
|
||||
"Parent (%d) received command %lu from client.",
|
||||
getpid (), cmnd->command);
|
||||
|
||||
if (cmnd->data_size >= BUFSIZ) {
|
||||
syslog_message (LOG_WARNING,
|
||||
"Client sent %lu bytes, but buffer is %lu",
|
||||
cmnd->data_size, (unsigned long)BUFSIZ);
|
||||
return;
|
||||
}
|
||||
|
||||
memset (resp, 0, sizeof (glibtop_response));
|
||||
|
||||
memset (parameter, 0, sizeof (parameter));
|
||||
|
||||
if (cmnd->data_size) {
|
||||
if (cmnd->data_size >= BUFSIZ) {
|
||||
syslog_message (LOG_WARNING,
|
||||
"Client sent %lu bytes, but buffer is %lu",
|
||||
cmnd->data_size, (unsigned long)BUFSIZ);
|
||||
return;
|
||||
}
|
||||
|
||||
if (enable_debug)
|
||||
syslog_message (LOG_DEBUG, "Client has %lu bytes of data.",
|
||||
cmnd->data_size);
|
||||
|
||||
do_read (s, parameter, cmnd->data_size);
|
||||
|
||||
} else if (cmnd->size) {
|
||||
if (cmnd->size >= BUFSIZ) {
|
||||
syslog_message (LOG_WARNING,
|
||||
"Client sent %lu bytes, but buffer is %lu",
|
||||
cmnd->size, (unsigned long)BUFSIZ);
|
||||
return;
|
||||
}
|
||||
|
||||
memcpy (parameter, cmnd->parameter, cmnd->size);
|
||||
}
|
||||
|
||||
@@ -221,12 +227,12 @@ handle_parent_connection (int s)
|
||||
break;
|
||||
case GLIBTOP_CMND_FSUSAGE:
|
||||
glibtop_get_fsusage_l
|
||||
(server, &resp->u.data.fsusage, parameter);
|
||||
(server, &resp->u.data.fsusage, (char*)parameter);
|
||||
do_output (s, resp, _offset_data (fsusage),
|
||||
0, NULL);
|
||||
break;
|
||||
case GLIBTOP_CMND_PROC_IO:
|
||||
memcpy (&pid, parameter, sizeof (pid_t));
|
||||
memcpy (&pid, parameter, sizeof (pid_t));
|
||||
glibtop_get_proc_io_l
|
||||
(server, &resp->u.data.proc_io, pid);
|
||||
do_output (s, resp, _offset_data (proc_io),
|
||||
|
@@ -63,6 +63,7 @@ main(int argc, char *argv[])
|
||||
_exit (1);
|
||||
}
|
||||
#else
|
||||
#ifndef __linux__
|
||||
if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) ||
|
||||
strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) ||
|
||||
strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) {
|
||||
@@ -74,6 +75,7 @@ main(int argc, char *argv[])
|
||||
fprintf (stderr, "you should recompile libgtop and dependent "
|
||||
"applications.\n");
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
glibtop_machine_new (glibtop_global_server);
|
||||
|
@@ -44,22 +44,26 @@ handle_slave_connection (int input, int output)
|
||||
glibtop_debug ("Slave %d received command "
|
||||
"%lu from client.", getpid (), cmnd->command);
|
||||
|
||||
if (cmnd->data_size >= BUFSIZ)
|
||||
glibtop_error ("Client sent %lu bytes, "
|
||||
"but buffer is %lu",
|
||||
cmnd->size, (unsigned long)BUFSIZ);
|
||||
|
||||
memset (resp, 0, sizeof (glibtop_response));
|
||||
|
||||
memset (parameter, 0, sizeof (parameter));
|
||||
|
||||
if (cmnd->data_size) {
|
||||
if (cmnd->data_size >= BUFSIZ)
|
||||
glibtop_error ("Client sent %lu bytes, "
|
||||
"but buffer is %lu",
|
||||
cmnd->data_size, (unsigned long)BUFSIZ);
|
||||
|
||||
glibtop_debug ("Client has %lu bytes of data.",
|
||||
cmnd->data_size);
|
||||
|
||||
do_read (input, parameter, cmnd->data_size);
|
||||
|
||||
} else if (cmnd->size) {
|
||||
if (cmnd->size >= BUFSIZ)
|
||||
glibtop_error ("Client sent %lu bytes, "
|
||||
"but buffer is %lu",
|
||||
cmnd->size, (unsigned long)BUFSIZ);
|
||||
|
||||
memcpy (parameter, cmnd->parameter, cmnd->size);
|
||||
}
|
||||
|
||||
|
@@ -33,6 +33,39 @@ static const unsigned long _glibtop_sysdeps_sysinfo =
|
||||
|
||||
static glibtop_sysinfo sysinfo = { .flags = 0 };
|
||||
|
||||
/* Lookup table for CPU part decoding */
|
||||
static const struct {
|
||||
unsigned int part;
|
||||
const char *model;
|
||||
} cpu_part_lookup[] = {
|
||||
{ 0xd0b, "Cortex-A78" },
|
||||
{ 0xd0c, "Cortex-X1" },
|
||||
{ 0xd40, "Neoverse-N1" },
|
||||
{ 0xd41, "Cortex-A78AE" },
|
||||
{ 0xd42, "Cortex-A710" },
|
||||
{ 0xd44, "Cortex-X2" },
|
||||
{ 0xd4a, "Neoverse-V1" },
|
||||
{ 0xd4b, "Neoverse-N2" },
|
||||
{ 0xd4c, "Cortex-A715" },
|
||||
{ 0xd4d, "Cortex-X3" },
|
||||
{ 0xd49, "Cortex-A520" },
|
||||
{ 0xd4e, "Cortex-A720" },
|
||||
{ 0xd4f, "Cortex-X4" },
|
||||
{ 0xd08, "Cortex-A55" },
|
||||
{ 0x0000, "Unknown" } // Default fallback
|
||||
};
|
||||
|
||||
|
||||
/* Function to decode CPU part */
|
||||
const char *decode_cpu_part(unsigned int part) {
|
||||
for (int i = 0; cpu_part_lookup[i].part != 0x0000; i++) {
|
||||
if (cpu_part_lookup[i].part == part) {
|
||||
return cpu_part_lookup[i].model;
|
||||
}
|
||||
}
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
static void
|
||||
init_sysinfo (glibtop *server)
|
||||
{
|
||||
@@ -77,6 +110,9 @@ init_sysinfo (glibtop *server)
|
||||
/* "<key> : <value>" */
|
||||
parts = g_strsplit_set(*this_proc, ":\n", 0);
|
||||
|
||||
unsigned int cpu_part = 0;
|
||||
gboolean has_model = FALSE;
|
||||
|
||||
for(p = parts; *p && *(p+1); p += 2) {
|
||||
|
||||
/* stole the allocated memory */
|
||||
@@ -85,15 +121,27 @@ init_sysinfo (glibtop *server)
|
||||
|
||||
g_ptr_array_add(cpuinfo->labels, key);
|
||||
g_hash_table_insert(cpuinfo->values, key, value);
|
||||
|
||||
/* Extract CPU part */
|
||||
if (g_strcmp0(key, "CPU part") == 0) {
|
||||
cpu_part = strtoul(value, NULL, 16);
|
||||
}
|
||||
if (g_strcmp0(key, "model name") == 0) {
|
||||
has_model = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
/* If model name is missing, add it */
|
||||
if (!has_model && cpu_part != 0) {
|
||||
const char *decoded_model = decode_cpu_part(cpu_part);
|
||||
g_hash_table_insert(cpuinfo->values, g_strdup("model name"), g_strdup(decoded_model));
|
||||
}
|
||||
|
||||
/* the last key has no value and has not been added */
|
||||
if(*p) g_free(*p);
|
||||
|
||||
/* just g_free instead of g_strvfree because we stole
|
||||
the memory*/
|
||||
|
||||
g_free(parts);
|
||||
|
||||
sysinfo.ncpu++;
|
||||
|
Reference in New Issue
Block a user