Commit 103bd0bb authored by Alf Gaida's avatar Alf Gaida

New snapshot: 0.14.0~142-g482a0e1-1

parent 97f59ae2
lxqt-notificationd (0.14.0~142-g482a0e1-1) experimental-snapshots; urgency=medium
* New snapshot: 0.13.0-142-g482a0e1
-- Alf Gaida <agaida@siduction.org> Sun, 20 Jan 2019 17:06:41 +0100
lxqt-notificationd (0.14.0~140-g293698b-1) experimental-snapshots; urgency=medium
* New snapshot: 0.13.0-140-g293698b
......
......@@ -238,8 +238,9 @@ void Notifyd::createTrayIcon()
m_trayIcon->setContextMenu(m_trayMenu);
m_trayIcon->setVisible(!dates.isEmpty());
m_trayIcon->setToolTip(tr("%1 Unattended Notification(s)")
.arg(m_trayMenu->actions().size() - 3));
m_trayIcon->setToolTip(tr("%n Unattended Notification(s)", "",
m_trayMenu->actions().size() - 3));
}
// NOTE: Contrary to what Qt doc implies, if the tray icon is created before the tray area is available,
......@@ -295,8 +296,8 @@ void Notifyd::addToUnattendedList(uint /*id*/, uint reason, const QString &date)
m_trayMenu->insertAction(actions.isEmpty() ? nullptr : actions.first(), action);
connect(action, &QAction::triggered, this, &Notifyd::restoreUnattended);
m_trayIcon->setVisible(true);
m_trayIcon->setToolTip(tr("%1 Unattended Notification(s)")
.arg(m_trayMenu->actions().size() - 3));
m_trayIcon->setToolTip(tr("%n Unattended Notification(s)", "",
m_trayMenu->actions().size() - 3));
}
}
}
......@@ -315,8 +316,8 @@ void Notifyd::restoreUnattended()
m_trayMenu->deleteLater();
}
else
m_trayIcon->setToolTip(tr("%1 Unattended Notification(s)")
.arg(m_trayMenu->actions().size() - 3));
m_trayIcon->setToolTip(tr("%n Unattended Notification(s)", "",
m_trayMenu->actions().size() - 3));
QSettings list(m_area->layout()->cacheFile(), QSettings::IniFormat);
if (list.childGroups().contains(date))
{
......
......@@ -31,7 +31,7 @@
<location filename="../notifyd.cpp" line="298"/>
<location filename="../notifyd.cpp" line="318"/>
<source>%1 Unattended Notification(s)</source>
<translation type="unfinished"></translation>
<translation>%1 непрочитанных уведомлений</translation>
</message>
</context>
</TS>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment