mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
Console: label tweaks
This commit is contained in:
parent
3b35ccb8a0
commit
4d3f638945
1 changed files with 2 additions and 2 deletions
|
@ -596,14 +596,14 @@ namespace http {
|
|||
}
|
||||
#if ((!defined(WIN32) && !defined(QT_GUI_LIB) && !defined(ANDROID)) || defined(ANDROID_BINARY))
|
||||
if (auto remains = Daemon.gracefulShutdownInterval) {
|
||||
s << "<tr><td>" << tr("Stopping in") << "</td><td>";
|
||||
s << "<tr><td>" << tr("Shutdown") << "</td><td>";
|
||||
ShowUptime(s, remains);
|
||||
s << "…</td></tr>\r\n";
|
||||
}
|
||||
#elif defined(WIN32_APP)
|
||||
if (i2p::win32::g_GracefulShutdownEndtime != 0) {
|
||||
uint16_t remains = (i2p::win32::g_GracefulShutdownEndtime - GetTickCount()) / 1000;
|
||||
s << "<tr><td>" << tr("Stopping in") << "</td><td>";
|
||||
s << "<tr><td>" << tr("Shutdown") << "</td><td>";
|
||||
ShowUptime(s, remains);
|
||||
s << "…</td></tr>\r\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue