add support of several $bat tags. Update translations

This commit is contained in:
arcan1s 2014-09-21 20:19:57 +04:00
parent 0b3832cc32
commit 830bab7cb6
20 changed files with 524 additions and 504 deletions

View File

@ -1,3 +1,7 @@
Ver.2.0.3:
+ add support of several $bat tags
* edit layout
Ver.2.0.2: Ver.2.0.2:
+ add $fan* tags + add $fan* tags
+ add Chinese translation (thanks to @Lemueler) + add Chinese translation (thanks to @Lemueler)

View File

@ -1,3 +1,7 @@
Вер.2.0.3:
+ добавлена поддержка нескольких тегов $bat
* отредактирована разметка
Вер.2.0.2: Вер.2.0.2:
+ добавлены теги $fan* + добавлены теги $fan*
+ добавлен китайский перевод (спасибо @Lemueler) + добавлен китайский перевод (спасибо @Lemueler)

View File

@ -57,7 +57,7 @@ For edited output you must open Settings window and setup output format in lines
* tag `$down` - download speed, *KB/s* * tag `$down` - download speed, *KB/s*
* tag `$up` - upload speed, *KB/s* * tag `$up` - upload speed, *KB/s*
* tag `$netdev` - current network device * tag `$netdev` - current network device
* tag `$bat` - battery charge, *%* * tag `$batN` - battery N charge, *%*. `$bat0` is average value
* tag `$ac` - status AC device. Return (\*) if AC device is online or *( )* if offline * tag `$ac` - status AC device. Return (\*) if AC device is online or *( )* if offline
* tag `$album` - current song album. One of supported music players must be installed * tag `$album` - current song album. One of supported music players must be installed
* tag `$artist` - current song artist. One of supported music players must be installed * tag `$artist` - current song artist. One of supported music players must be installed
@ -159,13 +159,9 @@ Since version 1.7.0 CPU, CPU clock, memory, swap and network labels support grap
DataEngine settings DataEngine settings
------------------- -------------------
**AC device** **ACPI path**
File with AC information. File (`/sys/class/power_supply/AC/online` by default) must contain `1` if AC is online. Path to APCI devices. Default is `/sys/class/power_supply/`.
**Battery device**
File with battery information. File (`/sys/class/power_supply/BAT0/capacity` by default) should contain only battery charge in percent.
**Custom command** **Custom command**

View File

@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
project (awesome-widgets) project (awesome-widgets)
set (PROJECT_VERSION_MAJOR 2) set (PROJECT_VERSION_MAJOR 2)
set (PROJECT_VERSION_MINOR 0) set (PROJECT_VERSION_MINOR 0)
set (PROJECT_VERSION_PATCH 2) set (PROJECT_VERSION_PATCH 3)
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
set (PROJECT_TRDPARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty) set (PROJECT_TRDPARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty)

View File

@ -322,8 +322,10 @@ QStringList AwesomeWidget::getKeys()
allKeys.append(QString("up")); allKeys.append(QString("up"));
allKeys.append(QString("netdev")); allKeys.append(QString("netdev"));
// battery // battery
allKeys.append(QString("bat"));
allKeys.append(QString("ac")); allKeys.append(QString("ac"));
allKeys.append(QString("bat0"));
for (int i=0; i<counts[QString("bat")]; i++)
allKeys.append(QString("bat") + QString::number(i+1));
// player // player
allKeys.append(QString("album")); allKeys.append(QString("album"));
allKeys.append(QString("artist")); allKeys.append(QString("artist"));

View File

@ -20,6 +20,7 @@
#include <KConfigDialog> #include <KConfigDialog>
#include <KGlobal> #include <KGlobal>
#include <KStandardDirs> #include <KStandardDirs>
#include <QDir>
#include <QMenu> #include <QMenu>
#include <QNetworkInterface> #include <QNetworkInterface>
#include <QTextCodec> #include <QTextCodec>
@ -34,8 +35,7 @@ QMap<QString, QString> AwesomeWidget::readDataEngineConfiguration()
if (debug) qDebug() << PDEBUG; if (debug) qDebug() << PDEBUG;
QMap<QString, QString> rawConfig; QMap<QString, QString> rawConfig;
rawConfig[QString("AC")] = QString("/sys/class/power_supply/AC/online"); rawConfig[QString("ACPIPATH")] = QString("/sys/class/power_supply/");
rawConfig[QString("BATTERY")] = QString("/sys/class/power_supply/BAT0/capacity");
rawConfig[QString("CUSTOM")] = QString("wget -qO- http://ifconfig.me/ip"); rawConfig[QString("CUSTOM")] = QString("wget -qO- http://ifconfig.me/ip");
rawConfig[QString("DESKTOPCMD")] = QString("qdbus org.kde.kwin /KWin currentDesktop"); rawConfig[QString("DESKTOPCMD")] = QString("qdbus org.kde.kwin /KWin currentDesktop");
rawConfig[QString("GPUDEV")] = QString("auto"); rawConfig[QString("GPUDEV")] = QString("auto");
@ -355,8 +355,7 @@ void AwesomeWidget::createConfigurationInterface(KConfigDialog *parent)
// dataengine // dataengine
QMap<QString, QString> deSettings = readDataEngineConfiguration(); QMap<QString, QString> deSettings = readDataEngineConfiguration();
uiDEConfig.lineEdit_acdev->setText(deSettings[QString("AC")]); uiDEConfig.lineEdit_acpi->setText(deSettings[QString("ACPIPATH")]);
uiDEConfig.lineEdit_batdev->setText(deSettings[QString("BATTERY")]);
uiDEConfig.tableWidget_customCommand->clear(); uiDEConfig.tableWidget_customCommand->clear();
uiDEConfig.tableWidget_customCommand->setRowCount(deSettings[QString("CUSTOM")].split(QString("@@")).count() + 1); uiDEConfig.tableWidget_customCommand->setRowCount(deSettings[QString("CUSTOM")].split(QString("@@")).count() + 1);
headerList.clear(); headerList.clear();
@ -520,8 +519,7 @@ void AwesomeWidget::configAccepted()
// dataengine // dataengine
QMap<QString, QString> deSettings; QMap<QString, QString> deSettings;
deSettings[QString("AC")] = uiDEConfig.lineEdit_acdev->text(); deSettings[QString("ACPIPATH")] = uiDEConfig.lineEdit_acpi->text();
deSettings[QString("BATTERY")] = uiDEConfig.lineEdit_batdev->text();
items.clear(); items.clear();
for (int i=0; i<uiDEConfig.tableWidget_customCommand->rowCount(); i++) for (int i=0; i<uiDEConfig.tableWidget_customCommand->rowCount(); i++)
if (uiDEConfig.tableWidget_customCommand->item(i, 0) != 0) if (uiDEConfig.tableWidget_customCommand->item(i, 0) != 0)
@ -643,6 +641,7 @@ void AwesomeWidget::configChanged()
// counts // counts
QMap<QString, QString> deSettings = readDataEngineConfiguration(); QMap<QString, QString> deSettings = readDataEngineConfiguration();
counts[QString("bat")] = QDir(deSettings[QString("ACPIPATH")]).entryList(QDir::Dirs | QDir::NoDotAndDotDot).count();
counts[QString("cpu")] = getNumberCpus(); counts[QString("cpu")] = getNumberCpus();
counts[QString("custom")] = deSettings[QString("CUSTOM")].split(QString("@@")).count(); counts[QString("custom")] = deSettings[QString("CUSTOM")].split(QString("@@")).count();
counts[QString("disk")] = configuration[QString("disk")].split(QString("@@")).count(); counts[QString("disk")] = configuration[QString("disk")].split(QString("@@")).count();

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>700</width> <width>700</width>
<height>594</height> <height>592</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -43,11 +43,11 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>684</width> <width>684</width>
<height>578</height> <height>576</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="5" column="0"> <item row="4" column="0">
<layout class="QHBoxLayout" name="layout_hdddev"> <layout class="QHBoxLayout" name="layout_hdddev">
<item> <item>
<widget class="QLabel" name="label_hdddev"> <widget class="QLabel" name="label_hdddev">
@ -80,7 +80,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="8" column="0"> <item row="7" column="0">
<layout class="QHBoxLayout" name="layout_mpdport"> <layout class="QHBoxLayout" name="layout_mpdport">
<item> <item>
<widget class="QLabel" name="label_mpdport"> <widget class="QLabel" name="label_mpdport">
@ -135,7 +135,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="4" column="0"> <item row="3" column="0">
<layout class="QHBoxLayout" name="layout_gpudev"> <layout class="QHBoxLayout" name="layout_gpudev">
<item> <item>
<widget class="QLabel" name="label_gpudev"> <widget class="QLabel" name="label_gpudev">
@ -188,7 +188,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="12" column="0"> <item row="11" column="0">
<spacer name="spacer_dataengine"> <spacer name="spacer_dataengine">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -201,7 +201,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="6" column="0"> <item row="5" column="0">
<layout class="QHBoxLayout" name="layout_hddtempCmd"> <layout class="QHBoxLayout" name="layout_hddtempCmd">
<item> <item>
<widget class="QLabel" name="label_hddtempCmd"> <widget class="QLabel" name="label_hddtempCmd">
@ -225,7 +225,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="10" column="0"> <item row="9" column="0">
<layout class="QHBoxLayout" name="layout_playerSelect"> <layout class="QHBoxLayout" name="layout_playerSelect">
<item> <item>
<widget class="QLabel" name="label_playerSelect"> <widget class="QLabel" name="label_playerSelect">
@ -268,7 +268,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="7" column="0"> <item row="6" column="0">
<layout class="QHBoxLayout" name="layout_mpdaddress"> <layout class="QHBoxLayout" name="layout_mpdaddress">
<item> <item>
<widget class="QLabel" name="label_mpdaddress"> <widget class="QLabel" name="label_mpdaddress">
@ -292,7 +292,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="3" column="0"> <item row="2" column="0">
<layout class="QHBoxLayout" name="layout_desktopCmd"> <layout class="QHBoxLayout" name="layout_desktopCmd">
<item> <item>
<widget class="QLabel" name="label_desktopCmd"> <widget class="QLabel" name="label_desktopCmd">
@ -316,7 +316,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="9" column="0"> <item row="8" column="0">
<layout class="QVBoxLayout" name="layout_mpris"> <layout class="QVBoxLayout" name="layout_mpris">
<item> <item>
<widget class="QLabel" name="label_mprisInfo"> <widget class="QLabel" name="label_mprisInfo">
@ -406,7 +406,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="11" column="0"> <item row="10" column="0">
<layout class="QVBoxLayout" name="layout_pkgCommand"> <layout class="QVBoxLayout" name="layout_pkgCommand">
<item> <item>
<widget class="QTableWidget" name="tableWidget_pkgCommand"> <widget class="QTableWidget" name="tableWidget_pkgCommand">
@ -440,7 +440,7 @@ del - remove item</string>
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="0"> <item row="1" column="0">
<widget class="QTableWidget" name="tableWidget_customCommand"> <widget class="QTableWidget" name="tableWidget_customCommand">
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>
@ -462,34 +462,10 @@ del - remove item</string>
</column> </column>
</widget> </widget>
</item> </item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="layout_batdev">
<item>
<widget class="QLabel" name="label_batdev">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Battery device</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_batdev">
<property name="toolTip">
<string>&quot;/sys/class/power_supply/BAT0/capacity&quot; by default</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0"> <item row="0" column="0">
<layout class="QHBoxLayout" name="layout_acdev"> <layout class="QHBoxLayout" name="layout_acpi">
<item> <item>
<widget class="QLabel" name="label_acdev"> <widget class="QLabel" name="label_acpi">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>200</width> <width>200</width>
@ -497,14 +473,14 @@ del - remove item</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>AC device</string> <string>ACPI path</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_acdev"> <widget class="QLineEdit" name="lineEdit_acpi">
<property name="toolTip"> <property name="toolTip">
<string>&quot;/sys/class/power_supply/AC/online&quot; by default</string> <string>&quot;/sys/class/power_supply/&quot; by default</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -29,7 +29,7 @@ void AwesomeWidget::connectToEngine()
QRegExp regExp; QRegExp regExp;
// battery // battery
regExp = QRegExp(QString("(ac|bat)")); regExp = QRegExp(QString("(ac|bat.*)"));
if ((foundKeys.indexOf(regExp) > -1) || if ((foundKeys.indexOf(regExp) > -1) ||
(configuration[QString("batteryTooltip")].toInt() == 2)) (configuration[QString("batteryTooltip")].toInt() == 2))
extsysmonEngine->connectSource(QString("battery"), extsysmonEngine->connectSource(QString("battery"),
@ -188,19 +188,23 @@ void AwesomeWidget::dataUpdated(const QString &sourceName, const Plasma::DataEng
if (data.keys().isEmpty()) return; if (data.keys().isEmpty()) return;
if (sourceName == QString("battery")) { if (sourceName == QString("battery")) {
if (data[QString("ac")].toBool()) for (int i=0; i<data.keys().count(); i++) {
values[QString("ac")] = configuration[QString("acOnline")]; if (data.keys()[i] == QString("ac")) {
else if (data[QString("ac")].toBool())
values[QString("ac")] = configuration[QString("acOffline")]; values[QString("ac")] = configuration[QString("acOnline")];
values[QString("bat")] = QString("%1").arg(data[QString("bat")].toFloat(), 3, 'f', 0); else
values[QString("ac")] = configuration[QString("acOffline")];
} else
values[data.keys()[i]] = QString("%1").arg(data[data.keys()[i]].toFloat(), 3, 'f', 0);
}
if ((configuration[QString("batteryTooltip")].toInt() == 2) && if ((configuration[QString("batteryTooltip")].toInt() == 2) &&
(!isnan(data[QString("bat")].toFloat()))) { (!isnan(data[QString("bat0")].toFloat()))) {
if (tooltipValues[QString("bat")].count() > configuration[QString("tooltipNumber")].toInt()) if (tooltipValues[QString("bat")].count() > configuration[QString("tooltipNumber")].toInt())
tooltipValues[QString("bat")].takeFirst(); tooltipValues[QString("bat")].takeFirst();
if (data[QString("ac")].toBool()) if (data[QString("ac")].toBool())
tooltipValues[QString("bat")].append(data[QString("bat")].toFloat()); tooltipValues[QString("bat0")].append(data[QString("bat0")].toFloat());
else else
tooltipValues[QString("bat")].append(-data[QString("bat")].toFloat()); tooltipValues[QString("bat0")].append(-data[QString("bat0")].toFloat());
} }
} else if (sourceName == QString("cpu/system/TotalLoad")) { } else if (sourceName == QString("cpu/system/TotalLoad")) {
values[QString("cpu")] = QString("%1").arg(data[QString("value")].toFloat(), 5, 'f', 1); values[QString("cpu")] = QString("%1").arg(data[QString("value")].toFloat(), 5, 'f', 1);

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:14+0400\n" "PO-Revision-Date: 2014-09-21 20:19+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: English <kde-russian@lists.kde.ru>\n" "Language-Team: English <kde-russian@lists.kde.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -18,55 +18,55 @@ 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"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Run ksysguard" msgstr "Run ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Show README" msgstr "Show README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Update text" msgstr "Update text"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Custom command" msgstr "Custom command"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Package manager" msgstr "Package manager"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Null lines" msgstr "Null lines"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Widget" msgstr "Widget"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Advanced" msgstr "Advanced"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Tooltip" msgstr "Tooltip"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Appearance" msgstr "Appearance"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Remove" msgstr "Remove"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "Select font" msgstr "Select font"
@ -146,108 +146,112 @@ msgstr "Temperature units"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Temperature devices" msgstr "Temperature devices"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Editable" msgstr "Editable"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
msgid "Fan devices"
msgstr "Fan devices"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Mount points" msgstr "Mount points"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "HDD (speed)" msgstr "HDD (speed)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "HDD (temp)" msgstr "HDD (temp)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
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"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "Set network device" msgstr "Set network device"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "AC online tag" msgstr "AC online tag"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
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"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC offline tag" msgstr "AC offline tag"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
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"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Time interval" msgstr "Time interval"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Font" msgstr "Font"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Font size" msgstr "Font size"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Font color" msgstr "Font color"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Font style" msgstr "Font style"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Font weight" msgstr "Font weight"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "MPD port" msgstr "MPD port"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "GPU device" msgstr "GPU device"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "hddtemp cmd" msgstr "hddtemp cmd"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Music player" msgstr "Music player"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "MPD address" msgstr "MPD address"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "Desktop check cmd" msgstr "Desktop check cmd"
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "<b>NOTE:</b> Player DBus interface should be an active" msgstr "<b>NOTE:</b> Player DBus interface should be an active"
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "MPRIS player name" msgstr "MPRIS player name"
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -255,21 +259,13 @@ msgstr ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Battery device"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" by default"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "AC device" msgstr "ACPI path"
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" by default" msgstr "\"/sys/class/power_supply/\" by default"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
msgid "" msgid ""
@ -353,6 +349,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid "Battery device"
#~ msgstr "Battery device"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Vertical layout" #~ msgstr "Vertical layout"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:18+0400\n" "PO-Revision-Date: 2014-09-05 11:18+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Spanish <kde-russian@lists.kde.ru>\n" "Language-Team: Spanish <kde-russian@lists.kde.ru>\n"
@ -18,55 +18,55 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Ejecutar ksysguard" msgstr "Ejecutar ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Mostrar el README" msgstr "Mostrar el README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Actualizar texto" msgstr "Actualizar texto"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Comando personalizado" msgstr "Comando personalizado"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Gestor de paquetes" msgstr "Gestor de paquetes"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Número de líneas nulas" msgstr "Número de líneas nulas"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Widget" msgstr "Widget"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Avanzado" msgstr "Avanzado"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Ventana emergente" msgstr "Ventana emergente"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Apariencia" msgstr "Apariencia"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Eliminar" msgstr "Eliminar"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "" msgstr ""
@ -146,108 +146,113 @@ msgstr "Unidades de temperatura"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Dispositivos de temperatura" msgstr "Dispositivos de temperatura"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Editable" msgstr "Editable"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
#, fuzzy
msgid "Fan devices"
msgstr "Dispositivo de alimentación"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Puntos de montaje" msgstr "Puntos de montaje"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "Disco duro (velocidad)" msgstr "Disco duro (velocidad)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "Disco duro (temperatura)" msgstr "Disco duro (temperatura)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "Inhabilitar selección automática del dispositivo y especificar uno" msgstr "Inhabilitar selección automática del dispositivo y especificar uno"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "Establecer dispositivo de red" msgstr "Establecer dispositivo de red"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "Etiqueta para alimentación conectada" msgstr "Etiqueta para alimentación conectada"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Línea que devuelve si la alimentación está conectada" msgstr "Línea que devuelve si la alimentación está conectada"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "Etiqueta para la alimentación desconectada" msgstr "Etiqueta para la alimentación desconectada"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Línea que devuelve si la alimentación está desconectada" msgstr "Línea que devuelve si la alimentación está desconectada"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Intervalo de tiempo" msgstr "Intervalo de tiempo"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Fuente" msgstr "Fuente"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Tamaño de fuente" msgstr "Tamaño de fuente"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Color de fuente" msgstr "Color de fuente"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Estilo de fuente" msgstr "Estilo de fuente"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Grosor de la fuente" msgstr "Grosor de la fuente"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "Disco duro" msgstr "Disco duro"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "Puerto de MPD" msgstr "Puerto de MPD"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "Dispositivo de GPU" msgstr "Dispositivo de GPU"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "Comando hddtemp" msgstr "Comando hddtemp"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Reproductor de música" msgstr "Reproductor de música"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "Dirección de MPD" msgstr "Dirección de MPD"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "" msgstr ""
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "" msgstr ""
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "" msgstr ""
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -255,20 +260,13 @@ msgstr ""
"Editable\n" "Editable\n"
"del - eliminar elemento" "del - eliminar elemento"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Dispositivo de batería"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" por defecto"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "Dispositivo de alimentación" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" #, fuzzy
msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" por defecto" msgstr "\"/sys/class/power_supply/AC/online\" por defecto"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
@ -355,6 +353,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "Tus correos" msgstr "Tus correos"
#~ msgid "Battery device"
#~ msgstr "Dispositivo de batería"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" por defecto"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Orientación vertical" #~ msgstr "Orientación vertical"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:20+0400\n" "PO-Revision-Date: 2014-09-05 11:20+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: French <kde-russian@lists.kde.ru>\n" "Language-Team: French <kde-russian@lists.kde.ru>\n"
@ -19,55 +19,55 @@ 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"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Lancer ksysguard" msgstr "Lancer ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Voir le README" msgstr "Voir le README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Mettre à jour le texte" msgstr "Mettre à jour le texte"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Commande personnalisée" msgstr "Commande personnalisée"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Gestionnaire de paquets" msgstr "Gestionnaire de paquets"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Nombre d'éléments pour les conseils" msgstr "Nombre d'éléments pour les conseils"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Widget" msgstr "Widget"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Avancé" msgstr "Avancé"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Conseil" msgstr "Conseil"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Apparence" msgstr "Apparence"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "Moteur de données" msgstr "Moteur de données"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Supprimer" msgstr "Supprimer"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "" msgstr ""
@ -147,110 +147,115 @@ msgstr "Unités de température"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Temperature des périphériques" msgstr "Temperature des périphériques"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Modifiable" msgstr "Modifiable"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
#, fuzzy
msgid "Fan devices"
msgstr "Périphérique d'alimentation"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Points de montage" msgstr "Points de montage"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "Périphériques HDD (la vitesse)" msgstr "Périphériques HDD (la vitesse)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "Périphériques HDD (température)" msgstr "Périphériques HDD (température)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
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"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
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"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "Tag alimentation branchée" msgstr "Tag alimentation branchée"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Ligne qui est renvoyée lorsque l'alimentation est branchée" msgstr "Ligne qui est renvoyée lorsque l'alimentation est branchée"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "Tag alimentation débranchée" msgstr "Tag alimentation débranchée"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Ligne, qui est renvoyée lorsque l'alimentation est débranchée" msgstr "Ligne, qui est renvoyée lorsque l'alimentation est débranchée"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Intervalle" msgstr "Intervalle"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Police" msgstr "Police"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Taille de la police" msgstr "Taille de la police"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Couleur de la police" msgstr "Couleur de la police"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Style de la police" msgstr "Style de la police"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Épaisseur de la police" msgstr "Épaisseur de la police"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "Disque dur" msgstr "Disque dur"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "Port MPD" msgstr "Port MPD"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "Périphérique graphique" msgstr "Périphérique graphique"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "Commande de température HDD" msgstr "Commande de température HDD"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Lecteur audio" msgstr "Lecteur audio"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "Adresse MPD" msgstr "Adresse MPD"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "" msgstr ""
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "" msgstr ""
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "" msgstr ""
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -258,20 +263,13 @@ msgstr ""
"Modifiable\n" "Modifiable\n"
"del - supprimer un élément" "del - supprimer un élément"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Batterie"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" par défaut"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "Périphérique d'alimentation" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" #, fuzzy
msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" par défaut" msgstr "\"/sys/class/power_supply/AC/online\" par défaut"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
@ -358,6 +356,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid "Battery device"
#~ msgstr "Batterie"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" par défaut"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Positionnement vertical" #~ msgstr "Positionnement vertical"

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: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+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,55 +17,55 @@ 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"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "" msgstr ""
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "" msgstr ""
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "" msgstr ""
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "" msgstr ""
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "" msgstr ""
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "" msgstr ""
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "" msgstr ""
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "" msgstr ""
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "" msgstr ""
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "" msgstr ""
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "" msgstr ""
@ -123,127 +123,123 @@ msgstr ""
msgid "Temperature devices" msgid "Temperature devices"
msgstr "" msgstr ""
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "" msgstr ""
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
msgid "Mount points" msgid "Fan devices"
msgstr "" msgstr ""
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:56 rc.cpp:56
msgid "HDD devices (speed)" msgid "Mount points"
msgstr "" msgstr ""
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (temp)" msgid "HDD devices (speed)"
msgstr "" msgstr ""
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:68 rc.cpp:68
msgid "Disable auto select device and set specified device" msgid "HDD devices (temp)"
msgstr ""
#: po/rc.cpp:71 rc.cpp:71
msgid "Set network device"
msgstr "" msgstr ""
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:74 rc.cpp:74
msgid "AC online tag" msgid "Disable auto select device and set specified device"
msgstr "" msgstr ""
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:77 rc.cpp:77
msgid "Line, which returns when AC is online" msgid "Set network device"
msgstr "" msgstr ""
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:80 rc.cpp:80
msgid "AC offline tag" msgid "AC online tag"
msgstr "" msgstr ""
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is online"
msgstr "" msgstr ""
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:86 rc.cpp:86
msgid "Time interval" msgid "AC offline tag"
msgstr "" msgstr ""
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:89 rc.cpp:89
msgid "Font" msgid "Line, which returns when AC is offline"
msgstr "" msgstr ""
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:92 rc.cpp:92
msgid "Font size" msgid "Time interval"
msgstr "" msgstr ""
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font color" msgid "Font"
msgstr "" msgstr ""
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:98 rc.cpp:98
msgid "Font style" msgid "Font size"
msgstr "" msgstr ""
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:101 rc.cpp:101
msgid "Font weight" msgid "Font color"
msgstr "" msgstr ""
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:104 rc.cpp:104
msgid "HDD" msgid "Font style"
msgstr "" msgstr ""
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:107 rc.cpp:107
msgid "MPD port" msgid "Font weight"
msgstr "" msgstr ""
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:110 rc.cpp:110
msgid "GPU device" msgid "HDD"
msgstr "" msgstr ""
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:113 rc.cpp:113
msgid "hddtemp cmd" msgid "MPD port"
msgstr "" msgstr ""
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:116 rc.cpp:116
msgid "Music player" msgid "GPU device"
msgstr "" msgstr ""
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:119 rc.cpp:119
msgid "MPD address" msgid "hddtemp cmd"
msgstr "" msgstr ""
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:122 rc.cpp:122
msgid "Desktop check cmd" msgid "Music player"
msgstr "" msgstr ""
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:125 rc.cpp:125
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "MPD address"
msgstr "" msgstr ""
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd"
msgstr ""
#: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr ""
#: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "" msgstr ""
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
msgstr "" msgstr ""
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr ""
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr ""
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/\" by default"
msgstr "" msgstr ""
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:21+0400\n" "PO-Revision-Date: 2014-09-05 11:21+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Brazilian Portuguese <kde-russian@lists.kde.ru>\n" "Language-Team: Brazilian Portuguese <kde-russian@lists.kde.ru>\n"
@ -17,55 +17,55 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Abrir ksysguard" msgstr "Abrir ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Mostrar README" msgstr "Mostrar README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Atualizar texto" msgstr "Atualizar texto"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Comando personalizado" msgstr "Comando personalizado"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Gerenciador de pacotes" msgstr "Gerenciador de pacotes"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Número de valores para dicas de contexto" msgstr "Número de valores para dicas de contexto"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Widget" msgstr "Widget"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Avançado" msgstr "Avançado"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Dica de contexto" msgstr "Dica de contexto"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Aparência" msgstr "Aparência"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "Engine de dados" msgstr "Engine de dados"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Remover" msgstr "Remover"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "" msgstr ""
@ -143,109 +143,114 @@ msgstr "Unidades de temperatura"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Dispositivos de temperatura" msgstr "Dispositivos de temperatura"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Editável" msgstr "Editável"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
#, fuzzy
msgid "Fan devices"
msgstr "Dispositivo do carregador"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Pontos de montagem" msgstr "Pontos de montagem"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "Dispositivos HDD (velocidade) " msgstr "Dispositivos HDD (velocidade) "
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "Dispositivos HDD (temperatura)" msgstr "Dispositivos HDD (temperatura)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "" msgstr ""
"Desativar auto seleção de dispositivos e escolher um dispositivo específico" "Desativar auto seleção de dispositivos e escolher um dispositivo específico"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "Escolher dispositivo de rede" msgstr "Escolher dispositivo de rede"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "Rótulo com carregador conectado" msgstr "Rótulo com carregador conectado"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Linha, que aparece quando o carregador está conectado" msgstr "Linha, que aparece quando o carregador está conectado"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "Rótulo com carregador desconectado" msgstr "Rótulo com carregador desconectado"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Linha, que aparece quando o carregador está offline" msgstr "Linha, que aparece quando o carregador está offline"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Intervalo de tempo" msgstr "Intervalo de tempo"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Tamanho da fonte" msgstr "Tamanho da fonte"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Tamanho da fonte" msgstr "Tamanho da fonte"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Cor da fonte" msgstr "Cor da fonte"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Estilo da fonte" msgstr "Estilo da fonte"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Peso da fonte" msgstr "Peso da fonte"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "Porta do MPD" msgstr "Porta do MPD"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "Dispositivo GPU" msgstr "Dispositivo GPU"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "comando hddtemp " msgstr "comando hddtemp "
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Reprodutor de áudio" msgstr "Reprodutor de áudio"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "Endereço do MPD" msgstr "Endereço do MPD"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "" msgstr ""
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "" msgstr ""
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "" msgstr ""
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -253,20 +258,13 @@ msgstr ""
"Editável\n" "Editável\n"
"del - remover item" "del - remover item"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Dispositivo do carregador"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" por padrão"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "Dispositivo do carregador" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" #, fuzzy
msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" por padrão" msgstr "\"/sys/class/power_supply/AC/online\" por padrão"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
@ -352,6 +350,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "dreanazous@gmail.com" msgstr "dreanazous@gmail.com"
#~ msgid "Battery device"
#~ msgstr "Dispositivo do carregador"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" por padrão"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Layout vertical" #~ msgstr "Layout vertical"

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:16+0400\n" "PO-Revision-Date: 2014-09-21 20:19+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,55 +18,55 @@ 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"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Запустить ksysguard" msgstr "Запустить ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Показать README" msgstr "Показать README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Обновить текст" msgstr "Обновить текст"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Своя команда" msgstr "Своя команда"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Пакетный менеджер" msgstr "Пакетный менеджер"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Число пустых линий" msgstr "Число пустых линий"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Виджет" msgstr "Виджет"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Расширенные" msgstr "Расширенные"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Тултип" msgstr "Тултип"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Внешний вид" msgstr "Внешний вид"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Удалить" msgstr "Удалить"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "Выберете шрифт" msgstr "Выберете шрифт"
@ -146,108 +146,112 @@ msgstr "Температурные единицы"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Температурные устройства" msgstr "Температурные устройства"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Редактируемо" msgstr "Редактируемо"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
msgid "Fan devices"
msgstr "Кулеры"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Точки монтирования" msgstr "Точки монтирования"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "HDD (скорость)" msgstr "HDD (скорость)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "HDD (температура)" msgstr "HDD (температура)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "Отключить автовыбор устройства и использовать указанное" msgstr "Отключить автовыбор устройства и использовать указанное"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "Выберете сетевое устройство" msgstr "Выберете сетевое устройство"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "AC подключен" msgstr "AC подключен"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Строка, возвращаемая при подключенном адаптере питания" msgstr "Строка, возвращаемая при подключенном адаптере питания"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC отключен" msgstr "AC отключен"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Строка, возвращаемая при отключенном адаптере питания" msgstr "Строка, возвращаемая при отключенном адаптере питания"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Интервал обновления" msgstr "Интервал обновления"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Шрифт" msgstr "Шрифт"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Размер шрифта" msgstr "Размер шрифта"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Цвет шрифта" msgstr "Цвет шрифта"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Стиль шрифта" msgstr "Стиль шрифта"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Ширина шрифта" msgstr "Ширина шрифта"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "Порт сервера MPD" msgstr "Порт сервера MPD"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "Устройство GPU" msgstr "Устройство GPU"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "Команда hddtemp" msgstr "Команда hddtemp"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Музыкальный плеер" msgstr "Музыкальный плеер"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "Адрес сервера MPD" msgstr "Адрес сервера MPD"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "Команда для проверки рабочего стола" msgstr "Команда для проверки рабочего стола"
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "<b>ВНИМАНИЕ:</b> DBus интерфейс плеера должен быть активен" msgstr "<b>ВНИМАНИЕ:</b> DBus интерфейс плеера должен быть активен"
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "Имя плеера в MPRIS" msgstr "Имя плеера в MPRIS"
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -255,21 +259,13 @@ msgstr ""
"Редактируемо\n" "Редактируемо\n"
"del - удалить строку" "del - удалить строку"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Устройство батареи"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" по умолчанию"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "Устройство AC" msgstr "Пусть к ACPI"
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" по умолчанию" msgstr "\"/sys/class/power_supply/\" по умолчанию"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
msgid "" msgid ""
@ -354,6 +350,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "esalexeev@gmail.com" msgstr "esalexeev@gmail.com"
#~ msgid "Battery device"
#~ msgstr "Устройство батареи"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" по умолчанию"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Вертикальная разметка" #~ msgstr "Вертикальная разметка"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-05 11:22+0400\n" "PO-Revision-Date: 2014-09-05 11:22+0400\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n" "Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n" "Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n"
@ -18,55 +18,55 @@ 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"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "Запустити ksysguard" msgstr "Запустити ksysguard"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "Показати README" msgstr "Показати README"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "Оновити текст" msgstr "Оновити текст"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "Своя команда" msgstr "Своя команда"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "Пакетний менеджер" msgstr "Пакетний менеджер"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "Кількість пустих рядків" msgstr "Кількість пустих рядків"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "Віджет" msgstr "Віджет"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "Розширені" msgstr "Розширені"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "Тултіп" msgstr "Тултіп"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "Зовнішній вигляд" msgstr "Зовнішній вигляд"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "DataEngine" msgstr "DataEngine"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "Видалити" msgstr "Видалити"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "" msgstr ""
@ -146,108 +146,113 @@ msgstr "Одиниці виміру температури"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "Температурні пристрої" msgstr "Температурні пристрої"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "Можна редагувати" msgstr "Можна редагувати"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
#, fuzzy
msgid "Fan devices"
msgstr "AC пристрій"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "Точки монтування" msgstr "Точки монтування"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "HDD (швидкість)" msgstr "HDD (швидкість)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "HDD (температура)" msgstr "HDD (температура)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "Відключити автоматичний вибір пристрою та використовувати вказаний" msgstr "Відключити автоматичний вибір пристрою та використовувати вказаний"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "Оберіть мережевий пристрій" msgstr "Оберіть мережевий пристрій"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "AC підключений" msgstr "AC підключений"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "Рядок, що повертається при підключеному адаптері живлення" msgstr "Рядок, що повертається при підключеному адаптері живлення"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "AC відключений" msgstr "AC відключений"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "Рядок, що повертається при відключеному адаптері живлення" msgstr "Рядок, що повертається при відключеному адаптері живлення"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "Інтервал оновлення" msgstr "Інтервал оновлення"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "Шрифт" msgstr "Шрифт"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "Розмір шрифту" msgstr "Розмір шрифту"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "Колір шрифту" msgstr "Колір шрифту"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "Стиль шрифту" msgstr "Стиль шрифту"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "Ширина шрифту" msgstr "Ширина шрифту"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "HDD" msgstr "HDD"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "Порт сервера MPD" msgstr "Порт сервера MPD"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "Пристій GPU" msgstr "Пристій GPU"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "Команда hddtemp" msgstr "Команда hddtemp"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "Музичний плеєр" msgstr "Музичний плеєр"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "Адреса сервера MPD" msgstr "Адреса сервера MPD"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "" msgstr ""
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "" msgstr ""
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "" msgstr ""
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -255,20 +260,13 @@ msgstr ""
"Можна редагувати\n" "Можна редагувати\n"
"del - видалити рядок" "del - видалити рядок"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "Пристрій батареї"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "\"/sys/class/power_supply/BAT0/capacity\" за замовчуванням"
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "AC пристрій" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" #, fuzzy
msgid "\"/sys/class/power_supply/\" by default"
msgstr "\"/sys/class/power_supply/AC/online\" за замовчуванням" msgstr "\"/sys/class/power_supply/AC/online\" за замовчуванням"
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
@ -355,6 +353,12 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "sarumyan@i.ua" msgstr "sarumyan@i.ua"
#~ msgid "Battery device"
#~ msgstr "Пристрій батареї"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "\"/sys/class/power_supply/BAT0/capacity\" за замовчуванням"
#~ msgid "Vertical layout" #~ msgid "Vertical layout"
#~ msgstr "Вертикальна розмітка" #~ msgstr "Вертикальна розмітка"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n" "Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2014-09-08 01:52+0400\n" "POT-Creation-Date: 2014-09-21 20:18+0400\n"
"PO-Revision-Date: 2014-09-10 22:50+0800\n" "PO-Revision-Date: 2014-09-10 22:50+0800\n"
"Last-Translator: Steve Lemuel <wlemuel@hotmail.com>\n" "Last-Translator: Steve Lemuel <wlemuel@hotmail.com>\n"
"Language-Team: American English <kde-i18n-doc@kde.org>\n" "Language-Team: American English <kde-i18n-doc@kde.org>\n"
@ -17,55 +17,55 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.5\n" "X-Generator: Lokalize 1.5\n"
#: awesome-widget.cpp:77 #: awesome-widget.cpp:78
msgid "Run ksysguard" msgid "Run ksysguard"
msgstr "运行任务管理器" msgstr "运行任务管理器"
#: awesome-widget.cpp:80 #: awesome-widget.cpp:81
msgid "Show README" msgid "Show README"
msgstr "显示帮助文档" msgstr "显示帮助文档"
#: awesome-widget.cpp:83 #: awesome-widget.cpp:84
msgid "Update text" msgid "Update text"
msgstr "刷新文本" msgstr "刷新文本"
#: configuration.cpp:319 po/rc.cpp:145 rc.cpp:145 #: configuration.cpp:362 po/rc.cpp:151 rc.cpp:151
msgid "Custom command" msgid "Custom command"
msgstr "自定义命令" msgstr "自定义命令"
#: configuration.cpp:349 po/rc.cpp:135 rc.cpp:135 #: configuration.cpp:392 po/rc.cpp:141 rc.cpp:141
msgid "Package manager" msgid "Package manager"
msgstr "包管理器" msgstr "包管理器"
#: configuration.cpp:350 po/rc.cpp:138 rc.cpp:138 #: configuration.cpp:393 po/rc.cpp:144 rc.cpp:144
msgid "Null lines" msgid "Null lines"
msgstr "空行" msgstr "空行"
#: configuration.cpp:362 #: configuration.cpp:405
msgid "Widget" msgid "Widget"
msgstr "窗口小部件" msgstr "窗口小部件"
#: configuration.cpp:363 #: configuration.cpp:406
msgid "Advanced" msgid "Advanced"
msgstr "高级设置" msgstr "高级设置"
#: configuration.cpp:364 #: configuration.cpp:407
msgid "Tooltip" msgid "Tooltip"
msgstr "提示" msgstr "提示"
#: configuration.cpp:365 #: configuration.cpp:408
msgid "Appearance" msgid "Appearance"
msgstr "外观" msgstr "外观"
#: configuration.cpp:366 #: configuration.cpp:409
msgid "DataEngine" msgid "DataEngine"
msgstr "数据引擎" msgstr "数据引擎"
#: configuration.cpp:645 configuration.cpp:659 #: configuration.cpp:697 configuration.cpp:711
msgid "Remove" msgid "Remove"
msgstr "移除" msgstr "移除"
#: configuration.cpp:706 #: configuration.cpp:766
msgid "Select font" msgid "Select font"
msgstr "选择字体" msgstr "选择字体"
@ -145,108 +145,113 @@ msgstr "温度单位"
msgid "Temperature devices" msgid "Temperature devices"
msgstr "温度传感器" msgstr "温度传感器"
#: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 rc.cpp:47 rc.cpp:53 #: po/rc.cpp:47 po/rc.cpp:53 po/rc.cpp:59 po/rc.cpp:65 po/rc.cpp:71 rc.cpp:47
#: rc.cpp:59 rc.cpp:65 #: rc.cpp:53 rc.cpp:59 rc.cpp:65 rc.cpp:71
msgid "Editable" msgid "Editable"
msgstr "可编辑的" msgstr "可编辑的"
#: po/rc.cpp:50 rc.cpp:50 #: po/rc.cpp:50 rc.cpp:50
#, fuzzy
msgid "Fan devices"
msgstr "外界电源设备"
#: po/rc.cpp:56 rc.cpp:56
msgid "Mount points" msgid "Mount points"
msgstr "挂载点" msgstr "挂载点"
#: po/rc.cpp:56 rc.cpp:56 #: po/rc.cpp:62 rc.cpp:62
msgid "HDD devices (speed)" msgid "HDD devices (speed)"
msgstr "硬盘(高速)" msgstr "硬盘(高速)"
#: po/rc.cpp:62 rc.cpp:62 #: po/rc.cpp:68 rc.cpp:68
msgid "HDD devices (temp)" msgid "HDD devices (temp)"
msgstr "硬盘(临时)" msgstr "硬盘(临时)"
#: po/rc.cpp:68 rc.cpp:68 #: po/rc.cpp:74 rc.cpp:74
msgid "Disable auto select device and set specified device" msgid "Disable auto select device and set specified device"
msgstr "禁用自动选择设备和设置特殊设备" msgstr "禁用自动选择设备和设置特殊设备"
#: po/rc.cpp:71 rc.cpp:71 #: po/rc.cpp:77 rc.cpp:77
msgid "Set network device" msgid "Set network device"
msgstr "设置网络设备" msgstr "设置网络设备"
#: po/rc.cpp:74 rc.cpp:74 #: po/rc.cpp:80 rc.cpp:80
msgid "AC online tag" msgid "AC online tag"
msgstr "外接电源使用中标签" msgstr "外接电源使用中标签"
#: po/rc.cpp:77 rc.cpp:77 #: po/rc.cpp:83 rc.cpp:83
msgid "Line, which returns when AC is online" msgid "Line, which returns when AC is online"
msgstr "外接电源使用时显示线条" msgstr "外接电源使用时显示线条"
#: po/rc.cpp:80 rc.cpp:80 #: po/rc.cpp:86 rc.cpp:86
msgid "AC offline tag" msgid "AC offline tag"
msgstr "外接电源未使用标签" msgstr "外接电源未使用标签"
#: po/rc.cpp:83 rc.cpp:83 #: po/rc.cpp:89 rc.cpp:89
msgid "Line, which returns when AC is offline" msgid "Line, which returns when AC is offline"
msgstr "外接电源未使用时显示线条" msgstr "外接电源未使用时显示线条"
#: po/rc.cpp:86 rc.cpp:86 #: po/rc.cpp:92 rc.cpp:92
msgid "Time interval" msgid "Time interval"
msgstr "时间周期" msgstr "时间周期"
#: po/rc.cpp:89 po/rc.cpp:196 rc.cpp:89 rc.cpp:196 #: po/rc.cpp:95 po/rc.cpp:196 rc.cpp:95 rc.cpp:196
msgid "Font" msgid "Font"
msgstr "字体" msgstr "字体"
#: po/rc.cpp:92 rc.cpp:92 #: po/rc.cpp:98 rc.cpp:98
msgid "Font size" msgid "Font size"
msgstr "字体大小" msgstr "字体大小"
#: po/rc.cpp:95 rc.cpp:95 #: po/rc.cpp:101 rc.cpp:101
msgid "Font color" msgid "Font color"
msgstr "字体颜色" msgstr "字体颜色"
#: po/rc.cpp:98 rc.cpp:98 #: po/rc.cpp:104 rc.cpp:104
msgid "Font style" msgid "Font style"
msgstr "字体样式" msgstr "字体样式"
#: po/rc.cpp:101 rc.cpp:101 #: po/rc.cpp:107 rc.cpp:107
msgid "Font weight" msgid "Font weight"
msgstr "字体宽度" msgstr "字体宽度"
#: po/rc.cpp:104 rc.cpp:104 #: po/rc.cpp:110 rc.cpp:110
msgid "HDD" msgid "HDD"
msgstr "硬盘" msgstr "硬盘"
#: po/rc.cpp:107 rc.cpp:107 #: po/rc.cpp:113 rc.cpp:113
msgid "MPD port" msgid "MPD port"
msgstr "MPD 端口" msgstr "MPD 端口"
#: po/rc.cpp:110 rc.cpp:110 #: po/rc.cpp:116 rc.cpp:116
msgid "GPU device" msgid "GPU device"
msgstr "GPU 设备" msgstr "GPU 设备"
#: po/rc.cpp:113 rc.cpp:113 #: po/rc.cpp:119 rc.cpp:119
msgid "hddtemp cmd" msgid "hddtemp cmd"
msgstr "硬盘温度显示命令" msgstr "硬盘温度显示命令"
#: po/rc.cpp:116 rc.cpp:116 #: po/rc.cpp:122 rc.cpp:122
msgid "Music player" msgid "Music player"
msgstr "音乐播放器" msgstr "音乐播放器"
#: po/rc.cpp:119 rc.cpp:119 #: po/rc.cpp:125 rc.cpp:125
msgid "MPD address" msgid "MPD address"
msgstr "MPD 地址" msgstr "MPD 地址"
#: po/rc.cpp:122 rc.cpp:122 #: po/rc.cpp:128 rc.cpp:128
msgid "Desktop check cmd" msgid "Desktop check cmd"
msgstr "检测桌面命令" msgstr "检测桌面命令"
#: po/rc.cpp:125 rc.cpp:125 #: po/rc.cpp:131 rc.cpp:131
msgid "<b>NOTE:</b> Player DBus interface should be an active" msgid "<b>NOTE:</b> Player DBus interface should be an active"
msgstr "<b>提示:</b> 播放器 DBus 应当处于激活状态" msgstr "<b>提示:</b> 播放器 DBus 应当处于激活状态"
#: po/rc.cpp:128 rc.cpp:128 #: po/rc.cpp:134 rc.cpp:134
msgid "MPRIS player name" msgid "MPRIS player name"
msgstr "MPRIS 播放器名" msgstr "MPRIS 播放器名"
#: po/rc.cpp:131 po/rc.cpp:141 rc.cpp:131 rc.cpp:141 #: po/rc.cpp:137 po/rc.cpp:147 rc.cpp:137 rc.cpp:147
msgid "" msgid ""
"Editable\n" "Editable\n"
"del - remove item" "del - remove item"
@ -254,20 +259,13 @@ msgstr ""
"可编辑的\n" "可编辑的\n"
"del - 移除项目" "del - 移除项目"
#: po/rc.cpp:148 rc.cpp:148
msgid "Battery device"
msgstr "电池设备"
#: po/rc.cpp:151 rc.cpp:151
msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
msgstr "默认为 \"/sys/class/power_supply/BAT0/capacity\""
#: po/rc.cpp:154 rc.cpp:154 #: po/rc.cpp:154 rc.cpp:154
msgid "AC device" msgid "ACPI path"
msgstr "外界电源设备" msgstr ""
#: po/rc.cpp:157 rc.cpp:157 #: po/rc.cpp:157 rc.cpp:157
msgid "\"/sys/class/power_supply/AC/online\" by default" #, fuzzy
msgid "\"/sys/class/power_supply/\" by default"
msgstr "默认为 \"/sys/class/power_supply/AC/online\"" msgstr "默认为 \"/sys/class/power_supply/AC/online\""
#: po/rc.cpp:160 rc.cpp:160 #: po/rc.cpp:160 rc.cpp:160
@ -275,8 +273,8 @@ 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 ""
"CPU CPU 时钟,内存,虚拟内存和网络连接标签均支持图形化提示显示。 " "CPU CPU 时钟,内存,虚拟内存和网络连接标签均支持图形化提示显示。 请在相应复"
"请在相应复选框中勾选以启用该功能。 " "选框中勾选以启用该功能。 "
#: po/rc.cpp:163 rc.cpp:163 #: po/rc.cpp:163 rc.cpp:163
msgid "Number of values for tooltips" msgid "Number of values for tooltips"
@ -323,8 +321,8 @@ 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/"
"awesome-widgets/\">project homepage</a>" "awesome-widgets/\">project homepage</a>"
msgstr "" msgstr ""
"详情请参照 <a href=\"http://arcanis.name/projects/ " "详情请参照 <a href=\"http://arcanis.name/projects/ awesome-widgets/\">项目主"
"awesome-widgets/\">项目主页</a>" "页</a>"
#: po/rc.cpp:199 rc.cpp:199 #: po/rc.cpp:199 rc.cpp:199
msgid "Ctrl+B" msgid "Ctrl+B"
@ -352,4 +350,8 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails" msgid "Your emails"
msgstr "用户邮箱" msgstr "用户邮箱"
#~ msgid "Battery device"
#~ msgstr "电池设备"
#~ msgid "\"/sys/class/power_supply/BAT0/capacity\" by default"
#~ msgstr "默认为 \"/sys/class/power_supply/BAT0/capacity\""

View File

@ -39,7 +39,6 @@ void AwesomeWidget::reinit()
textLabel->setPopupEnabled(true); textLabel->setPopupEnabled(true);
updateText(true); updateText(true);
textLabel->adjustSize(); textLabel->adjustSize();
mainLayout->itemAt(0, 0)->adjustSize();
keys = getKeys(); keys = getKeys();
foundKeys = findKeys(); foundKeys = findKeys();

View File

@ -2,8 +2,7 @@
# $kdehome/share/config/extsysmon.conf # $kdehome/share/config/extsysmon.conf
# ACPI devices # ACPI devices
#AC=/sys/class/power_supply/AC/online #ACPIPATH=/sys/class/power_supply/
#BATTERY=/sys/class/power_supply/BAT0/capacity
# Custom command, separator is '@@' # Custom command, separator is '@@'
#CUSTOM=curl ip4.telize.com #CUSTOM=curl ip4.telize.com

View File

@ -22,6 +22,7 @@
#include <KDE/KGlobal> #include <KDE/KGlobal>
#include <KDE/KStandardDirs> #include <KDE/KStandardDirs>
#include <QDebug> #include <QDebug>
#include <QDir>
#include <QFile> #include <QFile>
#include <QProcessEnvironment> #include <QProcessEnvironment>
#include <QRegExp> #include <QRegExp>
@ -171,8 +172,7 @@ void ExtendedSysMon::readConfiguration()
// pre-setup // pre-setup
QMap<QString, QString> rawConfig; QMap<QString, QString> rawConfig;
rawConfig[QString("AC")] = QString("/sys/class/power_supply/AC/online"); rawConfig[QString("ACPIPATH")] = QString("/sys/class/power_supply/");
rawConfig[QString("BATTERY")] = QString("/sys/class/power_supply/BAT0/capacity");
rawConfig[QString("CUSTOM")] = QString("curl ip4.telize.com"); rawConfig[QString("CUSTOM")] = QString("curl ip4.telize.com");
rawConfig[QString("DESKTOP")] = QString(""); rawConfig[QString("DESKTOP")] = QString("");
rawConfig[QString("DESKTOPCMD")] = QString("qdbus org.kde.kwin /KWin currentDesktop"); rawConfig[QString("DESKTOPCMD")] = QString("qdbus org.kde.kwin /KWin currentDesktop");
@ -278,25 +278,42 @@ QMap<QString, QString> ExtendedSysMon::updateConfiguration(const QMap<QString, Q
} }
QMap<QString, QVariant> ExtendedSysMon::getBattery(const QString acPath, const QString batPath) QMap<QString, QVariant> ExtendedSysMon::getBattery(const QString acpiPath)
{ {
if (debug) qDebug() << PDEBUG; if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "AC path" << acPath; if (debug) qDebug() << PDEBUG << ":" << "ACPI path" << acpiPath;
if (debug) qDebug() << PDEBUG << ":" << "Battery path" << batPath;
QMap<QString, QVariant> battery; QMap<QString, QVariant> battery;
battery[QString("ac")] = false; battery[QString("ac")] = false;
battery[QString("battery")] = 0; battery[QString("bat0")] = 0;
QFile acFile(acPath); QFile acFile(acpiPath + QString("/AC/online"));
if (acFile.open(QIODevice::ReadOnly)) { if (acFile.open(QIODevice::ReadOnly)) {
if (QString(acFile.readLine()).trimmed().toInt() == 1) if (QString(acFile.readLine()).trimmed().toInt() == 1)
battery[QString("ac")] = true; battery[QString("ac")] = true;
} }
acFile.close(); acFile.close();
QFile batFile(batPath); // batterites
if (batFile.open(QIODevice::ReadOnly)) QStringList allDevices = QDir(acpiPath).entryList(QDir::Dirs | QDir::NoDotAndDotDot);
battery[QString("battery")] = QString(batFile.readLine()).trimmed().toInt(); QStringList batDevices;
batFile.close(); QRegExp batRegexp = QRegExp(QString("BAT.*"));
for (int i=0; i<allDevices.count(); i++)
if (allDevices[i].indexOf(batRegexp) > -1)
batDevices.append(allDevices[i]);
for (int i=0; i<batDevices.count(); i++) {
QFile batFile(acpiPath + QString("/") + batDevices[i] + QString("/capacity"));
if (batFile.open(QIODevice::ReadOnly))
battery[QString("bat") + QString::number(i+1)] = QString(batFile.readLine()).trimmed().toInt();
batFile.close();
}
float number = 0.0;
float average = 0.0;
for (int i=0; i<battery.keys().count(); i++) {
if (battery.keys()[i] == QString("ac")) continue;
if (battery.keys()[i] == QString("bat0")) continue;
average += battery[battery.keys()[i]].toInt();
number++;
}
battery[QString("bat0")] = int(average / number);
return battery; return battery;
} }
@ -571,10 +588,12 @@ bool ExtendedSysMon::updateSourceEvent(const QString &source)
if (debug) qDebug() << PDEBUG << ":" << "Source" << source; if (debug) qDebug() << PDEBUG << ":" << "Source" << source;
if (source == QString("battery")) { if (source == QString("battery")) {
QMap<QString, QVariant> battery = getBattery(configuration[QString("AC")], QMap<QString, QVariant> battery = getBattery(configuration[QString("ACPIPATH")]);
configuration[QString("BATTERY")]);
setData(source, QString("ac"), battery[QString("ac")].toBool()); setData(source, QString("ac"), battery[QString("ac")].toBool());
setData(source, QString("bat"), battery[QString("battery")].toInt()); for (int i=0; i<battery.keys().count(); i++) {
if (battery.keys()[i] == QString("ac")) continue;
setData(source, battery.keys()[i], battery[battery.keys()[i]].toInt());
}
} else if (source == QString("custom")) { } else if (source == QString("custom")) {
for (int i=0; i<configuration[QString("CUSTOM")].split(QString("@@"), QString::SkipEmptyParts).count(); i++) { for (int i=0; i<configuration[QString("CUSTOM")].split(QString("@@"), QString::SkipEmptyParts).count(); i++) {
setData(source, QString("custom") + QString::number(i), setData(source, QString("custom") + QString::number(i),

View File

@ -28,7 +28,7 @@ class ExtendedSysMon : public Plasma::DataEngine
public: public:
ExtendedSysMon(QObject *parent, const QVariantList &args); ExtendedSysMon(QObject *parent, const QVariantList &args);
// update functions // update functions
QMap<QString, QVariant> getBattery(const QString acPath, const QString batPath); QMap<QString, QVariant> getBattery(const QString acpiPath);
QMap<QString, QVariant> getCurrentDesktop(const QString cmd); QMap<QString, QVariant> getCurrentDesktop(const QString cmd);
QString getCustomCmd(const QString cmd); QString getCustomCmd(const QString cmd);
float getGpu(const QString device); float getGpu(const QString device);