Compare commits

...

26 Commits

Author SHA1 Message Date
5c861b3814 release 1.9.0 2014-05-21 19:56:59 +04:00
5cf068875c Merge pull request #15 from Mermouy/master
update fr translation
2014-05-21 19:47:00 +04:00
80366e59bb fr translation 2014-05-21 17:01:15 +02:00
a6a94f0e49 update 2014-05-20 11:13:02 +04:00
6a74802261 fix typo 2014-05-20 11:08:21 +04:00
c44e98d8a1 fix 2014-05-20 11:07:24 +04:00
b872a66088 added status of translation 2014-05-20 11:06:50 +04:00
74d54d6268 fix typo 2014-05-20 10:48:52 +04:00
2ad6d76d4e updated readme (added link) 2014-05-20 10:47:15 +04:00
878dac158e added TRANSLATORS.md 2014-05-20 10:44:51 +04:00
2de09cec32 prepare to release 1.9.0
+ added support of several custom commands
* fix parsing pkg label
2014-05-20 10:07:01 +04:00
90ca8c89f5 added support of several custom commands to dataengine 2014-05-20 09:48:07 +04:00
757d7b703f update Spain translations 2014-05-19 23:05:32 +04:00
5d3e377ffb yet another update readme (hope actual for 1.9.0) 2014-05-19 21:29:10 +04:00
9b5a6908d7 fix typo 2014-05-19 21:23:22 +04:00
f54ba7a6cf updated en readme 2014-05-19 21:22:11 +04:00
7427183981 fix typo 2014-05-19 11:57:06 +04:00
109328e33b rollback fr translation 2014-05-19 11:55:28 +04:00
ec62e93e4e prepare to add support of several custom command 2014-05-19 03:06:29 +04:00
1a6d97800c added hdd speed label 2014-05-19 02:48:00 +04:00
b09e90a0e5 added context menu 2014-05-19 00:59:48 +04:00
c1f18a31bf release 1.8.3 2014-05-12 23:56:52 +04:00
962478a27a release 1.8.2 2014-05-08 00:31:06 +04:00
4857c6658f fix =) 2014-05-03 04:39:44 +04:00
4416298e88 removed unneeded lines in ptm/CMakeLists.txt 2014-05-03 04:38:20 +04:00
a3576275cc Release 1.8.1 2014-04-10 12:20:30 +04:00
26 changed files with 1869 additions and 1405 deletions

View File

@ -2,4 +2,5 @@ Current developers:
Evgeniy Alekseev aka arcanis <esalexeev (at) gmail (dot) com> Evgeniy Alekseev aka arcanis <esalexeev (at) gmail (dot) com>
Translators: Translators:
@Mermouy (french translations) @Mermouy (French translations)
Ernesto Avilés Vzqz (Spanish translations)

View File

@ -1,3 +1,20 @@
Ver.1.9.0:
+ added support of several custom commands ($customN)
+ added hdd speed label ($hddrN, $hddwN)
+ added actions to context menu (open readme and run ksysguard)
* fix parsing pkg label
- removed doubleclick event
Ver.1.8.3:
+ added Spanish translation (thanks to Ernesto Avilés Vzqz)
+ added readme to the package
Ver.1.8.2:
+ added different temperature units (Farenheit and Kelvin)
Ver.1.8.1:
* change pkg update time to hour
Ver.1.8.0: Ver.1.8.0:
+ added scrollbar to configuration interface + added scrollbar to configuration interface
+ added AC lines configuration + added AC lines configuration

View File

@ -1,3 +1,20 @@
Вер.1.9.0:
+ добавлена поддержка нескольких кастомных команд ($customN)
+ добавлено поле скорости hdd ($hddrN, $hddwN)
+ добавлены действия в контекстное меню (открыть readme и запустить ksysguard)
* исправлен парсинг поля pkg
- убрано событие по двойному клику
Вер.1.8.3:
+ добавлен испанский перевод (Ernesto Avilés Vzqz)
+ добавлены файлы readme
Вер.1.8.2:
+ добавлены различные температурные единицы (Farenheit и Kelvin)
Вер.1.8.1:
* поле pkg теперь обновляется раз в час
Вер.1.8.0: Вер.1.8.0:
+ добавлены скроллбары в конфигурационный интерфейс + добавлены скроллбары в конфигурационный интерфейс
+ добавлена настройка значений AC + добавлена настройка значений AC

View File

@ -2,7 +2,7 @@
pkgname=kdeplasma-applets-pytextmonitor pkgname=kdeplasma-applets-pytextmonitor
_pkgname=pytextmonitor _pkgname=pytextmonitor
pkgver=1.8.0 pkgver=1.9.0
pkgrel=1 pkgrel=1
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM" pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -20,7 +20,7 @@ optdepends=("amarok: for music player monitor"
makedepends=('automoc4' 'cmake') makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install install=${pkgname}.install
md5sums=('9052985dc219e75ffbed88ce3ebf5a32') md5sums=('0af86da1971ebc625d9b8d72c4e6a126')
backup=('usr/share/config/extsysmon.conf') backup=('usr/share/config/extsysmon.conf')
prepare() { prepare() {

View File

@ -5,7 +5,7 @@ Information
----------- -----------
PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm. PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm.
**NOTE** LOOKING FOR TRANSLATORS! **NOTE** [LOOKING FOR TRANSLATORS!](https://github.com/arcan1s/pytextmonitor/issues/14)
Configuration Configuration
------------- -------------
@ -31,6 +31,10 @@ For edited output you must open Settings window and setup output format in lines
* tag `$swapmb` - swap, *MB* * tag `$swapmb` - swap, *MB*
* tag `$swapgb` - swap, *GB* * tag `$swapgb` - swap, *GB*
* tag `$hddN` - usage for mount point N, *%*. For example, `$hdd0` * tag `$hddN` - usage for mount point N, *%*. For example, `$hdd0`
* tag `$hddmbN` - usage for mount point N, *MB*. For example, `$hddmb0`
* tag `$hddgbN` - usage for mount point N, *GB*. For example, `$hddgb0`
* tag `$hddrN` - read speed of disk N, *KB/s*. For example, `$hddr0`
* tag `$hddwN` - write speed of disk N, *KB/s*. For example, `$hddw0`
* tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0` * tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0`
* tag `$down` - download speed, *KB/s* * tag `$down` - download speed, *KB/s*
* tag `$up` - upload speed, *KB/s* * tag `$up` - upload speed, *KB/s*
@ -46,7 +50,7 @@ For edited output you must open Settings window and setup output format in lines
* tag `$pstotal` - total number of processes * tag `$pstotal` - total number of processes
* tag `$ps` - list of running processes * tag `$ps` - list of running processes
* tag `$pkgcountN` - number of packages, which available to upgrade for command N. For example, `$pkgcount0` * tag `$pkgcountN` - number of packages, which available to upgrade for command N. For example, `$pkgcount0`
* tag `$custom` - returns output for custom command * tag `$customN` - returns output for custom command N. For example, `$custom0`
Label order will changed if you change slider position. HTML tags in label work normally. Label order will changed if you change slider position. HTML tags in label work normally.
@ -82,6 +86,10 @@ Advanced settings
* tag `$mm` - uptime minutes * tag `$mm` - uptime minutes
* tag `$m` - uptime minutes without zero * tag `$m` - uptime minutes without zero
**Temperature units**
Select units for temperature. Available units are Celsius, Farenheit and Kelvin.
**Temperature devices** **Temperature devices**
List of devices, which will be observed in temp label (combo box items come from `sensors`). List widget is editable, delete key will remove current item. List of devices, which will be observed in temp label (combo box items come from `sensors`). List widget is editable, delete key will remove current item.
@ -90,9 +98,13 @@ List of devices, which will be observed in temp label (combo box items come from
List of mount points, which will be observed in hdd label (combo box items come from `mount`). List widget is editable, delete key will remove current item. List of mount points, which will be observed in hdd label (combo box items come from `mount`). List widget is editable, delete key will remove current item.
**HDD** **HDD (speed)**
List of hard disk devices, which will be observed in hddtem label (combo box items come from `find`). List widget is editable, delete key will remove current item. List of hard disk devices, which will be observed in hddspeed label (combo box items come from DataEngine). List widget is editable, delete key will remove current item.
**HDD (temperature)**
List of hard disk devices, which will be observed in hddtemp label (combo box items come from `find`). List widget is editable, delete key will remove current item.
**Network directory** **Network directory**
@ -132,7 +144,7 @@ DataEngine settings
*NOTE* This can cause the computer freeze. *NOTE* This can cause the computer freeze.
A command, which will be run for custom label. Commands, which will be run for custom label.
**GPU device** **GPU device**

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# update english readme # update english readme
cp README.md readme/en.md cp README.md sources/readme/en.md
SRCDIR="sources" SRCDIR="sources"
VERSION=$(grep -m1 PROJECT_VERSION_MAJOR sources/CMakeLists.txt | awk '{print $3}' | cut -c 1).\ VERSION=$(grep -m1 PROJECT_VERSION_MAJOR sources/CMakeLists.txt | awk '{print $3}' | cut -c 1).\
@ -19,7 +19,7 @@ rm -rf "${ARCHIVE}"
# build widget # build widget
ARCHIVE="pytextmonitor" ARCHIVE="pytextmonitor"
FILES="AUTHORS CHANGELOG CHANGELOG-RU COPYING readme" FILES="AUTHORS CHANGELOG CHANGELOG-RU COPYING"
IGNORELIST="build usr" IGNORELIST="build usr"
# create archive # create archive
[[ -e ${ARCHIVE}-${VERSION}-src.tar.xz ]] && rm -f "${ARCHIVE}-${VERSION}-src.tar.xz" [[ -e ${ARCHIVE}-${VERSION}-src.tar.xz ]] && rm -f "${ARCHIVE}-${VERSION}-src.tar.xz"

View File

@ -7,7 +7,7 @@ cmake_policy (SET CMP0015 NEW)
project (pytextmonitor) project (pytextmonitor)
set (PROJECT_VERSION_MAJOR 1) set (PROJECT_VERSION_MAJOR 1)
set (PROJECT_VERSION_MINOR 8) set (PROJECT_VERSION_MINOR 9)
set (PROJECT_VERSION_PATCH 0) set (PROJECT_VERSION_PATCH 0)
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
@ -25,3 +25,4 @@ endif ()
add_subdirectory (ext-sysmon) add_subdirectory (ext-sysmon)
add_subdirectory (ptm) add_subdirectory (ptm)
add_subdirectory (readme)

View File

@ -398,10 +398,12 @@ bool ExtendedSysMon::updateSourceEvent(const QString &source)
{ {
QString key; QString key;
if (source == QString("custom")) { if (source == QString("custom")) {
key = QString("custom"); for (int i=0; i<configuration[QString("CUSTOM")].split(QString("@@"), QString::SkipEmptyParts).count(); i++) {
QString value = getCustomCmd(configuration[QString("CUSTOM")]); key = QString("custom") + QString::number(i);
QString value = getCustomCmd(configuration[QString("CUSTOM")].split(QString("@@"), QString::SkipEmptyParts)[i]);
setData(source, key, value); setData(source, key, value);
} }
}
else if (source == QString("gpu")) { else if (source == QString("gpu")) {
key = QString("GPU"); key = QString("GPU");
float value = getGpu(configuration[QString("GPUDEV")]); float value = getGpu(configuration[QString("GPUDEV")]);

View File

@ -6,10 +6,7 @@ message (STATUS "Subproject ${SUBPROJECT}")
# find required libaries # find required libaries
find_package (KDE4 REQUIRED) find_package (KDE4 REQUIRED)
include (KDE4Defaults) add_definitions (${KDE4_DEFINITIONS})
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/../)
add_subdirectory (po) add_subdirectory (po)

View File

@ -48,6 +48,7 @@ class ConfigDefinition:
settings.set('custom_time', str(self.configpage.ui.lineEdit_timeFormat.text())) settings.set('custom_time', str(self.configpage.ui.lineEdit_timeFormat.text()))
settings.set('custom_uptime', str(self.configpage.ui.lineEdit_uptimeFormat.text())) settings.set('custom_uptime', str(self.configpage.ui.lineEdit_uptimeFormat.text()))
settings.set('temp_units', str(self.configpage.ui.comboBox_tempUnits.currentText()))
item = QStringList() item = QStringList()
for i in range(self.configpage.ui.listWidget_tempDevice.count()): for i in range(self.configpage.ui.listWidget_tempDevice.count()):
item.append(self.configpage.ui.listWidget_tempDevice.item(i).text()) item.append(self.configpage.ui.listWidget_tempDevice.item(i).text())
@ -60,6 +61,10 @@ class ConfigDefinition:
for i in range(self.configpage.ui.listWidget_hddDevice.count()): for i in range(self.configpage.ui.listWidget_hddDevice.count()):
item.append(self.configpage.ui.listWidget_hddDevice.item(i).text()) item.append(self.configpage.ui.listWidget_hddDevice.item(i).text())
settings.set('hdd', str(item.join(QString('@@')))) settings.set('hdd', str(item.join(QString('@@'))))
item = QStringList()
for i in range(self.configpage.ui.listWidget_hddSpeedDevice.count()):
item.append(self.configpage.ui.listWidget_hddSpeedDevice.item(i).text())
settings.set('disk', str(item.join(QString('@@'))))
settings.set('netdir', str(self.configpage.ui.lineEdit_netdir.text())) settings.set('netdir', str(self.configpage.ui.lineEdit_netdir.text()))
settings.set('netdevBool', self.configpage.ui.checkBox_netdev.checkState()) settings.set('netdevBool', self.configpage.ui.checkBox_netdev.checkState())
settings.set('custom_netdev', str(self.configpage.ui.comboBox_netdev.currentText())) settings.set('custom_netdev', str(self.configpage.ui.comboBox_netdev.currentText()))
@ -76,7 +81,10 @@ class ConfigDefinition:
dataengineConfig = unicode(KGlobal.dirs().localkdedir()) + "/share/config/extsysmon.conf" dataengineConfig = unicode(KGlobal.dirs().localkdedir()) + "/share/config/extsysmon.conf"
try: try:
with open(dataengineConfig, 'w') as deConfigFile: with open(dataengineConfig, 'w') as deConfigFile:
deConfigFile.write("CUSTOM=" + str(self.configpage.ui.lineEdit_customCommand.text()) + "\n") item = QStringList()
for i in range(self.configpage.ui.listWidget_customCommand.count()):
item.append(self.configpage.ui.listWidget_customCommand.item(i).text())
deConfigFile.write("CUSTOM=" + str(item.join(QString('@@'))) + "\n")
deConfigFile.write("GPUDEV=" + str(self.configpage.ui.comboBox_gpudev.currentText()) + "\n") deConfigFile.write("GPUDEV=" + str(self.configpage.ui.comboBox_gpudev.currentText()) + "\n")
deConfigFile.write("HDDDEV=" + str(self.configpage.ui.comboBox_hdddev.currentText()) + "\n") deConfigFile.write("HDDDEV=" + str(self.configpage.ui.comboBox_hdddev.currentText()) + "\n")
deConfigFile.write("MPDADDRESS=" + str(self.configpage.ui.lineEdit_mpdaddress.text()) + "\n") deConfigFile.write("MPDADDRESS=" + str(self.configpage.ui.lineEdit_mpdaddress.text()) + "\n")
@ -133,6 +141,8 @@ class ConfigDefinition:
self.configpage.ui.lineEdit_timeFormat.setText(str(settings.get('custom_time', '$hh:$mm'))) self.configpage.ui.lineEdit_timeFormat.setText(str(settings.get('custom_time', '$hh:$mm')))
self.configpage.ui.lineEdit_uptimeFormat.setText(str(settings.get('custom_uptime', '$ds,$hs,$ms'))) self.configpage.ui.lineEdit_uptimeFormat.setText(str(settings.get('custom_uptime', '$ds,$hs,$ms')))
index = self.configpage.ui.comboBox_tempUnits.findText(str(settings.get('temp_units', "Celsius")))
self.configpage.ui.comboBox_tempUnits.setCurrentIndex(index)
commandOut = commands.getoutput("sensors") commandOut = commands.getoutput("sensors")
for item in commandOut.split("\n\n"): for item in commandOut.split("\n\n"):
for device in item.split("\n"): for device in item.split("\n"):
@ -165,6 +175,12 @@ class ConfigDefinition:
self.configpage.ui.listWidget_hddDevice.clear() self.configpage.ui.listWidget_hddDevice.clear()
for item in str(settings.get('hdd', '/dev/sda')).split('@@'): for item in str(settings.get('hdd', '/dev/sda')).split('@@'):
self.configpage.ui.listWidget_hddDevice.addItem(item) self.configpage.ui.listWidget_hddDevice.addItem(item)
self.configpage.ui.comboBox_hddSpeedDevice.clear()
for item in self.defaults['disk']:
self.configpage.ui.comboBox_hddSpeedDevice.addItem(item)
self.configpage.ui.listWidget_hddSpeedDevice.clear()
for item in str(settings.get('disk', 'disk/sda_(8:0)')).split('@@'):
self.configpage.ui.listWidget_hddSpeedDevice.addItem(item)
self.configpage.ui.lineEdit_netdir.setText(str(settings.get('netdir', '/sys/class/net'))) self.configpage.ui.lineEdit_netdir.setText(str(settings.get('netdir', '/sys/class/net')))
self.configpage.ui.checkBox_netdev.setCheckState(settings.get('netdevBool', 0).toInt()[0]) self.configpage.ui.checkBox_netdev.setCheckState(settings.get('netdevBool', 0).toInt()[0])
for item in QDir.entryList(QDir(str(settings.get('netdir', '/sys/class/net'))), QDir.Dirs | QDir.NoDotAndDotDot): for item in QDir.entryList(QDir(str(settings.get('netdir', '/sys/class/net'))), QDir.Dirs | QDir.NoDotAndDotDot):
@ -196,7 +212,8 @@ class ConfigDefinition:
deSettings[line.split('=')[0]] = line.split('=')[1][:-1] deSettings[line.split('=')[0]] = line.split('=')[1][:-1]
except: except:
pass pass
self.configpage.ui.lineEdit_customCommand.setText(deSettings['CUSTOM']) for item in deSettings['CUSTOM'].split('@@'):
self.configpage.ui.listWidget_customCommand.addItem(item)
index = self.configpage.ui.comboBox_gpudev.findText(deSettings['GPUDEV']) index = self.configpage.ui.comboBox_gpudev.findText(deSettings['GPUDEV'])
self.configpage.ui.comboBox_gpudev.setCurrentIndex(index) self.configpage.ui.comboBox_gpudev.setCurrentIndex(index)
self.configpage.ui.comboBox_hdddev.addItem("all") self.configpage.ui.comboBox_hdddev.addItem("all")

View File

@ -36,36 +36,38 @@ class ConfigWindow(QWidget):
'up':self.ui.kcolorcombo_up} 'up':self.ui.kcolorcombo_up}
self.checkboxes = {'bat':self.ui.checkBox_bat, 'cpu':self.ui.checkBox_cpu, self.checkboxes = {'bat':self.ui.checkBox_bat, 'cpu':self.ui.checkBox_cpu,
'cpuclock':self.ui.checkBox_cpuclock, 'custom':self.ui.checkBox_custom, 'cpuclock':self.ui.checkBox_cpuclock, 'custom':self.ui.checkBox_custom,
'gpu':self.ui.checkBox_gpu, 'gputemp':self.ui.checkBox_gpuTemp, 'disk':self.ui.checkBox_hddSpeed, 'gpu':self.ui.checkBox_gpu,
'hdd':self.ui.checkBox_hdd, 'hddtemp':self.ui.checkBox_hddTemp, 'gputemp':self.ui.checkBox_gpuTemp, 'hdd':self.ui.checkBox_hdd,
'mem':self.ui.checkBox_mem, 'net':self.ui.checkBox_net, 'hddtemp':self.ui.checkBox_hddTemp, 'mem':self.ui.checkBox_mem,
'swap':self.ui.checkBox_swap, 'temp':self.ui.checkBox_temp, 'net':self.ui.checkBox_net, 'swap':self.ui.checkBox_swap,
'uptime':self.ui.checkBox_uptime, 'pkg':self.ui.checkBox_pkg, 'temp':self.ui.checkBox_temp, 'uptime':self.ui.checkBox_uptime,
'player':self.ui.checkBox_player, 'ps':self.ui.checkBox_ps, 'pkg':self.ui.checkBox_pkg, 'player':self.ui.checkBox_player,
'time':self.ui.checkBox_time} 'ps':self.ui.checkBox_ps, 'time':self.ui.checkBox_time}
self.lineedits = {'bat':self.ui.lineEdit_bat, 'cpu':self.ui.lineEdit_cpu, self.lineedits = {'bat':self.ui.lineEdit_bat, 'cpu':self.ui.lineEdit_cpu,
'cpuclock':self.ui.lineEdit_cpuclock, 'custom':self.ui.lineEdit_custom, 'cpuclock':self.ui.lineEdit_cpuclock, 'custom':self.ui.lineEdit_custom,
'gpu':self.ui.lineEdit_gpu, 'gputemp':self.ui.lineEdit_gpuTemp, 'disk':self.ui.lineEdit_hddSpeed, 'gpu':self.ui.lineEdit_gpu,
'hdd':self.ui.lineEdit_hdd, 'hddtemp':self.ui.lineEdit_hddTemp, 'gputemp':self.ui.lineEdit_gpuTemp, 'hdd':self.ui.lineEdit_hdd,
'mem':self.ui.lineEdit_mem, 'net':self.ui.lineEdit_net, 'hddtemp':self.ui.lineEdit_hddTemp, 'mem':self.ui.lineEdit_mem,
'swap':self.ui.lineEdit_swap, 'temp':self.ui.lineEdit_temp, 'net':self.ui.lineEdit_net, 'swap':self.ui.lineEdit_swap,
'uptime':self.ui.lineEdit_uptime, 'pkg':self.ui.lineEdit_pkg, 'temp':self.ui.lineEdit_temp, 'uptime':self.ui.lineEdit_uptime,
'player':self.ui.lineEdit_player, 'ps':self.ui.lineEdit_ps, 'pkg':self.ui.lineEdit_pkg, 'player':self.ui.lineEdit_player,
'time':self.ui.lineEdit_time} 'ps':self.ui.lineEdit_ps, 'time':self.ui.lineEdit_time}
self.sliders = {'bat':self.ui.slider_bat, 'cpu':self.ui.slider_cpu, self.sliders = {'bat':self.ui.slider_bat, 'cpu':self.ui.slider_cpu,
'cpuclock':self.ui.slider_cpuclock, 'custom':self.ui.slider_custom, 'cpuclock':self.ui.slider_cpuclock, 'custom':self.ui.slider_custom,
'gpu':self.ui.slider_gpu, 'gputemp':self.ui.slider_gpuTemp, 'disk':self.ui.slider_hddSpeed, 'gpu':self.ui.slider_gpu,
'hdd':self.ui.slider_hdd, 'hddtemp':self.ui.slider_hddTemp, 'gputemp':self.ui.slider_gpuTemp, 'hdd':self.ui.slider_hdd,
'mem':self.ui.slider_mem, 'net':self.ui.slider_net, 'hddtemp':self.ui.slider_hddTemp, 'mem':self.ui.slider_mem,
'swap':self.ui.slider_swap, 'temp':self.ui.slider_temp, 'net':self.ui.slider_net, 'swap':self.ui.slider_swap,
'uptime':self.ui.slider_uptime, 'pkg':self.ui.slider_pkg, 'temp':self.ui.slider_temp, 'uptime':self.ui.slider_uptime,
'player':self.ui.slider_player, 'ps':self.ui.slider_ps, 'pkg':self.ui.slider_pkg, 'player':self.ui.slider_player,
'time':self.ui.slider_time} 'ps':self.ui.slider_ps, 'time':self.ui.slider_time}
QObject.connect(self.ui.checkBox_netdev, SIGNAL("stateChanged(int)"), self.setNetdevEnabled) QObject.connect(self.ui.checkBox_netdev, SIGNAL("stateChanged(int)"), self.setNetdevEnabled)
QObject.connect(self.ui.pushButton_hddDevice, SIGNAL("clicked()"), self.addHddDevice) QObject.connect(self.ui.pushButton_hddDevice, SIGNAL("clicked()"), self.addHddDevice)
QObject.connect(self.ui.pushButton_hddSpeedDevice, SIGNAL("clicked()"), self.addHddSpeedDevice)
QObject.connect(self.ui.pushButton_mount, SIGNAL("clicked()"), self.addMount) QObject.connect(self.ui.pushButton_mount, SIGNAL("clicked()"), self.addMount)
QObject.connect(self.ui.pushButton_tempDevice, SIGNAL("clicked()"), self.addTempDevice) QObject.connect(self.ui.pushButton_tempDevice, SIGNAL("clicked()"), self.addTempDevice)
QObject.connect(self.ui.pushButton_customCommand, SIGNAL("clicked()"), self.addCustomCommand)
QObject.connect(self.ui.pushButton_pkgCommand, SIGNAL("clicked()"), self.addPkgCommand) QObject.connect(self.ui.pushButton_pkgCommand, SIGNAL("clicked()"), self.addPkgCommand)
QObject.connect(self.ui.listWidget_hddDevice, SIGNAL("itemActivated(QListWidgetItem*)"), self.ui.listWidget_hddDevice.openPersistentEditor) QObject.connect(self.ui.listWidget_hddDevice, SIGNAL("itemActivated(QListWidgetItem*)"), self.ui.listWidget_hddDevice.openPersistentEditor)
QObject.connect(self.ui.listWidget_mount, SIGNAL("itemActivated(QListWidgetItem*)"), self.ui.listWidget_mount.openPersistentEditor) QObject.connect(self.ui.listWidget_mount, SIGNAL("itemActivated(QListWidgetItem*)"), self.ui.listWidget_mount.openPersistentEditor)
@ -85,12 +87,18 @@ class ConfigWindow(QWidget):
if (self.ui.listWidget_hddDevice.hasFocus() and if (self.ui.listWidget_hddDevice.hasFocus() and
(self.ui.listWidget_hddDevice.currentRow() > -1)): (self.ui.listWidget_hddDevice.currentRow() > -1)):
self.ui.listWidget_hddDevice.takeItem(self.ui.listWidget_hddDevice.currentRow()) self.ui.listWidget_hddDevice.takeItem(self.ui.listWidget_hddDevice.currentRow())
elif (self.ui.listWidget_hddSpeedDevice.hasFocus() and
(self.ui.listWidget_hddSpeedDevice.currentRow() > -1)):
self.ui.listWidget_hddSpeedDevice.takeItem(self.ui.listWidget_hddSpeedDevice.currentRow())
elif (self.ui.listWidget_mount.hasFocus() and elif (self.ui.listWidget_mount.hasFocus() and
(self.ui.listWidget_mount.currentRow() > -1)): (self.ui.listWidget_mount.currentRow() > -1)):
self.ui.listWidget_mount.takeItem(self.ui.listWidget_mount.currentRow()) self.ui.listWidget_mount.takeItem(self.ui.listWidget_mount.currentRow())
elif (self.ui.listWidget_tempDevice.hasFocus() and elif (self.ui.listWidget_tempDevice.hasFocus() and
(self.ui.listWidget_tempDevice.currentRow() > -1)): (self.ui.listWidget_tempDevice.currentRow() > -1)):
self.ui.listWidget_tempDevice.takeItem(self.ui.listWidget_tempDevice.currentRow()) self.ui.listWidget_tempDevice.takeItem(self.ui.listWidget_tempDevice.currentRow())
elif (self.ui.listWidget_customCommand.hasFocus() and
(self.ui.listWidget_customCommand.currentRow() > -1)):
self.ui.listWidget_customCommand.takeItem(self.ui.listWidget_customCommand.currentRow())
elif (self.ui.listWidget_pkgCommand.hasFocus() and elif (self.ui.listWidget_pkgCommand.hasFocus() and
(self.ui.listWidget_pkgCommand.currentRow() > -1)): (self.ui.listWidget_pkgCommand.currentRow() > -1)):
self.ui.listWidget_pkgCommand.takeItem(self.ui.listWidget_pkgCommand.currentRow()) self.ui.listWidget_pkgCommand.takeItem(self.ui.listWidget_pkgCommand.currentRow())
@ -102,6 +110,12 @@ class ConfigWindow(QWidget):
self.ui.listWidget_hddDevice.addItem(self.ui.comboBox_hddDevice.currentText()) self.ui.listWidget_hddDevice.addItem(self.ui.comboBox_hddDevice.currentText())
def addHddSpeedDevice(self):
"""function to add disk device"""
self.ui.listWidget_hddSpeedDevice.clearSelection()
self.ui.listWidget_hddSpeedDevice.addItem(self.ui.comboBox_hddSpeedDevice.currentText())
def addMount(self): def addMount(self):
"""function to add mount points""" """function to add mount points"""
self.ui.listWidget_mount.clearSelection() self.ui.listWidget_mount.clearSelection()
@ -114,6 +128,12 @@ class ConfigWindow(QWidget):
self.ui.listWidget_tempDevice.addItem(self.ui.comboBox_tempDevice.currentText()) self.ui.listWidget_tempDevice.addItem(self.ui.comboBox_tempDevice.currentText())
def addCustomCommand(self):
"""function to add custom command"""
self.ui.listWidget_customCommand.clearSelection()
self.ui.listWidget_customCommand.addItem(self.ui.lineEdit_customCommand.text())
def addPkgCommand(self): def addPkgCommand(self):
"""function to add package manager command""" """function to add package manager command"""
self.ui.listWidget_pkgCommand.clearSelection() self.ui.listWidget_pkgCommand.clearSelection()

View File

@ -19,6 +19,7 @@
from PyQt4.QtCore import * from PyQt4.QtCore import *
from PyQt4.QtGui import * from PyQt4.QtGui import *
from PyKDE4.plasma import Plasma
import datetime import datetime
@ -46,6 +47,10 @@ class DataEngine:
dataEngines['system'].connectSource("cpu/cpu" + str(core) + "/clock", self.parent, interval) dataEngines['system'].connectSource("cpu/cpu" + str(core) + "/clock", self.parent, interval)
if (bools['custom'] > 0): if (bools['custom'] > 0):
dataEngines['ext'].connectSource("custom", self.parent, interval) dataEngines['ext'].connectSource("custom", self.parent, interval)
if (bools['disk'] > 0):
for item in names['disk']:
dataEngines['system'].connectSource(item + "/Rate/rblk", self.parent, interval)
dataEngines['system'].connectSource(item + "/Rate/wblk", self.parent, interval)
if (bools['gpu'] > 0): if (bools['gpu'] > 0):
dataEngines['ext'].connectSource("gpu", self.parent, interval) dataEngines['ext'].connectSource("gpu", self.parent, interval)
if (bools['gputemp'] > 0): if (bools['gputemp'] > 0):
@ -65,7 +70,7 @@ class DataEngine:
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/transmitter/data", self.parent, interval) dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/transmitter/data", self.parent, interval)
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/receiver/data", self.parent, interval) dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/receiver/data", self.parent, interval)
if (bools['pkg'] > 0): if (bools['pkg'] > 0):
dataEngines['ext'].connectSource("pkg", self.parent, interval) dataEngines['ext'].connectSource("pkg", self.parent, 60*60*1000, Plasma.AlignToHour)
if (bools['player'] > 0): if (bools['player'] > 0):
dataEngines['ext'].connectSource("player", self.parent, interval) dataEngines['ext'].connectSource("player", self.parent, interval)
if (bools['ps'] > 0): if (bools['ps'] > 0):
@ -113,7 +118,18 @@ class DataEngine:
updatedData['value'] = value updatedData['value'] = value
elif (sourceName == "custom"): elif (sourceName == "custom"):
updatedData['name'] = "custom" updatedData['name'] = "custom"
value = str(data[QString(u'custom')].toUtf8()).decode("utf-8") updatedData['value'] = {}
for singleData in data.keys():
updatedData['value'][str(singleData.toLower())] = str(data[singleData].toUtf8()).decode("utf-8")
elif ((sourceName[:4] == "disk") and (sourceName[-4:] == "rblk")):
updatedData['name'] = "disk-r"
updatedData['type'] = '/'.join(str(sourceName).split('/')[0:2])
value = round(data[QString(u'value')].toFloat()[0], 0)
updatedData['value'] = value
elif ((sourceName[:4] == "disk") and (sourceName[-4:] == "wblk")):
updatedData['name'] = "disk-w"
updatedData['type'] = '/'.join(str(sourceName).split('/')[0:2])
value = round(data[QString(u'value')].toFloat()[0], 0)
updatedData['value'] = value updatedData['value'] = value
elif (sourceName == "gpu"): elif (sourceName == "gpu"):
updatedData['name'] = "gpu" updatedData['name'] = "gpu"
@ -281,6 +297,10 @@ class DataEngine:
dataEngines['system'].disconnectSource("cpu/cpu" + str(item) + "/clock", self.parent) dataEngines['system'].disconnectSource("cpu/cpu" + str(item) + "/clock", self.parent)
elif (name == "custom"): elif (name == "custom"):
dataEngines['ext'].disconnectSource("custom", self.parent) dataEngines['ext'].disconnectSource("custom", self.parent)
elif (name == "disk"):
for item in keys['disk']:
dataEngines['system'].disconnectSource(item + "/Rate/rblk", self.parent)
dataEngines['system'].disconnectSource(item + "/Rate/rblk", self.parent)
elif (name == "gpu"): elif (name == "gpu"):
dataEngines['ext'].disconnectSource("gpu", self.parent) dataEngines['ext'].disconnectSource("gpu", self.parent)
elif (name == "gputemp"): elif (name == "gputemp"):

View File

@ -1,3 +1,4 @@
#!/usr/bin/python2
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################ ############################################################################
@ -35,6 +36,17 @@ import tooltip
from util import * from util import *
def getTemp(temp, unit):
"""function to return temperature"""
if (unit == "Celsius"):
pass
elif (unit == "Fahrenheit"):
temp = str(round(((float(temp) * 9.0 / 5.0) + 32.0), 1))
elif (unit == "Kelvin"):
temp = str(round((float(temp) + 273.15), 1))
return temp
class CustomPlasmaLabel(Plasma.Label): class CustomPlasmaLabel(Plasma.Label):
"""new Label with defined clicked() event""" """new Label with defined clicked() event"""
@ -63,6 +75,9 @@ class pyTextWidget(plasmascript.Applet):
"""function to initializate widget""" """function to initializate widget"""
self._name = str(self.package().metadata().pluginName()) self._name = str(self.package().metadata().pluginName())
self.setupVar() self.setupVar()
# actions
self.createActions()
self.dataengine = dataengine.DataEngine(self) self.dataengine = dataengine.DataEngine(self)
self.reinit = reinit.Reinit(self, self.ptm['defaults']) self.reinit = reinit.Reinit(self, self.ptm['defaults'])
@ -79,14 +94,62 @@ class pyTextWidget(plasmascript.Applet):
self.setBackgroundHints(Plasma.Applet.DefaultBackground) self.setBackgroundHints(Plasma.Applet.DefaultBackground)
self.setHasConfigurationInterface(True) self.setHasConfigurationInterface(True)
# Create notifyrc file if required # create notifyrc file if required
kdehome = unicode(KGlobal.dirs().localkdedir()) kdehome = unicode(KGlobal.dirs().localkdedir())
if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) and if ((not os.path.exists(kdehome + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc")) and
(not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))): (not os.path.exists("/usr" + "/share/apps/plasma_applet_pytextmonitor/plasma_applet_pytextmonitor.notifyrc"))):
self.createNotifyrc(kdehome) self.createNotifyrc(kdehome)
# context menu
def createActions(self):
"""function to create actions"""
self.ptmActions = {}
self.ptmActions['ksysguard'] = QAction(i18n("Run ksysguard"), self)
QObject.connect(self.ptmActions['ksysguard'], SIGNAL("triggered(bool)"), self.runKsysguard)
self.ptmActions['readme'] = QAction(i18n("Show README"), self)
QObject.connect(self.ptmActions['readme'], SIGNAL("triggered(bool)"), self.showReadme)
def contextualActions(self):
"""function to create context menu"""
contextMenu = []
contextMenu.append(self.ptmActions['ksysguard'])
contextMenu.append(self.ptmActions['readme'])
return contextMenu
def runKsysguard(self, event):
"""function to run ksysguard"""
os.system("ksysguard &")
def showReadme(self):
"""function to show readme file"""
kdehome = unicode(KGlobal.dirs().localkdedir())
if (os.path.exists("/usr/share/pytextmonitor/")):
dirPath = "/usr/share/pytextmonitor/"
elif (os.path.exists(kdehome + "/share/pytextmonitor/")):
dirPath = kdehome + "/share/pytextmonitor/"
else:
return
locale = QLocale.system().name().split('_')[0]
if (os.path.exists(dirPath + locale + ".md")):
filePath = dirPath + locale + ".md"
elif (os.path.exists(dirPath + "en.md")):
filePath = dirPath + "en.md"
else:
return
os.system("kioclient exec " + str(filePath) + " &")
# internal functions # internal functions
def addDiskDevice(self, sourceName):
diskRegexp = QRegExp("disk/(?:md|sd|hd)[a-z|0-9]_.*/Rate/(?:rblk)")
if (diskRegexp.indexIn(sourceName) > -1):
self.ptm['defaults']['disk'].append('/'.join(str(sourceName).split('/')[0:2]))
def createConfigurationInterface(self, parent): def createConfigurationInterface(self, parent):
"""function to setup configuration window""" """function to setup configuration window"""
self.configpage = configwindow.ConfigWindow(self) self.configpage = configwindow.ConfigWindow(self)
@ -117,11 +180,6 @@ class pyTextWidget(plasmascript.Applet):
Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip) Plasma.ToolTipManager.self().setContent(self.applet, self.tooltip)
def mouseDoubleClickEvent(self, event):
"""function to doubleclick event"""
os.system("ksysguard &")
def setupVar(self): def setupVar(self):
"""function to setup variables""" """function to setup variables"""
self.ptm = {} self.ptm = {}
@ -130,38 +188,41 @@ class pyTextWidget(plasmascript.Applet):
# defaults # defaults
self.ptm['defaults'] = {} self.ptm['defaults'] = {}
self.ptm['defaults']['confBool'] = {'bat':'batBool', 'cpu':'cpuBool', self.ptm['defaults']['confBool'] = {'bat':'batBool', 'cpu':'cpuBool',
'cpuclock':'cpuclockBool', 'custom':'customBool', 'gpu':'gpuBool', 'cpuclock':'cpuclockBool', 'custom':'customBool', 'disk':'diskBool',
'gputemp':'gputempBool', 'hdd':'hddBool', 'hddtemp':'hddtempBool', 'gpu':'gpuBool', 'gputemp':'gputempBool', 'hdd':'hddBool',
'mem':'memBool', 'net':'netBool', 'pkg':'pkgBool', 'player':'playerBool', 'hddtemp':'hddtempBool', 'mem':'memBool', 'net':'netBool', 'pkg':'pkgBool',
'ps':'psBool', 'swap':'swapBool', 'temp':'tempBool', 'uptime':'uptimeBool', 'player':'playerBool', 'ps':'psBool', 'swap':'swapBool', 'temp':'tempBool',
'time':'timeBool'} 'uptime':'uptimeBool', 'time':'timeBool'}
self.ptm['defaults']['confColor'] = {'cpu':'cpu_color', 'cpuclock':'cpuclock_color', self.ptm['defaults']['confColor'] = {'cpu':'cpu_color', 'cpuclock':'cpuclock_color',
'down':'down_color', 'mem':'mem_color', 'swap':'swap_color', 'up':'up_color'} 'down':'down_color', 'mem':'mem_color', 'swap':'swap_color', 'up':'up_color'}
self.ptm['defaults']['confFormat'] = {'bat':'batFormat', 'cpu':'cpuFormat', self.ptm['defaults']['confFormat'] = {'bat':'batFormat', 'cpu':'cpuFormat',
'cpuclock':'cpuclockFormat', 'custom':'customFormat', 'gpu':'gpuFormat', 'cpuclock':'cpuclockFormat', 'custom':'customFormat', 'disk':'diskFormat',
'gputemp':'gputempFormat', 'hdd':'hddFormat', 'hddtemp':'hddtempFormat', 'gpu':'gpuFormat', 'gputemp':'gputempFormat', 'hdd':'hddFormat',
'mem':'memFormat', 'net':'netFormat', 'pkg':'pkgFormat', 'hddtemp':'hddtempFormat', 'mem':'memFormat', 'net':'netFormat',
'player':'playerFormat', 'ps':'psFormat', 'swap':'swapFormat', 'pkg':'pkgFormat', 'player':'playerFormat', 'ps':'psFormat', 'swap':'swapFormat',
'temp':'tempFormat', 'time':'timeFormat', 'uptime':'uptimeFormat'} 'temp':'tempFormat', 'time':'timeFormat', 'uptime':'uptimeFormat'}
self.ptm['defaults']['bool'] = {'bat':0, 'cpu':2, 'cpuclock':0, 'custom':0, self.ptm['defaults']['bool'] = {'bat':0, 'cpu':2, 'cpuclock':0, 'custom':0,
'gpu':0, 'gputemp':0, 'hdd':0, 'hddtemp':0, 'mem':2, 'net':2, 'pkg':0, 'disk':0, 'gpu':0, 'gputemp':0, 'hdd':0, 'hddtemp':0, 'mem':2, 'net':2,
'player':0, 'ps':0, 'swap':2, 'temp':0, 'time':0, 'uptime':0} 'pkg':0, 'player':0, 'ps':0, 'swap':2, 'temp':0, 'time':0, 'uptime':0}
self.ptm['defaults']['format'] = {'bat':'[bat: $bat%$ac]', 'cpu':'[cpu: $cpu%]', self.ptm['defaults']['format'] = {'bat':'[bat: $bat%$ac]', 'cpu':'[cpu: $cpu%]',
'cpuclock':'[mhz: $cpucl]', 'custom':'[$custom]', 'gpu':'[gpu: $gpu%]', 'cpuclock':'[mhz: $cpucl]', 'custom':'[$custom]', 'disk':'[disk: $hddr0/$hddw0 KB/s]',
'gputemp':'[gpu temp: $gputemp&deg;C]', 'hdd':'[hdd: $hdd0%]', 'gpu':'[gpu: $gpu%]', 'gputemp':'[gpu temp: $gputemp&deg;C]', 'hdd':'[hdd: $hdd0%]',
'hddtemp':'[hdd temp: $hddtemp0&deg;C]', 'mem':'[mem: $mem%]', 'hddtemp':'[hdd temp: $hddtemp0&deg;C]', 'mem':'[mem: $mem%]',
'net':'[$netdev: $down/$upKB/s]', 'pkg':'[upgrade: $pkgcount0]', 'net':'[$netdev: $down/$upKB/s]', 'pkg':'[upgrade: $pkgcount0]',
'player':'[$artist - $title]', 'ps':'[proc: $pscount]', 'swap':'[swap: $swap%]', 'player':'[$artist - $title]', 'ps':'[proc: $pscount]', 'swap':'[swap: $swap%]',
'temp':'[temp: $temp0&deg;C]', 'time':'[$time]', 'uptime':'[uptime: $uptime]'} 'temp':'[temp: $temp0&deg;C]', 'time':'[$time]', 'uptime':'[uptime: $uptime]'}
self.ptm['defaults']['order'] = {'1':'cpu', '2':'temp', '3':'mem', '4':'swap', '5':'net', self.ptm['defaults']['order'] = {'1':'cpu', '2':'temp', '3':'mem', '4':'swap', '5':'net',
'6':'bat', '7':'cpuclock', '8':'uptime', '9':'gpu', 'a':'gputemp', 'b':'hdd', '6':'bat', '7':'cpuclock', '8':'uptime', '9':'gpu', 'a':'gputemp', 'b':'hdd',
'c':'hddtemp', 'd':'player', 'e':'time', 'f':'custom', 'g':'ps', 'h':'pkg'} 'c':'hddtemp', 'd':'player', 'e':'time', 'f':'custom', 'g':'ps', 'h':'pkg', 'i':'disk'}
# disk devices for r/w speed
self.ptm['defaults']['disk'] = []
# labels # labels
self.ptm['labels'] = {} self.ptm['labels'] = {}
self.ptm['layout'] = QGraphicsLinearLayout(Qt.Horizontal, self.applet) self.ptm['layout'] = QGraphicsLinearLayout(Qt.Horizontal, self.applet)
self.ptm['layout'].setContentsMargins(1, 1, 1, 1) self.ptm['layout'].setContentsMargins(1, 1, 1, 1)
# names # names
self.ptm['names'] = {} self.ptm['names'] = {}
self.ptm['names']['disk'] = []
self.ptm['names']['hdd'] = [] self.ptm['names']['hdd'] = []
self.ptm['names']['hddtemp'] = [] self.ptm['names']['hddtemp'] = []
self.ptm['names']['net'] = "" self.ptm['names']['net'] = ""
@ -180,6 +241,8 @@ class pyTextWidget(plasmascript.Applet):
for i in range(numCores): for i in range(numCores):
self.ptm['values']['cpu'][i] = 0.0 self.ptm['values']['cpu'][i] = 0.0
self.ptm['values']['cpuclock'][i] = 0.0 self.ptm['values']['cpuclock'][i] = 0.0
self.ptm['values']['disk-r'] = {}
self.ptm['values']['disk-w'] = {}
self.ptm['values']['hdd'] = {} self.ptm['values']['hdd'] = {}
self.ptm['values']['hddmb'] = {} self.ptm['values']['hddmb'] = {}
self.ptm['values']['hddtemp'] = {} self.ptm['values']['hddtemp'] = {}
@ -219,6 +282,8 @@ class pyTextWidget(plasmascript.Applet):
self.cpuText() self.cpuText()
if (self.ptm['vars']['bools']['cpuclock'] > 0): if (self.ptm['vars']['bools']['cpuclock'] > 0):
self.cpuclockText() self.cpuclockText()
if (self.ptm['vars']['bools']['disk'] > 0):
self.diskText()
if (self.ptm['vars']['bools']['hdd'] > 0): if (self.ptm['vars']['bools']['hdd'] > 0):
self.hddText() self.hddText()
if (self.ptm['vars']['bools']['hddtemp'] > 0): if (self.ptm['vars']['bools']['hddtemp'] > 0):
@ -341,6 +406,25 @@ class pyTextWidget(plasmascript.Applet):
self.setText("cpuclock", text) self.setText("cpuclock", text)
def diskText(self):
line = self.ptm['vars']['formats']['disk']
devices = range(len(self.ptm['names']['disk']))
devices.reverse()
for i in devices:
if (line.split('$hddr' + str(i))[0] != line):
hdd = "%4i" % (self.ptm['values']['disk-r'][self.ptm['names']['disk'][i]])
line = line.split('$hddr' + str(i))[0] +\
hdd +\
line.split('$hddr' + str(i))[1]
if (line.split('$hddw' + str(i))[0] != line):
hdd = "%4i" % (self.ptm['values']['disk-w'][self.ptm['names']['disk'][i]])
line = line.split('$hddw' + str(i))[0] +\
hdd +\
line.split('$hddw' + str(i))[1]
text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1]
self.setText("disk", text)
def hddText(self): def hddText(self):
"""function to set hdd text""" """function to set hdd text"""
line = self.ptm['vars']['formats']['hdd'] line = self.ptm['vars']['formats']['hdd']
@ -374,7 +458,7 @@ class pyTextWidget(plasmascript.Applet):
for i in devices: for i in devices:
if (line.split('$hddtemp' + str(i))[0] != line): if (line.split('$hddtemp' + str(i))[0] != line):
line = line.split('$hddtemp' + str(i))[0] +\ line = line.split('$hddtemp' + str(i))[0] +\
str(self.ptm['values']['hddtemp'][self.ptm['names']['hddtemp'][i]]) +\ getTemp(str(self.ptm['values']['hddtemp'][self.ptm['names']['hddtemp'][i]]), self.ptm['vars']['adv']['tempUnit']) +\
line.split('$hddtemp' + str(i))[1] line.split('$hddtemp' + str(i))[1]
text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1] text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1]
self.setText("hddtemp", text) self.setText("hddtemp", text)
@ -443,7 +527,7 @@ class pyTextWidget(plasmascript.Applet):
for i in devices: for i in devices:
if (line.split('$temp' + str(i))[0] != line): if (line.split('$temp' + str(i))[0] != line):
line = line.split('$temp' + str(i))[0] +\ line = line.split('$temp' + str(i))[0] +\
str(self.ptm['values']['temp'][self.ptm['names']['temp'][i]]) +\ getTemp(str(self.ptm['values']['temp'][self.ptm['names']['temp'][i]]), self.ptm['vars']['adv']['tempUnits']) +\
line.split('$temp' + str(i))[1] line.split('$temp' + str(i))[1]
text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1] text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1]
self.setText("temp", text) self.setText("temp", text)
@ -465,11 +549,16 @@ class pyTextWidget(plasmascript.Applet):
"""function to read settings""" """function to read settings"""
self.ptm[name] = ptm self.ptm[name] = ptm
if (name == "names"): if (name == "names"):
for item in ['hdd', 'hddtemp', 'temp']: for item in ['hddtemp', 'temp']:
for value in self.ptm['names'][item]: for value in self.ptm['names'][item]:
self.ptm['values'][item][value] = 0.0 self.ptm['values'][item][value] = 0.0
if (item == "hdd"): for value in self.ptm['names']['hdd']:
self.ptm['values']['hddmb'][value] = 0.0 self.ptm['values']['hdd'][value] = 0.0
self.ptm['values']['hddmb'][value] = 0.0
for value in self.ptm['names']['disk']:
self.ptm['values']['disk-r'][value] = 0.0
self.ptm['values']['disk-w'][value] = 0.0
def connectToEngine(self): def connectToEngine(self):
@ -477,6 +566,7 @@ class pyTextWidget(plasmascript.Applet):
self.ptm['dataengine']['ext'] = self.dataEngine("ext-sysmon") self.ptm['dataengine']['ext'] = self.dataEngine("ext-sysmon")
self.ptm['dataengine']['system'] = self.dataEngine("systemmonitor") self.ptm['dataengine']['system'] = self.dataEngine("systemmonitor")
self.ptm['dataengine']['time'] = self.dataEngine("time") self.ptm['dataengine']['time'] = self.dataEngine("time")
QObject.connect(self.ptm['dataengine']['system'], SIGNAL("sourceAdded(QString)"), self.addDiskDevice)
self.dataengine.connectToEngine(self.ptm['vars']['bools'], self.ptm['dataengine'], self.dataengine.connectToEngine(self.ptm['vars']['bools'], self.ptm['dataengine'],
self.ptm['vars']['app']['interval'], self.ptm['names']) self.ptm['vars']['app']['interval'], self.ptm['names'])
@ -487,8 +577,8 @@ class pyTextWidget(plasmascript.Applet):
if (self.ptm['vars']['bools'][label] > 0): if (self.ptm['vars']['bools'][label] > 0):
self.addLabel(label, None, False) self.addLabel(label, None, False)
keys = {'cpu':self.ptm['values']['cpu'].keys(), 'cpuclock':self.ptm['values']['cpuclock'].keys(), keys = {'cpu':self.ptm['values']['cpu'].keys(), 'cpuclock':self.ptm['values']['cpuclock'].keys(),
'hdd':self.ptm['values']['hdd'].keys(), 'net':self.ptm['names']['net'], 'disk':self.ptm['values']['disk-r'].keys(), 'hdd':self.ptm['values']['hdd'].keys(),
'temp':self.ptm['values']['temp'].keys()} 'net':self.ptm['names']['net'], 'temp':self.ptm['values']['temp'].keys()}
self.dataengine.disconnectFromSource(self.ptm['dataengine'], keys, label) self.dataengine.disconnectFromSource(self.ptm['dataengine'], keys, label)
@ -533,18 +623,27 @@ class pyTextWidget(plasmascript.Applet):
"""function to prepare text""" """function to prepare text"""
line = self.ptm['vars']['formats'][name] line = self.ptm['vars']['formats'][name]
if (name == "custom"): if (name == "custom"):
if (line.split('$custom')[0] != line): cmds = range(len(text.keys()))
line = line.split('$custom')[0] + text + line.split('$custom')[1] cmds.reverse()
for i in cmds:
if (line.split('$custom' + str(i))[0] != line):
line = line.split('$custom' + str(i))[0] + \
text['custom'+str(i)] + \
line.split('$custom' + str(i))[1]
elif (name == "gpu"): elif (name == "gpu"):
if (line.split('$gpu')[0] != line): if (line.split('$gpu')[0] != line):
line = line.split('$gpu')[0] + text + line.split('$gpu')[1] line = line.split('$gpu')[0] + text + line.split('$gpu')[1]
elif (name == "gputemp"): elif (name == "gputemp"):
if (line.split('$gputemp')[0] != line): if (line.split('$gputemp')[0] != line):
line = line.split('$gputemp')[0] + text + line.split('$gputemp')[1] line = line.split('$gputemp')[0] + getTemp(text, self.ptm['vars']['adv']['tempUnits']) + line.split('$gputemp')[1]
elif (name == "pkg"): elif (name == "pkg"):
for item in text.keys(): pkgs = range(len(text.keys()))
if (line.split('$' + item)[0] != line): pkgs.reverse()
line = line.split('$' + item)[0] + text[item] + line.split('$' + item)[1] for i in pkgs:
if (line.split('$pkgcount' + str(i))[0] != line):
line = line.split('$pkgcount' + str(i))[0] + \
text['pkgcount'+str(i)] + \
line.split('$pkgcount' + str(i))[1]
elif (name == "player"): elif (name == "player"):
if (line.split('$album')[0] != line): if (line.split('$album')[0] != line):
line = line.split('$album')[0] + text['album'] + line.split('$album')[1] line = line.split('$album')[0] + text['album'] + line.split('$album')[1]

View File

@ -194,6 +194,8 @@ class PTMNotify:
return self.createText("processor") return self.createText("processor")
elif (name == "custom"): elif (name == "custom"):
return self.createText("system") return self.createText("system")
elif (name == "disk"):
return self.createText("disk")
elif (name == "gpu"): elif (name == "gpu"):
return self.createText("graphical") return self.createText("graphical")
elif (name == "gputemp"): elif (name == "gputemp"):

View File

@ -40,6 +40,7 @@ class Reinit():
ptmVars['adv']['acDev'] = str(settings.get('ac_device', '/sys/class/power_supply/AC/online')) ptmVars['adv']['acDev'] = str(settings.get('ac_device', '/sys/class/power_supply/AC/online'))
ptmVars['adv']['acOnline'] = str(settings.get('ac_online', '(*)')) ptmVars['adv']['acOnline'] = str(settings.get('ac_online', '(*)'))
ptmVars['adv']['acOffline'] = str(settings.get('ac_offline', '( )')) ptmVars['adv']['acOffline'] = str(settings.get('ac_offline', '( )'))
ptmVars['adv']['tempUnits'] = str(settings.get('temp_units', 'Celsius'))
ptmVars['adv']['batDev'] = str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity')) ptmVars['adv']['batDev'] = str(settings.get('battery_device', '/sys/class/power_supply/BAT0/capacity'))
ptmVars['adv']['customTime'] = str(settings.get('custom_time', '$hh:$mm')) ptmVars['adv']['customTime'] = str(settings.get('custom_time', '$hh:$mm'))
ptmVars['adv']['customUptime'] = str(settings.get('custom_uptime', '$dd,$hh,$mm')) ptmVars['adv']['customUptime'] = str(settings.get('custom_uptime', '$dd,$hh,$mm'))
@ -70,6 +71,7 @@ class Reinit():
ptmVars['bools'][label] = settings.get(self.defaults['confBool'][label], self.defaults['bool'][label]).toInt()[0] ptmVars['bools'][label] = settings.get(self.defaults['confBool'][label], self.defaults['bool'][label]).toInt()[0]
ptmNames = {} ptmNames = {}
ptmNames['disk'] = str(settings.get('disk', 'disk/sda_(8:0)')).split('@@')
ptmNames['hdd'] = str(settings.get('mount', '/')).split('@@') ptmNames['hdd'] = str(settings.get('mount', '/')).split('@@')
ptmNames['hddtemp'] = str(settings.get('hdd', '/dev/sda')).split('@@') ptmNames['hddtemp'] = str(settings.get('hdd', '/dev/sda')).split('@@')
if (ptmVars['adv']['netdevBool'] > 0): if (ptmVars['adv']['netdevBool'] > 0):

View File

@ -66,7 +66,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>526</width> <width>526</width>
<height>624</height> <height>660</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
@ -114,7 +114,7 @@ $custom - custom time format</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -170,7 +170,7 @@ $custom - custom format</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -236,7 +236,7 @@ $cpuN - load CPU for core N, %</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -302,7 +302,7 @@ $cpuclN - CPU clock for core N, MHz</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -360,7 +360,7 @@ $cpuclN - CPU clock for core N, MHz</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -418,7 +418,7 @@ $cpuclN - CPU clock for core N, MHz</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -476,7 +476,7 @@ $cpuclN - CPU clock for core N, MHz</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -539,7 +539,7 @@ $memgb - RAM usage, GB</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -602,7 +602,7 @@ $swapgb - swap usage, GB</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -662,7 +662,7 @@ $hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
@ -680,6 +680,65 @@ $hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0</string>
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QHBoxLayout" name="layout_hddSpeed">
<item>
<widget class="QCheckBox" name="checkBox_hddSpeed">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>HDD speed</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_hddSpeed">
<property name="toolTip">
<string>$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0
$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="slider_hddSpeed">
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>18</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>11</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
</widget>
</item>
</layout>
</item>
<item> <item>
<layout class="QHBoxLayout" name="layout_hddTemp"> <layout class="QHBoxLayout" name="layout_hddTemp">
<item> <item>
@ -691,7 +750,7 @@ $hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>HDD Temp</string> <string>HDD temp</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@ -720,13 +779,13 @@ $hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>11</number> <number>12</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -783,13 +842,13 @@ $netdev - current network device</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>12</number> <number>13</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -842,13 +901,13 @@ $ac - AC status</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>13</number> <number>14</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -904,13 +963,13 @@ $title - song title</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>14</number> <number>15</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -964,13 +1023,13 @@ $ps - list of running processes comma separated</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>15</number> <number>16</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -1022,13 +1081,13 @@ $ps - list of running processes comma separated</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>16</number> <number>17</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -1061,7 +1120,7 @@ $ps - list of running processes comma separated</string>
<item> <item>
<widget class="QLineEdit" name="lineEdit_custom"> <widget class="QLineEdit" name="lineEdit_custom">
<property name="toolTip"> <property name="toolTip">
<string>$custom - get output from custom command</string> <string>$customN - get output from custom command N (from N). Example `$custom0`</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@ -1080,13 +1139,13 @@ $ps - list of running processes comma separated</string>
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>17</number> <number>18</number>
</property> </property>
<property name="pageStep"> <property name="pageStep">
<number>1</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>17</number> <number>18</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -1132,8 +1191,8 @@ $ps - list of running processes comma separated</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>328</width> <width>526</width>
<height>611</height> <height>754</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" name="verticalLayout_8">
@ -1211,6 +1270,61 @@ $m - uptime minutes without zero</string>
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QHBoxLayout" name="layout_tempUnits">
<item>
<widget class="QLabel" name="label_tempUnits">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Temperature units</string>
</property>
</widget>
</item>
<item>
<spacer name="spacer_tempUnits">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="comboBox_tempUnits">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string notr="true">Celsius</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">Fahrenheit</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">Kelvin</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item> <item>
<layout class="QVBoxLayout" name="layout_tempDevice"> <layout class="QVBoxLayout" name="layout_tempDevice">
<item> <item>
@ -1315,6 +1429,58 @@ del - remove item</string>
<widget class="QListWidget" name="listWidget_mount"> <widget class="QListWidget" name="listWidget_mount">
<property name="toolTip"> <property name="toolTip">
<string>Editable <string>Editable
del - remove item</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="layout_hddSpeedDevice">
<item>
<layout class="QHBoxLayout" name="layout_hddSpeedDeviceSelect">
<item>
<widget class="QLabel" name="label_hddSpeedDevice">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>HDD devices (speed)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_hddSpeedDevice">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_hddSpeedDevice">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QListWidget" name="listWidget_hddSpeedDevice">
<property name="toolTip">
<string>Editable
del - remove item</string> del - remove item</string>
</property> </property>
</widget> </widget>
@ -1334,7 +1500,7 @@ del - remove item</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>HDD devices</string> <string>HDD devices (temp)</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -1578,17 +1744,17 @@ del - remove item</string>
</property> </property>
<item> <item>
<property name="text"> <property name="text">
<string>amarok</string> <string notr="true">amarok</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>mpd</string> <string notr="true">mpd</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>qmmp</string> <string notr="true">qmmp</string>
</property> </property>
</item> </item>
</widget> </widget>
@ -1642,8 +1808,8 @@ del - remove item</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>326</width> <width>544</width>
<height>227</height> <height>504</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
@ -1976,8 +2142,8 @@ del - remove item</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>326</width> <width>544</width>
<height>190</height> <height>540</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_10"> <layout class="QVBoxLayout" name="verticalLayout_10">
@ -2316,27 +2482,52 @@ del - remove item</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_11"> <layout class="QVBoxLayout" name="verticalLayout_11">
<item> <item>
<layout class="QHBoxLayout" name="layout_customCommand"> <layout class="QVBoxLayout" name="layout_customCmd">
<item> <item>
<widget class="QLabel" name="label_customCommand"> <layout class="QHBoxLayout" name="layout_customCommand">
<property name="minimumSize"> <item>
<size> <widget class="QLabel" name="label_customCommand">
<width>120</width> <property name="minimumSize">
<height>0</height> <size>
</size> <width>120</width>
</property> <height>0</height>
<property name="text"> </size>
<string>Custom command</string> </property>
</property> <property name="text">
</widget> <string>Custom command</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_customCommand">
<property name="toolTip">
<string>Custom command to run</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_customCommand">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_customCommand"> <widget class="QListWidget" name="listWidget_customCommand">
<property name="toolTip"> <property name="toolTip">
<string>Custom command to run</string> <string>Editable
</property> del - remove item</string>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -2373,17 +2564,17 @@ del - remove item</string>
</property> </property>
<item> <item>
<property name="text"> <property name="text">
<string>auto</string> <string notr="true">auto</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>nvidia</string> <string notr="true">nvidia</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>ati</string> <string notr="true">ati</string>
</property> </property>
</item> </item>
</widget> </widget>
@ -2681,6 +2872,9 @@ del - remove item</string>
<tabstop>lineEdit_hdd</tabstop> <tabstop>lineEdit_hdd</tabstop>
<tabstop>slider_hdd</tabstop> <tabstop>slider_hdd</tabstop>
<tabstop>checkBox_hddTemp</tabstop> <tabstop>checkBox_hddTemp</tabstop>
<tabstop>checkBox_hddSpeed</tabstop>
<tabstop>lineEdit_hddSpeed</tabstop>
<tabstop>slider_hddSpeed</tabstop>
<tabstop>lineEdit_hddTemp</tabstop> <tabstop>lineEdit_hddTemp</tabstop>
<tabstop>slider_hddTemp</tabstop> <tabstop>slider_hddTemp</tabstop>
<tabstop>checkBox_net</tabstop> <tabstop>checkBox_net</tabstop>
@ -2704,12 +2898,16 @@ del - remove item</string>
<tabstop>scrollArea_advanced</tabstop> <tabstop>scrollArea_advanced</tabstop>
<tabstop>lineEdit_timeFormat</tabstop> <tabstop>lineEdit_timeFormat</tabstop>
<tabstop>lineEdit_uptimeFormat</tabstop> <tabstop>lineEdit_uptimeFormat</tabstop>
<tabstop>comboBox_tempUnits</tabstop>
<tabstop>comboBox_tempDevice</tabstop> <tabstop>comboBox_tempDevice</tabstop>
<tabstop>pushButton_tempDevice</tabstop> <tabstop>pushButton_tempDevice</tabstop>
<tabstop>listWidget_tempDevice</tabstop> <tabstop>listWidget_tempDevice</tabstop>
<tabstop>comboBox_mount</tabstop> <tabstop>comboBox_mount</tabstop>
<tabstop>pushButton_mount</tabstop> <tabstop>pushButton_mount</tabstop>
<tabstop>listWidget_mount</tabstop> <tabstop>listWidget_mount</tabstop>
<tabstop>comboBox_hddSpeedDevice</tabstop>
<tabstop>pushButton_hddSpeedDevice</tabstop>
<tabstop>listWidget_hddSpeedDevice</tabstop>
<tabstop>comboBox_hddDevice</tabstop> <tabstop>comboBox_hddDevice</tabstop>
<tabstop>pushButton_hddDevice</tabstop> <tabstop>pushButton_hddDevice</tabstop>
<tabstop>listWidget_hddDevice</tabstop> <tabstop>listWidget_hddDevice</tabstop>
@ -2738,10 +2936,16 @@ del - remove item</string>
<tabstop>spinBox_weight</tabstop> <tabstop>spinBox_weight</tabstop>
<tabstop>scrollArea_dattaengine</tabstop> <tabstop>scrollArea_dattaengine</tabstop>
<tabstop>lineEdit_customCommand</tabstop> <tabstop>lineEdit_customCommand</tabstop>
<tabstop>pushButton_customCommand</tabstop>
<tabstop>listWidget_customCommand</tabstop>
<tabstop>comboBox_gpudev</tabstop> <tabstop>comboBox_gpudev</tabstop>
<tabstop>comboBox_hdddev</tabstop> <tabstop>comboBox_hdddev</tabstop>
<tabstop>lineEdit_mpdaddress</tabstop> <tabstop>lineEdit_mpdaddress</tabstop>
<tabstop>spinBox_mpdport</tabstop> <tabstop>spinBox_mpdport</tabstop>
<tabstop>comboBox_pkgCommand</tabstop>
<tabstop>spinBox_pkgCommandNum</tabstop>
<tabstop>pushButton_pkgCommand</tabstop>
<tabstop>listWidget_pkgCommand</tabstop>
</tabstops> </tabstops>
<resources/> <resources/>
<connections/> <connections/>

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-09 12:35+0400\n" "POT-Creation-Date: 2014-05-19 11:55+0400\n"
"PO-Revision-Date: 2014-04-09 12:26+0400\n" "PO-Revision-Date: 2014-05-19 11:56+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n" "Language-Team: Russian <kde-russian@lists.kde.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -18,20 +18,22 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#. i18n: file: ui/configwindow.ui:32 #: code/main.py:108
#. i18n: ectx: property (windowTitle), widget (QWidget, ConfigWindow) msgid "Run ksysguard"
msgstr "Run ksysguard"
#: code/main.py:110
msgid "Show README"
msgstr "Show README"
#: rc.cpp:3 #: rc.cpp:3
msgid "Form" msgid "Form"
msgstr "Form" msgstr "Form"
#. i18n: file: ui/configwindow.ui:42
#. i18n: ectx: attribute (title), widget (QWidget, settings)
#: rc.cpp:6 #: rc.cpp:6
msgid "Widget settings" msgid "Widget settings"
msgstr "Widget settings" msgstr "Widget settings"
#. i18n: file: ui/configwindow.ui:48
#. i18n: ectx: property (text), widget (QLabel, label)
#: rc.cpp:9 #: rc.cpp:9
msgid "" msgid ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/" "Detailed information may be found on <a href=\"http://arcanis.name/projects/"
@ -40,14 +42,10 @@ msgstr ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/" "Detailed information may be found on <a href=\"http://arcanis.name/projects/"
"pytextmonitor/\">project homepage</a>" "pytextmonitor/\">project homepage</a>"
#. i18n: file: ui/configwindow.ui:84
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_time)
#: rc.cpp:12 #: rc.cpp:12
msgid "Time" msgid "Time"
msgstr "Time" msgstr "Time"
#. i18n: file: ui/configwindow.ui:98
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time)
#: rc.cpp:15 #: rc.cpp:15
msgid "" msgid ""
"$time - time in default format\n" "$time - time in default format\n"
@ -62,14 +60,10 @@ msgstr ""
"$longtime - time in log format\n" "$longtime - time in log format\n"
"$custom - custom time format" "$custom - custom time format"
#. i18n: file: ui/configwindow.ui:143
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime)
#: rc.cpp:22 #: rc.cpp:22
msgid "Uptime" msgid "Uptime"
msgstr "Uptime" msgstr "Uptime"
#. i18n: file: ui/configwindow.ui:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime)
#: rc.cpp:25 #: rc.cpp:25
msgid "" msgid ""
"$uptime - system uptime\n" "$uptime - system uptime\n"
@ -78,16 +72,11 @@ msgstr ""
"$uptime - system uptime\n" "$uptime - system uptime\n"
"$custom - custom format" "$custom - custom format"
#. i18n: file: ui/configwindow.ui:202
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu)
#: rc.cpp:29 #: rc.cpp:29
msgid "CPU" msgid "CPU"
msgstr "CPU" msgstr "CPU"
#. i18n: file: ui/configwindow.ui:220
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu)
#: rc.cpp:33 #: rc.cpp:33
#, no-c-format
msgid "" msgid ""
"$cpu - total load CPU, %\n" "$cpu - total load CPU, %\n"
"$cpu0 - load CPU for core 0, %\n" "$cpu0 - load CPU for core 0, %\n"
@ -103,14 +92,10 @@ msgstr ""
"...\n" "...\n"
"$cpuN - load CPU for core N, %" "$cpuN - load CPU for core N, %"
#. i18n: file: ui/configwindow.ui:268
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock)
#: rc.cpp:41 #: rc.cpp:41
msgid "CPU Clock" msgid "CPU Clock"
msgstr "CPU Clock" msgstr "CPU Clock"
#. i18n: file: ui/configwindow.ui:286
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock)
#: rc.cpp:44 #: rc.cpp:44
msgid "" msgid ""
"$cpucl - average CPU clock, MHz\n" "$cpucl - average CPU clock, MHz\n"
@ -127,53 +112,35 @@ msgstr ""
"...\n" "...\n"
"$cpuclN - CPU clock for core N, MHz" "$cpuclN - CPU clock for core N, MHz"
#. i18n: file: ui/configwindow.ui:334
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp)
#: rc.cpp:52 #: rc.cpp:52
msgid "Temperature" msgid "Temperature"
msgstr "Temperature" msgstr "Temperature"
#. i18n: file: ui/configwindow.ui:344
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp)
#: rc.cpp:55 #: rc.cpp:55
msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgid "$tempN - physical temperature on device N (from 0). Example: $temp0"
msgstr "$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:392
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu)
#: rc.cpp:58 #: rc.cpp:58
msgid "GPU" msgid "GPU"
msgstr "GPU" msgstr "GPU"
#. i18n: file: ui/configwindow.ui:402
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu)
#: rc.cpp:62 #: rc.cpp:62
#, no-c-format
msgid "$gpu - gpu usage, %" msgid "$gpu - gpu usage, %"
msgstr "$gpu - gpu usage, %" msgstr "$gpu - gpu usage, %"
#. i18n: file: ui/configwindow.ui:450
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp)
#: rc.cpp:65 #: rc.cpp:65
msgid "GPU Temp" msgid "GPU Temp"
msgstr "GPU Temp" msgstr "GPU Temp"
#. i18n: file: ui/configwindow.ui:460
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp)
#: rc.cpp:68 #: rc.cpp:68
msgid "$gputemp - physical temperature on GPU" msgid "$gputemp - physical temperature on GPU"
msgstr "$gputemp - physical temperature on GPU" msgstr "$gputemp - physical temperature on GPU"
#. i18n: file: ui/configwindow.ui:508
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem)
#: rc.cpp:71 #: rc.cpp:71
msgid "Memory" msgid "Memory"
msgstr "Memory" msgstr "Memory"
#. i18n: file: ui/configwindow.ui:523
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem)
#: rc.cpp:75 #: rc.cpp:75
#, no-c-format
msgid "" msgid ""
"$mem - RAM usage, %\n" "$mem - RAM usage, %\n"
"$memmb - RAM usage, MB\n" "$memmb - RAM usage, MB\n"
@ -183,16 +150,11 @@ msgstr ""
"$memmb - RAM usage, MB\n" "$memmb - RAM usage, MB\n"
"$memgb - RAM usage, GB" "$memgb - RAM usage, GB"
#. i18n: file: ui/configwindow.ui:571
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap)
#: rc.cpp:80 #: rc.cpp:80
msgid "Swap" msgid "Swap"
msgstr "Swap" msgstr "Swap"
#. i18n: file: ui/configwindow.ui:586
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap)
#: rc.cpp:84 #: rc.cpp:84
#, no-c-format
msgid "" msgid ""
"$swap - swap usage, %\n" "$swap - swap usage, %\n"
"$swapmb - swap usage, MB\n" "$swapmb - swap usage, MB\n"
@ -202,18 +164,11 @@ msgstr ""
"$swapmb - swap usage, MB\n" "$swapmb - swap usage, MB\n"
"$swapgb - swap usage, GB" "$swapgb - swap usage, GB"
#. i18n: file: ui/configwindow.ui:634 #: rc.cpp:89 rc.cpp:341
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#. i18n: file: ui/configwindow.ui:2404
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:89 rc.cpp:332
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#. i18n: file: ui/configwindow.ui:646
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd)
#: rc.cpp:93 #: rc.cpp:93
#, no-c-format
msgid "" msgid ""
"$hddN - usage for mount point N (from 0), %. Example: $hdd0\n" "$hddN - usage for mount point N (from 0), %. Example: $hdd0\n"
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
@ -223,29 +178,33 @@ msgstr ""
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
"$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0" "$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0"
#. i18n: file: ui/configwindow.ui:694
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp)
#: rc.cpp:98 #: rc.cpp:98
msgid "HDD Temp" msgid "HDD speed"
msgstr "HDD Temp" msgstr "HDD speed"
#. i18n: file: ui/configwindow.ui:704
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp)
#: rc.cpp:101 #: rc.cpp:101
msgid "" msgid ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
msgstr ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
#: rc.cpp:105
msgid "HDD temp"
msgstr "HDD temp"
#: rc.cpp:108
msgid ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
msgstr "" msgstr ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
#. i18n: file: ui/configwindow.ui:752 #: rc.cpp:111
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_net)
#: rc.cpp:104
msgid "Network" msgid "Network"
msgstr "Network" msgstr "Network"
#. i18n: file: ui/configwindow.ui:767 #: rc.cpp:114
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net)
#: rc.cpp:107
msgid "" msgid ""
"$down - download speed, KB/s\n" "$down - download speed, KB/s\n"
"$up - upload speed, KB/s\n" "$up - upload speed, KB/s\n"
@ -255,16 +214,11 @@ msgstr ""
"$up - upload speed, KB/s\n" "$up - upload speed, KB/s\n"
"$netdev - current network device" "$netdev - current network device"
#. i18n: file: ui/configwindow.ui:815 #: rc.cpp:119
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat)
#: rc.cpp:112
msgid "Battery" msgid "Battery"
msgstr "Battery" msgstr "Battery"
#. i18n: file: ui/configwindow.ui:826 #: rc.cpp:123
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat)
#: rc.cpp:116
#, no-c-format
msgid "" msgid ""
"$bat - battery charge, %\n" "$bat - battery charge, %\n"
"$ac - AC status" "$ac - AC status"
@ -272,17 +226,11 @@ msgstr ""
"$bat - battery charge, %\n" "$bat - battery charge, %\n"
"$ac - AC status" "$ac - AC status"
#. i18n: file: ui/configwindow.ui:874 #: rc.cpp:127 rc.cpp:271
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_player)
#. i18n: file: ui/configwindow.ui:1561
#. i18n: ectx: property (text), widget (QLabel, label_playerSelect)
#: rc.cpp:120 rc.cpp:251
msgid "Music player" msgid "Music player"
msgstr "Music player" msgstr "Music player"
#. i18n: file: ui/configwindow.ui:888 #: rc.cpp:130
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player)
#: rc.cpp:123
msgid "" msgid ""
"$album - song album\n" "$album - song album\n"
"$artist - song artist\n" "$artist - song artist\n"
@ -296,15 +244,11 @@ msgstr ""
"$time - song duration\n" "$time - song duration\n"
"$title - song title" "$title - song title"
#. i18n: file: ui/configwindow.ui:936 #: rc.cpp:137
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_ps)
#: rc.cpp:130
msgid "Processes" msgid "Processes"
msgstr "Processes" msgstr "Processes"
#. i18n: file: ui/configwindow.ui:948 #: rc.cpp:140
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_ps)
#: rc.cpp:133
msgid "" msgid ""
"$pscount - number of running processes\n" "$pscount - number of running processes\n"
"$pstotal - total number of running processes\n" "$pstotal - total number of running processes\n"
@ -314,17 +258,11 @@ msgstr ""
"$pstotal - total number of running processes\n" "$pstotal - total number of running processes\n"
"$ps - list of running processes comma separated" "$ps - list of running processes comma separated"
#. i18n: file: ui/configwindow.ui:996 #: rc.cpp:145 rc.cpp:350
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_pkg)
#. i18n: file: ui/configwindow.ui:2518
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommand)
#: rc.cpp:138 rc.cpp:341
msgid "Package manager" msgid "Package manager"
msgstr "Package manager" msgstr "Package manager"
#. i18n: file: ui/configwindow.ui:1006 #: rc.cpp:148
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_pkg)
#: rc.cpp:141
msgid "" msgid ""
"$pkgcountN - number of packages which are available for updates, command N. " "$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0" "For example $pkgcount0"
@ -332,33 +270,25 @@ msgstr ""
"$pkgcountN - number of packages which are available for updates, command N. " "$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0" "For example $pkgcount0"
#. i18n: file: ui/configwindow.ui:1054 #: rc.cpp:151
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom)
#: rc.cpp:144
msgid "Custom" msgid "Custom"
msgstr "Custom" msgstr "Custom"
#. i18n: file: ui/configwindow.ui:1064 #: rc.cpp:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) msgid ""
#: rc.cpp:147 "$customN - get output from custom command N (from N). Example `$custom0`"
msgid "$custom - get output from custom command" msgstr ""
msgstr "$custom - get output from custom command" "$customN - get output from custom command N (from N). Example `$custom0`"
#. i18n: file: ui/configwindow.ui:1122 #: rc.cpp:157
#. i18n: ectx: attribute (title), widget (QWidget, advanced)
#: rc.cpp:150
msgid "Advanced" msgid "Advanced"
msgstr "Advanced" msgstr "Advanced"
#. i18n: file: ui/configwindow.ui:1151 #: rc.cpp:160
#. i18n: ectx: property (text), widget (QLabel, label_timeFormat)
#: rc.cpp:153
msgid "Custom time format" msgid "Custom time format"
msgstr "Custom time format" msgstr "Custom time format"
#. i18n: file: ui/configwindow.ui:1173 #: rc.cpp:163
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat)
#: rc.cpp:156
msgid "" msgid ""
"$dddd - long weekday\n" "$dddd - long weekday\n"
"$ddd - short weekday\n" "$ddd - short weekday\n"
@ -394,15 +324,11 @@ msgstr ""
"$ss - seconds\n" "$ss - seconds\n"
"$s - seconds w\\o zero" "$s - seconds w\\o zero"
#. i18n: file: ui/configwindow.ui:1193 #: rc.cpp:181
#. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat)
#: rc.cpp:174
msgid "Custom uptime format" msgid "Custom uptime format"
msgstr "Custom uptime format" msgstr "Custom uptime format"
#. i18n: file: ui/configwindow.ui:1205 #: rc.cpp:184
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat)
#: rc.cpp:177
msgid "" msgid ""
"$dd - uptime days\n" "$dd - uptime days\n"
"$d - uptime days without zero\n" "$d - uptime days without zero\n"
@ -418,33 +344,19 @@ msgstr ""
"$mm - uptime minutes\n" "$mm - uptime minutes\n"
"$m - uptime minutes without zero" "$m - uptime minutes without zero"
#. i18n: file: ui/configwindow.ui:1227 #: rc.cpp:192
#. i18n: ectx: property (text), widget (QLabel, label_tempDevice) msgid "Temperature units"
#: rc.cpp:185 msgstr "Temperature units"
#: rc.cpp:195
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Temperature devices" msgstr "Temperature devices"
#. i18n: file: ui/configwindow.ui:1253 #: rc.cpp:198 rc.cpp:208 rc.cpp:218 rc.cpp:228 rc.cpp:331 rc.cpp:374
#. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice)
#. i18n: file: ui/configwindow.ui:1308
#. i18n: ectx: property (text), widget (QPushButton, pushButton_mount)
#. i18n: file: ui/configwindow.ui:1363
#. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice)
#. i18n: file: ui/configwindow.ui:2604
#. i18n: ectx: property (text), widget (QPushButton, pushButton_pkgCommand)
#: rc.cpp:188 rc.cpp:198 rc.cpp:208 rc.cpp:365
msgid "Add" msgid "Add"
msgstr "Add" msgstr "Add"
#. i18n: file: ui/configwindow.ui:1263 #: rc.cpp:201 rc.cpp:211 rc.cpp:221 rc.cpp:231 rc.cpp:334 rc.cpp:377
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice)
#. i18n: file: ui/configwindow.ui:1318
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount)
#. i18n: file: ui/configwindow.ui:1373
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice)
#. i18n: file: ui/configwindow.ui:2614
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_pkgCommand)
#: rc.cpp:191 rc.cpp:201 rc.cpp:211 rc.cpp:368
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -452,117 +364,71 @@ msgstr ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
#. i18n: file: ui/configwindow.ui:1282 #: rc.cpp:205
#. i18n: ectx: property (text), widget (QLabel, label_mount)
#: rc.cpp:195
msgid "Mount points" msgid "Mount points"
msgstr "Mount points" msgstr "Mount points"
#. i18n: file: ui/configwindow.ui:1337
#. i18n: ectx: property (text), widget (QLabel, label_hddDevice)
#: rc.cpp:205
msgid "HDD devices"
msgstr "HDD devices"
#. i18n: file: ui/configwindow.ui:1390
#. i18n: ectx: property (text), widget (QLabel, label_netdir)
#: rc.cpp:215 #: rc.cpp:215
msgid "HDD devices (speed)"
msgstr "HDD (speed)"
#: rc.cpp:225
msgid "HDD devices (temp)"
msgstr "HDD (temp)"
#: rc.cpp:235
msgid "Network directory" msgid "Network directory"
msgstr "Network directory" msgstr "Network directory"
#. i18n: file: ui/configwindow.ui:1397 #: rc.cpp:238
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir)
#: rc.cpp:218
msgid "\"/sys/class/net\" by default" msgid "\"/sys/class/net\" by default"
msgstr "\"/sys/class/net\" by default" msgstr "\"/sys/class/net\" by default"
#. i18n: file: ui/configwindow.ui:1417 #: rc.cpp:241
#. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:221
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "Disable auto select device and set specified device" msgstr "Disable auto select device and set specified device"
#. i18n: file: ui/configwindow.ui:1420 #: rc.cpp:244
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:224
msgid "Set network device" msgid "Set network device"
msgstr "Set network device" msgstr "Set network device"
#. i18n: file: ui/configwindow.ui:1453 #: rc.cpp:247
#. i18n: ectx: property (text), widget (QLabel, label_batdev)
#: rc.cpp:227
msgid "Battery device" msgid "Battery device"
msgstr "Battery device" msgstr "Battery device"
#. i18n: file: ui/configwindow.ui:1460 #: rc.cpp:250
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev)
#: rc.cpp:230
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" by default" msgstr "\"/sys/class/power_supply/BAT0/capacity\" by default"
#. i18n: file: ui/configwindow.ui:1477 #: rc.cpp:253
#. i18n: ectx: property (text), widget (QLabel, label_acOnline)
#: rc.cpp:233
msgid "AC online tag" msgid "AC online tag"
msgstr "AC online tag" msgstr "AC online tag"
#. i18n: file: ui/configwindow.ui:1484 #: rc.cpp:256
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOnline)
#: rc.cpp:236
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Line, which returns when AC is online" msgstr "Line, which returns when AC is online"
#. i18n: file: ui/configwindow.ui:1507 #: rc.cpp:259
#. i18n: ectx: property (text), widget (QLabel, label_acOffline)
#: rc.cpp:239
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC offline tag" msgstr "AC offline tag"
#. i18n: file: ui/configwindow.ui:1514 #: rc.cpp:262
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOffline)
#: rc.cpp:242
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Line, which returns when AC is offline" msgstr "Line, which returns when AC is offline"
#. i18n: file: ui/configwindow.ui:1537 #: rc.cpp:265
#. i18n: ectx: property (text), widget (QLabel, label_acdev)
#: rc.cpp:245
msgid "AC device" msgid "AC device"
msgstr "AC device" msgstr "AC device"
#. i18n: file: ui/configwindow.ui:1544 #: rc.cpp:268
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev)
#: rc.cpp:248
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/AC/online\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" by default" msgstr "\"/sys/class/power_supply/AC/online\" by default"
#. i18n: file: ui/configwindow.ui:1581 #: rc.cpp:274
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:254
msgid "amarok"
msgstr "amarok"
#. i18n: file: ui/configwindow.ui:1586
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:257
msgid "mpd"
msgstr "mpd"
#. i18n: file: ui/configwindow.ui:1591
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:260
msgid "qmmp"
msgstr "qmmp"
#. i18n: file: ui/configwindow.ui:1619
#. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:263
msgid "Tooltip" msgid "Tooltip"
msgstr "Tooltip" msgstr "Tooltip"
#. i18n: file: ui/configwindow.ui:1625 #: rc.cpp:277
#. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:266
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
@ -570,196 +436,142 @@ msgstr ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
#. i18n: file: ui/configwindow.ui:1661 #: rc.cpp:280
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:269
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "Number of values for tooltips" msgstr "Number of values for tooltips"
#. i18n: file: ui/configwindow.ui:1716 #: rc.cpp:283
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:272
msgid "CPU clock color" msgid "CPU clock color"
msgstr "CPU clock color" msgstr "CPU clock color"
#. i18n: file: ui/configwindow.ui:1756 #: rc.cpp:286
#. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:275
msgid "Swap color" msgid "Swap color"
msgstr "Swap color" msgstr "Swap color"
#. i18n: file: ui/configwindow.ui:1796 #: rc.cpp:289
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:278
msgid "CPU color" msgid "CPU color"
msgstr "CPU color" msgstr "CPU color"
#. i18n: file: ui/configwindow.ui:1836 #: rc.cpp:292
#. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:281
msgid "Download speed color" msgid "Download speed color"
msgstr "Download speed color" msgstr "Download speed color"
#. i18n: file: ui/configwindow.ui:1876 #: rc.cpp:295
#. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:284
msgid "Memory color" msgid "Memory color"
msgstr "Memory color" msgstr "Memory color"
#. i18n: file: ui/configwindow.ui:1916 #: rc.cpp:298
#. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:287
msgid "Upload speed color" msgid "Upload speed color"
msgstr "Upload speed color" msgstr "Upload speed color"
#. i18n: file: ui/configwindow.ui:1966 #: rc.cpp:301
#. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:290
msgid "Appearance" msgid "Appearance"
msgstr "Appearance" msgstr "Appearance"
#. i18n: file: ui/configwindow.ui:1995 #: rc.cpp:304
#. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:293
msgid "Time interval" msgid "Time interval"
msgstr "Time interval" msgstr "Time interval"
#. i18n: file: ui/configwindow.ui:2050 #: rc.cpp:307
#. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:296
msgid "Font" msgid "Font"
msgstr "Font" msgstr "Font"
#. i18n: file: ui/configwindow.ui:2090 #: rc.cpp:310
#. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:299
msgid "Font size" msgid "Font size"
msgstr "Font size" msgstr "Font size"
#. i18n: file: ui/configwindow.ui:2145 #: rc.cpp:313
#. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:302
msgid "Font color" msgid "Font color"
msgstr "Font color" msgstr "Font color"
#. i18n: file: ui/configwindow.ui:2185 #: rc.cpp:316
#. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:305
msgid "Font style" msgid "Font style"
msgstr "Font style" msgstr "Font style"
#. i18n: file: ui/configwindow.ui:2235 #: rc.cpp:319
#. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:308
msgid "Font weight" msgid "Font weight"
msgstr "Font weight" msgstr "Font weight"
#. i18n: file: ui/configwindow.ui:2300 #: rc.cpp:322
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:311
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#. i18n: file: ui/configwindow.ui:2329 #: rc.cpp:325
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:314
msgid "Custom command" msgid "Custom command"
msgstr "Custom command" msgstr "Custom command"
#. i18n: file: ui/configwindow.ui:2336 #: rc.cpp:328
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:317
msgid "Custom command to run" msgid "Custom command to run"
msgstr "Custom command to run" msgstr "Custom command to run"
#. i18n: file: ui/configwindow.ui:2356 #: rc.cpp:338
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:320
msgid "GPU device" msgid "GPU device"
msgstr "GPU device" msgstr "GPU device"
#. i18n: file: ui/configwindow.ui:2376 #: rc.cpp:344
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:323
msgid "auto"
msgstr "auto"
#. i18n: file: ui/configwindow.ui:2381
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:326
msgid "nvidia"
msgstr "nvidia"
#. i18n: file: ui/configwindow.ui:2386
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:329
msgid "ati"
msgstr "ati"
#. i18n: file: ui/configwindow.ui:2437
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:335
msgid "MPD address" msgid "MPD address"
msgstr "MPD address" msgstr "MPD address"
#. i18n: file: ui/configwindow.ui:2461 #: rc.cpp:347
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:338
msgid "MPD port" msgid "MPD port"
msgstr "MPD port" msgstr "MPD port"
#. i18n: file: ui/configwindow.ui:2535 #: rc.cpp:353
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:344
msgid "pacman -Qu" msgid "pacman -Qu"
msgstr "pacman -Qu" msgstr "pacman -Qu"
#. i18n: file: ui/configwindow.ui:2540 #: rc.cpp:356
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:347
msgid "apt-show-versions -u -b" msgid "apt-show-versions -u -b"
msgstr "apt-show-versions -u -b" msgstr "apt-show-versions -u -b"
#. i18n: file: ui/configwindow.ui:2545 #: rc.cpp:359
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:350
msgid "aptitude search '~U'" msgid "aptitude search '~U'"
msgstr "aptitude search '~U'" msgstr "aptitude search '~U'"
#. i18n: file: ui/configwindow.ui:2550 #: rc.cpp:362
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:353
msgid "yum list updates" msgid "yum list updates"
msgstr "yum list updates" msgstr "yum list updates"
#. i18n: file: ui/configwindow.ui:2555 #: rc.cpp:365
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:356
msgid "pkg_version -I -l '<'" msgid "pkg_version -I -l '<'"
msgstr "pkg_version -I -l '<'" msgstr "pkg_version -I -l '<'"
#. i18n: file: ui/configwindow.ui:2560 #: rc.cpp:368
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:359
msgid "urpmq --auto-select" msgid "urpmq --auto-select"
msgstr "urpmq --auto-select" msgstr "urpmq --auto-select"
#. i18n: file: ui/configwindow.ui:2578 #: rc.cpp:371
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommandNum)
#: rc.cpp:362
msgid "Number of null lines" msgid "Number of null lines"
msgstr "Number of null lines" msgstr "Number of null lines"
#: rc.cpp:370 #: rc.cpp:379
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "Evgeniy Alekseev" msgstr "Evgeniy Alekseev"
#: rc.cpp:371 #: rc.cpp:380
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid "amarok"
#~ msgstr "amarok"
#~ msgid "mpd"
#~ msgstr "mpd"
#~ msgid "qmmp"
#~ msgstr "qmmp"
#~ msgid "auto"
#~ msgstr "auto"
#~ msgid "nvidia"
#~ msgstr "nvidia"
#~ msgid "ati"
#~ msgstr "ati"
#~ msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0" #~ msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0"
#~ msgstr "$hddN - usage for mount point N (from 0), %. Example: $hdd0" #~ msgstr "$hddN - usage for mount point N (from 0), %. Example: $hdd0"

565
sources/ptm/po/es.po Normal file
View File

@ -0,0 +1,565 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Ernesto Avilés Vzqz <whippiii@gmail.com>, 2014.
# Evgeniy Alekseev <esalexeev@gmail.com>, 2014.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-05-19 11:55+0400\n"
"PO-Revision-Date: 2014-05-19 23:02+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Spanish <kde-russian@lists.kde.ru>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.5\n"
#: code/main.py:108
msgid "Run ksysguard"
msgstr "Ejecutar ksysguard"
#: code/main.py:110
msgid "Show README"
msgstr "Mostrar el README"
#: rc.cpp:3
msgid "Form"
msgstr "Formulario"
#: rc.cpp:6
msgid "Widget settings"
msgstr "Configuración del componente"
#: rc.cpp:9
msgid ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/"
"pytextmonitor/\">project homepage</a>"
msgstr ""
"Puede encontrar información detallada en el <a href=\"http://arcanis.name/"
"projects/pytextmonitor/\">sitio del proyecto</a>"
#: rc.cpp:12
msgid "Time"
msgstr "Hora"
#: rc.cpp:15
msgid ""
"$time - time in default format\n"
"$isotime - time in ISO format\n"
"$shorttime - time in short format\n"
"$longtime - time in log format\n"
"$custom - custom time format"
msgstr ""
"$time - hora en el formato por defecto\n"
"$isotime - hora en formato ISO\n"
"$shorttime - hora en formato corto\n"
"$longtime - hora en formato largo\n"
"$custom - hora en formato personalizado"
#: rc.cpp:22
msgid "Uptime"
msgstr "Tiempo de actividad"
#: rc.cpp:25
msgid ""
"$uptime - system uptime\n"
"$custom - custom format"
msgstr ""
"$uptime - tiempo de actividad del sistema\n"
"$custom - formato personalizado"
#: rc.cpp:29
msgid "CPU"
msgstr "CPU"
#: rc.cpp:33
msgid ""
"$cpu - total load CPU, %\n"
"$cpu0 - load CPU for core 0, %\n"
"...\n"
"$cpu9 - load CPU for core 9, %\n"
"...\n"
"$cpuN - load CPU for core N, %"
msgstr ""
"$cpu - carga total de la CPU, %\n"
"$cpu0 - carga de la CPU para el núcleo 0, %\n"
"...\n"
"$cpu9 - carga de la CPU para el núcleo 9, %\n"
"...\n"
"$cpuN - carga de la CPU para el núcleo N, %"
#: rc.cpp:41
msgid "CPU Clock"
msgstr "Frecuencia de la CPU"
#: rc.cpp:44
msgid ""
"$cpucl - average CPU clock, MHz\n"
"$cpucl0 - CPU clock for core 0, MHz\n"
"...\n"
"$cpucl9 - CPU clock for core 9, MHz\n"
"...\n"
"$cpuclN - CPU clock for core N, MHz"
msgstr ""
"$cpucl - frecuencia de la CPU promedio, MHz\n"
"$cpucl0 - frecuencia de la CPU para el núcleo 0, MHz\n"
"...\n"
"$cpucl9 - frecuencia de la CPU para el núcleo 9, MHz\n"
"...\n"
"$cpuclN - frecuencia de la CPU para el núcleo N, MHz"
#: rc.cpp:52
msgid "Temperature"
msgstr "Temperatura"
#: rc.cpp:55
msgid "$tempN - physical temperature on device N (from 0). Example: $temp0"
msgstr ""
"$tempN - temperatura física en el dispositivo N (a partir de 0). Ejemplo: "
"$temp0"
#: rc.cpp:58
msgid "GPU"
msgstr "GPU"
#: rc.cpp:62
msgid "$gpu - gpu usage, %"
msgstr "$gpu - uso de la GPU, %"
#: rc.cpp:65
msgid "GPU Temp"
msgstr "Temperatura de la GPU"
#: rc.cpp:68
msgid "$gputemp - physical temperature on GPU"
msgstr "$gputemp - temperatura física de la GPU"
#: rc.cpp:71
msgid "Memory"
msgstr "Memoria"
#: rc.cpp:75
msgid ""
"$mem - RAM usage, %\n"
"$memmb - RAM usage, MB\n"
"$memgb - RAM usage, GB"
msgstr ""
"$mem - uso de la RAM, %\n"
"$memmb - uso de la RAM, MB\n"
"$memgb - uso de la RAM, GB"
#: rc.cpp:80
msgid "Swap"
msgstr "Swap"
#: rc.cpp:84
msgid ""
"$swap - swap usage, %\n"
"$swapmb - swap usage, MB\n"
"$swapgb - swap usage, GB"
msgstr ""
"$swap - uso de la swap, %\n"
"$swapmb - uso de la swap, MB\n"
"$swapgb - uso de la swap, GB"
#: rc.cpp:89 rc.cpp:341
msgid "HDD"
msgstr "Disco duro"
#: rc.cpp:93
msgid ""
"$hddN - usage for mount point N (from 0), %. Example: $hdd0\n"
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
"$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0"
msgstr ""
"$hddN - uso para el punto de montaje N (a partir de 0), %. Ejemplo: $hdd0\n"
"$hddmbN - uso para el punto de montaje N (a partir de 0), MB. Ejemplo: "
"$hddmb0\n"
"$hddgbN - uso para el punto de montaje N (a partir de 0), GB. Ejemplo: $hddgb0"
#: rc.cpp:98
msgid "HDD speed"
msgstr "Velocidad del disco duro"
#: rc.cpp:101
msgid ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
msgstr ""
"$hddrN - leer la velocidad del disco N (a partir de 0), KB/s. Por ejemplo: "
"$hddr0\n"
"$hddwN - velocidad de escritura del disco N (a partir de 0), KB/s. Por "
"ejemplo: $hddw0"
#: rc.cpp:105
msgid "HDD temp"
msgstr "Temperatura del disco duro"
#: rc.cpp:108
msgid ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
msgstr ""
"$hddtempN - temperatura física en el dispositivo N (a partir de 0). Ejemplo: "
"$hddtemp0"
#: rc.cpp:111
msgid "Network"
msgstr "Red"
#: rc.cpp:114
msgid ""
"$down - download speed, KB/s\n"
"$up - upload speed, KB/s\n"
"$netdev - current network device"
msgstr ""
"$down - velocidad de recepción, KB/s\n"
"$up - velocidad de envío, KB/s\n"
"$netdev - dispositivo de red actual"
#: rc.cpp:119
msgid "Battery"
msgstr "Batería"
#: rc.cpp:123
msgid ""
"$bat - battery charge, %\n"
"$ac - AC status"
msgstr ""
"$bat - carga de la batería, %\n"
"$ac - estado de la alimentación"
#: rc.cpp:127 rc.cpp:271
msgid "Music player"
msgstr "Reproductor de música"
#: rc.cpp:130
msgid ""
"$album - song album\n"
"$artist - song artist\n"
"$progress - song progress\n"
"$time - song duration\n"
"$title - song title"
msgstr ""
"$album - álbum de la canción\n"
"$artist - artista de la canción\n"
"$progress - progreso de la canción\n"
"$time - duración de la canción\n"
"$title - título de la canción"
#: rc.cpp:137
msgid "Processes"
msgstr "Procesos"
#: rc.cpp:140
msgid ""
"$pscount - number of running processes\n"
"$pstotal - total number of running processes\n"
"$ps - list of running processes comma separated"
msgstr ""
"$pscount - número de procesos en ejecución\n"
"$pstotal - total de procesos en ejecución\n"
"$ps - listado de procesos en ejecución separados por coma"
#: rc.cpp:145 rc.cpp:350
msgid "Package manager"
msgstr "Gestor de paquetes"
#: rc.cpp:148
msgid ""
"$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0"
msgstr ""
"$pkgcountN - número de paquetes con actualizaciones disponibles, comando N. "
"Por ejemplo $pkgcount0"
#: rc.cpp:151
msgid "Custom"
msgstr "Personalizado"
#: rc.cpp:154
msgid ""
"$customN - get output from custom command N (from N). Example `$custom0`"
msgstr ""
"$customN - obtener la salida de ejecución del comando personalizado N "
"(apartir de 0). Por ejemplo: $custom0"
#: rc.cpp:157
msgid "Advanced"
msgstr "Avanzado"
#: rc.cpp:160
msgid "Custom time format"
msgstr "Formato personalizado para la hora"
#: rc.cpp:163
msgid ""
"$dddd - long weekday\n"
"$ddd - short weekday\n"
"$dd - day\n"
"$d - day w\\o zero\n"
"$MMMM - long month\n"
"$MMM - short month\n"
"$MM - month\n"
"$M - month w\\o zero\n"
"$yyyy - year\n"
"$yy - short year\n"
"$hh - hours (24 only)\n"
"$h - hours w\\o zero (24 only)\n"
"$mm - minutes\n"
"$m - minutes w\\o zero\n"
"$ss - seconds\n"
"$s - seconds w\\o zero"
msgstr ""
"$dddd - día de la semana largo\n"
"$ddd - día de la semana corto\n"
"$dd - día\n"
"$d - día (sin ceros)\n"
"$MMMM - mes largo\n"
"$MMM - mes corto\n"
"$MM - mes\n"
"$M - mes (sin ceros)\n"
"$yyyy - año\n"
"$yy - año largo\n"
"$hh - horas (solo formato de 24 horas)\n"
"$h - horas (sin ceros, solo formato de 24 horas)\n"
"$mm - minutos\n"
"$m - minutos (sin ceros)\n"
"$ss - segundos\n"
"$s - segundos (sin ceros)"
#: rc.cpp:181
msgid "Custom uptime format"
msgstr "Formato personalizado para el tiempo de actividad del sistema"
#: rc.cpp:184
msgid ""
"$dd - uptime days\n"
"$d - uptime days without zero\n"
"$hh - uptime hours\n"
"$h - uptime hours without zero\n"
"$mm - uptime minutes\n"
"$m - uptime minutes without zero"
msgstr ""
"$dd - días\n"
"$d - días (sin ceros)\n"
"$hh - horas\n"
"$h - horas (sin ceros)\n"
"$mm - minutos\n"
"$m - minutos (sin ceros)"
#: rc.cpp:192
msgid "Temperature units"
msgstr "Unidades de temperatura"
#: rc.cpp:195
msgid "Temperature devices"
msgstr "Dispositivos de temperatura"
#: rc.cpp:198 rc.cpp:208 rc.cpp:218 rc.cpp:228 rc.cpp:331 rc.cpp:374
msgid "Add"
msgstr "Añadir"
#: rc.cpp:201 rc.cpp:211 rc.cpp:221 rc.cpp:231 rc.cpp:334 rc.cpp:377
msgid ""
"Editable\n"
"del - remove item"
msgstr ""
"Editable\n"
"del - eliminar elemento"
#: rc.cpp:205
msgid "Mount points"
msgstr "Puntos de montaje"
#: rc.cpp:215
msgid "HDD devices (speed)"
msgstr "Disco duro (velocidad)"
#: rc.cpp:225
msgid "HDD devices (temp)"
msgstr "Disco duro (temperatura)"
#: rc.cpp:235
msgid "Network directory"
msgstr "Directorio de la red"
#: rc.cpp:238
msgid "\"/sys/class/net\" by default"
msgstr "\"/sys/class/net\" por defecto"
#: rc.cpp:241
msgid "Disable auto select device and set specified device"
msgstr "Inhabilitar selección automática del dispositivo y especificar uno"
#: rc.cpp:244
msgid "Set network device"
msgstr "Establecer dispositivo de red"
#: rc.cpp:247
msgid "Battery device"
msgstr "Dispositivo de batería"
#: rc.cpp:250
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" por defecto"
#: rc.cpp:253
msgid "AC online tag"
msgstr "Etiqueta para alimentación conectada"
#: rc.cpp:256
msgid "Line, which returns when AC is online"
msgstr "Línea que devuelve si la alimentación está conectada"
#: rc.cpp:259
msgid "AC offline tag"
msgstr "Etiqueta para la alimentación desconectada"
#: rc.cpp:262
msgid "Line, which returns when AC is offline"
msgstr "Línea que devuelve si la alimentación está desconectada"
#: rc.cpp:265
msgid "AC device"
msgstr "Dispositivo de alimentación"
#: rc.cpp:268
msgid "\"/sys/class/power_supply/AC/online\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" por defecto"
#: rc.cpp:274
msgid "Tooltip"
msgstr "Ventana emergente"
#: rc.cpp:277
msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked."
msgstr ""
"Las etiquetas para CPU, frecuencia de la CPU, memoria, swap y red soportan "
"ventanas emergentes. "
"Para habilitarlas habilite la caja de seleccione la casilla de verificación "
"pertinente."
#: rc.cpp:280
msgid "Number of values for tooltips"
msgstr "Número de valores para las ventanas emergentes"
#: rc.cpp:283
msgid "CPU clock color"
msgstr "Color de la frecuencia de la CPU"
#: rc.cpp:286
msgid "Swap color"
msgstr "Color de la swap"
#: rc.cpp:289
msgid "CPU color"
msgstr "Color de la CPU"
#: rc.cpp:292
msgid "Download speed color"
msgstr "Color de la velocidad de recepción"
#: rc.cpp:295
msgid "Memory color"
msgstr "Color de la memoria"
#: rc.cpp:298
msgid "Upload speed color"
msgstr "Color de la velocidad de envío"
#: rc.cpp:301
msgid "Appearance"
msgstr "Apariencia"
#: rc.cpp:304
msgid "Time interval"
msgstr "Intervalo de tiempo"
#: rc.cpp:307
msgid "Font"
msgstr "Fuente"
#: rc.cpp:310
msgid "Font size"
msgstr "Tamaño de fuente"
#: rc.cpp:313
msgid "Font color"
msgstr "Color de fuente"
#: rc.cpp:316
msgid "Font style"
msgstr "Estilo de fuente"
#: rc.cpp:319
msgid "Font weight"
msgstr "Grosor de la fuente"
#: rc.cpp:322
msgid "DataEngine"
msgstr "DataEngine"
#: rc.cpp:325
msgid "Custom command"
msgstr "Comando personalizado"
#: rc.cpp:328
msgid "Custom command to run"
msgstr "Comando personalizado para ejecutar"
#: rc.cpp:338
msgid "GPU device"
msgstr "Dispositivo de GPU"
#: rc.cpp:344
msgid "MPD address"
msgstr "Dirección de MPD"
#: rc.cpp:347
msgid "MPD port"
msgstr "Puerto de MPD"
#: rc.cpp:353
msgid "pacman -Qu"
msgstr "pacman -Qu"
#: rc.cpp:356
msgid "apt-show-versions -u -b"
msgstr "apt-show-versions -u -b"
#: rc.cpp:359
msgid "aptitude search '~U'"
msgstr "aptitude search '~U'"
#: rc.cpp:362
msgid "yum list updates"
msgstr "yum list updates"
#: rc.cpp:365
msgid "pkg_version -I -l '<'"
msgstr "pkg_version -I -l '<'"
#: rc.cpp:368
msgid "urpmq --auto-select"
msgstr "urpmq --auto-select"
#: rc.cpp:371
msgid "Number of null lines"
msgstr "Número de líneas nulas"
#: rc.cpp:379
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Tu nombre"
#: rc.cpp:380
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "Tus correos"

View File

@ -31,7 +31,7 @@ add_list()
echo "Preparing rc files" echo "Preparing rc files"
cd ${BASEDIR} cd ${BASEDIR}
# we use simple sorting to make sure the lines do not jump around too much from system to system # we use simple sorting to make sure the lines do not jump around too much from system to system
find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' | sort > ${WDIR}/rcfiles.list find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' -o -name '*.py' | sort > ${WDIR}/rcfiles.list
xargs --arg-file=${WDIR}/rcfiles.list extractrc > ${WDIR}/rc.cpp xargs --arg-file=${WDIR}/rcfiles.list extractrc > ${WDIR}/rc.cpp
# additional string for KAboutData # additional string for KAboutData
@ -52,12 +52,12 @@ echo "Done preparing rc files"
echo "Extracting messages" echo "Extracting messages"
cd ${BASEDIR} cd ${BASEDIR}
# see above on sorting # see above on sorting
find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${WDIR}/infiles.list find . -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.py' | sort > ${WDIR}/infiles.list
echo "rc.cpp" >> ${WDIR}/infiles.list echo "rc.cpp" >> ${WDIR}/infiles.list
cd ${WDIR} cd ${WDIR}
xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \ xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
-kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \ -kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
--msgid-bugs-address="${BUGADDR}" \ --msgid-bugs-address="${BUGADDR}" --language=Python \
--files-from=infiles.list -D ${BASEDIR} -D ${WDIR} -o ${PROJECT}.pot || { echo "error while calling xgettext. aborting."; exit 1; } --files-from=infiles.list -D ${BASEDIR} -D ${WDIR} -o ${PROJECT}.pot || { echo "error while calling xgettext. aborting."; exit 1; }
echo "Done extracting messages" echo "Done extracting messages"

View File

@ -7,10 +7,10 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-09 12:35+0400\n" "POT-Creation-Date: 2014-05-19 11:55+0400\n"
"PO-Revision-Date: 2014-04-09 12:33+0400\n" "PO-Revision-Date: 2014-05-21 16:45+0200\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Mermouy <mermouy@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n" "Language-Team: French <kde-i18n-doc@kde.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -19,20 +19,22 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#. i18n: file: ui/configwindow.ui:32 #: code/main.py:108
#. i18n: ectx: property (windowTitle), widget (QWidget, ConfigWindow) msgid "Run ksysguard"
msgstr "Lancer ksysguard"
#: code/main.py:110
msgid "Show README"
msgstr "Voir le README"
#: rc.cpp:3 #: rc.cpp:3
msgid "Form" msgid "Form"
msgstr "Entrées" msgstr "Entrées"
#. i18n: file: ui/configwindow.ui:42
#. i18n: ectx: attribute (title), widget (QWidget, settings)
#: rc.cpp:6 #: rc.cpp:6
msgid "Widget settings" msgid "Widget settings"
msgstr "Paramètres de l'applet" msgstr "Paramètres de l'applet"
#. i18n: file: ui/configwindow.ui:48
#. i18n: ectx: property (text), widget (QLabel, label)
#: rc.cpp:9 #: rc.cpp:9
msgid "" msgid ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/" "Detailed information may be found on <a href=\"http://arcanis.name/projects/"
@ -41,14 +43,10 @@ msgstr ""
"D'avantage d'informations se trouvent sur <a href=\"http://arcanis.name/" "D'avantage d'informations se trouvent sur <a href=\"http://arcanis.name/"
"projects/pytextmonitor/\">la page du projet</a>" "projects/pytextmonitor/\">la page du projet</a>"
#. i18n: file: ui/configwindow.ui:84
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_time)
#: rc.cpp:12 #: rc.cpp:12
msgid "Time" msgid "Time"
msgstr "Durée" msgstr "Durée"
#. i18n: file: ui/configwindow.ui:98
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time)
#: rc.cpp:15 #: rc.cpp:15
msgid "" msgid ""
"$time - time in default format\n" "$time - time in default format\n"
@ -63,14 +61,10 @@ msgstr ""
"$longtime - l'heure au format log\n" "$longtime - l'heure au format log\n"
"$custom - l'heure, format personnalisé" "$custom - l'heure, format personnalisé"
#. i18n: file: ui/configwindow.ui:143
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime)
#: rc.cpp:22 #: rc.cpp:22
msgid "Uptime" msgid "Uptime"
msgstr "temps de fonctionnement" msgstr "temps de fonctionnement"
#. i18n: file: ui/configwindow.ui:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime)
#: rc.cpp:25 #: rc.cpp:25
msgid "" msgid ""
"$uptime - system uptime\n" "$uptime - system uptime\n"
@ -79,16 +73,12 @@ msgstr ""
"$uptime - temps de fonctionnement\n" "$uptime - temps de fonctionnement\n"
"$custom - format personnalisé" "$custom - format personnalisé"
#. i18n: file: ui/configwindow.ui:202
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu)
#: rc.cpp:29 #: rc.cpp:29
msgid "CPU" msgid "CPU"
msgstr "CPU" msgstr "CPU"
#. i18n: file: ui/configwindow.ui:220
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu)
#: rc.cpp:33 #: rc.cpp:33
#, no-c-format #, fuzzy
msgid "" msgid ""
"$cpu - total load CPU, %\n" "$cpu - total load CPU, %\n"
"$cpu0 - load CPU for core 0, %\n" "$cpu0 - load CPU for core 0, %\n"
@ -100,19 +90,14 @@ msgstr ""
"$cpu - charge totale du processeur, %\n" "$cpu - charge totale du processeur, %\n"
"$cpu0 - charge du processeur pour le coeur 0, %\n" "$cpu0 - charge du processeur pour le coeur 0, %\n"
"...\n" "...\n"
"$cpu9 - charge processeur pour le coeur 9, %\n" "$cpu7 - charge processeur pour le coeur 7, %"
"...\n"
"$cpuN - charge processeur pour le coeur N, %"
#. i18n: file: ui/configwindow.ui:268
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock)
#: rc.cpp:41 #: rc.cpp:41
msgid "CPU Clock" msgid "CPU Clock"
msgstr "Horloge processeur" msgstr "Horloge processeur"
#. i18n: file: ui/configwindow.ui:286
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock)
#: rc.cpp:44 #: rc.cpp:44
#, fuzzy
msgid "" msgid ""
"$cpucl - average CPU clock, MHz\n" "$cpucl - average CPU clock, MHz\n"
"$cpucl0 - CPU clock for core 0, MHz\n" "$cpucl0 - CPU clock for core 0, MHz\n"
@ -124,135 +109,108 @@ msgstr ""
"$cpucl - Moyenne de l'horloge du processeur, MHz\n" "$cpucl - Moyenne de l'horloge du processeur, MHz\n"
"$cpucl0 - Horloge du coeur 0, MHz\n" "$cpucl0 - Horloge du coeur 0, MHz\n"
"...\n" "...\n"
"$cpucl9 - Horloge du coeur 9, MHz\n" "$cpucl7 - Horloge du coeur 7, MHz"
"...\n"
"$cpuclN - Horloge du coeur N, MHz"
#. i18n: file: ui/configwindow.ui:334
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp)
#: rc.cpp:52 #: rc.cpp:52
msgid "Temperature" msgid "Temperature"
msgstr "Température" msgstr "Température"
#. i18n: file: ui/configwindow.ui:344
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp)
#: rc.cpp:55 #: rc.cpp:55
msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgid "$tempN - physical temperature on device N (from 0). Example: $temp0"
msgstr "" msgstr ""
"$tempN - Température physique du périphérique N (à partir de 0). Exemple: " "$tempN - Température physique du périphérique N (à partir de 0). Exemple: "
"$temp0" "$temp0"
#. i18n: file: ui/configwindow.ui:392
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu)
#: rc.cpp:58 #: rc.cpp:58
msgid "GPU" msgid "GPU"
msgstr "Processeur graphique" msgstr "Processeur graphique"
#. i18n: file: ui/configwindow.ui:402
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu)
#: rc.cpp:62 #: rc.cpp:62
#, no-c-format
msgid "$gpu - gpu usage, %" msgid "$gpu - gpu usage, %"
msgstr "$gpu - utilisation du processeur graphique, %" msgstr "$gpu - utilisation du processeur graphique, %"
#. i18n: file: ui/configwindow.ui:450
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp)
#: rc.cpp:65 #: rc.cpp:65
msgid "GPU Temp" msgid "GPU Temp"
msgstr "Temp du processeur graphique" msgstr "Temp du processeur graphique"
#. i18n: file: ui/configwindow.ui:460
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp)
#: rc.cpp:68 #: rc.cpp:68
msgid "$gputemp - physical temperature on GPU" msgid "$gputemp - physical temperature on GPU"
msgstr "$gputemp - Température physique du processeur graphique" msgstr "$gputemp - Température physique du processeur graphique"
#. i18n: file: ui/configwindow.ui:508
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem)
#: rc.cpp:71 #: rc.cpp:71
msgid "Memory" msgid "Memory"
msgstr "Mémoire" msgstr "Mémoire"
#. i18n: file: ui/configwindow.ui:523
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem)
#: rc.cpp:75 #: rc.cpp:75
#, no-c-format #, fuzzy
msgid "" msgid ""
"$mem - RAM usage, %\n" "$mem - RAM usage, %\n"
"$memmb - RAM usage, MB\n" "$memmb - RAM usage, MB\n"
"$memgb - RAM usage, GB" "$memgb - RAM usage, GB"
msgstr "" msgstr ""
"$mem - utilisation de la RAM, %\n" "$mem - utilisation de la RAM, %\n"
"$memmb - utilisation de la RAM, MB\n" "$memmb - utilisation de la RAM, MB"
"$memgb - utilisation de la RAM, GB"
#. i18n: file: ui/configwindow.ui:571
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap)
#: rc.cpp:80 #: rc.cpp:80
msgid "Swap" msgid "Swap"
msgstr "mémoire d'échange (swap)" msgstr "mémoire d'échange (swap)"
#. i18n: file: ui/configwindow.ui:586
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap)
#: rc.cpp:84 #: rc.cpp:84
#, no-c-format #, fuzzy
msgid "" msgid ""
"$swap - swap usage, %\n" "$swap - swap usage, %\n"
"$swapmb - swap usage, MB\n" "$swapmb - swap usage, MB\n"
"$swapgb - swap usage, GB" "$swapgb - swap usage, GB"
msgstr "" msgstr ""
"$swap - utilisation swap, %\n" "$swap - utilisation swap, %\n"
"$swapmb - utilisation swap, MB\n" "$swapmb - utilisation swap, MB"
"$swapgb - utilisation swap, GB"
#. i18n: file: ui/configwindow.ui:634 #: rc.cpp:89 rc.cpp:341
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#. i18n: file: ui/configwindow.ui:2404
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:89 rc.cpp:332
msgid "HDD" msgid "HDD"
msgstr "Disque dur" msgstr "Disque dur"
#. i18n: file: ui/configwindow.ui:646
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd)
#: rc.cpp:93 #: rc.cpp:93
#, no-c-format
msgid "" msgid ""
"$hddN - usage for mount point N (from 0), %. Example: $hdd0\n" "$hddN - usage for mount point N (from 0), %. Example: $hdd0\n"
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
"$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0" "$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0"
msgstr "" msgstr ""
"$hddN - espace occupé sur le point de montage N (à partir de 0), %. Exemple: " "$hddN - utilisation du point de montage N (à partir de 0), %. Exemple: $hdd0\n"
"$hdd0\n" "$hddmbN - utilisation du point de montage N (à partir de 0), MB. Exemple: "
"$hddmbN - espace occupé sur le point de montage N (à partir de 0), MB. " "$hddmb0\n"
"Exemple: $hddmb0\n" "$hddgbN - utilisation du point de montage N (à partir de 0), GB. Exemple: "
"$hddgbN - espace occupé sur le point de montage N (à partir de 0), GB. " "$hddgb0"
"Exemple: $hddgb0"
#. i18n: file: ui/configwindow.ui:694
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp)
#: rc.cpp:98 #: rc.cpp:98
msgid "HDD Temp" #, fuzzy
msgid "HDD speed"
msgstr "Périphériques HDD"
#: rc.cpp:101
msgid ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
msgstr ""
"$hddrN - vitesse de lecture HDD N (à partir de 0), KB/s. Exemple: $hddr0\n"
"$hddwN - vitesse d'écriture HDD N (à partir de 0), KB/s. Exemple: $hddw0"
#: rc.cpp:105
#, fuzzy
msgid "HDD temp"
msgstr "Température disque dur" msgstr "Température disque dur"
#. i18n: file: ui/configwindow.ui:704 #: rc.cpp:108
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp)
#: rc.cpp:101
msgid "" msgid ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
msgstr "" msgstr ""
"$hddtempN - température physique du périphérique N (à partir de 0). Exemple: " "$hddtempN - température physique du périphérique N (à partir de 0). Exemple: "
"$hddtemp0" "$hddtemp0"
#. i18n: file: ui/configwindow.ui:752 #: rc.cpp:111
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_net)
#: rc.cpp:104
msgid "Network" msgid "Network"
msgstr "Réseau" msgstr "Réseau"
#. i18n: file: ui/configwindow.ui:767 #: rc.cpp:114
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net)
#: rc.cpp:107
msgid "" msgid ""
"$down - download speed, KB/s\n" "$down - download speed, KB/s\n"
"$up - upload speed, KB/s\n" "$up - upload speed, KB/s\n"
@ -262,16 +220,11 @@ msgstr ""
"$up - vitesse ascendante, KB/s\n" "$up - vitesse ascendante, KB/s\n"
"$netdev - périphérique réseau actuel" "$netdev - périphérique réseau actuel"
#. i18n: file: ui/configwindow.ui:815 #: rc.cpp:119
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat)
#: rc.cpp:112
msgid "Battery" msgid "Battery"
msgstr "Batterie" msgstr "Batterie"
#. i18n: file: ui/configwindow.ui:826 #: rc.cpp:123
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat)
#: rc.cpp:116
#, no-c-format
msgid "" msgid ""
"$bat - battery charge, %\n" "$bat - battery charge, %\n"
"$ac - AC status" "$ac - AC status"
@ -279,17 +232,11 @@ msgstr ""
"$bat - charge de la batterie, %\n" "$bat - charge de la batterie, %\n"
"$ac - état de l'alimentation" "$ac - état de l'alimentation"
#. i18n: file: ui/configwindow.ui:874 #: rc.cpp:127 rc.cpp:271
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_player)
#. i18n: file: ui/configwindow.ui:1561
#. i18n: ectx: property (text), widget (QLabel, label_playerSelect)
#: rc.cpp:120 rc.cpp:251
msgid "Music player" msgid "Music player"
msgstr "Lecteur audio" msgstr "Lecteur audio"
#. i18n: file: ui/configwindow.ui:888 #: rc.cpp:130
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player)
#: rc.cpp:123
msgid "" msgid ""
"$album - song album\n" "$album - song album\n"
"$artist - song artist\n" "$artist - song artist\n"
@ -303,69 +250,51 @@ msgstr ""
"$time - durée du morceau\n" "$time - durée du morceau\n"
"$title - titre du morceau" "$title - titre du morceau"
#. i18n: file: ui/configwindow.ui:936 #: rc.cpp:137
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_ps)
#: rc.cpp:130
msgid "Processes" msgid "Processes"
msgstr "Processus" msgstr "Processus"
#. i18n: file: ui/configwindow.ui:948 #: rc.cpp:140
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_ps)
#: rc.cpp:133
msgid "" msgid ""
"$pscount - number of running processes\n" "$pscount - number of running processes\n"
"$pstotal - total number of running processes\n" "$pstotal - total number of running processes\n"
"$ps - list of running processes comma separated" "$ps - list of running processes comma separated"
msgstr "" msgstr ""
"$pscount - nombre de processus en cours d'exécution\n" "$pscount - nombre de processus actifs\n"
" $pstotal - nombre total de processus\n" "$pstotal - nombre total de processus actifs\n"
" $ps - liste des processus en cours d'exécution séparés par des virgules" "$ps - liste des processus actifs séparés par une virgule"
#. i18n: file: ui/configwindow.ui:996 #: rc.cpp:145 rc.cpp:350
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_pkg)
#. i18n: file: ui/configwindow.ui:2518
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommand)
#: rc.cpp:138 rc.cpp:341
msgid "Package manager" msgid "Package manager"
msgstr "Gestionnaire de paquets" msgstr "Gestionnaire de paquets"
#. i18n: file: ui/configwindow.ui:1006 #: rc.cpp:148
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_pkg)
#: rc.cpp:141
msgid "" msgid ""
"$pkgcountN - number of packages which are available for updates, command N. " "$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0" "For example $pkgcount0"
msgstr "" msgstr ""
"$pkgcountN - nombre de paquets qui sont disponibles pour les mises à jour, " "$pkgcountN - nombre de paquets à mettre à jour, commande N. "
"commande N. Exemple: $pkgcount0" "Par exemple $pkgcount0"
#. i18n: file: ui/configwindow.ui:1054 #: rc.cpp:151
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom)
#: rc.cpp:144
msgid "Custom" msgid "Custom"
msgstr "Personnalisé" msgstr "Personnalisé"
#. i18n: file: ui/configwindow.ui:1064 #: rc.cpp:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) #, fuzzy
#: rc.cpp:147 msgid ""
msgid "$custom - get output from custom command" "$customN - get output from custom command N (from N). Example `$custom0`"
msgstr "$custom - sortie d'une commande personnelle" msgstr "$custom - sortie d'une commande personnelle"
#. i18n: file: ui/configwindow.ui:1122 #: rc.cpp:157
#. i18n: ectx: attribute (title), widget (QWidget, advanced)
#: rc.cpp:150
msgid "Advanced" msgid "Advanced"
msgstr "Avancé" msgstr "Avancé"
#. i18n: file: ui/configwindow.ui:1151 #: rc.cpp:160
#. i18n: ectx: property (text), widget (QLabel, label_timeFormat)
#: rc.cpp:153
msgid "Custom time format" msgid "Custom time format"
msgstr "Format de l'heure personnalisé" msgstr "Format de l'heure personnalisé"
#. i18n: file: ui/configwindow.ui:1173 #: rc.cpp:163
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat)
#: rc.cpp:156
msgid "" msgid ""
"$dddd - long weekday\n" "$dddd - long weekday\n"
"$ddd - short weekday\n" "$ddd - short weekday\n"
@ -401,15 +330,11 @@ msgstr ""
"$ss - secondes\n" "$ss - secondes\n"
"$s - secondes sans zéro" "$s - secondes sans zéro"
#. i18n: file: ui/configwindow.ui:1193 #: rc.cpp:181
#. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat)
#: rc.cpp:174
msgid "Custom uptime format" msgid "Custom uptime format"
msgstr "Temps de fonctionnement personalisé" msgstr "Temps de fonctionnement personalisé"
#. i18n: file: ui/configwindow.ui:1205 #: rc.cpp:184
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat)
#: rc.cpp:177
msgid "" msgid ""
"$dd - uptime days\n" "$dd - uptime days\n"
"$d - uptime days without zero\n" "$d - uptime days without zero\n"
@ -425,33 +350,20 @@ msgstr ""
"$mm - temps de fonctionnement en minutes\n" "$mm - temps de fonctionnement en minutes\n"
"$m - temps de fonctionnement en minutes sans zéro" "$m - temps de fonctionnement en minutes sans zéro"
#. i18n: file: ui/configwindow.ui:1227 #: rc.cpp:192
#. i18n: ectx: property (text), widget (QLabel, label_tempDevice) #, fuzzy
#: rc.cpp:185 msgid "Temperature units"
msgstr "Température"
#: rc.cpp:195
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Temperature des périphériques" msgstr "Temperature des périphériques"
#. i18n: file: ui/configwindow.ui:1253 #: rc.cpp:198 rc.cpp:208 rc.cpp:218 rc.cpp:228 rc.cpp:331 rc.cpp:374
#. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice)
#. i18n: file: ui/configwindow.ui:1308
#. i18n: ectx: property (text), widget (QPushButton, pushButton_mount)
#. i18n: file: ui/configwindow.ui:1363
#. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice)
#. i18n: file: ui/configwindow.ui:2604
#. i18n: ectx: property (text), widget (QPushButton, pushButton_pkgCommand)
#: rc.cpp:188 rc.cpp:198 rc.cpp:208 rc.cpp:365
msgid "Add" msgid "Add"
msgstr "Ajouter" msgstr "Ajouter"
#. i18n: file: ui/configwindow.ui:1263 #: rc.cpp:201 rc.cpp:211 rc.cpp:221 rc.cpp:231 rc.cpp:334 rc.cpp:377
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice)
#. i18n: file: ui/configwindow.ui:1318
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount)
#. i18n: file: ui/configwindow.ui:1373
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice)
#. i18n: file: ui/configwindow.ui:2614
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_pkgCommand)
#: rc.cpp:191 rc.cpp:201 rc.cpp:211 rc.cpp:368
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -459,119 +371,75 @@ msgstr ""
"Modifiable\n" "Modifiable\n"
"del - supprimer un élément" "del - supprimer un élément"
#. i18n: file: ui/configwindow.ui:1282 #: rc.cpp:205
#. i18n: ectx: property (text), widget (QLabel, label_mount)
#: rc.cpp:195
msgid "Mount points" msgid "Mount points"
msgstr "Points de montage" msgstr "Points de montage"
#. i18n: file: ui/configwindow.ui:1337 #: rc.cpp:215
#. i18n: ectx: property (text), widget (QLabel, label_hddDevice) #, fuzzy
#: rc.cpp:205 msgid "HDD devices (speed)"
msgid "HDD devices"
msgstr "Périphériques HDD" msgstr "Périphériques HDD"
#. i18n: file: ui/configwindow.ui:1390 #: rc.cpp:225
#. i18n: ectx: property (text), widget (QLabel, label_netdir) #, fuzzy
#: rc.cpp:215 msgid "HDD devices (temp)"
msgstr "Périphériques HDD"
#: rc.cpp:235
msgid "Network directory" msgid "Network directory"
msgstr "Voisinage réseau" msgstr "Voisinage réseau"
#. i18n: file: ui/configwindow.ui:1397 #: rc.cpp:238
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir)
#: rc.cpp:218
msgid "\"/sys/class/net\" by default" msgid "\"/sys/class/net\" by default"
msgstr "\"/sys/class/net\" par défaut" msgstr "\"/sys/class/net\" par défaut"
#. i18n: file: ui/configwindow.ui:1417 #: rc.cpp:241
#. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:221
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "" msgstr ""
"Désactiver la sélection automatique de périphériques et le sélectionner " "Désactiver la sélection automatique de périphériques et le sélectionner "
"manuellement" "manuellement"
#. i18n: file: ui/configwindow.ui:1420 #: rc.cpp:244
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:224
msgid "Set network device" msgid "Set network device"
msgstr "Sélectionner le périphérique réseau" msgstr "Sélectionner le périphérique réseau"
#. i18n: file: ui/configwindow.ui:1453 #: rc.cpp:247
#. i18n: ectx: property (text), widget (QLabel, label_batdev)
#: rc.cpp:227
msgid "Battery device" msgid "Battery device"
msgstr "Batterie" msgstr "Batterie"
#. i18n: file: ui/configwindow.ui:1460 #: rc.cpp:250
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev)
#: rc.cpp:230
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" par défaut" msgstr "\"/sys/class/power_supply/BAT0/capacity\" par défaut"
#. i18n: file: ui/configwindow.ui:1477 #: rc.cpp:253
#. i18n: ectx: property (text), widget (QLabel, label_acOnline)
#: rc.cpp:233
msgid "AC online tag" msgid "AC online tag"
msgstr "AC online tag" msgstr "Tag alimentation branchée"
#. i18n: file: ui/configwindow.ui:1484 #: rc.cpp:256
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOnline)
#: rc.cpp:236
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Ligne, qui retourne lorsque le AC est online" msgstr "Ligne qui est renvoyée lorsque l'alimentation est branchée"
#. i18n: file: ui/configwindow.ui:1507 #: rc.cpp:259
#. i18n: ectx: property (text), widget (QLabel, label_acOffline)
#: rc.cpp:239
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC déconnecté tag" msgstr "Tag alimentation débranchée"
#. i18n: file: ui/configwindow.ui:1514 #: rc.cpp:262
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOffline)
#: rc.cpp:242
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Ligne, qui retourne lorsque le AC est offline" msgstr "Ligne, qui est renvoyée lorsque l'alimentation est débranchée"
#. i18n: file: ui/configwindow.ui:1537 #: rc.cpp:265
#. i18n: ectx: property (text), widget (QLabel, label_acdev)
#: rc.cpp:245
msgid "AC device" msgid "AC device"
msgstr "Périphérique d'alimentation" msgstr "Périphérique d'alimentation"
#. i18n: file: ui/configwindow.ui:1544 #: rc.cpp:268
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev)
#: rc.cpp:248
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/AC/online\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" par défaut" msgstr "\"/sys/class/power_supply/AC/online\" par défaut"
#. i18n: file: ui/configwindow.ui:1581 #: rc.cpp:274
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:254
msgid "amarok"
msgstr "amarok"
#. i18n: file: ui/configwindow.ui:1586
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:257
msgid "mpd"
msgstr "mpd"
#. i18n: file: ui/configwindow.ui:1591
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:260
msgid "qmmp"
msgstr "qmmp"
#. i18n: file: ui/configwindow.ui:1619
#. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:263
msgid "Tooltip" msgid "Tooltip"
msgstr "Conseil" msgstr "Conseil"
#. i18n: file: ui/configwindow.ui:1625 #: rc.cpp:277
#. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:266
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
@ -580,192 +448,121 @@ msgstr ""
"les conseils visuels. Pour les activer cochez simplement les cases " "les conseils visuels. Pour les activer cochez simplement les cases "
"correspondantes." "correspondantes."
#. i18n: file: ui/configwindow.ui:1661 #: rc.cpp:280
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:269
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "Nombre d'éléments pour les conseils" msgstr "Nombre d'éléments pour les conseils"
#. i18n: file: ui/configwindow.ui:1716 #: rc.cpp:283
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:272
msgid "CPU clock color" msgid "CPU clock color"
msgstr "Couleur de l'horloge processeur" msgstr "Couleur de l'horloge processeur"
#. i18n: file: ui/configwindow.ui:1756 #: rc.cpp:286
#. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:275
msgid "Swap color" msgid "Swap color"
msgstr "Couleur de la mémoire d'échange" msgstr "Couleur de la mémoire d'échange"
#. i18n: file: ui/configwindow.ui:1796 #: rc.cpp:289
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:278
msgid "CPU color" msgid "CPU color"
msgstr "Couleur processeur" msgstr "Couleur processeur"
#. i18n: file: ui/configwindow.ui:1836 #: rc.cpp:292
#. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:281
msgid "Download speed color" msgid "Download speed color"
msgstr "Couleur de la vitesse de téléchargement" msgstr "Couleur de la vitesse de téléchargement"
#. i18n: file: ui/configwindow.ui:1876 #: rc.cpp:295
#. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:284
msgid "Memory color" msgid "Memory color"
msgstr "Couleur de la mémoire" msgstr "Couleur de la mémoire"
#. i18n: file: ui/configwindow.ui:1916 #: rc.cpp:298
#. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:287
msgid "Upload speed color" msgid "Upload speed color"
msgstr "Couleur du téléversement" msgstr "Couleur du téléversement"
#. i18n: file: ui/configwindow.ui:1966 #: rc.cpp:301
#. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:290
msgid "Appearance" msgid "Appearance"
msgstr "Apparence" msgstr "Apparence"
#. i18n: file: ui/configwindow.ui:1995 #: rc.cpp:304
#. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:293
msgid "Time interval" msgid "Time interval"
msgstr "Intervalle" msgstr "Intervalle"
#. i18n: file: ui/configwindow.ui:2050 #: rc.cpp:307
#. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:296
msgid "Font" msgid "Font"
msgstr "Police" msgstr "Police"
#. i18n: file: ui/configwindow.ui:2090 #: rc.cpp:310
#. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:299
msgid "Font size" msgid "Font size"
msgstr "Taille de la police" msgstr "Taille de la police"
#. i18n: file: ui/configwindow.ui:2145 #: rc.cpp:313
#. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:302
msgid "Font color" msgid "Font color"
msgstr "Couleur de la police" msgstr "Couleur de la police"
#. i18n: file: ui/configwindow.ui:2185 #: rc.cpp:316
#. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:305
msgid "Font style" msgid "Font style"
msgstr "Style de la police" msgstr "Style de la police"
#. i18n: file: ui/configwindow.ui:2235 #: rc.cpp:319
#. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:308
msgid "Font weight" msgid "Font weight"
msgstr "Épaisseur de la police" msgstr "Épaisseur de la police"
#. i18n: file: ui/configwindow.ui:2300 #: rc.cpp:322
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:311
msgid "DataEngine" msgid "DataEngine"
msgstr "Moteur de données" msgstr "Moteur de données"
#. i18n: file: ui/configwindow.ui:2329 #: rc.cpp:325
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:314
msgid "Custom command" msgid "Custom command"
msgstr "Commande personnalisée" msgstr "Commande personnalisée"
#. i18n: file: ui/configwindow.ui:2336 #: rc.cpp:328
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:317
msgid "Custom command to run" msgid "Custom command to run"
msgstr "Commande personnalisée à exécuter" msgstr "Commande personnalisée à exécuter"
#. i18n: file: ui/configwindow.ui:2356 #: rc.cpp:338
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:320
msgid "GPU device" msgid "GPU device"
msgstr "Périphérique graphique" msgstr "Périphérique graphique"
#. i18n: file: ui/configwindow.ui:2376 #: rc.cpp:344
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:323
msgid "auto"
msgstr "auto"
#. i18n: file: ui/configwindow.ui:2381
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:326
msgid "nvidia"
msgstr "nvidia"
#. i18n: file: ui/configwindow.ui:2386
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:329
msgid "ati"
msgstr "ati"
#. i18n: file: ui/configwindow.ui:2437
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:335
msgid "MPD address" msgid "MPD address"
msgstr "Adresse MPD" msgstr "Adresse MPD"
#. i18n: file: ui/configwindow.ui:2461 #: rc.cpp:347
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:338
msgid "MPD port" msgid "MPD port"
msgstr "Port MPD" msgstr "Port MPD"
#. i18n: file: ui/configwindow.ui:2535 #: rc.cpp:353
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:344
msgid "pacman -Qu" msgid "pacman -Qu"
msgstr "pacman -Qu" msgstr "pacman -Qu"
#. i18n: file: ui/configwindow.ui:2540 #: rc.cpp:356
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:347
msgid "apt-show-versions -u -b" msgid "apt-show-versions -u -b"
msgstr "apt-show-versions -u -b" msgstr "apt-show-versions -u -b"
#. i18n: file: ui/configwindow.ui:2545 #: rc.cpp:359
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:350
msgid "aptitude search '~U'" msgid "aptitude search '~U'"
msgstr "aptitude search '~U'" msgstr "aptitude search '~U'"
#. i18n: file: ui/configwindow.ui:2550 #: rc.cpp:362
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:353
msgid "yum list updates" msgid "yum list updates"
msgstr "yum list updates" msgstr "yum list updates"
#. i18n: file: ui/configwindow.ui:2555 #: rc.cpp:365
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:356
msgid "pkg_version -I -l '<'" msgid "pkg_version -I -l '<'"
msgstr "pkg_version -I -l '<'" msgstr "pkg_version -I -l '<'"
#. i18n: file: ui/configwindow.ui:2560 #: rc.cpp:368
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:359
msgid "urpmq --auto-select" msgid "urpmq --auto-select"
msgstr "urpmq --auto-select" msgstr "urpmq --auto-select"
#. i18n: file: ui/configwindow.ui:2578 #: rc.cpp:371
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommandNum) #, fuzzy
#: rc.cpp:362
msgid "Number of null lines" msgid "Number of null lines"
msgstr "Nombre de lignes nulles" msgstr "Nombre d'éléments pour les conseils"
#: rc.cpp:370 #: rc.cpp:379
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "Evgeniy Alekseev" msgstr "Evgeniy Alekseev"
#: rc.cpp:371 #: rc.cpp:380
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
@ -775,6 +572,24 @@ msgstr "esalexeev@gmail.com"
#~ "$hddN - espace occupé sur le point de montage N (à partir de 0), %. " #~ "$hddN - espace occupé sur le point de montage N (à partir de 0), %. "
#~ "Exemple: $hdd0" #~ "Exemple: $hdd0"
#~ msgid "amarok"
#~ msgstr "amarok"
#~ msgid "mpd"
#~ msgstr "mpd"
#~ msgid "qmmp"
#~ msgstr "qmmp"
#~ msgid "auto"
#~ msgstr "auto"
#~ msgid "nvidia"
#~ msgstr "nvidia"
#~ msgid "ati"
#~ msgstr "ati"
#~ msgid "" #~ msgid ""
#~ "$ds - uptime days\n" #~ "$ds - uptime days\n"
#~ "$hs - uptime hours\n" #~ "$hs - uptime hours\n"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-09 12:35+0400\n" "POT-Creation-Date: 2014-05-19 11:55+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,34 +17,32 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#. i18n: file: ui/configwindow.ui:32 #: code/main.py:108
#. i18n: ectx: property (windowTitle), widget (QWidget, ConfigWindow) msgid "Run ksysguard"
msgstr ""
#: code/main.py:110
msgid "Show README"
msgstr ""
#: rc.cpp:3 #: rc.cpp:3
msgid "Form" msgid "Form"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:42
#. i18n: ectx: attribute (title), widget (QWidget, settings)
#: rc.cpp:6 #: rc.cpp:6
msgid "Widget settings" msgid "Widget settings"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:48
#. i18n: ectx: property (text), widget (QLabel, label)
#: rc.cpp:9 #: rc.cpp:9
msgid "" msgid ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/" "Detailed information may be found on <a href=\"http://arcanis.name/projects/"
"pytextmonitor/\">project homepage</a>" "pytextmonitor/\">project homepage</a>"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:84
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_time)
#: rc.cpp:12 #: rc.cpp:12
msgid "Time" msgid "Time"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:98
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time)
#: rc.cpp:15 #: rc.cpp:15
msgid "" msgid ""
"$time - time in default format\n" "$time - time in default format\n"
@ -54,30 +52,21 @@ msgid ""
"$custom - custom time format" "$custom - custom time format"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:143
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime)
#: rc.cpp:22 #: rc.cpp:22
msgid "Uptime" msgid "Uptime"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime)
#: rc.cpp:25 #: rc.cpp:25
msgid "" msgid ""
"$uptime - system uptime\n" "$uptime - system uptime\n"
"$custom - custom format" "$custom - custom format"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:202
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu)
#: rc.cpp:29 #: rc.cpp:29
msgid "CPU" msgid "CPU"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:220
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu)
#: rc.cpp:33 #: rc.cpp:33
#, no-c-format
msgid "" msgid ""
"$cpu - total load CPU, %\n" "$cpu - total load CPU, %\n"
"$cpu0 - load CPU for core 0, %\n" "$cpu0 - load CPU for core 0, %\n"
@ -87,14 +76,10 @@ msgid ""
"$cpuN - load CPU for core N, %" "$cpuN - load CPU for core N, %"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:268
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock)
#: rc.cpp:41 #: rc.cpp:41
msgid "CPU Clock" msgid "CPU Clock"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:286
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock)
#: rc.cpp:44 #: rc.cpp:44
msgid "" msgid ""
"$cpucl - average CPU clock, MHz\n" "$cpucl - average CPU clock, MHz\n"
@ -105,147 +90,108 @@ msgid ""
"$cpuclN - CPU clock for core N, MHz" "$cpuclN - CPU clock for core N, MHz"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:334
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp)
#: rc.cpp:52 #: rc.cpp:52
msgid "Temperature" msgid "Temperature"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:344
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp)
#: rc.cpp:55 #: rc.cpp:55
msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgid "$tempN - physical temperature on device N (from 0). Example: $temp0"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:392
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu)
#: rc.cpp:58 #: rc.cpp:58
msgid "GPU" msgid "GPU"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:402
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu)
#: rc.cpp:62 #: rc.cpp:62
#, no-c-format
msgid "$gpu - gpu usage, %" msgid "$gpu - gpu usage, %"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:450
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp)
#: rc.cpp:65 #: rc.cpp:65
msgid "GPU Temp" msgid "GPU Temp"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:460
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp)
#: rc.cpp:68 #: rc.cpp:68
msgid "$gputemp - physical temperature on GPU" msgid "$gputemp - physical temperature on GPU"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:508
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem)
#: rc.cpp:71 #: rc.cpp:71
msgid "Memory" msgid "Memory"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:523
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem)
#: rc.cpp:75 #: rc.cpp:75
#, no-c-format
msgid "" msgid ""
"$mem - RAM usage, %\n" "$mem - RAM usage, %\n"
"$memmb - RAM usage, MB\n" "$memmb - RAM usage, MB\n"
"$memgb - RAM usage, GB" "$memgb - RAM usage, GB"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:571
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap)
#: rc.cpp:80 #: rc.cpp:80
msgid "Swap" msgid "Swap"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:586
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap)
#: rc.cpp:84 #: rc.cpp:84
#, no-c-format
msgid "" msgid ""
"$swap - swap usage, %\n" "$swap - swap usage, %\n"
"$swapmb - swap usage, MB\n" "$swapmb - swap usage, MB\n"
"$swapgb - swap usage, GB" "$swapgb - swap usage, GB"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:634 #: rc.cpp:89 rc.cpp:341
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#. i18n: file: ui/configwindow.ui:2404
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:89 rc.cpp:332
msgid "HDD" msgid "HDD"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:646
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd)
#: rc.cpp:93 #: rc.cpp:93
#, no-c-format
msgid "" msgid ""
"$hddN - usage for mount point N (from 0), %. Example: $hdd0\n" "$hddN - usage for mount point N (from 0), %. Example: $hdd0\n"
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
"$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0" "$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:694
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp)
#: rc.cpp:98 #: rc.cpp:98
msgid "HDD Temp" msgid "HDD speed"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:704
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp)
#: rc.cpp:101 #: rc.cpp:101
msgid "" msgid ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
msgstr ""
#: rc.cpp:105
msgid "HDD temp"
msgstr ""
#: rc.cpp:108
msgid ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:752 #: rc.cpp:111
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_net)
#: rc.cpp:104
msgid "Network" msgid "Network"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:767 #: rc.cpp:114
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net)
#: rc.cpp:107
msgid "" msgid ""
"$down - download speed, KB/s\n" "$down - download speed, KB/s\n"
"$up - upload speed, KB/s\n" "$up - upload speed, KB/s\n"
"$netdev - current network device" "$netdev - current network device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:815 #: rc.cpp:119
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat)
#: rc.cpp:112
msgid "Battery" msgid "Battery"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:826 #: rc.cpp:123
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat)
#: rc.cpp:116
#, no-c-format
msgid "" msgid ""
"$bat - battery charge, %\n" "$bat - battery charge, %\n"
"$ac - AC status" "$ac - AC status"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:874 #: rc.cpp:127 rc.cpp:271
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_player)
#. i18n: file: ui/configwindow.ui:1561
#. i18n: ectx: property (text), widget (QLabel, label_playerSelect)
#: rc.cpp:120 rc.cpp:251
msgid "Music player" msgid "Music player"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:888 #: rc.cpp:130
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player)
#: rc.cpp:123
msgid "" msgid ""
"$album - song album\n" "$album - song album\n"
"$artist - song artist\n" "$artist - song artist\n"
@ -254,64 +200,45 @@ msgid ""
"$title - song title" "$title - song title"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:936 #: rc.cpp:137
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_ps)
#: rc.cpp:130
msgid "Processes" msgid "Processes"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:948 #: rc.cpp:140
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_ps)
#: rc.cpp:133
msgid "" msgid ""
"$pscount - number of running processes\n" "$pscount - number of running processes\n"
"$pstotal - total number of running processes\n" "$pstotal - total number of running processes\n"
"$ps - list of running processes comma separated" "$ps - list of running processes comma separated"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:996 #: rc.cpp:145 rc.cpp:350
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_pkg)
#. i18n: file: ui/configwindow.ui:2518
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommand)
#: rc.cpp:138 rc.cpp:341
msgid "Package manager" msgid "Package manager"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1006 #: rc.cpp:148
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_pkg)
#: rc.cpp:141
msgid "" msgid ""
"$pkgcountN - number of packages which are available for updates, command N. " "$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0" "For example $pkgcount0"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1054 #: rc.cpp:151
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom)
#: rc.cpp:144
msgid "Custom" msgid "Custom"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1064 #: rc.cpp:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) msgid ""
#: rc.cpp:147 "$customN - get output from custom command N (from N). Example `$custom0`"
msgid "$custom - get output from custom command"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1122 #: rc.cpp:157
#. i18n: ectx: attribute (title), widget (QWidget, advanced)
#: rc.cpp:150
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1151 #: rc.cpp:160
#. i18n: ectx: property (text), widget (QLabel, label_timeFormat)
#: rc.cpp:153
msgid "Custom time format" msgid "Custom time format"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1173 #: rc.cpp:163
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat)
#: rc.cpp:156
msgid "" msgid ""
"$dddd - long weekday\n" "$dddd - long weekday\n"
"$ddd - short weekday\n" "$ddd - short weekday\n"
@ -331,15 +258,11 @@ msgid ""
"$s - seconds w\\o zero" "$s - seconds w\\o zero"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1193 #: rc.cpp:181
#. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat)
#: rc.cpp:174
msgid "Custom uptime format" msgid "Custom uptime format"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1205 #: rc.cpp:184
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat)
#: rc.cpp:177
msgid "" msgid ""
"$dd - uptime days\n" "$dd - uptime days\n"
"$d - uptime days without zero\n" "$d - uptime days without zero\n"
@ -349,340 +272,208 @@ msgid ""
"$m - uptime minutes without zero" "$m - uptime minutes without zero"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1227 #: rc.cpp:192
#. i18n: ectx: property (text), widget (QLabel, label_tempDevice) msgid "Temperature units"
#: rc.cpp:185 msgstr ""
#: rc.cpp:195
msgid "Temperature devices" msgid "Temperature devices"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1253 #: rc.cpp:198 rc.cpp:208 rc.cpp:218 rc.cpp:228 rc.cpp:331 rc.cpp:374
#. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice)
#. i18n: file: ui/configwindow.ui:1308
#. i18n: ectx: property (text), widget (QPushButton, pushButton_mount)
#. i18n: file: ui/configwindow.ui:1363
#. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice)
#. i18n: file: ui/configwindow.ui:2604
#. i18n: ectx: property (text), widget (QPushButton, pushButton_pkgCommand)
#: rc.cpp:188 rc.cpp:198 rc.cpp:208 rc.cpp:365
msgid "Add" msgid "Add"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1263 #: rc.cpp:201 rc.cpp:211 rc.cpp:221 rc.cpp:231 rc.cpp:334 rc.cpp:377
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice)
#. i18n: file: ui/configwindow.ui:1318
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount)
#. i18n: file: ui/configwindow.ui:1373
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice)
#. i18n: file: ui/configwindow.ui:2614
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_pkgCommand)
#: rc.cpp:191 rc.cpp:201 rc.cpp:211 rc.cpp:368
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1282 #: rc.cpp:205
#. i18n: ectx: property (text), widget (QLabel, label_mount)
#: rc.cpp:195
msgid "Mount points" msgid "Mount points"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1337 #: rc.cpp:215
#. i18n: ectx: property (text), widget (QLabel, label_hddDevice) msgid "HDD devices (speed)"
#: rc.cpp:205
msgid "HDD devices"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1390 #: rc.cpp:225
#. i18n: ectx: property (text), widget (QLabel, label_netdir) msgid "HDD devices (temp)"
#: rc.cpp:215 msgstr ""
#: rc.cpp:235
msgid "Network directory" msgid "Network directory"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1397 #: rc.cpp:238
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir)
#: rc.cpp:218
msgid "\"/sys/class/net\" by default" msgid "\"/sys/class/net\" by default"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1417 #: rc.cpp:241
#. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:221
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1420 #: rc.cpp:244
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:224
msgid "Set network device" msgid "Set network device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1453 #: rc.cpp:247
#. i18n: ectx: property (text), widget (QLabel, label_batdev)
#: rc.cpp:227
msgid "Battery device" msgid "Battery device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1460 #: rc.cpp:250
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev)
#: rc.cpp:230
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1477 #: rc.cpp:253
#. i18n: ectx: property (text), widget (QLabel, label_acOnline)
#: rc.cpp:233
msgid "AC online tag" msgid "AC online tag"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1484 #: rc.cpp:256
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOnline)
#: rc.cpp:236
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1507 #: rc.cpp:259
#. i18n: ectx: property (text), widget (QLabel, label_acOffline)
#: rc.cpp:239
msgid "AC offline tag" msgid "AC offline tag"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1514 #: rc.cpp:262
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOffline)
#: rc.cpp:242
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1537 #: rc.cpp:265
#. i18n: ectx: property (text), widget (QLabel, label_acdev)
#: rc.cpp:245
msgid "AC device" msgid "AC device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1544 #: rc.cpp:268
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev)
#: rc.cpp:248
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/AC/online\" by default"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1581 #: rc.cpp:274
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:254
msgid "amarok"
msgstr ""
#. i18n: file: ui/configwindow.ui:1586
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:257
msgid "mpd"
msgstr ""
#. i18n: file: ui/configwindow.ui:1591
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:260
msgid "qmmp"
msgstr ""
#. i18n: file: ui/configwindow.ui:1619
#. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:263
msgid "Tooltip" msgid "Tooltip"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1625 #: rc.cpp:277
#. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:266
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1661 #: rc.cpp:280
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:269
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1716 #: rc.cpp:283
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:272
msgid "CPU clock color" msgid "CPU clock color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1756 #: rc.cpp:286
#. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:275
msgid "Swap color" msgid "Swap color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1796 #: rc.cpp:289
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:278
msgid "CPU color" msgid "CPU color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1836 #: rc.cpp:292
#. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:281
msgid "Download speed color" msgid "Download speed color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1876 #: rc.cpp:295
#. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:284
msgid "Memory color" msgid "Memory color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1916 #: rc.cpp:298
#. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:287
msgid "Upload speed color" msgid "Upload speed color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1966 #: rc.cpp:301
#. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:290
msgid "Appearance" msgid "Appearance"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:1995 #: rc.cpp:304
#. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:293
msgid "Time interval" msgid "Time interval"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2050 #: rc.cpp:307
#. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:296
msgid "Font" msgid "Font"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2090 #: rc.cpp:310
#. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:299
msgid "Font size" msgid "Font size"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2145 #: rc.cpp:313
#. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:302
msgid "Font color" msgid "Font color"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2185 #: rc.cpp:316
#. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:305
msgid "Font style" msgid "Font style"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2235 #: rc.cpp:319
#. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:308
msgid "Font weight" msgid "Font weight"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2300 #: rc.cpp:322
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:311
msgid "DataEngine" msgid "DataEngine"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2329 #: rc.cpp:325
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:314
msgid "Custom command" msgid "Custom command"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2336 #: rc.cpp:328
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:317
msgid "Custom command to run" msgid "Custom command to run"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2356 #: rc.cpp:338
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:320
msgid "GPU device" msgid "GPU device"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2376 #: rc.cpp:344
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:323
msgid "auto"
msgstr ""
#. i18n: file: ui/configwindow.ui:2381
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:326
msgid "nvidia"
msgstr ""
#. i18n: file: ui/configwindow.ui:2386
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:329
msgid "ati"
msgstr ""
#. i18n: file: ui/configwindow.ui:2437
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:335
msgid "MPD address" msgid "MPD address"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2461 #: rc.cpp:347
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:338
msgid "MPD port" msgid "MPD port"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2535 #: rc.cpp:353
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:344
msgid "pacman -Qu" msgid "pacman -Qu"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2540 #: rc.cpp:356
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:347
msgid "apt-show-versions -u -b" msgid "apt-show-versions -u -b"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2545 #: rc.cpp:359
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:350
msgid "aptitude search '~U'" msgid "aptitude search '~U'"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2550 #: rc.cpp:362
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:353
msgid "yum list updates" msgid "yum list updates"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2555 #: rc.cpp:365
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:356
msgid "pkg_version -I -l '<'" msgid "pkg_version -I -l '<'"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2560 #: rc.cpp:368
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:359
msgid "urpmq --auto-select" msgid "urpmq --auto-select"
msgstr "" msgstr ""
#. i18n: file: ui/configwindow.ui:2578 #: rc.cpp:371
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommandNum)
#: rc.cpp:362
msgid "Number of null lines" msgid "Number of null lines"
msgstr "" msgstr ""
#: rc.cpp:370 #: rc.cpp:379
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "" msgstr ""
#: rc.cpp:371 #: rc.cpp:380
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "" msgstr ""

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n" "Report-Msgid-Bugs-To: http://kde-look.org/content/show.php?content=157124\n"
"POT-Creation-Date: 2014-04-09 12:35+0400\n" "POT-Creation-Date: 2014-05-19 11:55+0400\n"
"PO-Revision-Date: 2014-04-09 12:26+0400\n" "PO-Revision-Date: 2014-05-19 02:58+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n" "Language-Team: Russian <kde-russian@lists.kde.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -18,20 +18,22 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#. i18n: file: ui/configwindow.ui:32 #: code/main.py:108
#. i18n: ectx: property (windowTitle), widget (QWidget, ConfigWindow) msgid "Run ksysguard"
msgstr "Запутить ksysguard"
#: code/main.py:110
msgid "Show README"
msgstr "Показать README"
#: rc.cpp:3 #: rc.cpp:3
msgid "Form" msgid "Form"
msgstr "Form" msgstr "Form"
#. i18n: file: ui/configwindow.ui:42
#. i18n: ectx: attribute (title), widget (QWidget, settings)
#: rc.cpp:6 #: rc.cpp:6
msgid "Widget settings" msgid "Widget settings"
msgstr "Настройки виджета" msgstr "Настройки виджета"
#. i18n: file: ui/configwindow.ui:48
#. i18n: ectx: property (text), widget (QLabel, label)
#: rc.cpp:9 #: rc.cpp:9
msgid "" msgid ""
"Detailed information may be found on <a href=\"http://arcanis.name/projects/" "Detailed information may be found on <a href=\"http://arcanis.name/projects/"
@ -40,14 +42,10 @@ msgstr ""
"Подробная информация может быть найдена на <a href=\"http://arcanis.name/ru/" "Подробная информация может быть найдена на <a href=\"http://arcanis.name/ru/"
"projects/pytextmonitor/\">домашней странице проекта</a>" "projects/pytextmonitor/\">домашней странице проекта</a>"
#. i18n: file: ui/configwindow.ui:84
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_time)
#: rc.cpp:12 #: rc.cpp:12
msgid "Time" msgid "Time"
msgstr "Время" msgstr "Время"
#. i18n: file: ui/configwindow.ui:98
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_time)
#: rc.cpp:15 #: rc.cpp:15
msgid "" msgid ""
"$time - time in default format\n" "$time - time in default format\n"
@ -62,14 +60,10 @@ msgstr ""
"$longtime - время в длинном формате\n" "$longtime - время в длинном формате\n"
"$custom - свой формат времени" "$custom - свой формат времени"
#. i18n: file: ui/configwindow.ui:143
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_uptime)
#: rc.cpp:22 #: rc.cpp:22
msgid "Uptime" msgid "Uptime"
msgstr "Время работы" msgstr "Время работы"
#. i18n: file: ui/configwindow.ui:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptime)
#: rc.cpp:25 #: rc.cpp:25
msgid "" msgid ""
"$uptime - system uptime\n" "$uptime - system uptime\n"
@ -78,16 +72,11 @@ msgstr ""
"$uptime - время работы\n" "$uptime - время работы\n"
"$custom - свой формат" "$custom - свой формат"
#. i18n: file: ui/configwindow.ui:202
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpu)
#: rc.cpp:29 #: rc.cpp:29
msgid "CPU" msgid "CPU"
msgstr "CPU" msgstr "CPU"
#. i18n: file: ui/configwindow.ui:220
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpu)
#: rc.cpp:33 #: rc.cpp:33
#, no-c-format
msgid "" msgid ""
"$cpu - total load CPU, %\n" "$cpu - total load CPU, %\n"
"$cpu0 - load CPU for core 0, %\n" "$cpu0 - load CPU for core 0, %\n"
@ -103,14 +92,10 @@ msgstr ""
"...\n" "...\n"
"$cpuN - загрузка CPU для ядра N, %" "$cpuN - загрузка CPU для ядра N, %"
#. i18n: file: ui/configwindow.ui:268
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_cpuclock)
#: rc.cpp:41 #: rc.cpp:41
msgid "CPU Clock" msgid "CPU Clock"
msgstr "Частота CPU" msgstr "Частота CPU"
#. i18n: file: ui/configwindow.ui:286
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_cpuclock)
#: rc.cpp:44 #: rc.cpp:44
msgid "" msgid ""
"$cpucl - average CPU clock, MHz\n" "$cpucl - average CPU clock, MHz\n"
@ -127,53 +112,35 @@ msgstr ""
"...\n" "...\n"
"$cpuclN - частота CPU для ядра N, MHz" "$cpuclN - частота CPU для ядра N, MHz"
#. i18n: file: ui/configwindow.ui:334
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_temp)
#: rc.cpp:52 #: rc.cpp:52
msgid "Temperature" msgid "Temperature"
msgstr "Температура" msgstr "Температура"
#. i18n: file: ui/configwindow.ui:344
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_temp)
#: rc.cpp:55 #: rc.cpp:55
msgid "$tempN - physical temperature on device N (from 0). Example: $temp0" msgid "$tempN - physical temperature on device N (from 0). Example: $temp0"
msgstr "$tempN - физическая температура на устройстве N (от 0). Пример: $temp0" msgstr "$tempN - физическая температура на устройстве N (от 0). Пример: $temp0"
#. i18n: file: ui/configwindow.ui:392
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpu)
#: rc.cpp:58 #: rc.cpp:58
msgid "GPU" msgid "GPU"
msgstr "GPU" msgstr "GPU"
#. i18n: file: ui/configwindow.ui:402
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpu)
#: rc.cpp:62 #: rc.cpp:62
#, no-c-format
msgid "$gpu - gpu usage, %" msgid "$gpu - gpu usage, %"
msgstr "$gpu - использование GPU, %" msgstr "$gpu - использование GPU, %"
#. i18n: file: ui/configwindow.ui:450
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_gpuTemp)
#: rc.cpp:65 #: rc.cpp:65
msgid "GPU Temp" msgid "GPU Temp"
msgstr "Температура GPU" msgstr "Температура GPU"
#. i18n: file: ui/configwindow.ui:460
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_gpuTemp)
#: rc.cpp:68 #: rc.cpp:68
msgid "$gputemp - physical temperature on GPU" msgid "$gputemp - physical temperature on GPU"
msgstr "$gputemp - физическая температура на GPU" msgstr "$gputemp - физическая температура на GPU"
#. i18n: file: ui/configwindow.ui:508
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_mem)
#: rc.cpp:71 #: rc.cpp:71
msgid "Memory" msgid "Memory"
msgstr "Память" msgstr "Память"
#. i18n: file: ui/configwindow.ui:523
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_mem)
#: rc.cpp:75 #: rc.cpp:75
#, no-c-format
msgid "" msgid ""
"$mem - RAM usage, %\n" "$mem - RAM usage, %\n"
"$memmb - RAM usage, MB\n" "$memmb - RAM usage, MB\n"
@ -183,16 +150,11 @@ msgstr ""
"$memmb - использование RAM, MB\n" "$memmb - использование RAM, MB\n"
"$memgb - использование RAM, GB" "$memgb - использование RAM, GB"
#. i18n: file: ui/configwindow.ui:571
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_swap)
#: rc.cpp:80 #: rc.cpp:80
msgid "Swap" msgid "Swap"
msgstr "Swap" msgstr "Swap"
#. i18n: file: ui/configwindow.ui:586
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_swap)
#: rc.cpp:84 #: rc.cpp:84
#, no-c-format
msgid "" msgid ""
"$swap - swap usage, %\n" "$swap - swap usage, %\n"
"$swapmb - swap usage, MB\n" "$swapmb - swap usage, MB\n"
@ -202,18 +164,11 @@ msgstr ""
"$swapmb - использование swap, MB\n" "$swapmb - использование swap, MB\n"
"$swapgb - использование swap, GB" "$swapgb - использование swap, GB"
#. i18n: file: ui/configwindow.ui:634 #: rc.cpp:89 rc.cpp:341
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hdd)
#. i18n: file: ui/configwindow.ui:2404
#. i18n: ectx: property (text), widget (QLabel, label_hdddev)
#: rc.cpp:89 rc.cpp:332
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#. i18n: file: ui/configwindow.ui:646
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hdd)
#: rc.cpp:93 #: rc.cpp:93
#, no-c-format
msgid "" msgid ""
"$hddN - usage for mount point N (from 0), %. Example: $hdd0\n" "$hddN - usage for mount point N (from 0), %. Example: $hdd0\n"
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
@ -223,30 +178,34 @@ msgstr ""
"$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n" "$hddmbN - usage for mount point N (from 0), MB. Example: $hddmb0\n"
"$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0" "$hddgbN - usage for mount point N (from 0), GB. Example: $hddgb0"
#. i18n: file: ui/configwindow.ui:694
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_hddTemp)
#: rc.cpp:98 #: rc.cpp:98
msgid "HDD Temp" msgid "HDD speed"
msgstr "Скорость HDD"
#: rc.cpp:101
msgid ""
"$hddrN - read speed HDD N (from 0), KB/s. Example: $hddr0\n"
"$hddwN - write speed HDD N (from 0), KB/s. Example: $hddw0"
msgstr ""
"$hddrN - скорость записи на HDD N (от 0), KB/s. Например: $hddr0\n"
"$hddwN - скорость чтения с HDD N (от 0), KB/s. Например: $hddw0"
#: rc.cpp:105
msgid "HDD temp"
msgstr "Температура HDD" msgstr "Температура HDD"
#. i18n: file: ui/configwindow.ui:704 #: rc.cpp:108
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_hddTemp)
#: rc.cpp:101
msgid "" msgid ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0" "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0"
msgstr "" msgstr ""
"$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0 " "$hddtempN - physical temperature on device N (from 0). Example: $hddtemp0 "
"$hddtempN - температура на устройстве N (от 0). Пример: $hddtemp0" "$hddtempN - температура на устройстве N (от 0). Пример: $hddtemp0"
#. i18n: file: ui/configwindow.ui:752 #: rc.cpp:111
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_net)
#: rc.cpp:104
msgid "Network" msgid "Network"
msgstr "Сеть" msgstr "Сеть"
#. i18n: file: ui/configwindow.ui:767 #: rc.cpp:114
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_net)
#: rc.cpp:107
msgid "" msgid ""
"$down - download speed, KB/s\n" "$down - download speed, KB/s\n"
"$up - upload speed, KB/s\n" "$up - upload speed, KB/s\n"
@ -256,16 +215,11 @@ msgstr ""
"$up - скорость загрузки, KB/s\n" "$up - скорость загрузки, KB/s\n"
"$netdev - текущее устройство" "$netdev - текущее устройство"
#. i18n: file: ui/configwindow.ui:815 #: rc.cpp:119
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_bat)
#: rc.cpp:112
msgid "Battery" msgid "Battery"
msgstr "Батарея" msgstr "Батарея"
#. i18n: file: ui/configwindow.ui:826 #: rc.cpp:123
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_bat)
#: rc.cpp:116
#, no-c-format
msgid "" msgid ""
"$bat - battery charge, %\n" "$bat - battery charge, %\n"
"$ac - AC status" "$ac - AC status"
@ -273,17 +227,11 @@ msgstr ""
"$bat - заряд батареи, %\n" "$bat - заряд батареи, %\n"
"$ac - статус адаптора питания" "$ac - статус адаптора питания"
#. i18n: file: ui/configwindow.ui:874 #: rc.cpp:127 rc.cpp:271
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_player)
#. i18n: file: ui/configwindow.ui:1561
#. i18n: ectx: property (text), widget (QLabel, label_playerSelect)
#: rc.cpp:120 rc.cpp:251
msgid "Music player" msgid "Music player"
msgstr "Музыкальный плеер" msgstr "Музыкальный плеер"
#. i18n: file: ui/configwindow.ui:888 #: rc.cpp:130
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_player)
#: rc.cpp:123
msgid "" msgid ""
"$album - song album\n" "$album - song album\n"
"$artist - song artist\n" "$artist - song artist\n"
@ -297,15 +245,11 @@ msgstr ""
"$time - продолжительность\n" "$time - продолжительность\n"
"$title - название" "$title - название"
#. i18n: file: ui/configwindow.ui:936 #: rc.cpp:137
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_ps)
#: rc.cpp:130
msgid "Processes" msgid "Processes"
msgstr "Процессы" msgstr "Процессы"
#. i18n: file: ui/configwindow.ui:948 #: rc.cpp:140
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_ps)
#: rc.cpp:133
msgid "" msgid ""
"$pscount - number of running processes\n" "$pscount - number of running processes\n"
"$pstotal - total number of running processes\n" "$pstotal - total number of running processes\n"
@ -315,17 +259,11 @@ msgstr ""
"$pstotal - общее число процессов\n" "$pstotal - общее число процессов\n"
"$ps - список запущенных процессов, разделенных запятыми" "$ps - список запущенных процессов, разделенных запятыми"
#. i18n: file: ui/configwindow.ui:996 #: rc.cpp:145 rc.cpp:350
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_pkg)
#. i18n: file: ui/configwindow.ui:2518
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommand)
#: rc.cpp:138 rc.cpp:341
msgid "Package manager" msgid "Package manager"
msgstr "Пакетный менеджер" msgstr "Пакетный менеджер"
#. i18n: file: ui/configwindow.ui:1006 #: rc.cpp:148
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_pkg)
#: rc.cpp:141
msgid "" msgid ""
"$pkgcountN - number of packages which are available for updates, command N. " "$pkgcountN - number of packages which are available for updates, command N. "
"For example $pkgcount0" "For example $pkgcount0"
@ -333,33 +271,24 @@ msgstr ""
"$pkgcountN - число пакетов, которые доступны для обновления, для команды N. " "$pkgcountN - число пакетов, которые доступны для обновления, для команды N. "
"Например, $pkgcount0" "Например, $pkgcount0"
#. i18n: file: ui/configwindow.ui:1054 #: rc.cpp:151
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_custom)
#: rc.cpp:144
msgid "Custom" msgid "Custom"
msgstr "Своя команда" msgstr "Своя команда"
#. i18n: file: ui/configwindow.ui:1064 #: rc.cpp:154
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_custom) msgid ""
#: rc.cpp:147 "$customN - get output from custom command N (from N). Example `$custom0`"
msgid "$custom - get output from custom command" msgstr "$customN - получить информацию из своей команды N. Например $custom0"
msgstr "$custom - получить информацию из своей команды"
#. i18n: file: ui/configwindow.ui:1122 #: rc.cpp:157
#. i18n: ectx: attribute (title), widget (QWidget, advanced)
#: rc.cpp:150
msgid "Advanced" msgid "Advanced"
msgstr "Расширенные" msgstr "Расширенные"
#. i18n: file: ui/configwindow.ui:1151 #: rc.cpp:160
#. i18n: ectx: property (text), widget (QLabel, label_timeFormat)
#: rc.cpp:153
msgid "Custom time format" msgid "Custom time format"
msgstr "Свой формат времени" msgstr "Свой формат времени"
#. i18n: file: ui/configwindow.ui:1173 #: rc.cpp:163
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_timeFormat)
#: rc.cpp:156
msgid "" msgid ""
"$dddd - long weekday\n" "$dddd - long weekday\n"
"$ddd - short weekday\n" "$ddd - short weekday\n"
@ -395,15 +324,11 @@ msgstr ""
"$ss - секунды\n" "$ss - секунды\n"
"$s - секунды без 0" "$s - секунды без 0"
#. i18n: file: ui/configwindow.ui:1193 #: rc.cpp:181
#. i18n: ectx: property (text), widget (QLabel, label_uptimeFormat)
#: rc.cpp:174
msgid "Custom uptime format" msgid "Custom uptime format"
msgstr "Свой формат аптайма" msgstr "Свой формат аптайма"
#. i18n: file: ui/configwindow.ui:1205 #: rc.cpp:184
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_uptimeFormat)
#: rc.cpp:177
msgid "" msgid ""
"$dd - uptime days\n" "$dd - uptime days\n"
"$d - uptime days without zero\n" "$d - uptime days without zero\n"
@ -419,33 +344,19 @@ msgstr ""
"$mm - минуты аптайма\n" "$mm - минуты аптайма\n"
"$m - минуты аптайма без нулей" "$m - минуты аптайма без нулей"
#. i18n: file: ui/configwindow.ui:1227 #: rc.cpp:192
#. i18n: ectx: property (text), widget (QLabel, label_tempDevice) msgid "Temperature units"
#: rc.cpp:185 msgstr "Температурные единицы"
#: rc.cpp:195
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Температурные устройства" msgstr "Температурные устройства"
#. i18n: file: ui/configwindow.ui:1253 #: rc.cpp:198 rc.cpp:208 rc.cpp:218 rc.cpp:228 rc.cpp:331 rc.cpp:374
#. i18n: ectx: property (text), widget (QPushButton, pushButton_tempDevice)
#. i18n: file: ui/configwindow.ui:1308
#. i18n: ectx: property (text), widget (QPushButton, pushButton_mount)
#. i18n: file: ui/configwindow.ui:1363
#. i18n: ectx: property (text), widget (QPushButton, pushButton_hddDevice)
#. i18n: file: ui/configwindow.ui:2604
#. i18n: ectx: property (text), widget (QPushButton, pushButton_pkgCommand)
#: rc.cpp:188 rc.cpp:198 rc.cpp:208 rc.cpp:365
msgid "Add" msgid "Add"
msgstr "Добавить" msgstr "Добавить"
#. i18n: file: ui/configwindow.ui:1263 #: rc.cpp:201 rc.cpp:211 rc.cpp:221 rc.cpp:231 rc.cpp:334 rc.cpp:377
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_tempDevice)
#. i18n: file: ui/configwindow.ui:1318
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_mount)
#. i18n: file: ui/configwindow.ui:1373
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_hddDevice)
#. i18n: file: ui/configwindow.ui:2614
#. i18n: ectx: property (toolTip), widget (QListWidget, listWidget_pkgCommand)
#: rc.cpp:191 rc.cpp:201 rc.cpp:211 rc.cpp:368
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -453,117 +364,71 @@ msgstr ""
"Редактируемо\n" "Редактируемо\n"
"del - удалить строку" "del - удалить строку"
#. i18n: file: ui/configwindow.ui:1282 #: rc.cpp:205
#. i18n: ectx: property (text), widget (QLabel, label_mount)
#: rc.cpp:195
msgid "Mount points" msgid "Mount points"
msgstr "Точки монтирования" msgstr "Точки монтирования"
#. i18n: file: ui/configwindow.ui:1337
#. i18n: ectx: property (text), widget (QLabel, label_hddDevice)
#: rc.cpp:205
msgid "HDD devices"
msgstr "HDD"
#. i18n: file: ui/configwindow.ui:1390
#. i18n: ectx: property (text), widget (QLabel, label_netdir)
#: rc.cpp:215 #: rc.cpp:215
msgid "HDD devices (speed)"
msgstr "HDD (скорость)"
#: rc.cpp:225
msgid "HDD devices (temp)"
msgstr "HDD (температура)"
#: rc.cpp:235
msgid "Network directory" msgid "Network directory"
msgstr "Путь к интерфейсам" msgstr "Путь к интерфейсам"
#. i18n: file: ui/configwindow.ui:1397 #: rc.cpp:238
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_netdir)
#: rc.cpp:218
msgid "\"/sys/class/net\" by default" msgid "\"/sys/class/net\" by default"
msgstr "\"/sys/class/net\" по умолчанию" msgstr "\"/sys/class/net\" по умолчанию"
#. i18n: file: ui/configwindow.ui:1417 #: rc.cpp:241
#. i18n: ectx: property (toolTip), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:221
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "Отключить авто выбор устройства и использовать указанное" msgstr "Отключить авто выбор устройства и использовать указанное"
#. i18n: file: ui/configwindow.ui:1420 #: rc.cpp:244
#. i18n: ectx: property (text), widget (QCheckBox, checkBox_netdev)
#: rc.cpp:224
msgid "Set network device" msgid "Set network device"
msgstr "Выберете сетевое устройство" msgstr "Выберете сетевое устройство"
#. i18n: file: ui/configwindow.ui:1453 #: rc.cpp:247
#. i18n: ectx: property (text), widget (QLabel, label_batdev)
#: rc.cpp:227
msgid "Battery device" msgid "Battery device"
msgstr "Устройство батареи" msgstr "Устройство батареи"
#. i18n: file: ui/configwindow.ui:1460 #: rc.cpp:250
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_batdev)
#: rc.cpp:230
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default" msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" по умолчанию" msgstr "\"/sys/class/power_supply/BAT0/capacity\" по умолчанию"
#. i18n: file: ui/configwindow.ui:1477 #: rc.cpp:253
#. i18n: ectx: property (text), widget (QLabel, label_acOnline)
#: rc.cpp:233
msgid "AC online tag" msgid "AC online tag"
msgstr "AC подключен" msgstr "AC подключен"
#. i18n: file: ui/configwindow.ui:1484 #: rc.cpp:256
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOnline)
#: rc.cpp:236
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Строка, возвращаемая при подключенном адапторе питания" msgstr "Строка, возвращаемая при подключенном адапторе питания"
#. i18n: file: ui/configwindow.ui:1507 #: rc.cpp:259
#. i18n: ectx: property (text), widget (QLabel, label_acOffline)
#: rc.cpp:239
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC отключен" msgstr "AC отключен"
#. i18n: file: ui/configwindow.ui:1514 #: rc.cpp:262
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acOffline)
#: rc.cpp:242
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Строка, возвращаемая при отключенном адапторе питания" msgstr "Строка, возвращаемая при отключенном адапторе питания"
#. i18n: file: ui/configwindow.ui:1537 #: rc.cpp:265
#. i18n: ectx: property (text), widget (QLabel, label_acdev)
#: rc.cpp:245
msgid "AC device" msgid "AC device"
msgstr "Устройство AC" msgstr "Устройство AC"
#. i18n: file: ui/configwindow.ui:1544 #: rc.cpp:268
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_acdev)
#: rc.cpp:248
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/AC/online\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" по умолчанию" msgstr "\"/sys/class/power_supply/AC/online\" по умолчанию"
#. i18n: file: ui/configwindow.ui:1581 #: rc.cpp:274
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:254
msgid "amarok"
msgstr "amarok"
#. i18n: file: ui/configwindow.ui:1586
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:257
msgid "mpd"
msgstr "mpd"
#. i18n: file: ui/configwindow.ui:1591
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_playerSelect)
#: rc.cpp:260
msgid "qmmp"
msgstr "qmmp"
#. i18n: file: ui/configwindow.ui:1619
#. i18n: ectx: attribute (title), widget (QWidget, tooltip)
#: rc.cpp:263
msgid "Tooltip" msgid "Tooltip"
msgstr "Тултип" msgstr "Тултип"
#. i18n: file: ui/configwindow.ui:1625 #: rc.cpp:277
#. i18n: ectx: property (text), widget (QLabel, label_tooltip)
#: rc.cpp:266
msgid "" msgid ""
"CPU, CPU clock, memory, swap and network labels support graphical tooltip. " "CPU, CPU clock, memory, swap and network labels support graphical tooltip. "
"To enable them just make needed checkbox fully checked." "To enable them just make needed checkbox fully checked."
@ -571,196 +436,142 @@ msgstr ""
"Поля CPU, частота CPU, память, swap, сеть поддерживают графический тултип. " "Поля CPU, частота CPU, память, swap, сеть поддерживают графический тултип. "
"Чтобы включить его, просто сделайте требуемые чекбоксы полностью чекнутыми." "Чтобы включить его, просто сделайте требуемые чекбоксы полностью чекнутыми."
#. i18n: file: ui/configwindow.ui:1661 #: rc.cpp:280
#. i18n: ectx: property (text), widget (QLabel, label_tooltipNum)
#: rc.cpp:269
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
msgstr "Число хранящихся значений" msgstr "Число хранящихся значений"
#. i18n: file: ui/configwindow.ui:1716 #: rc.cpp:283
#. i18n: ectx: property (text), widget (QLabel, label_cpuclockColor)
#: rc.cpp:272
msgid "CPU clock color" msgid "CPU clock color"
msgstr "Цвет частоты CPU" msgstr "Цвет частоты CPU"
#. i18n: file: ui/configwindow.ui:1756 #: rc.cpp:286
#. i18n: ectx: property (text), widget (QLabel, label_swapColor)
#: rc.cpp:275
msgid "Swap color" msgid "Swap color"
msgstr "Цвет swap" msgstr "Цвет swap"
#. i18n: file: ui/configwindow.ui:1796 #: rc.cpp:289
#. i18n: ectx: property (text), widget (QLabel, label_cpuColor)
#: rc.cpp:278
msgid "CPU color" msgid "CPU color"
msgstr "Цвет CPU" msgstr "Цвет CPU"
#. i18n: file: ui/configwindow.ui:1836 #: rc.cpp:292
#. i18n: ectx: property (text), widget (QLabel, label_downColor)
#: rc.cpp:281
msgid "Download speed color" msgid "Download speed color"
msgstr "Цвет скорости загрузки" msgstr "Цвет скорости загрузки"
#. i18n: file: ui/configwindow.ui:1876 #: rc.cpp:295
#. i18n: ectx: property (text), widget (QLabel, label_memColor)
#: rc.cpp:284
msgid "Memory color" msgid "Memory color"
msgstr "Цвет памяти" msgstr "Цвет памяти"
#. i18n: file: ui/configwindow.ui:1916 #: rc.cpp:298
#. i18n: ectx: property (text), widget (QLabel, label_upColor)
#: rc.cpp:287
msgid "Upload speed color" msgid "Upload speed color"
msgstr "Цвет скорости отдачи" msgstr "Цвет скорости отдачи"
#. i18n: file: ui/configwindow.ui:1966 #: rc.cpp:301
#. i18n: ectx: attribute (title), widget (QWidget, appearance)
#: rc.cpp:290
msgid "Appearance" msgid "Appearance"
msgstr "Внешний вид" msgstr "Внешний вид"
#. i18n: file: ui/configwindow.ui:1995 #: rc.cpp:304
#. i18n: ectx: property (text), widget (QLabel, label_interval)
#: rc.cpp:293
msgid "Time interval" msgid "Time interval"
msgstr "Интервал обновления" msgstr "Интервал обновления"
#. i18n: file: ui/configwindow.ui:2050 #: rc.cpp:307
#. i18n: ectx: property (text), widget (QLabel, label_font)
#: rc.cpp:296
msgid "Font" msgid "Font"
msgstr "Шрифт" msgstr "Шрифт"
#. i18n: file: ui/configwindow.ui:2090 #: rc.cpp:310
#. i18n: ectx: property (text), widget (QLabel, label_fontSize)
#: rc.cpp:299
msgid "Font size" msgid "Font size"
msgstr "Размер шрифта" msgstr "Размер шрифта"
#. i18n: file: ui/configwindow.ui:2145 #: rc.cpp:313
#. i18n: ectx: property (text), widget (QLabel, label_color)
#: rc.cpp:302
msgid "Font color" msgid "Font color"
msgstr "Цвет шрифта" msgstr "Цвет шрифта"
#. i18n: file: ui/configwindow.ui:2185 #: rc.cpp:316
#. i18n: ectx: property (text), widget (QLabel, label_style)
#: rc.cpp:305
msgid "Font style" msgid "Font style"
msgstr "Стиль шрифта" msgstr "Стиль шрифта"
#. i18n: file: ui/configwindow.ui:2235 #: rc.cpp:319
#. i18n: ectx: property (text), widget (QLabel, label_weight)
#: rc.cpp:308
msgid "Font weight" msgid "Font weight"
msgstr "Ширина шрифта" msgstr "Ширина шрифта"
#. i18n: file: ui/configwindow.ui:2300 #: rc.cpp:322
#. i18n: ectx: attribute (title), widget (QWidget, dataengine)
#: rc.cpp:311
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#. i18n: file: ui/configwindow.ui:2329 #: rc.cpp:325
#. i18n: ectx: property (text), widget (QLabel, label_customCommand)
#: rc.cpp:314
msgid "Custom command" msgid "Custom command"
msgstr "Своя команда" msgstr "Своя команда"
#. i18n: file: ui/configwindow.ui:2336 #: rc.cpp:328
#. i18n: ectx: property (toolTip), widget (QLineEdit, lineEdit_customCommand)
#: rc.cpp:317
msgid "Custom command to run" msgid "Custom command to run"
msgstr "Своя команда для запуска" msgstr "Своя команда для запуска"
#. i18n: file: ui/configwindow.ui:2356 #: rc.cpp:338
#. i18n: ectx: property (text), widget (QLabel, label_gpudev)
#: rc.cpp:320
msgid "GPU device" msgid "GPU device"
msgstr "Устройство GPU" msgstr "Устройство GPU"
#. i18n: file: ui/configwindow.ui:2376 #: rc.cpp:344
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:323
msgid "auto"
msgstr "auto"
#. i18n: file: ui/configwindow.ui:2381
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:326
msgid "nvidia"
msgstr "nvidia"
#. i18n: file: ui/configwindow.ui:2386
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_gpudev)
#: rc.cpp:329
msgid "ati"
msgstr "ati"
#. i18n: file: ui/configwindow.ui:2437
#. i18n: ectx: property (text), widget (QLabel, label_mpdaddress)
#: rc.cpp:335
msgid "MPD address" msgid "MPD address"
msgstr "Адрес сервера MPD" msgstr "Адрес сервера MPD"
#. i18n: file: ui/configwindow.ui:2461 #: rc.cpp:347
#. i18n: ectx: property (text), widget (QLabel, label_mpdport)
#: rc.cpp:338
msgid "MPD port" msgid "MPD port"
msgstr "Порт сервера MPD" msgstr "Порт сервера MPD"
#. i18n: file: ui/configwindow.ui:2535 #: rc.cpp:353
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:344
msgid "pacman -Qu" msgid "pacman -Qu"
msgstr "pacman -Qu" msgstr "pacman -Qu"
#. i18n: file: ui/configwindow.ui:2540 #: rc.cpp:356
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:347
msgid "apt-show-versions -u -b" msgid "apt-show-versions -u -b"
msgstr "apt-show-versions -u -b" msgstr "apt-show-versions -u -b"
#. i18n: file: ui/configwindow.ui:2545 #: rc.cpp:359
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:350
msgid "aptitude search '~U'" msgid "aptitude search '~U'"
msgstr "aptitude search '~U'" msgstr "aptitude search '~U'"
#. i18n: file: ui/configwindow.ui:2550 #: rc.cpp:362
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:353
msgid "yum list updates" msgid "yum list updates"
msgstr "yum list updates" msgstr "yum list updates"
#. i18n: file: ui/configwindow.ui:2555 #: rc.cpp:365
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:356
msgid "pkg_version -I -l '<'" msgid "pkg_version -I -l '<'"
msgstr "pkg_version -I -l '<'" msgstr "pkg_version -I -l '<'"
#. i18n: file: ui/configwindow.ui:2560 #: rc.cpp:368
#. i18n: ectx: property (text), item, widget (QComboBox, comboBox_pkgCommand)
#: rc.cpp:359
msgid "urpmq --auto-select" msgid "urpmq --auto-select"
msgstr "urpmq --auto-select" msgstr "urpmq --auto-select"
#. i18n: file: ui/configwindow.ui:2578 #: rc.cpp:371
#. i18n: ectx: property (text), widget (QLabel, label_pkgCommandNum)
#: rc.cpp:362
msgid "Number of null lines" msgid "Number of null lines"
msgstr "Число пустых линий" msgstr "Число пустых линий"
#: rc.cpp:370 #: rc.cpp:379
msgctxt "NAME OF TRANSLATORS" msgctxt "NAME OF TRANSLATORS"
msgid "Your names" msgid "Your names"
msgstr "Evgeniy Alekseev" msgstr "Evgeniy Alekseev"
#: rc.cpp:371 #: rc.cpp:380
msgctxt "EMAIL OF TRANSLATORS" msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid "amarok"
#~ msgstr "amarok"
#~ msgid "mpd"
#~ msgstr "mpd"
#~ msgid "qmmp"
#~ msgstr "qmmp"
#~ msgid "auto"
#~ msgstr "auto"
#~ msgid "nvidia"
#~ msgstr "nvidia"
#~ msgid "ati"
#~ msgstr "ati"
#~ msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0" #~ msgid "$hddN - usage for mount point N (from 0), %. Example: $hdd0"
#~ msgstr "$hddN - использование точки монтирования N (от 0), %. Пример: $hdd0" #~ msgstr "$hddN - использование точки монтирования N (от 0), %. Пример: $hdd0"

