diff --git a/CHANGELOG b/CHANGELOG index e0152a1..5ae4f0e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ Ver.1.7.0: + added support of several tags in temperature label + added tags $cpuN, $cpuclN, $hddN, $tempN, $hddtempN, $up, $down + added label with custom command ++ added tooltips for CPU, CPU clock, memory, swap and network labels - removed tags @@...@@, $temp, $ccpu, $ccpucl, $net * changes in settings * ptm now does not require net-tools diff --git a/PKGBUILD b/PKGBUILD index 8c94f25..add5616 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=kdeplasma-applets-pytextmonitor _pkgname=pytextmonitor -pkgver=1.6.1 +pkgver=1.7.0 pkgrel=1 pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm" arch=('i686' 'x86_64') @@ -19,7 +19,7 @@ optdepends=("hddtemp: for HDD temperature monitor" makedepends=('automoc4' 'cmake') source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) install=${pkgname}.install -md5sums=('aa6c5f00b33c073f3732bd921171a557') +md5sums=('ecd235e70cef74ebfb3ba3589e4a05ab') backup=('usr/share/config/extsysmon.conf') build () { diff --git a/README.md b/README.md index 12c1fc4..c4d20db 100644 --- a/README.md +++ b/README.md @@ -111,19 +111,14 @@ Select one of supported music playes for player label. A command, which will be run for custom label. +Tooltip settings +---------------- +Since version 1.7.0 CPU, CPU clock, memory, swap and network labels support graphical tooltip. To enable them just make the needed checkboxes a fully checked. The number of stored values can be set in the tab. Colors of graphs are configurable too. + DataEngine configuration ------------------------ You may edit DataEngine configuration. It is `/usr/share/config/extsysmon.conf` or `$HOME/share/config/extsysmon.conf` depending on the type of installation. Uncomment needed line and edit it. -TODO (wish) list ----------------- -Tooltip (graphical information): -* cpu, % -* cpuclock, mhz -* memory, % -* swap, % -* network, % - Instruction =========== diff --git a/sources/ptm/contents/code/configdef.py b/sources/ptm/contents/code/configdef.py index 6ae91f9..ae132f8 100644 --- a/sources/ptm/contents/code/configdef.py +++ b/sources/ptm/contents/code/configdef.py @@ -80,6 +80,12 @@ class ConfigDefinition: settings.set('player_name', self.parent.player_name) self.parent.custom_command = str(self.configpage.ui.lineEdit_customCommand.text()) settings.set('custom_command', self.parent.custom_command) + + self.parent.tooltipNum = self.configpage.ui.spinBox_tooltipNum.value() + settings.set('tooltip_num', self.parent.tooltipNum) + for label in ['cpu', 'cpuclock', 'mem', 'swap', 'down', 'up']: + exec ('self.parent.tooltipColors["' + label + '"] = str(self.configpage.kcolorcombo_' + label + '.color().name())') + exec ('settings.set("' + label + '_color", self.parent.tooltipColors["' + label + '"])') # disconnecting from source and clear layout if (self.parent.uptimeBool > 0): @@ -249,6 +255,14 @@ class ConfigDefinition: self.configpage.ui.comboBox_playerSelect.setCurrentIndex(settings.get('player_name', 0).toInt()[0]) self.configpage.ui.lineEdit_customCommand.setText(str(settings.get('custom_command', 'wget -qO- http://ifconfig.me/ip'))) + self.configpage.ui.spinBox_tooltipNum.setValue(settings.get('tooltip_num', 100).toInt()[0]) + self.configpage.ui.kcolorcombo_cpu.setColor(QColor(str(settings.get('cpu_color', '#ff0000')))) + self.configpage.ui.kcolorcombo_cpuclock.setColor(QColor(str(settings.get('cpuclock_color', '#00ff00')))) + self.configpage.ui.kcolorcombo_mem.setColor(QColor(str(settings.get('mem_color', '#0000ff')))) + self.configpage.ui.kcolorcombo_swap.setColor(QColor(str(settings.get('swap_color', '#ffff00')))) + self.configpage.ui.kcolorcombo_down.setColor(QColor(str(settings.get('down_color', '#00ffff')))) + self.configpage.ui.kcolorcombo_up.setColor(QColor(str(settings.get('up_color', '#ff00ff')))) + for label in self.parent.dict_orders.keys(): exec ('bool = self.parent.' + self.parent.dict_orders[label] + 'Bool') self.configpage.checkboxes[self.parent.dict_orders[label]].setCheckState(bool) diff --git a/sources/ptm/contents/code/dataengine.py b/sources/ptm/contents/code/dataengine.py index 52dbb65..a193c11 100644 --- a/sources/ptm/contents/code/dataengine.py +++ b/sources/ptm/contents/code/dataengine.py @@ -115,21 +115,29 @@ class DataEngine: elif (sourceName == "cpu/system/TotalLoad"): value = str(round(float(data[QString(u'value')]), 1)) self.parent.cpuCore[-1] = "%5s" % (value) + if (self.parent.cpuBool == 2): + self.parent.tooltipAgent.addValue('cpu', float(value), self.parent.tooltipNum) elif ((str(sourceName)[:7] == "cpu/cpu") and (str(sourceName).split('/')[2] == "TotalLoad")): value = str(round(float(data[QString(u'value')]), 1)) self.parent.cpuCore[int(str(sourceName)[7])] = "%5s" % (value) elif (sourceName == "cpu/system/AverageClock"): value = str(data[QString(u'value')]).split('.')[0] self.parent.cpuClockCore[-1] = "%4s" % (value) + if (self.parent.cpuclockBool == 2): + self.parent.tooltipAgent.addValue('cpuclock', float(value), self.parent.tooltipNum) elif ((str(sourceName)[:7] == "cpu/cpu") and (str(sourceName).split('/')[2] == "clock")): value = str(data[QString(u'value')]).split('.')[0] self.parent.cpuClockCore[int(str(sourceName)[7])] = "%4s" % (value) elif (sourceName == "network/interfaces/"+self.parent.netdev+"/transmitter/data"): value = str(data[QString(u'value')]).split('.')[0] self.parent.netSpeed["up"] = "%4s" % (value) + if (self.parent.netBool == 2): + self.parent.tooltipAgent.addValue('up', float(value), self.parent.tooltipNum) elif (sourceName == "network/interfaces/"+self.parent.netdev+"/receiver/data"): value = str(data[QString(u'value')]).split('.')[0] self.parent.netSpeed["down"] = "%4s" % (value) + if (self.parent.netBool == 2): + self.parent.tooltipAgent.addValue('down', float(value), self.parent.tooltipNum) # update network device self.parent.updateNetdev = self.parent.updateNetdev + 1 if (self.parent.updateNetdev == 100): @@ -166,6 +174,8 @@ class DataEngine: self.parent.label_mem.setText(text) else: self.parent.mem_used = float(data[QString(u'value')]) + if (self.parent.memBool == 2): + self.parent.tooltipAgent.addValue('mem', float(data[QString(u'value')]), self.parent.tooltipNum) elif (sourceName == "mem/swap/free"): self.parent.swap_free = float(data[QString(u'value')]) elif (sourceName == "mem/swap/used"): @@ -180,6 +190,8 @@ class DataEngine: self.parent.label_swap.setText(text) else: self.parent.swap_used = float(data[QString(u'value')]) + if (self.parent.swapBool == 2): + self.parent.tooltipAgent.addValue('swap', float(data[QString(u'value')]), self.parent.tooltipNum) elif (sourceName == "gpu"): value = str(data[QString(u'GPU')]) gpuText = "%4s" % (value) diff --git a/sources/ptm/contents/code/main.py b/sources/ptm/contents/code/main.py index 15759a6..9d9ebc5 100644 --- a/sources/ptm/contents/code/main.py +++ b/sources/ptm/contents/code/main.py @@ -30,6 +30,7 @@ import configdef import configwindow import dataengine import reinit +import tooltip from util import * @@ -43,16 +44,17 @@ class pyTextWidget(plasmascript.Applet): def init(self): """function to initializate widget""" self._name = str(self.package().metadata().pluginName()) - self.initTooltip() self.layout = QGraphicsLinearLayout(Qt.Horizontal, self.applet) self.dataengine = dataengine.DataEngine(self) self.reinit = reinit.Reinit(self) + self.tooltipAgent = tooltip.Tooltip(self) self.timer = QTimer() QObject.connect(self.timer, SIGNAL("timeout()"), self.updateLabel) self.setupVar() + self.initTooltip() self.reinit.reinit(confAccept=False) self.setHasConfigurationInterface(True) @@ -84,8 +86,22 @@ class pyTextWidget(plasmascript.Applet): self.tooltip.setMainText("PyTextMonitor") self.tooltip.setSubText('') Plasma.ToolTipManager.self().registerWidget(self.applet) + # graphical tooltip + self.tooltip_pixmap = QPixmap() + self.tooltip_scene = QGraphicsScene() + self.tooltip_view = QGraphicsView(self.tooltip_scene) + self.tooltip_view.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) + self.tooltip_view.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff) # show tooltip - #Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip) + Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip) + + + def updateTooltip(self): + """function to update tooltip""" + self.tooltip_view.resize(100.0*(len(self.tooltipReq)-self.tooltipReq.count('up')), 100.0) + self.tooltipAgent.createGraphic(self.tooltipReq, self.tooltipColors, self.tooltipValues, self.tooltip_scene) + self.tooltip.setImage(QPixmap.grabWidget(self.tooltip_view)) + Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip) def mouseDoubleClickEvent(self, event): @@ -124,6 +140,11 @@ class pyTextWidget(plasmascript.Applet): self.mount = {} self.hddNames = [] self.hdd = {} + self.tooltipColors = {} + self.tooltipNum = 100 + self.tooltipReq = [] + self.tooltipValues = {'cpu':[0.0, 0.01], 'cpuclock':[0.0, 0.01], 'mem':[0.0, 0.01], + 'swap':[0.0, 0.01], 'up':[0.0, 0.01], 'down':[0.0, 0.01]} # create dictionaries self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', 'f':'custom', '9':'gpu', @@ -176,6 +197,7 @@ class pyTextWidget(plasmascript.Applet): self.swapText() if (self.tempBool > 0): self.tempText() + self.updateTooltip() def batText(self): diff --git a/sources/ptm/contents/code/reinit.py b/sources/ptm/contents/code/reinit.py index 1042bfa..a3f8865 100644 --- a/sources/ptm/contents/code/reinit.py +++ b/sources/ptm/contents/code/reinit.py @@ -85,6 +85,15 @@ class Reinit(): self.parent.player_name = settings.get('player_name', 0).toInt()[0] self.parent.custom_command = str(settings.get('custom_command', 'wget -qO- http://ifconfig.me/ip')) + self.parent.tooltipNum = settings.get('tooltip_num', 100).toInt()[0] + self.parent.tooltipColors['cpu'] = str(settings.get('cpu_color', '#ff0000')) + self.parent.tooltipColors['cpuclock'] = str(settings.get('cpuclock_color', '#00ff00')) + self.parent.tooltipColors['mem'] = str(settings.get('mem_color', '#0000ff')) + self.parent.tooltipColors['swap'] = str(settings.get('swap_color', '#ffff00')) + self.parent.tooltipColors['down'] = str(settings.get('down_color', '#00ffff')) + self.parent.tooltipColors['up'] = str(settings.get('up_color', '#ff00ff')) + + self.parent.tooltipReq = [] self.parent.label_order = str(settings.get('label_order', '1345')) for label in self.parent.dict_orders.values(): if ((label == 'cpu') or (label == 'mem') or (label == 'swap') or (label == 'net')): @@ -102,6 +111,8 @@ class Reinit(): text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] self.parent.label_cpu.setText(text) self.parent.layout.addItem(self.parent.label_cpu) + if (self.parent.cpuBool == 2): + self.parent.tooltipReq.append('cpu') elif (order == "2"): if (self.parent.tempBool > 0): self.parent.tempFormat = str(settings.get('tempFormat', '[temp: $temp0°C]')) @@ -125,6 +136,8 @@ class Reinit(): text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] self.parent.label_mem.setText(text) self.parent.layout.addItem(self.parent.label_mem) + if (self.parent.memBool == 2): + self.parent.tooltipReq.append('mem') elif (order == "4"): if (self.parent.swapBool > 0): self.parent.swapFormat = str(settings.get('swapFormat', '[swap: $swap%]')) @@ -139,6 +152,8 @@ class Reinit(): text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] self.parent.label_swap.setText(text) self.parent.layout.addItem(self.parent.label_swap) + if (self.parent.swapBool == 2): + self.parent.tooltipReq.append('swap') elif (order == "5"): if (self.parent.netBool > 0): self.parent.netNonFormat = str(settings.get('netNonFormat', '[net: $down/$upKB/s]')) @@ -155,6 +170,9 @@ class Reinit(): text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] self.parent.label_net.setText(text) self.parent.layout.addItem(self.parent.label_net) + if (self.parent.netBool == 2): + self.parent.tooltipReq.append('down') + self.parent.tooltipReq.append('up') elif (order == "6"): if (self.parent.batBool > 0): self.parent.batFormat = str(settings.get('batFormat', '[bat: $bat%$ac]')) @@ -171,6 +189,8 @@ class Reinit(): text = self.parent.formatLine.split('$LINE')[0] + line + self.parent.formatLine.split('$LINE')[1] self.parent.label_cpuclock.setText(text) self.parent.layout.addItem(self.parent.label_cpuclock) + if (self.parent.cpuclockBool == 2): + self.parent.tooltipReq.append('cpuclock') elif (order == "8"): if (self.parent.uptimeBool > 0): self.parent.uptimeFormat = str(settings.get('uptimeFormat', '[uptime: $uptime]')) diff --git a/sources/ptm/contents/code/tooltip.py b/sources/ptm/contents/code/tooltip.py new file mode 100644 index 0000000..87a0d46 --- /dev/null +++ b/sources/ptm/contents/code/tooltip.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- + +############################################################################ +# This file is part of pytextmonitor # +# # +# pytextmonitor 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 3 of the # +# License, or (at your option) any later version. # +# # +# pytextmonitor 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 pytextmonitor. If not, see http://www.gnu.org/licenses/ # +############################################################################ + +from PyQt4.QtCore import * +from PyQt4.QtGui import * + + + +class Tooltip(): + def __init__(self, parent): + """class definition""" + self.parent = parent + + + def addValue(self, type, value=0.0, tooltipNum=100): + """function to add value to list""" + if (len(self.parent.tooltipValues[type]) > tooltipNum): + self.parent.tooltipValues[type] = self.parent.tooltipValues[type][1:] + self.parent.tooltipValues[type].append(value) + + + def createGraphic(self, types, colors, values, widget): + """function to create graph""" + widget.clear() + maxOne = [100.0, 100.0] + pen = QPen() + down = False + for type in types: + bound = [values[type][0], values[type][0]] + for value in values[type]: + if (value < bound[0]): + bound[0] = value + elif (value > bound[1]): + bound[1] = value + norm = [maxOne[0] / len(values[type]), maxOne[1] / (1.5*(bound[1] - bound[0]))] + pen.setColor(QColor(colors[type])) + if (down): + shift = (types.index(type) - 1) * maxOne[0] + else: + shift = types.index(type) * maxOne[0] + for i in range(len(values[type])-1): + x1 = i * norm[0] + shift + y1 = -(values[type][i] - bound[0]) * norm[1] + x2 = (i + 1) * norm[0] + shift + y2 = -(values[type][i+1] - bound[0]) * norm[1] + widget.addLine(x1, y1, x2, y2, pen) + if (type == 'down'): + down = True + diff --git a/sources/ptm/contents/ui/configwindow.ui b/sources/ptm/contents/ui/configwindow.ui index 2ab2348..4558fb5 100644 --- a/sources/ptm/contents/ui/configwindow.ui +++ b/sources/ptm/contents/ui/configwindow.ui @@ -7,7 +7,7 @@ 0 0 575 - 538 + 593 @@ -50,6 +50,9 @@ Qt::AlignCenter + + true + @@ -186,6 +189,9 @@ $custom - custom format true + + true + @@ -247,6 +253,9 @@ $cpu7 - load CPU for core 7, % true + + true + @@ -482,6 +491,9 @@ $cpucl7 - CPU clock for core 7, MHz true + + true + @@ -541,6 +553,9 @@ $memmb - RAM usage, MB true + + true + @@ -716,6 +731,9 @@ $swapmb - swap usage, MB true + + true + @@ -1380,7 +1398,7 @@ wget -qO- http://ifconfig.me/ip - get external IP - + Qt::Vertical @@ -1394,6 +1412,334 @@ wget -qO- http://ifconfig.me/ip - get external IP + + + Tooltip + + + + + + CPU, CPU clock, memory, swap and network labels support graphical tooltip. To enable them just make needed checkbox fully checked. + + + Qt::AlignCenter + + + true + + + + + + + + + + 120 + 0 + + + + Number of values for tooltips + + + + + + + Qt::Horizontal + + + + 40 + 19 + + + + + + + + + 180 + 0 + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + 50 + + + 1000 + + + 25 + + + 100 + + + + + + + + + + + + 120 + 0 + + + + CPU color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + + + + 120 + 0 + + + + CPU clock color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + + + + 120 + 0 + + + + Memory color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + + + + 120 + 0 + + + + Swap color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + + + + 120 + 0 + + + + Download speed color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + + + + 120 + 0 + + + + Upload speed color + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 180 + 0 + + + + + + + + + + Qt::Vertical + + + + 20 + 289 + + + + + + Appearance @@ -1785,6 +2131,13 @@ wget -qO- http://ifconfig.me/ip - get external IP lineEdit_acdev comboBox_playerSelect lineEdit_customCommand + spinBox_tooltipNum + kcolorcombo_cpu + kcolorcombo_cpuclock + kcolorcombo_mem + kcolorcombo_swap + kcolorcombo_down + kcolorcombo_up spinBox_interval fontComboBox spinBox_fontSize diff --git a/sources/ptm/po/en.po b/sources/ptm/po/en.po index 1a08963..040c258 100644 --- a/sources/ptm/po/en.po +++ b/sources/ptm/po/en.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" -"POT-Creation-Date: 2014-04-01 23:36+0400\n" -"PO-Revision-Date: 2014-04-01 23:39+0400\n" +"POT-Creation-Date: 2014-04-02 20:48+0400\n" +"PO-Revision-Date: 2014-04-02 20:49+0400\n" "Last-Translator: Evgeniy Alekseev \n" "Language-Team: Russian \n" "Language: ru\n" @@ -40,13 +40,13 @@ msgstr "" "Detailed information may be found on project homepage" -#. i18n: file: ui/configwindow.ui:66 +#. i18n: file: ui/configwindow.ui:69 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_time) #: rc.cpp:12 msgid "Time" msgstr "Time" -#. i18n: file: ui/configwindow.ui:80 +#. i18n: file: ui/configwindow.ui:83 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time) #: rc.cpp:15 msgid "" @@ -62,13 +62,13 @@ msgstr "" "$longtime - time in log format\n" "$custom - custom time format" -#. i18n: file: ui/configwindow.ui:125 +#. i18n: file: ui/configwindow.ui:128 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime) #: rc.cpp:22 msgid "Uptime" msgstr "Uptime" -#. i18n: file: ui/configwindow.ui:136 +#. i18n: file: ui/configwindow.ui:139 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime) #: rc.cpp:25 msgid "" @@ -78,13 +78,13 @@ msgstr "" "$uptime - system uptime\n" "$custom - custom format" -#. i18n: file: ui/configwindow.ui:184 +#. i18n: file: ui/configwindow.ui:187 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu) #: rc.cpp:29 msgid "CPU" msgstr "CPU" -#. i18n: file: ui/configwindow.ui:197 +#. i18n: file: ui/configwindow.ui:203 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu) #: rc.cpp:33 #, no-c-format @@ -99,13 +99,13 @@ msgstr "" "...\n" "$cpu7 - load CPU for core 7, %" -#. i18n: file: ui/configwindow.ui:245 +#. i18n: file: ui/configwindow.ui:251 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock) #: rc.cpp:39 msgid "CPU Clock" msgstr "CPU Clock" -#. i18n: file: ui/configwindow.ui:258 +#. i18n: file: ui/configwindow.ui:267 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock) #: rc.cpp:42 msgid "" @@ -119,50 +119,50 @@ msgstr "" "...\n" "$cpucl7 - CPU clock for core 7, MHz" -#. i18n: file: ui/configwindow.ui:306 +#. i18n: file: ui/configwindow.ui:315 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp) #: rc.cpp:48 msgid "Temperature" msgstr "Temperature" -#. i18n: file: ui/configwindow.ui:316 +#. i18n: file: ui/configwindow.ui:325 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp) #: rc.cpp:51 msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgstr "$tempN - physical temperature on device N (from 0). Example: $temp0" -#. i18n: file: ui/configwindow.ui:364 +#. i18n: file: ui/configwindow.ui:373 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu) #: rc.cpp:54 msgid "GPU" msgstr "GPU" -#. i18n: file: ui/configwindow.ui:374 +#. i18n: file: ui/configwindow.ui:383 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu) #: rc.cpp:58 #, no-c-format msgid "$gpu - gpu usage, %" msgstr "$gpu - gpu usage, %" -#. i18n: file: ui/configwindow.ui:422 +#. i18n: file: ui/configwindow.ui:431 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp) #: rc.cpp:61 msgid "GPU Temp" msgstr "GPU Temp" -#. i18n: file: ui/configwindow.ui:432 +#. i18n: file: ui/configwindow.ui:441 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp) #: rc.cpp:64 msgid "$gputemp - physical temperature on GPU" msgstr "$gputemp - physical temperature on GPU" -#. i18n: file: ui/configwindow.ui:480 +#. i18n: file: ui/configwindow.ui:489 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem) #: rc.cpp:67 msgid "Memory" msgstr "Memory" -#. i18n: file: ui/configwindow.ui:491 +#. i18n: file: ui/configwindow.ui:503 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem) #: rc.cpp:71 #, no-c-format @@ -173,13 +173,13 @@ msgstr "" "$mem - RAM usage, %\n" "$memmb - RAM usage, MB" -#. i18n: file: ui/configwindow.ui:539 +#. i18n: file: ui/configwindow.ui:551 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap) #: rc.cpp:75 msgid "Swap" msgstr "Swap" -#. i18n: file: ui/configwindow.ui:550 +#. i18n: file: ui/configwindow.ui:565 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap) #: rc.cpp:79 #, no-c-format @@ -190,26 +190,26 @@ msgstr "" "$swap - swap usage, %\n" "$swapmb - swap usage, MB" -#. i18n: file: ui/configwindow.ui:598 +#. i18n: file: ui/configwindow.ui:613 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #: rc.cpp:83 msgid "HDD" msgstr "HDD" -#. i18n: file: ui/configwindow.ui:608 +#. i18n: file: ui/configwindow.ui:623 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd) #: rc.cpp:87 #, no-c-format msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0" msgstr "$hddN - usage for mount point N (from 0), %. Example: $hdd0" -#. i18n: file: ui/configwindow.ui:656 +#. i18n: file: ui/configwindow.ui:671 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp) #: rc.cpp:90 msgid "HDD Temp" msgstr "HDD Temp" -#. i18n: file: ui/configwindow.ui:666 +#. i18n: file: ui/configwindow.ui:681 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp) #: rc.cpp:93 msgid "" @@ -217,13 +217,13 @@ msgid "" msgstr "" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" -#. i18n: file: ui/configwindow.ui:714 +#. i18n: file: ui/configwindow.ui:729 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_net) #: rc.cpp:96 msgid "Network" msgstr "Network" -#. i18n: file: ui/configwindow.ui:726 +#. i18n: file: ui/configwindow.ui:744 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net) #: rc.cpp:99 msgid "" @@ -235,13 +235,13 @@ msgstr "" "$up - upload speed, KB/s\n" "$netdev - current network device" -#. i18n: file: ui/configwindow.ui:774 +#. i18n: file: ui/configwindow.ui:792 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat) #: rc.cpp:104 msgid "Battery" msgstr "Battery" -#. i18n: file: ui/configwindow.ui:785 +#. i18n: file: ui/configwindow.ui:803 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat) #: rc.cpp:108 #, no-c-format @@ -252,15 +252,15 @@ msgstr "" "$bat - battery charge, %\n" "$ac - AC status" -#. i18n: file: ui/configwindow.ui:833 +#. i18n: file: ui/configwindow.ui:851 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_player) -#. i18n: file: ui/configwindow.ui:1329 +#. i18n: file: ui/configwindow.ui:1338 #. i18n: ectx: property (text), widget (QLabel, label_playerSelect) #: rc.cpp:112 rc.cpp:214 msgid "Music player" msgstr "Music player" -#. i18n: file: ui/configwindow.ui:847 +#. i18n: file: ui/configwindow.ui:865 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player) #: rc.cpp:115 msgid "" @@ -276,31 +276,31 @@ msgstr "" "$time - song duration\n" "$title - song title" -#. i18n: file: ui/configwindow.ui:895 +#. i18n: file: ui/configwindow.ui:913 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom) #: rc.cpp:122 msgid "Custom" msgstr "Custom" -#. i18n: file: ui/configwindow.ui:905 +#. i18n: file: ui/configwindow.ui:923 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) #: rc.cpp:125 msgid "$custom - get output from custom command" msgstr "$custom - get output from custom command" -#. i18n: file: ui/configwindow.ui:959 +#. i18n: file: ui/configwindow.ui:977 #. i18n: ectx: attribute (title), widget (QWidget, advanced) #: rc.cpp:128 msgid "Advanced" msgstr "Advanced" -#. i18n: file: ui/configwindow.ui:973 +#. i18n: file: ui/configwindow.ui:991 #. i18n: ectx: property (text), widget (QLabel, label_timeFormat) #: rc.cpp:131 msgid "Custom time format" msgstr "Custom time format" -#. i18n: file: ui/configwindow.ui:995 +#. i18n: file: ui/configwindow.ui:1013 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat) #: rc.cpp:134 msgid "" @@ -338,13 +338,13 @@ msgstr "" "$ss - seconds\n" "$s - seconds w\\o zero" -#. i18n: file: ui/configwindow.ui:1015 +#. i18n: file: ui/configwindow.ui:1033 #. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat) #: rc.cpp:152 msgid "Custom uptime format" msgstr "Custom uptime format" -#. i18n: file: ui/configwindow.ui:1024 +#. i18n: file: ui/configwindow.ui:1042 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat) #: rc.cpp:155 msgid "" @@ -356,27 +356,27 @@ msgstr "" "$hs - uptime hours\n" "$ms - uptime minutes" -#. i18n: file: ui/configwindow.ui:1046 +#. i18n: file: ui/configwindow.ui:1064 #. i18n: ectx: property (text), widget (QLabel, label_tempDevice) #: rc.cpp:160 msgid "Temperature devices" msgstr "Temperature devices" -#. i18n: file: ui/configwindow.ui:1072 +#. i18n: file: ui/configwindow.ui:1090 #. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice) -#. i18n: file: ui/configwindow.ui:1130 +#. i18n: file: ui/configwindow.ui:1145 #. i18n: ectx: property (text), widget (QPushButton, pushButton_mount) -#. i18n: file: ui/configwindow.ui:1188 +#. i18n: file: ui/configwindow.ui:1200 #. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice) #: rc.cpp:163 rc.cpp:173 rc.cpp:183 msgid "Add" msgstr "Add" -#. i18n: file: ui/configwindow.ui:1082 +#. i18n: file: ui/configwindow.ui:1100 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice) -#. i18n: file: ui/configwindow.ui:1140 +#. i18n: file: ui/configwindow.ui:1155 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount) -#. i18n: file: ui/configwindow.ui:1198 +#. i18n: file: ui/configwindow.ui:1210 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice) #: rc.cpp:166 rc.cpp:176 rc.cpp:186 msgid "" @@ -386,91 +386,91 @@ msgstr "" "Editable\n" "del - remove item" -#. i18n: file: ui/configwindow.ui:1104 +#. i18n: file: ui/configwindow.ui:1119 #. i18n: ectx: property (text), widget (QLabel, label_mount) #: rc.cpp:170 msgid "Mount points" msgstr "Mount points" -#. i18n: file: ui/configwindow.ui:1162 +#. i18n: file: ui/configwindow.ui:1174 #. i18n: ectx: property (text), widget (QLabel, label_hddDevice) #: rc.cpp:180 msgid "HDD devices" msgstr "HDD devices" -#. i18n: file: ui/configwindow.ui:1218 +#. i18n: file: ui/configwindow.ui:1227 #. i18n: ectx: property (text), widget (QLabel, label_netdir) #: rc.cpp:190 msgid "Network directory" msgstr "Network directory" -#. i18n: file: ui/configwindow.ui:1225 +#. i18n: file: ui/configwindow.ui:1234 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir) #: rc.cpp:193 msgid "\"/sys/class/net\" by default" msgstr "\"/sys/class/net\" by default" -#. i18n: file: ui/configwindow.ui:1245 +#. i18n: file: ui/configwindow.ui:1254 #. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev) #: rc.cpp:196 msgid "Disable auto select device and set specified device" msgstr "Disable auto select device and set specified device" -#. i18n: file: ui/configwindow.ui:1248 +#. i18n: file: ui/configwindow.ui:1257 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev) #: rc.cpp:199 msgid "Set network device" msgstr "Set network device" -#. i18n: file: ui/configwindow.ui:1281 +#. i18n: file: ui/configwindow.ui:1290 #. i18n: ectx: property (text), widget (QLabel, label_batdev) #: rc.cpp:202 msgid "Battery device" msgstr "Battery device" -#. i18n: file: ui/configwindow.ui:1288 +#. i18n: file: ui/configwindow.ui:1297 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev) #: rc.cpp:205 msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgstr "\"/sys/class/power_supply/BAT0/capacity\" by default" -#. i18n: file: ui/configwindow.ui:1305 +#. i18n: file: ui/configwindow.ui:1314 #. i18n: ectx: property (text), widget (QLabel, label_acdev) #: rc.cpp:208 msgid "AC device" msgstr "AC device" -#. i18n: file: ui/configwindow.ui:1312 +#. i18n: file: ui/configwindow.ui:1321 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev) #: rc.cpp:211 msgid "\"/sys/class/power_supply/AC/online\" by default" msgstr "\"/sys/class/power_supply/AC/online\" by default" -#. i18n: file: ui/configwindow.ui:1349 +#. i18n: file: ui/configwindow.ui:1358 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:217 msgid "amarok" msgstr "amarok" -#. i18n: file: ui/configwindow.ui:1354 +#. i18n: file: ui/configwindow.ui:1363 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:220 msgid "mpd" msgstr "mpd" -#. i18n: file: ui/configwindow.ui:1359 +#. i18n: file: ui/configwindow.ui:1368 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:223 msgid "qmmp" msgstr "qmmp" -#. i18n: file: ui/configwindow.ui:1377 +#. i18n: file: ui/configwindow.ui:1386 #. i18n: ectx: property (text), widget (QLabel, label_customCommand) #: rc.cpp:226 msgid "Custom command" msgstr "Custom command" -#. i18n: file: ui/configwindow.ui:1385 +#. i18n: file: ui/configwindow.ui:1394 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand) #: rc.cpp:229 msgid "" @@ -480,54 +480,112 @@ msgstr "" "Command to run, example:\n" "wget -qO- http://ifconfig.me/ip - get external IP" -#. i18n: file: ui/configwindow.ui:1408 -#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#. i18n: file: ui/configwindow.ui:1417 +#. i18n: ectx: attribute (title), widget (QWidget, tab) #: rc.cpp:233 +msgid "Tooltip" +msgstr "Tooltip" + +#. i18n: file: ui/configwindow.ui:1423 +#. i18n: ectx: property (text), widget (QLabel, label_tooltip) +#: rc.cpp:236 +msgid "" +"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " +"To enable them just make needed checkbox fully checked." +msgstr "" +"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " +"To enable them just make needed checkbox fully checked." + +#. i18n: file: ui/configwindow.ui:1444 +#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) +#: rc.cpp:239 +msgid "Number of values for tooltips" +msgstr "Number of values for tooltips" + +#. i18n: file: ui/configwindow.ui:1499 +#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) +#: rc.cpp:242 +msgid "CPU color" +msgstr "CPU color" + +#. i18n: file: ui/configwindow.ui:1539 +#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) +#: rc.cpp:245 +msgid "CPU clock color" +msgstr "CPU clock color" + +#. i18n: file: ui/configwindow.ui:1579 +#. i18n: ectx: property (text), widget (QLabel, label_memColor) +#: rc.cpp:248 +msgid "Memory color" +msgstr "Memory color" + +#. i18n: file: ui/configwindow.ui:1619 +#. i18n: ectx: property (text), widget (QLabel, label_swapColor) +#: rc.cpp:251 +msgid "Swap color" +msgstr "Swap color" + +#. i18n: file: ui/configwindow.ui:1659 +#. i18n: ectx: property (text), widget (QLabel, label_downColor) +#: rc.cpp:254 +msgid "Download speed color" +msgstr "Download speed color" + +#. i18n: file: ui/configwindow.ui:1699 +#. i18n: ectx: property (text), widget (QLabel, label_upColor) +#: rc.cpp:257 +msgid "Upload speed color" +msgstr "Upload speed color" + +#. i18n: file: ui/configwindow.ui:1745 +#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#: rc.cpp:260 msgid "Appearance" msgstr "Appearance" -#. i18n: file: ui/configwindow.ui:1422 +#. i18n: file: ui/configwindow.ui:1759 #. i18n: ectx: property (text), widget (QLabel, label_interval) -#: rc.cpp:236 +#: rc.cpp:263 msgid "Time interval" msgstr "Time interval" -#. i18n: file: ui/configwindow.ui:1477 +#. i18n: file: ui/configwindow.ui:1814 #. i18n: ectx: property (text), widget (QLabel, label_font) -#: rc.cpp:239 +#: rc.cpp:266 msgid "Font" msgstr "Font" -#. i18n: file: ui/configwindow.ui:1517 +#. i18n: file: ui/configwindow.ui:1854 #. i18n: ectx: property (text), widget (QLabel, label_fontSize) -#: rc.cpp:242 +#: rc.cpp:269 msgid "Font size" msgstr "Font size" -#. i18n: file: ui/configwindow.ui:1572 +#. i18n: file: ui/configwindow.ui:1909 #. i18n: ectx: property (text), widget (QLabel, label_color) -#: rc.cpp:245 +#: rc.cpp:272 msgid "Font color" msgstr "Font color" -#. i18n: file: ui/configwindow.ui:1612 +#. i18n: file: ui/configwindow.ui:1949 #. i18n: ectx: property (text), widget (QLabel, label_style) -#: rc.cpp:248 +#: rc.cpp:275 msgid "Font style" msgstr "Font style" -#. i18n: file: ui/configwindow.ui:1662 +#. i18n: file: ui/configwindow.ui:1999 #. i18n: ectx: property (text), widget (QLabel, label_weight) -#: rc.cpp:251 +#: rc.cpp:278 msgid "Font weight" msgstr "Font weight" -#: rc.cpp:252 +#: rc.cpp:279 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Evgeniy Alekseev" -#: rc.cpp:253 +#: rc.cpp:280 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "esalexeev@gmail.com" diff --git a/sources/ptm/po/pytextmonitor.pot b/sources/ptm/po/pytextmonitor.pot index de81b73..bebb722 100644 --- a/sources/ptm/po/pytextmonitor.pot +++ b/sources/ptm/po/pytextmonitor.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" -"POT-Creation-Date: 2014-04-01 23:36+0400\n" +"POT-Creation-Date: 2014-04-02 20:48+0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -37,13 +37,13 @@ msgid "" "pytextmonitor/\">project homepage" msgstr "" -#. i18n: file: ui/configwindow.ui:66 +#. i18n: file: ui/configwindow.ui:69 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_time) #: rc.cpp:12 msgid "Time" msgstr "" -#. i18n: file: ui/configwindow.ui:80 +#. i18n: file: ui/configwindow.ui:83 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time) #: rc.cpp:15 msgid "" @@ -54,13 +54,13 @@ msgid "" "$custom - custom time format" msgstr "" -#. i18n: file: ui/configwindow.ui:125 +#. i18n: file: ui/configwindow.ui:128 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime) #: rc.cpp:22 msgid "Uptime" msgstr "" -#. i18n: file: ui/configwindow.ui:136 +#. i18n: file: ui/configwindow.ui:139 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime) #: rc.cpp:25 msgid "" @@ -68,13 +68,13 @@ msgid "" "$custom - custom format" msgstr "" -#. i18n: file: ui/configwindow.ui:184 +#. i18n: file: ui/configwindow.ui:187 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu) #: rc.cpp:29 msgid "CPU" msgstr "" -#. i18n: file: ui/configwindow.ui:197 +#. i18n: file: ui/configwindow.ui:203 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu) #: rc.cpp:33 #, no-c-format @@ -85,13 +85,13 @@ msgid "" "$cpu7 - load CPU for core 7, %" msgstr "" -#. i18n: file: ui/configwindow.ui:245 +#. i18n: file: ui/configwindow.ui:251 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock) #: rc.cpp:39 msgid "CPU Clock" msgstr "" -#. i18n: file: ui/configwindow.ui:258 +#. i18n: file: ui/configwindow.ui:267 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock) #: rc.cpp:42 msgid "" @@ -101,50 +101,50 @@ msgid "" "$cpucl7 - CPU clock for core 7, MHz" msgstr "" -#. i18n: file: ui/configwindow.ui:306 +#. i18n: file: ui/configwindow.ui:315 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp) #: rc.cpp:48 msgid "Temperature" msgstr "" -#. i18n: file: ui/configwindow.ui:316 +#. i18n: file: ui/configwindow.ui:325 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp) #: rc.cpp:51 msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgstr "" -#. i18n: file: ui/configwindow.ui:364 +#. i18n: file: ui/configwindow.ui:373 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu) #: rc.cpp:54 msgid "GPU" msgstr "" -#. i18n: file: ui/configwindow.ui:374 +#. i18n: file: ui/configwindow.ui:383 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu) #: rc.cpp:58 #, no-c-format msgid "$gpu - gpu usage, %" msgstr "" -#. i18n: file: ui/configwindow.ui:422 +#. i18n: file: ui/configwindow.ui:431 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp) #: rc.cpp:61 msgid "GPU Temp" msgstr "" -#. i18n: file: ui/configwindow.ui:432 +#. i18n: file: ui/configwindow.ui:441 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp) #: rc.cpp:64 msgid "$gputemp - physical temperature on GPU" msgstr "" -#. i18n: file: ui/configwindow.ui:480 +#. i18n: file: ui/configwindow.ui:489 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem) #: rc.cpp:67 msgid "Memory" msgstr "" -#. i18n: file: ui/configwindow.ui:491 +#. i18n: file: ui/configwindow.ui:503 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem) #: rc.cpp:71 #, no-c-format @@ -153,13 +153,13 @@ msgid "" "$memmb - RAM usage, MB" msgstr "" -#. i18n: file: ui/configwindow.ui:539 +#. i18n: file: ui/configwindow.ui:551 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap) #: rc.cpp:75 msgid "Swap" msgstr "" -#. i18n: file: ui/configwindow.ui:550 +#. i18n: file: ui/configwindow.ui:565 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap) #: rc.cpp:79 #, no-c-format @@ -168,39 +168,39 @@ msgid "" "$swapmb - swap usage, MB" msgstr "" -#. i18n: file: ui/configwindow.ui:598 +#. i18n: file: ui/configwindow.ui:613 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #: rc.cpp:83 msgid "HDD" msgstr "" -#. i18n: file: ui/configwindow.ui:608 +#. i18n: file: ui/configwindow.ui:623 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd) #: rc.cpp:87 #, no-c-format msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0" msgstr "" -#. i18n: file: ui/configwindow.ui:656 +#. i18n: file: ui/configwindow.ui:671 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp) #: rc.cpp:90 msgid "HDD Temp" msgstr "" -#. i18n: file: ui/configwindow.ui:666 +#. i18n: file: ui/configwindow.ui:681 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp) #: rc.cpp:93 msgid "" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" msgstr "" -#. i18n: file: ui/configwindow.ui:714 +#. i18n: file: ui/configwindow.ui:729 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_net) #: rc.cpp:96 msgid "Network" msgstr "" -#. i18n: file: ui/configwindow.ui:726 +#. i18n: file: ui/configwindow.ui:744 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net) #: rc.cpp:99 msgid "" @@ -209,13 +209,13 @@ msgid "" "$netdev - current network device" msgstr "" -#. i18n: file: ui/configwindow.ui:774 +#. i18n: file: ui/configwindow.ui:792 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat) #: rc.cpp:104 msgid "Battery" msgstr "" -#. i18n: file: ui/configwindow.ui:785 +#. i18n: file: ui/configwindow.ui:803 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat) #: rc.cpp:108 #, no-c-format @@ -224,15 +224,15 @@ msgid "" "$ac - AC status" msgstr "" -#. i18n: file: ui/configwindow.ui:833 +#. i18n: file: ui/configwindow.ui:851 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_player) -#. i18n: file: ui/configwindow.ui:1329 +#. i18n: file: ui/configwindow.ui:1338 #. i18n: ectx: property (text), widget (QLabel, label_playerSelect) #: rc.cpp:112 rc.cpp:214 msgid "Music player" msgstr "" -#. i18n: file: ui/configwindow.ui:847 +#. i18n: file: ui/configwindow.ui:865 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player) #: rc.cpp:115 msgid "" @@ -243,31 +243,31 @@ msgid "" "$title - song title" msgstr "" -#. i18n: file: ui/configwindow.ui:895 +#. i18n: file: ui/configwindow.ui:913 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom) #: rc.cpp:122 msgid "Custom" msgstr "" -#. i18n: file: ui/configwindow.ui:905 +#. i18n: file: ui/configwindow.ui:923 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) #: rc.cpp:125 msgid "$custom - get output from custom command" msgstr "" -#. i18n: file: ui/configwindow.ui:959 +#. i18n: file: ui/configwindow.ui:977 #. i18n: ectx: attribute (title), widget (QWidget, advanced) #: rc.cpp:128 msgid "Advanced" msgstr "" -#. i18n: file: ui/configwindow.ui:973 +#. i18n: file: ui/configwindow.ui:991 #. i18n: ectx: property (text), widget (QLabel, label_timeFormat) #: rc.cpp:131 msgid "Custom time format" msgstr "" -#. i18n: file: ui/configwindow.ui:995 +#. i18n: file: ui/configwindow.ui:1013 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat) #: rc.cpp:134 msgid "" @@ -289,13 +289,13 @@ msgid "" "$s - seconds w\\o zero" msgstr "" -#. i18n: file: ui/configwindow.ui:1015 +#. i18n: file: ui/configwindow.ui:1033 #. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat) #: rc.cpp:152 msgid "Custom uptime format" msgstr "" -#. i18n: file: ui/configwindow.ui:1024 +#. i18n: file: ui/configwindow.ui:1042 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat) #: rc.cpp:155 msgid "" @@ -304,27 +304,27 @@ msgid "" "$ms - uptime minutes" msgstr "" -#. i18n: file: ui/configwindow.ui:1046 +#. i18n: file: ui/configwindow.ui:1064 #. i18n: ectx: property (text), widget (QLabel, label_tempDevice) #: rc.cpp:160 msgid "Temperature devices" msgstr "" -#. i18n: file: ui/configwindow.ui:1072 +#. i18n: file: ui/configwindow.ui:1090 #. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice) -#. i18n: file: ui/configwindow.ui:1130 +#. i18n: file: ui/configwindow.ui:1145 #. i18n: ectx: property (text), widget (QPushButton, pushButton_mount) -#. i18n: file: ui/configwindow.ui:1188 +#. i18n: file: ui/configwindow.ui:1200 #. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice) #: rc.cpp:163 rc.cpp:173 rc.cpp:183 msgid "Add" msgstr "" -#. i18n: file: ui/configwindow.ui:1082 +#. i18n: file: ui/configwindow.ui:1100 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice) -#. i18n: file: ui/configwindow.ui:1140 +#. i18n: file: ui/configwindow.ui:1155 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount) -#. i18n: file: ui/configwindow.ui:1198 +#. i18n: file: ui/configwindow.ui:1210 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice) #: rc.cpp:166 rc.cpp:176 rc.cpp:186 msgid "" @@ -332,91 +332,91 @@ msgid "" "del - remove item" msgstr "" -#. i18n: file: ui/configwindow.ui:1104 +#. i18n: file: ui/configwindow.ui:1119 #. i18n: ectx: property (text), widget (QLabel, label_mount) #: rc.cpp:170 msgid "Mount points" msgstr "" -#. i18n: file: ui/configwindow.ui:1162 +#. i18n: file: ui/configwindow.ui:1174 #. i18n: ectx: property (text), widget (QLabel, label_hddDevice) #: rc.cpp:180 msgid "HDD devices" msgstr "" -#. i18n: file: ui/configwindow.ui:1218 +#. i18n: file: ui/configwindow.ui:1227 #. i18n: ectx: property (text), widget (QLabel, label_netdir) #: rc.cpp:190 msgid "Network directory" msgstr "" -#. i18n: file: ui/configwindow.ui:1225 +#. i18n: file: ui/configwindow.ui:1234 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir) #: rc.cpp:193 msgid "\"/sys/class/net\" by default" msgstr "" -#. i18n: file: ui/configwindow.ui:1245 +#. i18n: file: ui/configwindow.ui:1254 #. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev) #: rc.cpp:196 msgid "Disable auto select device and set specified device" msgstr "" -#. i18n: file: ui/configwindow.ui:1248 +#. i18n: file: ui/configwindow.ui:1257 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev) #: rc.cpp:199 msgid "Set network device" msgstr "" -#. i18n: file: ui/configwindow.ui:1281 +#. i18n: file: ui/configwindow.ui:1290 #. i18n: ectx: property (text), widget (QLabel, label_batdev) #: rc.cpp:202 msgid "Battery device" msgstr "" -#. i18n: file: ui/configwindow.ui:1288 +#. i18n: file: ui/configwindow.ui:1297 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev) #: rc.cpp:205 msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgstr "" -#. i18n: file: ui/configwindow.ui:1305 +#. i18n: file: ui/configwindow.ui:1314 #. i18n: ectx: property (text), widget (QLabel, label_acdev) #: rc.cpp:208 msgid "AC device" msgstr "" -#. i18n: file: ui/configwindow.ui:1312 +#. i18n: file: ui/configwindow.ui:1321 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev) #: rc.cpp:211 msgid "\"/sys/class/power_supply/AC/online\" by default" msgstr "" -#. i18n: file: ui/configwindow.ui:1349 +#. i18n: file: ui/configwindow.ui:1358 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:217 msgid "amarok" msgstr "" -#. i18n: file: ui/configwindow.ui:1354 +#. i18n: file: ui/configwindow.ui:1363 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:220 msgid "mpd" msgstr "" -#. i18n: file: ui/configwindow.ui:1359 +#. i18n: file: ui/configwindow.ui:1368 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:223 msgid "qmmp" msgstr "" -#. i18n: file: ui/configwindow.ui:1377 +#. i18n: file: ui/configwindow.ui:1386 #. i18n: ectx: property (text), widget (QLabel, label_customCommand) #: rc.cpp:226 msgid "Custom command" msgstr "" -#. i18n: file: ui/configwindow.ui:1385 +#. i18n: file: ui/configwindow.ui:1394 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand) #: rc.cpp:229 msgid "" @@ -424,54 +424,110 @@ msgid "" "wget -qO- http://ifconfig.me/ip - get external IP" msgstr "" -#. i18n: file: ui/configwindow.ui:1408 -#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#. i18n: file: ui/configwindow.ui:1417 +#. i18n: ectx: attribute (title), widget (QWidget, tab) #: rc.cpp:233 +msgid "Tooltip" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1423 +#. i18n: ectx: property (text), widget (QLabel, label_tooltip) +#: rc.cpp:236 +msgid "" +"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " +"To enable them just make needed checkbox fully checked." +msgstr "" + +#. i18n: file: ui/configwindow.ui:1444 +#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) +#: rc.cpp:239 +msgid "Number of values for tooltips" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1499 +#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) +#: rc.cpp:242 +msgid "CPU color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1539 +#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) +#: rc.cpp:245 +msgid "CPU clock color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1579 +#. i18n: ectx: property (text), widget (QLabel, label_memColor) +#: rc.cpp:248 +msgid "Memory color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1619 +#. i18n: ectx: property (text), widget (QLabel, label_swapColor) +#: rc.cpp:251 +msgid "Swap color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1659 +#. i18n: ectx: property (text), widget (QLabel, label_downColor) +#: rc.cpp:254 +msgid "Download speed color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1699 +#. i18n: ectx: property (text), widget (QLabel, label_upColor) +#: rc.cpp:257 +msgid "Upload speed color" +msgstr "" + +#. i18n: file: ui/configwindow.ui:1745 +#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#: rc.cpp:260 msgid "Appearance" msgstr "" -#. i18n: file: ui/configwindow.ui:1422 +#. i18n: file: ui/configwindow.ui:1759 #. i18n: ectx: property (text), widget (QLabel, label_interval) -#: rc.cpp:236 +#: rc.cpp:263 msgid "Time interval" msgstr "" -#. i18n: file: ui/configwindow.ui:1477 +#. i18n: file: ui/configwindow.ui:1814 #. i18n: ectx: property (text), widget (QLabel, label_font) -#: rc.cpp:239 +#: rc.cpp:266 msgid "Font" msgstr "" -#. i18n: file: ui/configwindow.ui:1517 +#. i18n: file: ui/configwindow.ui:1854 #. i18n: ectx: property (text), widget (QLabel, label_fontSize) -#: rc.cpp:242 +#: rc.cpp:269 msgid "Font size" msgstr "" -#. i18n: file: ui/configwindow.ui:1572 +#. i18n: file: ui/configwindow.ui:1909 #. i18n: ectx: property (text), widget (QLabel, label_color) -#: rc.cpp:245 +#: rc.cpp:272 msgid "Font color" msgstr "" -#. i18n: file: ui/configwindow.ui:1612 +#. i18n: file: ui/configwindow.ui:1949 #. i18n: ectx: property (text), widget (QLabel, label_style) -#: rc.cpp:248 +#: rc.cpp:275 msgid "Font style" msgstr "" -#. i18n: file: ui/configwindow.ui:1662 +#. i18n: file: ui/configwindow.ui:1999 #. i18n: ectx: property (text), widget (QLabel, label_weight) -#: rc.cpp:251 +#: rc.cpp:278 msgid "Font weight" msgstr "" -#: rc.cpp:252 +#: rc.cpp:279 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "" -#: rc.cpp:253 +#: rc.cpp:280 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "" diff --git a/sources/ptm/po/ru.po b/sources/ptm/po/ru.po index a1c8406..ef3186d 100644 --- a/sources/ptm/po/ru.po +++ b/sources/ptm/po/ru.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" -"POT-Creation-Date: 2014-04-01 23:36+0400\n" -"PO-Revision-Date: 2014-04-01 23:48+0400\n" +"POT-Creation-Date: 2014-04-02 20:48+0400\n" +"PO-Revision-Date: 2014-04-02 20:52+0400\n" "Last-Translator: Evgeniy Alekseev \n" "Language-Team: Russian \n" "Language: ru\n" @@ -40,13 +40,13 @@ msgstr "" "Подробная информация может быть найдена на домашней странице проекта" -#. i18n: file: ui/configwindow.ui:66 +#. i18n: file: ui/configwindow.ui:69 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_time) #: rc.cpp:12 msgid "Time" msgstr "Время" -#. i18n: file: ui/configwindow.ui:80 +#. i18n: file: ui/configwindow.ui:83 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time) #: rc.cpp:15 msgid "" @@ -62,13 +62,13 @@ msgstr "" "$longtime - время в длинном формате\n" "$custom - свой формат времени" -#. i18n: file: ui/configwindow.ui:125 +#. i18n: file: ui/configwindow.ui:128 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime) #: rc.cpp:22 msgid "Uptime" msgstr "Время работы" -#. i18n: file: ui/configwindow.ui:136 +#. i18n: file: ui/configwindow.ui:139 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime) #: rc.cpp:25 msgid "" @@ -78,13 +78,13 @@ msgstr "" "$uptime - время работы\n" "$custom - свой формат" -#. i18n: file: ui/configwindow.ui:184 +#. i18n: file: ui/configwindow.ui:187 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu) #: rc.cpp:29 msgid "CPU" msgstr "CPU" -#. i18n: file: ui/configwindow.ui:197 +#. i18n: file: ui/configwindow.ui:203 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu) #: rc.cpp:33 #, no-c-format @@ -99,13 +99,13 @@ msgstr "" "...\n" "$cpu7 - загрузка CPU для ядра 7, %" -#. i18n: file: ui/configwindow.ui:245 +#. i18n: file: ui/configwindow.ui:251 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock) #: rc.cpp:39 msgid "CPU Clock" msgstr "Частота CPU" -#. i18n: file: ui/configwindow.ui:258 +#. i18n: file: ui/configwindow.ui:267 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock) #: rc.cpp:42 msgid "" @@ -119,50 +119,50 @@ msgstr "" "...\n" "$cpucl7 - частота CPU для ядра 7, MHz" -#. i18n: file: ui/configwindow.ui:306 +#. i18n: file: ui/configwindow.ui:315 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp) #: rc.cpp:48 msgid "Temperature" msgstr "Температура" -#. i18n: file: ui/configwindow.ui:316 +#. i18n: file: ui/configwindow.ui:325 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp) #: rc.cpp:51 msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgstr "$tempN - физическая температура на устройстве N (от 0). Пример: $temp0" -#. i18n: file: ui/configwindow.ui:364 +#. i18n: file: ui/configwindow.ui:373 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu) #: rc.cpp:54 msgid "GPU" msgstr "GPU" -#. i18n: file: ui/configwindow.ui:374 +#. i18n: file: ui/configwindow.ui:383 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu) #: rc.cpp:58 #, no-c-format msgid "$gpu - gpu usage, %" msgstr "$gpu - использование GPU, %" -#. i18n: file: ui/configwindow.ui:422 +#. i18n: file: ui/configwindow.ui:431 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp) #: rc.cpp:61 msgid "GPU Temp" msgstr "Температура GPU" -#. i18n: file: ui/configwindow.ui:432 +#. i18n: file: ui/configwindow.ui:441 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp) #: rc.cpp:64 msgid "$gputemp - physical temperature on GPU" msgstr "$gputemp - физическая температура на GPU" -#. i18n: file: ui/configwindow.ui:480 +#. i18n: file: ui/configwindow.ui:489 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem) #: rc.cpp:67 msgid "Memory" msgstr "Память" -#. i18n: file: ui/configwindow.ui:491 +#. i18n: file: ui/configwindow.ui:503 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem) #: rc.cpp:71 #, no-c-format @@ -173,13 +173,13 @@ msgstr "" "$mem - использование RAM, %\n" "$memmb - использование RAM, MB" -#. i18n: file: ui/configwindow.ui:539 +#. i18n: file: ui/configwindow.ui:551 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap) #: rc.cpp:75 msgid "Swap" msgstr "Swap" -#. i18n: file: ui/configwindow.ui:550 +#. i18n: file: ui/configwindow.ui:565 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap) #: rc.cpp:79 #, no-c-format @@ -190,26 +190,26 @@ msgstr "" "$swap - использование swap, %\n" "$swapmb - использование swap, MB" -#. i18n: file: ui/configwindow.ui:598 +#. i18n: file: ui/configwindow.ui:613 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd) #: rc.cpp:83 msgid "HDD" msgstr "HDD" -#. i18n: file: ui/configwindow.ui:608 +#. i18n: file: ui/configwindow.ui:623 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd) #: rc.cpp:87 #, no-c-format msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0" msgstr "$hddN - использование точки монтирования N (от 0), %. Пример: $hdd0" -#. i18n: file: ui/configwindow.ui:656 +#. i18n: file: ui/configwindow.ui:671 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp) #: rc.cpp:90 msgid "HDD Temp" msgstr "Температура HDD" -#. i18n: file: ui/configwindow.ui:666 +#. i18n: file: ui/configwindow.ui:681 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp) #: rc.cpp:93 msgid "" @@ -218,13 +218,13 @@ msgstr "" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0 " "$hddtempN - температура на устройстве N (от 0). Пример: $hddtemp0" -#. i18n: file: ui/configwindow.ui:714 +#. i18n: file: ui/configwindow.ui:729 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_net) #: rc.cpp:96 msgid "Network" msgstr "Сеть" -#. i18n: file: ui/configwindow.ui:726 +#. i18n: file: ui/configwindow.ui:744 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net) #: rc.cpp:99 msgid "" @@ -236,13 +236,13 @@ msgstr "" "$up - скорость загрузки, KB/s\n" "$netdev - текущее устройство" -#. i18n: file: ui/configwindow.ui:774 +#. i18n: file: ui/configwindow.ui:792 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat) #: rc.cpp:104 msgid "Battery" msgstr "Батарея" -#. i18n: file: ui/configwindow.ui:785 +#. i18n: file: ui/configwindow.ui:803 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat) #: rc.cpp:108 #, no-c-format @@ -253,15 +253,15 @@ msgstr "" "$bat - заряд батареи, %\n" "$ac - статус адаптора питания" -#. i18n: file: ui/configwindow.ui:833 +#. i18n: file: ui/configwindow.ui:851 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_player) -#. i18n: file: ui/configwindow.ui:1329 +#. i18n: file: ui/configwindow.ui:1338 #. i18n: ectx: property (text), widget (QLabel, label_playerSelect) #: rc.cpp:112 rc.cpp:214 msgid "Music player" msgstr "Музыкальный плеер" -#. i18n: file: ui/configwindow.ui:847 +#. i18n: file: ui/configwindow.ui:865 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player) #: rc.cpp:115 msgid "" @@ -277,31 +277,31 @@ msgstr "" "$time - продолжительность\n" "$title - название" -#. i18n: file: ui/configwindow.ui:895 +#. i18n: file: ui/configwindow.ui:913 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom) #: rc.cpp:122 msgid "Custom" msgstr "Своя команда" -#. i18n: file: ui/configwindow.ui:905 +#. i18n: file: ui/configwindow.ui:923 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) #: rc.cpp:125 msgid "$custom - get output from custom command" msgstr "$custom - получить информацию из своей команды" -#. i18n: file: ui/configwindow.ui:959 +#. i18n: file: ui/configwindow.ui:977 #. i18n: ectx: attribute (title), widget (QWidget, advanced) #: rc.cpp:128 msgid "Advanced" msgstr "Расширенные" -#. i18n: file: ui/configwindow.ui:973 +#. i18n: file: ui/configwindow.ui:991 #. i18n: ectx: property (text), widget (QLabel, label_timeFormat) #: rc.cpp:131 msgid "Custom time format" msgstr "Свой формат времени" -#. i18n: file: ui/configwindow.ui:995 +#. i18n: file: ui/configwindow.ui:1013 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat) #: rc.cpp:134 msgid "" @@ -339,13 +339,13 @@ msgstr "" "$ss - секунды\n" "$s - секунды без 0" -#. i18n: file: ui/configwindow.ui:1015 +#. i18n: file: ui/configwindow.ui:1033 #. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat) #: rc.cpp:152 msgid "Custom uptime format" msgstr "Свой формат аптайма" -#. i18n: file: ui/configwindow.ui:1024 +#. i18n: file: ui/configwindow.ui:1042 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat) #: rc.cpp:155 msgid "" @@ -357,27 +357,27 @@ msgstr "" "$hs - часы\n" "$ms - минуты" -#. i18n: file: ui/configwindow.ui:1046 +#. i18n: file: ui/configwindow.ui:1064 #. i18n: ectx: property (text), widget (QLabel, label_tempDevice) #: rc.cpp:160 msgid "Temperature devices" msgstr "Температурные устройства" -#. i18n: file: ui/configwindow.ui:1072 +#. i18n: file: ui/configwindow.ui:1090 #. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice) -#. i18n: file: ui/configwindow.ui:1130 +#. i18n: file: ui/configwindow.ui:1145 #. i18n: ectx: property (text), widget (QPushButton, pushButton_mount) -#. i18n: file: ui/configwindow.ui:1188 +#. i18n: file: ui/configwindow.ui:1200 #. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice) #: rc.cpp:163 rc.cpp:173 rc.cpp:183 msgid "Add" msgstr "Добавить" -#. i18n: file: ui/configwindow.ui:1082 +#. i18n: file: ui/configwindow.ui:1100 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice) -#. i18n: file: ui/configwindow.ui:1140 +#. i18n: file: ui/configwindow.ui:1155 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount) -#. i18n: file: ui/configwindow.ui:1198 +#. i18n: file: ui/configwindow.ui:1210 #. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice) #: rc.cpp:166 rc.cpp:176 rc.cpp:186 msgid "" @@ -387,91 +387,91 @@ msgstr "" "Редактируемо\n" "del - удалить строку" -#. i18n: file: ui/configwindow.ui:1104 +#. i18n: file: ui/configwindow.ui:1119 #. i18n: ectx: property (text), widget (QLabel, label_mount) #: rc.cpp:170 msgid "Mount points" msgstr "Точки монтирования" -#. i18n: file: ui/configwindow.ui:1162 +#. i18n: file: ui/configwindow.ui:1174 #. i18n: ectx: property (text), widget (QLabel, label_hddDevice) #: rc.cpp:180 msgid "HDD devices" msgstr "HDD" -#. i18n: file: ui/configwindow.ui:1218 +#. i18n: file: ui/configwindow.ui:1227 #. i18n: ectx: property (text), widget (QLabel, label_netdir) #: rc.cpp:190 msgid "Network directory" msgstr "Путь к интерфейсам" -#. i18n: file: ui/configwindow.ui:1225 +#. i18n: file: ui/configwindow.ui:1234 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir) #: rc.cpp:193 msgid "\"/sys/class/net\" by default" msgstr "\"/sys/class/net\" по умолчанию" -#. i18n: file: ui/configwindow.ui:1245 +#. i18n: file: ui/configwindow.ui:1254 #. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev) #: rc.cpp:196 msgid "Disable auto select device and set specified device" msgstr "Отключить авто выбор устройства и использовать указанное" -#. i18n: file: ui/configwindow.ui:1248 +#. i18n: file: ui/configwindow.ui:1257 #. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev) #: rc.cpp:199 msgid "Set network device" msgstr "Выберете сетевое устройство" -#. i18n: file: ui/configwindow.ui:1281 +#. i18n: file: ui/configwindow.ui:1290 #. i18n: ectx: property (text), widget (QLabel, label_batdev) #: rc.cpp:202 msgid "Battery device" msgstr "Устройство батареи" -#. i18n: file: ui/configwindow.ui:1288 +#. i18n: file: ui/configwindow.ui:1297 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev) #: rc.cpp:205 msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgstr "\"/sys/class/power_supply/BAT0/capacity\" по умолчанию" -#. i18n: file: ui/configwindow.ui:1305 +#. i18n: file: ui/configwindow.ui:1314 #. i18n: ectx: property (text), widget (QLabel, label_acdev) #: rc.cpp:208 msgid "AC device" msgstr "Устройство AC" -#. i18n: file: ui/configwindow.ui:1312 +#. i18n: file: ui/configwindow.ui:1321 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev) #: rc.cpp:211 msgid "\"/sys/class/power_supply/AC/online\" by default" msgstr "\"/sys/class/power_supply/AC/online\" по умолчанию" -#. i18n: file: ui/configwindow.ui:1349 +#. i18n: file: ui/configwindow.ui:1358 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:217 msgid "amarok" msgstr "amarok" -#. i18n: file: ui/configwindow.ui:1354 +#. i18n: file: ui/configwindow.ui:1363 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:220 msgid "mpd" msgstr "mpd" -#. i18n: file: ui/configwindow.ui:1359 +#. i18n: file: ui/configwindow.ui:1368 #. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect) #: rc.cpp:223 msgid "qmmp" msgstr "qmmp" -#. i18n: file: ui/configwindow.ui:1377 +#. i18n: file: ui/configwindow.ui:1386 #. i18n: ectx: property (text), widget (QLabel, label_customCommand) #: rc.cpp:226 msgid "Custom command" msgstr "Своя команда" -#. i18n: file: ui/configwindow.ui:1385 +#. i18n: file: ui/configwindow.ui:1394 #. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand) #: rc.cpp:229 msgid "" @@ -481,54 +481,112 @@ msgstr "" "Команда для запуска, например:\n" "wget -qO- http://ifconfig.me/ip - получить внешний IP" -#. i18n: file: ui/configwindow.ui:1408 -#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#. i18n: file: ui/configwindow.ui:1417 +#. i18n: ectx: attribute (title), widget (QWidget, tab) #: rc.cpp:233 +msgid "Tooltip" +msgstr "Тултип" + +#. i18n: file: ui/configwindow.ui:1423 +#. i18n: ectx: property (text), widget (QLabel, label_tooltip) +#: rc.cpp:236 +msgid "" +"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " +"To enable them just make needed checkbox fully checked." +msgstr "" +"Поля CPU, частота CPU, память, swap, сеть поддерживают графический тултип. " +"Чтобы включить его, просто сделайте требуемые чекбоксы полностью чекнутыми." + +#. i18n: file: ui/configwindow.ui:1444 +#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum) +#: rc.cpp:239 +msgid "Number of values for tooltips" +msgstr "Число хранящихся значений" + +#. i18n: file: ui/configwindow.ui:1499 +#. i18n: ectx: property (text), widget (QLabel, label_cpuColor) +#: rc.cpp:242 +msgid "CPU color" +msgstr "Цвет CPU" + +#. i18n: file: ui/configwindow.ui:1539 +#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor) +#: rc.cpp:245 +msgid "CPU clock color" +msgstr "Цвет частоты CPU" + +#. i18n: file: ui/configwindow.ui:1579 +#. i18n: ectx: property (text), widget (QLabel, label_memColor) +#: rc.cpp:248 +msgid "Memory color" +msgstr "Цвет памяти" + +#. i18n: file: ui/configwindow.ui:1619 +#. i18n: ectx: property (text), widget (QLabel, label_swapColor) +#: rc.cpp:251 +msgid "Swap color" +msgstr "Цвет swap" + +#. i18n: file: ui/configwindow.ui:1659 +#. i18n: ectx: property (text), widget (QLabel, label_downColor) +#: rc.cpp:254 +msgid "Download speed color" +msgstr "Цвет скорости загрузки" + +#. i18n: file: ui/configwindow.ui:1699 +#. i18n: ectx: property (text), widget (QLabel, label_upColor) +#: rc.cpp:257 +msgid "Upload speed color" +msgstr "Цвет скорости отдачи" + +#. i18n: file: ui/configwindow.ui:1745 +#. i18n: ectx: attribute (title), widget (QWidget, appearance) +#: rc.cpp:260 msgid "Appearance" msgstr "Внешний вид" -#. i18n: file: ui/configwindow.ui:1422 +#. i18n: file: ui/configwindow.ui:1759 #. i18n: ectx: property (text), widget (QLabel, label_interval) -#: rc.cpp:236 +#: rc.cpp:263 msgid "Time interval" msgstr "Интервал обновления" -#. i18n: file: ui/configwindow.ui:1477 +#. i18n: file: ui/configwindow.ui:1814 #. i18n: ectx: property (text), widget (QLabel, label_font) -#: rc.cpp:239 +#: rc.cpp:266 msgid "Font" msgstr "Шрифт" -#. i18n: file: ui/configwindow.ui:1517 +#. i18n: file: ui/configwindow.ui:1854 #. i18n: ectx: property (text), widget (QLabel, label_fontSize) -#: rc.cpp:242 +#: rc.cpp:269 msgid "Font size" msgstr "Размер шрифта" -#. i18n: file: ui/configwindow.ui:1572 +#. i18n: file: ui/configwindow.ui:1909 #. i18n: ectx: property (text), widget (QLabel, label_color) -#: rc.cpp:245 +#: rc.cpp:272 msgid "Font color" msgstr "Цвет шрифта" -#. i18n: file: ui/configwindow.ui:1612 +#. i18n: file: ui/configwindow.ui:1949 #. i18n: ectx: property (text), widget (QLabel, label_style) -#: rc.cpp:248 +#: rc.cpp:275 msgid "Font style" msgstr "Стиль шрифта" -#. i18n: file: ui/configwindow.ui:1662 +#. i18n: file: ui/configwindow.ui:1999 #. i18n: ectx: property (text), widget (QLabel, label_weight) -#: rc.cpp:251 +#: rc.cpp:278 msgid "Font weight" msgstr "Ширина шрифта" -#: rc.cpp:252 +#: rc.cpp:279 msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "Evgeniy Alekseev" -#: rc.cpp:253 +#: rc.cpp:280 msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "esalexeev@gmail.com"