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

@ -322,8 +322,10 @@ QStringList AwesomeWidget::getKeys()
allKeys.append(QString("up"));
allKeys.append(QString("netdev"));
// battery
allKeys.append(QString("bat"));
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
allKeys.append(QString("album"));
allKeys.append(QString("artist"));