Update error message, translations and improve debug message
parent
0944fe422a
commit
9255528440
|
|
@ -47,11 +47,11 @@ void IntegrationPluginWakeOnLan::discoverThings(ThingDiscoveryInfo *info)
|
|||
{
|
||||
if (!hardwareManager()->networkDeviceDiscovery()->available()) {
|
||||
qCWarning(dcWakeOnLan()) << "Failed to discover network devices. The network device discovery is not available.";
|
||||
info->finish(Thing::ThingErrorHardwareNotAvailable, QT_TR_NOOP("The discovery is not available."));
|
||||
info->finish(Thing::ThingErrorHardwareNotAvailable, QT_TR_NOOP("Unable to discovery devices in your network."));
|
||||
return;
|
||||
}
|
||||
|
||||
qCDebug(dcWakeOnLan()) << "Start discovering network devices...";
|
||||
qCDebug(dcWakeOnLan()) << "Starting network discovery...";
|
||||
NetworkDeviceDiscoveryReply *discoveryReply = hardwareManager()->networkDeviceDiscovery()->discover();
|
||||
connect(discoveryReply, &NetworkDeviceDiscoveryReply::finished, this, [=](){
|
||||
ThingDescriptors descriptors;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<name>IntegrationPluginWakeOnLan</name>
|
||||
<message>
|
||||
<location filename="../integrationpluginwakeonlan.cpp" line="50"/>
|
||||
<source>The discovery is not available.</source>
|
||||
<source>Unable to discovery devices in your network.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
Loading…
Reference in New Issue