View File

@ -0,0 +1,5 @@
# set project name
set (SUBPROJECT pytextmonitor)
file (GLOB SUBPROJECT_MD *.md)
install (FILES ${SUBPROJECT_MD} DESTINATION share/${SUBPROJECT}/)

View File

@ -5,7 +5,7 @@ Information
----------- -----------
PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm. PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm.
**NOTE** LOOKING FOR TRANSLATORS! **NOTE** [LOOKING FOR TRANSLATORS!](https://github.com/arcan1s/pytextmonitor/issues/14)
Configuration Configuration
------------- -------------
@ -31,6 +31,10 @@ For edited output you must open Settings window and setup output format in lines
* tag `$swapmb` - swap, *MB* * tag `$swapmb` - swap, *MB*
* tag `$swapgb` - swap, *GB* * tag `$swapgb` - swap, *GB*
* tag `$hddN` - usage for mount point N, *%*. For example, `$hdd0` * tag `$hddN` - usage for mount point N, *%*. For example, `$hdd0`
* tag `$hddmbN` - usage for mount point N, *MB*. For example, `$hddmb0`
* tag `$hddgbN` - usage for mount point N, *GB*. For example, `$hddgb0`
* tag `$hddrN` - read speed of disk N, *KB/s*. For example, `$hddr0`
* tag `$hddwN` - write speed of disk N, *KB/s*. For example, `$hddw0`
* tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0` * tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0`
* tag `$down` - download speed, *KB/s* * tag `$down` - download speed, *KB/s*
* tag `$up` - upload speed, *KB/s* * tag `$up` - upload speed, *KB/s*
@ -46,7 +50,7 @@ For edited output you must open Settings window and setup output format in lines
* tag `$pstotal` - total number of processes * tag `$pstotal` - total number of processes
* tag `$ps` - list of running processes * tag `$ps` - list of running processes
* tag `$pkgcountN` - number of packages, which available to upgrade for command N. For example, `$pkgcount0` * tag `$pkgcountN` - number of packages, which available to upgrade for command N. For example, `$pkgcount0`
* tag `$custom` - returns output for custom command * tag `$customN` - returns output for custom command N. For example, `$custom0`
Label order will changed if you change slider position. HTML tags in label work normally. Label order will changed if you change slider position. HTML tags in label work normally.
@ -82,6 +86,10 @@ Advanced settings
* tag `$mm` - uptime minutes * tag `$mm` - uptime minutes
* tag `$m` - uptime minutes without zero * tag `$m` - uptime minutes without zero
**Temperature units**
Select units for temperature. Available units are Celsius, Farenheit and Kelvin.
**Temperature devices** **Temperature devices**
List of devices, which will be observed in temp label (combo box items come from `sensors`). List widget is editable, delete key will remove current item. List of devices, which will be observed in temp label (combo box items come from `sensors`). List widget is editable, delete key will remove current item.
@ -90,9 +98,13 @@ List of devices, which will be observed in temp label (combo box items come from
List of mount points, which will be observed in hdd label (combo box items come from `mount`). List widget is editable, delete key will remove current item. List of mount points, which will be observed in hdd label (combo box items come from `mount`). List widget is editable, delete key will remove current item.
**HDD** **HDD (speed)**
List of hard disk devices, which will be observed in hddtem label (combo box items come from `find`). List widget is editable, delete key will remove current item. List of hard disk devices, which will be observed in hddspeed label (combo box items come from DataEngine). List widget is editable, delete key will remove current item.
**HDD (temperature)**
List of hard disk devices, which will be observed in hddtemp label (combo box items come from `find`). List widget is editable, delete key will remove current item.
**Network directory** **Network directory**
@ -132,7 +144,7 @@ DataEngine settings
*NOTE* This can cause the computer freeze. *NOTE* This can cause the computer freeze.
A command, which will be run for custom label. Commands, which will be run for custom label.
**GPU device** **GPU device**

228
sources/readme/es.md Normal file
View File

@ -0,0 +1,228 @@
pytextmonitor
=============
Información
-----------
PyTextMonitor es un plasmoide minimalista escrito en Python2. Luce como los componentes visuales de awesome-wm.
**NOTA** [¡Se buscan traductores!](https://github.com/arcan1s/pytextmonitor/issues/14)
Configuración
-------------
Para editar la visualización debes abrir la ventana de Ajustes y establecer el formato de visualización en líneas:
* etiqueta `$time` - hora en formato por defecto. Por ejemplo, *vie 06 Nov 04:48:01 2013*
* etiqueta `$isotime` - hora en formato ISO
* etiqueta `$shorttime` - hora en formato local corto
* etiqueta `$longtime` - hora en formato local largo
* etiqueta `$custom` - formato de hora personalizado
* etiqueta `$uptime` - tiempo de actividad del sistema, *---d--h--m*
* etiqueta `$custom` - formato personalizado del tiempo de actividad del sistema
* etiqueta `$cpu` - carga total de la CPU, *%*
* etiqueta `$cpuN` - carga de la CPU para el núcleo N, *%*
* etiqueta `$cpucl` - frecuencia promedio de la CPU, *MHz*
* etiqueta `$cpuclN` - frecuencia de la CPU para el núcleo N, *MHz*
* etiqueta `$tempN` - temperatura para el dispositivo N. Por ejemplo, `$temp0`
* etiqueta `$gpu` - uso de la GPU, *%*. Debe estar instalado `aticonfig` o `nvidia-smi`
* etiqueta `$gputemp` - temperatura de la GPU. Debe estar instalado `aticonfig` o `nvidia-smi`
* etiqueta `$mem` - uso de la memori, *%*
* etiqueta `$memmb` - uso de la memoria, *MB*
* etiqueta `$memgb` - uso de la memoria, *GB*
* etiqueta `$swap` - swap, *%*
* etiqueta `$swapmb` - swap, *MB*
* etiqueta `$swapgb` - swap, *GB*
* etiqueta `$hddN` - uso para el punto de montaje N, *%*. Por ejemplo, `$hdd0`
* etiqueta `$hddmbN` - uso para el punto de montaje N, *MB*. Por ejemplo, `$hddmb0`
* etiqueta `$hddgbN` - uso para el punto de montaje N, *GB*. Por ejemplo, `$hddgb0`
* etiqueta `$hddrN` - leer la velocidad del disco N, *KB/s*. Por ejemplo, `$hddr0`
* etiqueta `$hddwN` - velocidad de escritura del disco N, *KB/s*. Por ejemplo: `$hddw0`
* etiqueta `$hddtempN` - temperatura para el disco duro N. Por ejemplo, `$hddtemp0`
* etiqueta `$down` - velocidad de recepción, *KB/s*
* etiqueta `$up` - velocidad de envío, *KB/s*
* etiqueta `$netdev` - dispositivo de red actual
* etiqueta `$bat` - carga de la batería, *%*
* etiqueta `$ac` - estado del dispositivo de alimentación. Devuelve (\*) si la alimentación está conectada o *( )* si no lo está
* etiqueta `$album` - álbum de la canción actual. Debe estar instalado uno de los reproductores soportados
* etiqueta `$artist` - artista de la canción actual. Debe estar instalado uno de los reproductores soportados
* etiqueta `$progress` - progreso de la canción actual. Debe estar instalado uno de los reproductores soportados
* etiqueta `$time` - duración de la canción actual. Debe estar instalado uno de los reproductores soportados
* etiqueta `$title` - título de la canción actual. Debe estar instalado uno de los reproductores soportados
* etiqueta `$pscount` - cantidad de procesos en ejecución
* etiqueta `$pstotal` - total de procesos en ejecución
* etiqueta `$ps` - listado de procesos en ejecución
* etiqueta `$pkgcountN` - cantidad de paquetes con actualizaciones disponibles para el comando N. Por ejemplo, `$pkgcount0`
* etiqueta `$customN` - obtener la salida de ejecución del comando personalizado N (a partir de 0). Por ejemplo, `$custom0`
El orden de las etiquetas será cambiado si cambias la posición del deslizador. Es posible usar código HTML para las etiquetas.
**NOTA** no puedes establecer la etiqueta `$cpu` para que se muestre en la información de la swap, por citar un ejemplo. **`$cpu` solo funcionará en la etiqueta de la CPU**.
Ajustes avanzados
-----------------
**Hora personalizada**
* etiqueta `$dddd` - día de la semana en foramto largo
* etiqueta `$ddd` - día de la semana en formato corto
* etiqueta `$dd` - día
* etiqueta `$d` - día sin ceros
* etiqueta `$MMMM` - mes en formato largo
* etiqueta `$MMM` - mes en formato corto
* etiqueta `$MM` - mes
* etiqueta `$M` - mes sin ceros
* etiqueta `$yyyy` - año
* etiqueta `$yy` - año en formato corto
* etiqueta `$hh` - horas
* etiqueta `$h` - horas sin ceros
* etiqueta `$mm` - minutos
* etiqueta `$m` - minutos sin ceros
* etiqueta `$ss` - segundos
* etiqueta `$s` - segundos sin ceros
**Tiempo de ejecución del sistema personalizado**
* etiqueta `$dd` - días
* etiqueta `$d` - días sin ceros
* etiqueta `$hh` - horas
* etiqueta `$h` - horas sin ceros
* etiqueta `$mm` - minutos
* etiqueta `$m` - minutos sin ceros
**Unidades de temperatura**
Elija las unidades de temperatura. Las unidades disponibles son: Celsius, Farenheit y Kelvin.
**Dispositivos de temperatura**
El listado de dispositivos, será observado en la etiqueta de temperatura (los elementos de la lista desplegable provienen de `sensors`). El listado es editable, la tecla Suprimir borrará el elemento activo.
**Puntos de montaje**
El listado de puntos de montaje, será observado en la etiqueta de disco duro (los elementos de la lista desplegable provienen de `mount`). El listado es editable, la tecla Suprimir borrará el elemento activo.
**Disco duro (velocidad)**
Listado de dispositivos de disco duro, será observado en la etiqueta hddspeed (los elementos de la lista desplegable provienen de DataEngine).
**Disco duro (temperatura)**
El listado de dispositivos de disco duro, será observado desde la etiqueta disco duro (los elementos de la lista desplegable provienen de `find`). El listado es editable, la tecla Suprimir borrará el elemento activo.
**Directorio de red**
Ruta hacia el directorio que contiene información de los dispositivos de red. Por defecto es `/sys/class/net`. Se requiere para la selección automática del dispositivo de red.
**Dispositivo de red**
Usar el dispositivo especificado como activo. Los elementos de la lista desplegable provienen del **directorio de red**. Esto inhabilitará la selección automática del dispositivo de red.
**Dispositivo de batería**
El archivo que contiene información de la batería. El archivo (`/sys/class/power_supply/BAT0/capacity` por defecto) solo debería contener la carga de la batería en por ciento.
**Etiqueta alimentación conectada**
Línea que será mostrada cuando la alimentación esté conectada.
**Etiqueta alimentación conectada**
Línea que será mostrada cuando la alimentación esté desconectada.
**Dispositivo de alimentación**
El archivo con información de la alimentación. El archivo (`/sys/class/power_supply/AC/online` por defecto) debe contener `1` si la alimentación está conectada.
**Reproductor de música**
Seleccionar uno de los reproductores de música soportados para la etiqueta del reproductor.
Ajustes de las ventanas emergentes
----------------------------------
Desde la versión 1.7.0 las etiquetas CPU, frecuencia de la CPU, memoria, swap y red soportan ventanas emergentes. Para habilitarlas es necesario tener marcadas las casillas de verificación pertinentes. El número de valores almacenados puede ser establecido en la pestaña. También es posible configurar los colores de los gráficos.
Ajustes de DataEngine
---------------------
**Comando personalizado**
*NOTA* Esto puede causar congelamiento de la computadora.
Listado de los comandos que serán ejecutados para etiquetas personalizadas.
**Dispositivo GPU**
Elegir uno de los dispositivos GPU soportados. `auto` habilitará la selección automática. El valor por defecto es `auto`.
**Disco duro**
Elegir uno de los discos duros para el monitor de temperatura del disco. `all` habilitará el monitor para todos los dispositivos. El valor por defecto es `all`.
**Dirección MPD**
Dirección del servidor MPD. El valor por defecto es `localhost`.
**Puerto MPD**
Puerto del servidor MPD. El valor por defecto es `6600`.
**Gestor de paquetes**
Listado de comandos que serán ejecutados. La cantidad de líneas nulas es el número de líneas innecesarias. Predeterminados:
* *Arch*: `PKGCMD=pacman -Qu`, `PKGNULL=0`
* *Debian*: `PKGCMD=apt-show-versions -u -b`, `PKGNULL=0`
* *Ubuntu*: `PKGCMD=aptitude search '~U'`, `PKGNULL=0`
* *Fedora*: `PKGCMD=yum list updates`, `PKGNULL=3`
* *FreeBSD*: `PKGCMD=pkg_version -I -l '<'`, `PKGNULL=0`
* *Mandriva*: `PKGCMD=urpmq --auto-select`, `PKGNULL=0`
Configuración de DataEngine
---------------------------
Se puede editar la configuración de DataEngine. Se encuentra en `/usr/share/config/extsysmon.conf` o `$HOME/share/config/extsysmon.conf` en dependencia del tipo de instalación. Quitar el comentario de la línea requerida y editarlo.
Instrucción
===========
Dependencias
------------
* kdebase-workspace
* kdebindings-python2
* lm_sensors (*para definir el dispositivo de temperatura*)
* sysstat (*para las notificaciones*)
Dependencias opcionales
-----------------------
* controlador propietario de video
* hddtemp (asegúrate de que puede ser ejecutado con `sudo` y sin contraseña. Solo hay que agregar la siguiente línea al archivo `/etc/sudoers`: `$USERNAME ALL=NOPASSWD: /usr/bin/hddtemp`)
* reproductor de música (amarok, mpd or qmmp)
Dependencias de construcción
----------------------------
* automoc4
* cmake
* kdebase-runtime
Instalación
-----------
* descargar fuentes
* instalar
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../
make && make install
También es posible instalarlo en `/`:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
make && sudo make install
Información adicional
=====================
TODO (funcionalidades solicitadas)
----------------------------------
Enlaces
-----
* [Sitio oficial](http://arcanis.name/projects/pytextmonitor/)
* Plasmoide en [kde-look](http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124)
* DataEngine en [kde-look](http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773)
* Archlinux [AUR](https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor/) package

View File

@ -5,6 +5,8 @@ pytextmonitor
---------- ----------
PyTextMonitor - минималистичный плазмоид, написанный на Python2. Он выглядит, как виджеты в Awesome WM. PyTextMonitor - минималистичный плазмоид, написанный на Python2. Он выглядит, как виджеты в Awesome WM.
**ВНИМАНИЕ** [НУЖНЫ ПЕРЕВОДЧИКИ!](https://github.com/arcan1s/pytextmonitor/issues/14)
Настройка Настройка
--------- ---------
Для редактирования внешнего виде, откройте окно настроек и установите требуемый формат в поля: Для редактирования внешнего виде, откройте окно настроек и установите требуемый формат в поля:
@ -29,6 +31,10 @@ PyTextMonitor - минималистичный плазмоид, написан
* тег `$swapmb` - swap, *MB* * тег `$swapmb` - swap, *MB*
* тег `$swapgb` - swap, *GB* * тег `$swapgb` - swap, *GB*
* тег `$hddN` - использование точки монтирования N, *%*. Например, `$hdd0` * тег `$hddN` - использование точки монтирования N, *%*. Например, `$hdd0`
* тег `$hddmbN` - использование точки монтирования N, *KB/s*. Например, `$hddmb0`
* тег `$hddgbN` - использование точки монтирования N, *KB/s*. Например, `$hddgb0`
* тег `$hddrN` - скорость записи на диск N, *KB/s*. Например, `$hddr0`
* тег `$hddwN` - скорость чтения с диска N, *KB/s*. Например, `$hddw0`
* тег `$hddtempN` - температура HDD N. Например, `$hddtemp0` * тег `$hddtempN` - температура HDD N. Например, `$hddtemp0`
* тег `$down` - скорость загрузки, *KB/s* * тег `$down` - скорость загрузки, *KB/s*
* тег `$up` - скорость отдачи, *KB/s* * тег `$up` - скорость отдачи, *KB/s*
@ -44,7 +50,7 @@ PyTextMonitor - минималистичный плазмоид, написан
* тег `$pstotal` - общее число процессов * тег `$pstotal` - общее число процессов
* тег `$ps` - список процессов * тег `$ps` - список процессов
* тег `$pkgcountN` - число пакетов, которые могут быть обновлены, для команды N. Например, `$pkgcount0` * тег `$pkgcountN` - число пакетов, которые могут быть обновлены, для команды N. Например, `$pkgcount0`
* тег `$custom` - возвращает результат своей команды * тег `$customN` - возвращает результат своей команды N. Например, `$custom0`
Порядок полей изменится, если вы измените позицию слайдеров. HTML теги в полях работают корректно. Порядок полей изменится, если вы измените позицию слайдеров. HTML теги в полях работают корректно.
@ -80,6 +86,10 @@ PyTextMonitor - минималистичный плазмоид, написан
* тег `$mm` - минуты аптайма * тег `$mm` - минуты аптайма
* тег `$m` - минуты аптайма без нуля * тег `$m` - минуты аптайма без нуля
**Температурные единицы**
Выберете единицы температуры. Доступные единицы следующие: Цельсий, Фаренгейт и Кельвин.
**Датчики температуры** **Датчики температуры**
Список датчиков, которые будут наблюдаться в поле temo (содержимое комбо бокса берется из `sensors`). Виджет редактируем, клавиша delete удалит текущую строку. Список датчиков, которые будут наблюдаться в поле temo (содержимое комбо бокса берется из `sensors`). Виджет редактируем, клавиша delete удалит текущую строку.
@ -88,7 +98,11 @@ PyTextMonitor - минималистичный плазмоид, написан
Список точек монтирования, которые будут наблюдаться в поле hdd (содержимое комбо бокса берется из `mount`). Виджет редактируем, клавиша delete удалит текущую строку. Список точек монтирования, которые будут наблюдаться в поле hdd (содержимое комбо бокса берется из `mount`). Виджет редактируем, клавиша delete удалит текущую строку.
**HDD** **HDD (скорость)**
Список HDD, которые будут наблюдаться в поле hddspeed (содержимое комбо бокса берется из DataEngine). Виджет редактируем, клавиша delete удалит текущую строку.
**HDD (температура)**
Список HDD, которые будут наблюдаться в поле hddtemp (содержимое комбо бокса берется из `find`). Виджет редактируем, клавиша delete удалит текущую строку. Список HDD, которые будут наблюдаться в поле hddtemp (содержимое комбо бокса берется из `find`). Виджет редактируем, клавиша delete удалит текущую строку.
@ -130,7 +144,7 @@ PyTextMonitor - минималистичный плазмоид, написан
*ЗАМЕЧАНИЕ* Может вызвать зависание компьютера. *ЗАМЕЧАНИЕ* Может вызвать зависание компьютера.
Команда, которая будет запущена для соответствующего поля. Команды, которые будет запущена для соответствующего поля.
**Устройство GPU** **Устройство GPU**