From 6fd4378a1b7f7ed6e29dec79169cb6ade9787ab4 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 23 Aug 2022 17:28:45 +0800 Subject: [PATCH] change icons --- icons/128x128/Makefile.am | 2 +- icons/128x128/org.xfce.panel.netload.png | Bin 2155 -> 0 bytes icons/128x128/org.xfce.panel.speed.png | Bin 0 -> 7232 bytes icons/128x128/org.xfce.panel.speed.svg | 12 + icons/16x16/Makefile.am | 2 +- icons/16x16/org.xfce.panel.netload.png | Bin 565 -> 0 bytes icons/16x16/org.xfce.panel.netload.svg | 310 ------------------ icons/16x16/org.xfce.panel.speed.png | Bin 0 -> 811 bytes icons/16x16/org.xfce.panel.speed.svg | 12 + icons/32x32/Makefile.am | 2 +- icons/32x32/org.xfce.panel.netload.png | Bin 803 -> 0 bytes icons/32x32/org.xfce.panel.netload.svg | 65 ---- icons/32x32/org.xfce.panel.speed.png | Bin 0 -> 1728 bytes icons/32x32/org.xfce.panel.speed.svg | 12 + icons/scalable/Makefile.am | 2 +- icons/scalable/org.xfce.panel.netload.svg | 310 ------------------ icons/scalable/org.xfce.panel.speed.svg | 12 + panel-plugin/Makefile.am | 4 +- panel-plugin/commandline.c | 22 +- panel-plugin/net.c | 26 +- panel-plugin/net.h | 4 +- panel-plugin/{netload.c => speed.c} | 22 +- ...load.desktop.in.in => speed.desktop.in.in} | 2 +- po/POTFILES.in | 4 +- po/en_GB.po | 70 ++-- po/zh_CN.po | 66 ++-- po/zh_TW.po | 66 ++-- 27 files changed, 164 insertions(+), 863 deletions(-) delete mode 100644 icons/128x128/org.xfce.panel.netload.png create mode 100644 icons/128x128/org.xfce.panel.speed.png create mode 100644 icons/128x128/org.xfce.panel.speed.svg delete mode 100644 icons/16x16/org.xfce.panel.netload.png delete mode 100644 icons/16x16/org.xfce.panel.netload.svg create mode 100644 icons/16x16/org.xfce.panel.speed.png create mode 100644 icons/16x16/org.xfce.panel.speed.svg delete mode 100644 icons/32x32/org.xfce.panel.netload.png delete mode 100644 icons/32x32/org.xfce.panel.netload.svg create mode 100644 icons/32x32/org.xfce.panel.speed.png create mode 100644 icons/32x32/org.xfce.panel.speed.svg delete mode 100644 icons/scalable/org.xfce.panel.netload.svg create mode 100644 icons/scalable/org.xfce.panel.speed.svg rename panel-plugin/{netload.c => speed.c} (98%) rename panel-plugin/{netload.desktop.in.in => speed.desktop.in.in} (85%) diff --git a/icons/128x128/Makefile.am b/icons/128x128/Makefile.am index c8af191..c0ca8ee 100644 --- a/icons/128x128/Makefile.am +++ b/icons/128x128/Makefile.am @@ -1,6 +1,6 @@ iconsdir = $(datadir)/icons/hicolor/128x128/apps icons_DATA = \ - org.xfce.panel.netload.png + org.xfce.panel.speed.png EXTRA_DIST = \ $(icons_DATA) diff --git a/icons/128x128/org.xfce.panel.netload.png b/icons/128x128/org.xfce.panel.netload.png deleted file mode 100644 index 69a14e732e0569232f9b6ce615d295f506c5ccd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2155 zcmcJQ`CHQ29>>3oqK2uJc|mcjZj+`-T5f3)q8a9vOIlWj3PPz6;FgLoE~DvHySbHF z+2oc9{d2C{7A)$lxz`?)?Mq`#GQUIp=*|&v`!2^EuCRGQ2!o z)F3(#007i5r<}aynXwfrO7i)w1C}dKid098uZmm=DxvA}{WkKcb5sCOZ`%q`zKJ?q zZfet<186=ZJS_%G!2vNbF=oWbtJDxI8D~bKgcZ-*>&PMa7UWB$h2sEJXbhG}!x~~j zNRfuVxCnAMmWHcu6d>goYzsq0(Fi08;Ns!w?ri9UqY}fmIBdk_>}a~2@!n$4Byt>u z7)GE0XtW`UMxzjeqi94@t#@-bU2ZrnV>nVvA-t%~@S$AE2gl3A9 zBeSpD8I=byW!^Zb3`ymnyWoChP6yQ3`&2-4Pue-`ptX33c^#I=_ZS^PUJV8Z4~RJ;igk7kloK1hSFL7|`CoHG_ZH zua}nQBJS|k-^HN=e9#h0T2~3S1fW`?80&(Tc)=W!SN|(@3YhyQeFiOHZ9sP9D3H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 No newline at end of file diff --git a/icons/16x16/Makefile.am b/icons/16x16/Makefile.am index 3ce9bc5..e23b458 100644 --- a/icons/16x16/Makefile.am +++ b/icons/16x16/Makefile.am @@ -1,6 +1,6 @@ iconsdir = $(datadir)/icons/hicolor/16x16/apps icons_DATA = \ - org.xfce.panel.netload.png + org.xfce.panel.speed.png EXTRA_DIST = \ $(icons_DATA) diff --git a/icons/16x16/org.xfce.panel.netload.png b/icons/16x16/org.xfce.panel.netload.png deleted file mode 100644 index 3c47ce5fa615d301acb3babc574c4515cc3a4a17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 565 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m+AU64!{5;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1T~L5e~$ zOL9^f98<~@GfNT`Jd^YD6hcyS3vv=mQn&7YZVyx@0aE5zT9T1p#Nh7d@9V1Il3JXZ z4pNtxo6uKQ2UHUTQsbOoP+63jo>9W!?5yBeQc{$eR9cdmpQjs~0d$39PG)whLPkkR zft9{~a#3nxNoHAUa(-@ZeqJ%iQTjQV$*Fn8sm1z9mAb`=`X+h?`iDc3SQ!`?IXzt* zLo9laPTuRq>?qQ@-+0ZAJfV6n*F#a9+4?Gzf;@EACZ#Tax%GqLni_U#;YAa!3%p@< zEa;waNTez0Vb9S?SC6ukZ~PE)_|DIFw#73phAl3A`o>*a;OG;TU0r2mZ*To-OYt$h z73FqVJ>5a_$CZ2MTNeF_+2tqk^7xIm>UmuGdDU;`|8OzY-#q{Hcc;iVrOy~M|{_S_1<#_v8%O0ka z(H)#GW*Y2oj$Rv3oXqel@66oDb59j=KdcZkU&eJ{>&j0KJ8y_G{NjqdYF+y`uXd4r py_)~A*S&2Y9TlsLVqeuUt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/icons/16x16/org.xfce.panel.speed.png b/icons/16x16/org.xfce.panel.speed.png new file mode 100644 index 0000000000000000000000000000000000000000..c7937bbc6906e0e1904e5855b96857e9f63829c4 GIT binary patch literal 811 zcmV+`1JwM9P)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H10=P*; zK~y-6ZIe%E+jSVmKhO8~OVUkTZIdb5+K{$sbsK^w4`U8=Y-KL8g9jOiNKw#(4%CaH zcv6sgR6ML8DC{5}#P}y;x`T)Z@gTNPO`HDBsB4nNnJupQ{l2dU8?2$v>C2brd0!s* zyfQO(DtmYOKoGcT;279AA~MgKq*5FN@2{+ERCfAZ_mRux`bLNMzZV25fi+P4RJL00 z5Bdh~l=El6>R}w^=#k8fLx+^Sc`fs~`zd$t{-Z?Eii7M$033!iUf&K&|3go$-WTqVH~$5x!A`uW}I7F zt5v%LGTsX;c91B5RK{h;xY!Gm$Ei$UA&FMsk7L|fkj zKavbz$ZlmFW+ zIdy{bf=|nf|xS=-tMYL{~kc?NUG p!LopXEh8@B-T6v&^S7P;e*oz;Jbu(9^iu!;002ovPDHLkV1j2Cist|T literal 0 HcmV?d00001 diff --git a/icons/16x16/org.xfce.panel.speed.svg b/icons/16x16/org.xfce.panel.speed.svg new file mode 100644 index 0000000..bf60af7 --- /dev/null +++ b/icons/16x16/org.xfce.panel.speed.svg @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/icons/32x32/Makefile.am b/icons/32x32/Makefile.am index 5a00fad..642c0ed 100644 --- a/icons/32x32/Makefile.am +++ b/icons/32x32/Makefile.am @@ -1,6 +1,6 @@ iconsdir = $(datadir)/icons/hicolor/32x32/apps icons_DATA = \ - org.xfce.panel.netload.png + org.xfce.panel.speed.png EXTRA_DIST = \ $(icons_DATA) diff --git a/icons/32x32/org.xfce.panel.netload.png b/icons/32x32/org.xfce.panel.netload.png deleted file mode 100644 index 6806432ad07f7759fad2bc431facaf17fb5f1eaf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 803 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@;M7UB8wRq z_>O=u<5X=vX`rBFiEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$Qb0x0AVndW zB{``Kjw$7dnI(w|p2_)n3L&Yv1v!Z&satnHw+AYd04Z}UEy>6)VsQ8K_jOfpNiEJy z2dPWUP3SAD1F8uEsd3IPs4U7%&nRJVc2;mKDJjZKDlN&(&(jUg0J_34Co?-$A)}+W}Dz=*P z)|HMwjZNJ}ZBMR}aF*&=Y|wFQ?a^L+`FLiFmy15}Uz1sCQ=c}?>7cB`Y5l#oc{!tQ zF|TC&r_az=WXs6KDt^9rCI_Ryg(HFM(u*z&JAQX=wQsxcYsdWIfYrY2mbV<{@4r^t z@4D~yoh|(6mZ|d%7_P1OBYJnqqS-U6{bIEOW^LCzds`R{&QPh zc9BDR$P=Co;l7N^7=j!A%OALIxP7we%F_)!du9iNYKFL>X^4Y)4E22`j zZS4K8$9I0M@^AJHy@!og=lluQye!8c6@Ko6?uQ_+Ig1;`DpcEzzpq<+teW|PM}5+z zmx<5s%PHU4=-+dt;Ai57(_MbYoxV8aGhg7n9VJ@(vh47`R!^U!ff<|Xm@}^IUn^&2 z70wyu%d{zdf8mrPhP}UjEx$7Rx6Zk9=Qz(5P5L5sp~^^JW8#rbZ}?~ZaNDu - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/icons/32x32/org.xfce.panel.speed.png b/icons/32x32/org.xfce.panel.speed.png new file mode 100644 index 0000000000000000000000000000000000000000..b09c26f0328a93c867276ee98aa44219464fd8c3 GIT binary patch literal 1728 zcmV;x20!_UP)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H122Dvs zK~z|Ut(R?Vn^zUbf9KkM5<;4h#Btp?!L<`F)#9ymE#jrDbZb-wtdy}%AkYSU-~&Qp z>OiF+jkIhl-6RkoAv9hj)Q*>F6jZGPO1mWzsyaqr0)#cCN$fOsUy`^0^>3}0So1~OCfJ= z_6EXD-hGbIf9A=rtLX3Y(;3_4?wrL2gZ^+RP(KlFYWM+wiTZriihLeWF=qGe5J#h8 zg_`T1@F-`1$H*Po{f=8AqGFMA{BmgM(qLirH*Y9V4f++o-~VniQ{ij|mH}@L43C^E zm%Jt5?UGMcr;&O?{wUUFGH-vD9k~H#K}O6!7lIPLH1i-Vekxk}27QWJK==vyHD zfS)yg-&`DAl{Q}$6uk%XB3;cYYXThwuVT$a`5BK+uj9e2{Wu^Z;A>($R0W1eyA5Wx?7a|UIY(v=( zRHF1C`W;SfI80}!bGzi>_xd*AINiWaC!4)1erY0B=m|qj-aP`}2Kv*aKbS~dO%);! zKJWpId5PS109*#TK`)@@H9mFZmXFeWYig>gx3Jy-T19zoAUU=Zidr)FyJ~j}oB~=a zuwITv#VSN^ef=M}tu~M+^QU7u@L7=U82v>l@<=37VX5bjK&!whQ&n5&59V~m`K>qx ztN^;xq_@qf#H=0q*eY=DMOlv6XL;!LKQBh!7O3%N#CjRnh;qqxyVuX@59YV!EzNaz ztD3`k5&cG;FZCy{94ocTg{(DDx84!i2NDKGTrPcJ{!v}0@eU3=u26f zr-v@4-YSPU60C2xZP^7p0tj##$9{P5!uZg9?4nPzXjH7}iTY098_YhuIzeKh}~0!RbTt7qA>u~_WJLOdlOr{TuhpcvOqg)fk6-O91+ z2*0+C`-jE*y(9s%7WMh6XDXb{j?w|F7H9$P$WM<0afKcu9KGRG{56?O-g0FxWd8?{ W+n1tv@bYK?0000 + + + + \ No newline at end of file diff --git a/icons/scalable/Makefile.am b/icons/scalable/Makefile.am index 017fdc8..60b3095 100644 --- a/icons/scalable/Makefile.am +++ b/icons/scalable/Makefile.am @@ -1,6 +1,6 @@ iconsdir = $(datadir)/icons/hicolor/scalable/apps icons_DATA = \ - org.xfce.panel.netload.svg + org.xfce.panel.speed.svg EXTRA_DIST = \ $(icons_DATA) diff --git a/icons/scalable/org.xfce.panel.netload.svg b/icons/scalable/org.xfce.panel.netload.svg deleted file mode 100644 index a7c8df6..0000000 --- a/icons/scalable/org.xfce.panel.netload.svg +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/icons/scalable/org.xfce.panel.speed.svg b/icons/scalable/org.xfce.panel.speed.svg new file mode 100644 index 0000000..cdd342e --- /dev/null +++ b/icons/scalable/org.xfce.panel.speed.svg @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am index 482c7cd..41801ae 100644 --- a/panel-plugin/Makefile.am +++ b/panel-plugin/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libspeed.la LIBS = @LIBS@ @SOLLIBS@ libspeed_la_SOURCES = \ - netload.c \ + speed.c \ monitor-label.c \ monitor-label.h \ utils.c \ @@ -44,7 +44,7 @@ commandline_LDADD = @LIBXFCE4PANEL_LIBS@ # We also need to let intltool merge the translated fields, so we add an # additional level of indirection: a .desktop.in.in file. # -desktop_in_in_files = netload.desktop.in.in +desktop_in_in_files = speed.desktop.in.in desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) desktopdir = $(datadir)/xfce4/panel/plugins diff --git a/panel-plugin/commandline.c b/panel-plugin/commandline.c index 6016eff..6cb0490 100644 --- a/panel-plugin/commandline.c +++ b/panel-plugin/commandline.c @@ -1,23 +1,3 @@ -/* - * Copyright 2003,2005 Bernhard Walle - * ------------------------------------------------------------------------------------------------- - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 675 Mass - * Ave, Cambridge, MA 02139, USA. - * - * ------------------------------------------------------------------------------------------------- - */ /* * This is just a command-line wrapper for the operating-system specific code in wormulon/. * I wrote it because with this I'm able to test on systems with no GUI. Since I'm only running @@ -68,7 +48,7 @@ int main(int argc, char* argv[]) return 1; } device = argv[1]; - init_netload(&data, device); + init_speed(&data, device); for (;;) { diff --git a/panel-plugin/net.c b/panel-plugin/net.c index c2cbf63..b2eea50 100644 --- a/panel-plugin/net.c +++ b/panel-plugin/net.c @@ -1,28 +1,6 @@ -/* - * Copyright 2003,2005,2006 Bernhard Walle - * Copyright 2010 Florian Rivoal - * ------------------------------------------------------------------------------------------------- - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 675 Mass - * Ave, Cambridge, MA 02139, USA. - * - * ------------------------------------------------------------------------------------------------- - */ - /* * This is just a wrapper between the netload-plugin and the wormulon source. - * Wormulon is a small command-line util which displays the netload. You can find it + * Wormulon is a small command-line util which displays the speed. You can find it * at http://raisdorf.net/wormulon. Most sourcecode is taken from wormulon. * * Thanks to Hendrik Scholz. Only his work made it possible to support a large @@ -51,7 +29,7 @@ /* ---------------------------------------------------------------------------------------------- */ -int init_netload(netdata* data, const char* device) +int init_speed(netdata* data, const char* device) { memset( data, 0, sizeof(netdata) ); diff --git a/panel-plugin/net.h b/panel-plugin/net.h index 82778c8..d26665f 100644 --- a/panel-plugin/net.h +++ b/panel-plugin/net.h @@ -77,10 +77,10 @@ typedef struct * @return true if no error occurs, false otherwise. If there's * an error, the error message may be set */ -int init_netload(netdata* data, const char* device); +int init_speed(netdata* data, const char* device); /** - * Gets the current netload. You must call init_netload() once before you use this function! + * Gets the current speed. You must call init_speed() once before you use this function! * @param in Input load in byte/s. * @param out Output load in byte/s. * @param tot Total load in byte/s. diff --git a/panel-plugin/netload.c b/panel-plugin/speed.c similarity index 98% rename from panel-plugin/netload.c rename to panel-plugin/speed.c index ab1f7df..7cfc732 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/speed.c @@ -213,23 +213,6 @@ static gboolean update_monitors(gpointer user_data) global->monitor->net_max[i] *= SHRINK_MAX; } } - -#ifdef DEBUG - switch (i) - { - case IN: - DBG("input: Max = %lu", global->monitor->net_max[i]); - break; - - case OUT: - DBG("output: Max = %lu", global->monitor->net_max[i]); - break; - - case TOT: - DBG("total: Max = %lu", global->monitor->net_max[i]); - break; - } -#endif /* DEBUG */ temp = (double)display[i] / global->monitor->net_max[i]; if (temp > 1) @@ -356,6 +339,7 @@ static void monitor_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode, gtk_progress_bar_set_inverted(GTK_PROGRESS_BAR(global->monitor->status[i]), FALSE); } } + /* 竖直方向的XFCE_PANEL */ else if (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) { gtk_orientable_set_orientation(GTK_ORIENTABLE(global->box), GTK_ORIENTATION_VERTICAL); @@ -373,7 +357,7 @@ static void monitor_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode, gtk_progress_bar_set_inverted(GTK_PROGRESS_BAR(global->monitor->status[i]), FALSE); } } - else /* mode == XFCE_PANEL_PLUGIN_MODE_HORIZONTAL */ + else /* 水平方向的XFCE_PANEL */ { gtk_orientable_set_orientation(GTK_ORIENTABLE(global->box), GTK_ORIENTATION_HORIZONTAL); gtk_orientable_set_orientation(GTK_ORIENTABLE(global->box_bars), GTK_ORIENTATION_HORIZONTAL); @@ -641,7 +625,7 @@ static void setup_monitor(t_global_monitor *global, gboolean supress_warnings) gtk_widget_hide(global->ebox_bars); } - if (!init_netload( &(global->monitor->data), global->monitor->options.network_device) + if (!init_speed( &(global->monitor->data), global->monitor->options.network_device) && !supress_warnings) { xfce_dialog_show_error (NULL, NULL, diff --git a/panel-plugin/netload.desktop.in.in b/panel-plugin/speed.desktop.in.in similarity index 85% rename from panel-plugin/netload.desktop.in.in rename to panel-plugin/speed.desktop.in.in index fdca671..a3778ad 100644 --- a/panel-plugin/netload.desktop.in.in +++ b/panel-plugin/speed.desktop.in.in @@ -3,7 +3,7 @@ Type=X-XFCE-PanelPlugin Encoding=UTF-8 _Name=网速小插件 _Comment=显示当前网速 -Icon=org.xfce.panel.netload +Icon=org.xfce.panel.speed X-XFCE-Module=speed X-XFCE-Internal=FALSE X-XFCE-API=2.0 diff --git a/po/POTFILES.in b/po/POTFILES.in index a56f5d3..4534627 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,3 @@ -panel-plugin/netload.c -panel-plugin/netload.desktop.in.in +panel-plugin/speed.c +panel-plugin/speed.desktop.in.in panel-plugin/utils.c diff --git a/po/en_GB.po b/po/en_GB.po index e69dcd3..5542022 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -2,16 +2,12 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # -# Translators: -# Jeff Bailes , 2007 msgid "" msgstr "" "Project-Id-Version: Xfce Panel Plugins\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-11 00:47+0100\n" -"PO-Revision-Date: 2021-03-10 23:48+0000\n" -"Last-Translator: Nick Schermer \n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/xfce/xfce-panel-plugins/language/en_GB/)\n" +"POT-Creation-Date: 2022-08-23 14:00+0800\n" +"PO-Revision-Date: 2022-08-23 14:00+0800\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -19,32 +15,32 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Defaults -#: ../panel-plugin/netload.c:42 +#: ../panel-plugin/speed.c:42 msgid "Net" msgstr "" -#: ../panel-plugin/netload.c:61 +#: ../panel-plugin/speed.c:61 msgid "Xfce4-Speed-Plugin" msgstr "Xfce4-Speed-Plugin" -#: ../panel-plugin/netload.c:64 +#: ../panel-plugin/speed.c:64 msgid "Unknown error." msgstr "Unknown error." -#: ../panel-plugin/netload.c:65 +#: ../panel-plugin/speed.c:65 msgid "Linux proc device '/proc/net/dev' not found." msgstr "Linux proc device '/proc/net/dev' not found." -#: ../panel-plugin/netload.c:66 +#: ../panel-plugin/speed.c:66 msgid "Interface was not found." msgstr "Interface was not found." -#: ../panel-plugin/netload.c:169 +#: ../panel-plugin/speed.c:169 #, c-format msgid "<< %s >> (Interface down)" msgstr "<< %s >> (Interface down)" -#: ../panel-plugin/netload.c:256 +#: ../panel-plugin/speed.c:256 #, c-format msgid "" "<< %s >> (%s)\n" @@ -55,102 +51,102 @@ msgid "" "Total: %s" msgstr "" -#: ../panel-plugin/netload.c:259 +#: ../panel-plugin/speed.c:259 msgid "no IP address" msgstr "no IP address" -#: ../panel-plugin/netload.c:643 +#: ../panel-plugin/speed.c:643 #, c-format msgid "" "%s: Error in initializing:\n" "%s" msgstr "%s: Error in initalising:\n%s" -#: ../panel-plugin/netload.c:969 +#: ../panel-plugin/speed.c:969 msgid "Monitor CPU load, swap usage and memory footprint" msgstr "Monitor CPU load, swap usage and memory footprint" -#: ../panel-plugin/netload.c:971 +#: ../panel-plugin/speed.c:971 msgid "Copyright (c) 2003-2021\n" msgstr "" -#: ../panel-plugin/netload.c:1032 +#: ../panel-plugin/speed.c:1032 msgid "Bar color (i_ncoming):" msgstr "Bar colour (i_ncoming):" -#: ../panel-plugin/netload.c:1033 +#: ../panel-plugin/speed.c:1033 msgid "Bar color (_outgoing):" msgstr "Bar colour (_outgoing):" -#: ../panel-plugin/netload.c:1036 +#: ../panel-plugin/speed.c:1036 msgid "Maximum (inco_ming):" msgstr "Maximum (inco_ming):" -#: ../panel-plugin/netload.c:1037 +#: ../panel-plugin/speed.c:1037 msgid "Maximum (o_utgoing):" msgstr "Maximum (o_utgoing):" -#: ../panel-plugin/netload.c:1042 ../panel-plugin/netload.desktop.in.in.h:1 +#: ../panel-plugin/speed.c:1042 ../panel-plugin/speed.desktop.in.in.h:1 msgid "Network Monitor" msgstr "Network Monitor" -#: ../panel-plugin/netload.c:1044 +#: ../panel-plugin/speed.c:1044 msgid "_Close" msgstr "_Close" -#: ../panel-plugin/netload.c:1045 +#: ../panel-plugin/speed.c:1045 msgid "_Help" msgstr "" -#: ../panel-plugin/netload.c:1072 +#: ../panel-plugin/speed.c:1072 msgid "_Text to display:" msgstr "_Text to display:" -#: ../panel-plugin/netload.c:1103 +#: ../panel-plugin/speed.c:1103 msgid "Network _device:" msgstr "Network _device:" -#: ../panel-plugin/netload.c:1134 +#: ../panel-plugin/speed.c:1134 msgid "Update _interval:" msgstr "Update _interval:" -#: ../panel-plugin/netload.c:1148 +#: ../panel-plugin/speed.c:1148 msgid "s" msgstr "s" -#: ../panel-plugin/netload.c:1163 +#: ../panel-plugin/speed.c:1163 msgid "Show values as _bits" msgstr "" -#: ../panel-plugin/netload.c:1177 +#: ../panel-plugin/speed.c:1177 msgid "_Automatic maximum" msgstr "_Automatic maximum" -#: ../panel-plugin/netload.c:1212 +#: ../panel-plugin/speed.c:1212 msgid "KiB/s" msgstr "KiB/s" -#: ../panel-plugin/netload.c:1238 +#: ../panel-plugin/speed.c:1238 msgid "_Present data as:" msgstr "_Present data as:" -#: ../panel-plugin/netload.c:1248 +#: ../panel-plugin/speed.c:1248 msgid "Bars" msgstr "Bars" -#: ../panel-plugin/netload.c:1249 +#: ../panel-plugin/speed.c:1249 msgid "Values" msgstr "Values" -#: ../panel-plugin/netload.c:1250 +#: ../panel-plugin/speed.c:1250 msgid "Bars and values" msgstr "Bars and values" -#: ../panel-plugin/netload.c:1293 +#: ../panel-plugin/speed.c:1293 msgid "_Colorize values" msgstr "_Colourise values" -#: ../panel-plugin/netload.desktop.in.in.h:2 +#: ../panel-plugin/speed.desktop.in.in.h:2 msgid "Show network traffic" msgstr "Show network traffic" diff --git a/po/zh_CN.po b/po/zh_CN.po index 9fd117c..e53b807 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Xfce Panel Plugins\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-11 00:47+0100\n" -"PO-Revision-Date: 2021-03-10 23:48+0000\n" +"POT-Creation-Date: 2022-08-23 14:00+0800\n" +"PO-Revision-Date: 2022-08-23 14:00+0800\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,32 +15,32 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. Defaults -#: ../panel-plugin/netload.c:42 +#: ../panel-plugin/speed.c:42 msgid "Net" msgstr "网络" -#: ../panel-plugin/netload.c:61 +#: ../panel-plugin/speed.c:61 msgid "Xfce4-Speed-Plugin" msgstr "Xfce4-Speed-Plugin" -#: ../panel-plugin/netload.c:64 +#: ../panel-plugin/speed.c:64 msgid "Unknown error." msgstr "未知错误。" -#: ../panel-plugin/netload.c:65 +#: ../panel-plugin/speed.c:65 msgid "Linux proc device '/proc/net/dev' not found." msgstr "未找到 Linux proc 设备 ‘/proc/net/dev’。" -#: ../panel-plugin/netload.c:66 +#: ../panel-plugin/speed.c:66 msgid "Interface was not found." msgstr "未找到网络接口。" -#: ../panel-plugin/netload.c:169 +#: ../panel-plugin/speed.c:169 #, c-format msgid "<< %s >> (Interface down)" msgstr "<< %s >> (接口关闭)" -#: ../panel-plugin/netload.c:256 +#: ../panel-plugin/speed.c:256 #, c-format msgid "" "<< %s >> (%s)\n" @@ -51,102 +51,102 @@ msgid "" "Total: %s" msgstr "<< %s >> (%s)\n最近 %d个 时间段内\n%.2f 秒内的平均值:\n流入:%s\n流出:%s\n总共:%s" -#: ../panel-plugin/netload.c:259 +#: ../panel-plugin/speed.c:259 msgid "no IP address" msgstr "无 IP 地址" -#: ../panel-plugin/netload.c:643 +#: ../panel-plugin/speed.c:643 #, c-format msgid "" "%s: Error in initializing:\n" "%s" msgstr "%s:初始化时出错:\n%s" -#: ../panel-plugin/netload.c:969 +#: ../panel-plugin/speed.c:969 msgid "Monitor CPU load, swap usage and memory footprint" msgstr "监视 CPU 负载、交换分区用量和内存使用踪迹" -#: ../panel-plugin/netload.c:971 +#: ../panel-plugin/speed.c:971 msgid "Copyright (c) 2003-2021\n" msgstr "版权所有 (c) 2003-2021\n" -#: ../panel-plugin/netload.c:1032 +#: ../panel-plugin/speed.c:1032 msgid "Bar color (i_ncoming):" msgstr "柱图颜色(流入)(_N):" -#: ../panel-plugin/netload.c:1033 +#: ../panel-plugin/speed.c:1033 msgid "Bar color (_outgoing):" msgstr "柱图颜色(流出)(_O):" -#: ../panel-plugin/netload.c:1036 +#: ../panel-plugin/speed.c:1036 msgid "Maximum (inco_ming):" msgstr "最大值(流入)(_M):" -#: ../panel-plugin/netload.c:1037 +#: ../panel-plugin/speed.c:1037 msgid "Maximum (o_utgoing):" msgstr "最大值(流出)(_U):" -#: ../panel-plugin/netload.c:1042 ../panel-plugin/netload.desktop.in.in.h:1 +#: ../panel-plugin/speed.c:1042 ../panel-plugin/speed.desktop.in.in.h:1 msgid "Network Monitor" msgstr "网络监视器" -#: ../panel-plugin/netload.c:1044 +#: ../panel-plugin/speed.c:1044 msgid "_Close" msgstr "关闭(_C)" -#: ../panel-plugin/netload.c:1045 +#: ../panel-plugin/speed.c:1045 msgid "_Help" msgstr "帮助(_H)" -#: ../panel-plugin/netload.c:1072 +#: ../panel-plugin/speed.c:1072 msgid "_Text to display:" msgstr "要显示的文字(_T):" -#: ../panel-plugin/netload.c:1103 +#: ../panel-plugin/speed.c:1103 msgid "Network _device:" msgstr "网络设备(_D):" -#: ../panel-plugin/netload.c:1134 +#: ../panel-plugin/speed.c:1134 msgid "Update _interval:" msgstr "更新间隔(_I):" -#: ../panel-plugin/netload.c:1148 +#: ../panel-plugin/speed.c:1148 msgid "s" msgstr "秒" -#: ../panel-plugin/netload.c:1163 +#: ../panel-plugin/speed.c:1163 msgid "Show values as _bits" msgstr "以比特显示值(_B)" -#: ../panel-plugin/netload.c:1177 +#: ../panel-plugin/speed.c:1177 msgid "_Automatic maximum" msgstr "自动最大值(_A)" -#: ../panel-plugin/netload.c:1212 +#: ../panel-plugin/speed.c:1212 msgid "KiB/s" msgstr "KiB/s" -#: ../panel-plugin/netload.c:1238 +#: ../panel-plugin/speed.c:1238 msgid "_Present data as:" msgstr "显示方法(_P):" -#: ../panel-plugin/netload.c:1248 +#: ../panel-plugin/speed.c:1248 msgid "Bars" msgstr "柱图" -#: ../panel-plugin/netload.c:1249 +#: ../panel-plugin/speed.c:1249 msgid "Values" msgstr "文字" -#: ../panel-plugin/netload.c:1250 +#: ../panel-plugin/speed.c:1250 msgid "Bars and values" msgstr "柱图和文字" -#: ../panel-plugin/netload.c:1293 +#: ../panel-plugin/speed.c:1293 msgid "_Colorize values" msgstr "使用彩色显示文字(_C)" -#: ../panel-plugin/netload.desktop.in.in.h:2 +#: ../panel-plugin/speed.desktop.in.in.h:2 msgid "Show network traffic" msgstr "显示网络流量" diff --git a/po/zh_TW.po b/po/zh_TW.po index 79793d8..a4c63f1 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Xfce Panel Plugins\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-11 00:47+0100\n" -"PO-Revision-Date: 2021-03-10 23:48+0000\n" +"POT-Creation-Date: 2022-08-23 14:00+0800\n" +"PO-Revision-Date: 2022-08-23 14:00+0800\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -14,32 +14,32 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. Defaults -#: ../panel-plugin/netload.c:42 +#: ../panel-plugin/speed.c:42 msgid "Net" msgstr "網路" -#: ../panel-plugin/netload.c:61 +#: ../panel-plugin/speed.c:61 msgid "Xfce4-Speed-Plugin" msgstr "Xfce4-Speed-Plugin" -#: ../panel-plugin/netload.c:64 +#: ../panel-plugin/speed.c:64 msgid "Unknown error." msgstr "未知錯誤。" -#: ../panel-plugin/netload.c:65 +#: ../panel-plugin/speed.c:65 msgid "Linux proc device '/proc/net/dev' not found." msgstr "找不到 Linux proc 裝置「/proc/net/dev」。" -#: ../panel-plugin/netload.c:66 +#: ../panel-plugin/speed.c:66 msgid "Interface was not found." msgstr "找不到介面。" -#: ../panel-plugin/netload.c:169 +#: ../panel-plugin/speed.c:169 #, c-format msgid "<< %s >> (Interface down)" msgstr "<< %s >> (介面 down)" -#: ../panel-plugin/netload.c:256 +#: ../panel-plugin/speed.c:256 #, c-format msgid "" "<< %s >> (%s)\n" @@ -50,102 +50,102 @@ msgid "" "Total: %s" msgstr "<< %s >> (%s)\n最近 %d 次測量平均\n間隔 %.2fs:\n傳入:%s\n傳出:%s\n總計:%s" -#: ../panel-plugin/netload.c:259 +#: ../panel-plugin/speed.c:259 msgid "no IP address" msgstr "無 IP 位址" -#: ../panel-plugin/netload.c:643 +#: ../panel-plugin/speed.c:643 #, c-format msgid "" "%s: Error in initializing:\n" "%s" msgstr "%s:初始化發生錯誤:\n%s" -#: ../panel-plugin/netload.c:969 +#: ../panel-plugin/speed.c:969 msgid "Monitor CPU load, swap usage and memory footprint" msgstr "監測 CPU 負載、置換空間及記憶體使用量" -#: ../panel-plugin/netload.c:971 +#: ../panel-plugin/speed.c:971 msgid "Copyright (c) 2003-2021\n" msgstr "Copyright (c) 2003-2021\n" -#: ../panel-plugin/netload.c:1032 +#: ../panel-plugin/speed.c:1032 msgid "Bar color (i_ncoming):" msgstr "條色彩 (傳入)(_N):" -#: ../panel-plugin/netload.c:1033 +#: ../panel-plugin/speed.c:1033 msgid "Bar color (_outgoing):" msgstr "條色彩 (傳出)(_O):" -#: ../panel-plugin/netload.c:1036 +#: ../panel-plugin/speed.c:1036 msgid "Maximum (inco_ming):" msgstr "最大 (傳入)(_M):" -#: ../panel-plugin/netload.c:1037 +#: ../panel-plugin/speed.c:1037 msgid "Maximum (o_utgoing):" msgstr "最大 (傳出)(_U):" -#: ../panel-plugin/netload.c:1042 ../panel-plugin/netload.desktop.in.in.h:1 +#: ../panel-plugin/speed.c:1042 ../panel-plugin/speed.desktop.in.in.h:1 msgid "Network Monitor" msgstr "網路監視器" -#: ../panel-plugin/netload.c:1044 +#: ../panel-plugin/speed.c:1044 msgid "_Close" msgstr "關閉(_C)" -#: ../panel-plugin/netload.c:1045 +#: ../panel-plugin/speed.c:1045 msgid "_Help" msgstr "說明(_H)" -#: ../panel-plugin/netload.c:1072 +#: ../panel-plugin/speed.c:1072 msgid "_Text to display:" msgstr "要顯示的文字(_T):" -#: ../panel-plugin/netload.c:1103 +#: ../panel-plugin/speed.c:1103 msgid "Network _device:" msgstr "網路裝置(_D):" -#: ../panel-plugin/netload.c:1134 +#: ../panel-plugin/speed.c:1134 msgid "Update _interval:" msgstr "更新時間隔(_I):" -#: ../panel-plugin/netload.c:1148 +#: ../panel-plugin/speed.c:1148 msgid "s" msgstr "秒" -#: ../panel-plugin/netload.c:1163 +#: ../panel-plugin/speed.c:1163 msgid "Show values as _bits" msgstr "以位元顯示值(_B)" -#: ../panel-plugin/netload.c:1177 +#: ../panel-plugin/speed.c:1177 msgid "_Automatic maximum" msgstr "自動最大(_A)" -#: ../panel-plugin/netload.c:1212 +#: ../panel-plugin/speed.c:1212 msgid "KiB/s" msgstr "KiB/s" -#: ../panel-plugin/netload.c:1238 +#: ../panel-plugin/speed.c:1238 msgid "_Present data as:" msgstr "顯示資料為(_P):" -#: ../panel-plugin/netload.c:1248 +#: ../panel-plugin/speed.c:1248 msgid "Bars" msgstr "條" -#: ../panel-plugin/netload.c:1249 +#: ../panel-plugin/speed.c:1249 msgid "Values" msgstr "值" -#: ../panel-plugin/netload.c:1250 +#: ../panel-plugin/speed.c:1250 msgid "Bars and values" msgstr "條與值" -#: ../panel-plugin/netload.c:1293 +#: ../panel-plugin/speed.c:1293 msgid "_Colorize values" msgstr "色彩化值(_C)" -#: ../panel-plugin/netload.desktop.in.in.h:2 +#: ../panel-plugin/speed.desktop.in.in.h:2 msgid "Show network traffic" msgstr "顯示網路流量"