mirror of
https://github.com/moparisthebest/davmail
synced 2024-08-13 16:53:51 -04:00
I18N: improve startup log message
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@547 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
dae31fbab8
commit
938feeae05
@ -85,15 +85,15 @@ public class DavGateway {
|
|||||||
server.start();
|
server.start();
|
||||||
messages.add(new BundleMessage("LOG_PROTOCOL_PORT", server.getProtocolName(), server.getPort()));
|
messages.add(new BundleMessage("LOG_PROTOCOL_PORT", server.getProtocolName(), server.getPort()));
|
||||||
} catch (BindException e) {
|
} catch (BindException e) {
|
||||||
errorMessages.add(new BundleMessage("LOG_PROTOCOL_PORT", server.getProtocolName(), server.getPort()));
|
errorMessages.add(new BundleMessage("LOG_SOCKET_BIND_FAILED", server.getProtocolName(), server.getPort()));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
errorMessages.add(new BundleMessage("LOG_PROTOCOL_PORT", server.getProtocolName(), server.getPort()));
|
errorMessages.add(new BundleMessage("LOG_SOCKET_BIND_FAILED", server.getProtocolName(), server.getPort()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DavGatewayTray.info(new BundleMessage("LOG_DAVMAIL_GATEWAY_LISTENING", messages));
|
DavGatewayTray.info(new BundleMessage("LOG_DAVMAIL_GATEWAY_LISTENING", messages));
|
||||||
if (!errorMessages.isEmpty()) {
|
if (!errorMessages.isEmpty()) {
|
||||||
DavGatewayTray.error(new BundleMessage("LOG_SOCKET_BIND_FAILED", errorMessages));
|
DavGatewayTray.error(new BundleMessage("LOG_MESSAGE", errorMessages));
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for new version
|
// check for new version
|
||||||
@ -106,7 +106,7 @@ public class DavGateway {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void stop() {
|
public static void stop() {
|
||||||
for (AbstractServer server:serverList) {
|
for (AbstractServer server : serverList) {
|
||||||
server.close();
|
server.close();
|
||||||
try {
|
try {
|
||||||
server.join();
|
server.join();
|
||||||
|
@ -69,7 +69,7 @@ LOG_SEARCH_QUERY=Search: {0}
|
|||||||
LOG_SEND_CLIENT_MESSAGE=> {0}
|
LOG_SEND_CLIENT_MESSAGE=> {0}
|
||||||
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
||||||
LOG_SET_SOCKET_TIMEOUT=Set socket timeout to {0} seconds
|
LOG_SET_SOCKET_TIMEOUT=Set socket timeout to {0} seconds
|
||||||
LOG_SOCKET_BIND_FAILED=Unable to bind server socket to {0}: port not allowed or in use by another process
|
LOG_SOCKET_BIND_FAILED=Unable to bind server socket for {0} on port {1}: port not allowed or in use by another process\n
|
||||||
LOG_STOPPING_DAVMAIL=Stopping DavMail Gateway...
|
LOG_STOPPING_DAVMAIL=Stopping DavMail Gateway...
|
||||||
LOG_SWT_NOT_AVAILABLE=SWT not available, fallback to JDK 1.6 system tray support
|
LOG_SWT_NOT_AVAILABLE=SWT not available, fallback to JDK 1.6 system tray support
|
||||||
LOG_SYSTEM_TRAY_NOT_AVAILABLE=JDK 1.6 needed for system tray support
|
LOG_SYSTEM_TRAY_NOT_AVAILABLE=JDK 1.6 needed for system tray support
|
||||||
|
@ -69,7 +69,7 @@ LOG_SEARCH_QUERY=Recherche : {0}
|
|||||||
LOG_SEND_CLIENT_MESSAGE=> {0}
|
LOG_SEND_CLIENT_MESSAGE=> {0}
|
||||||
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
||||||
LOG_SET_SOCKET_TIMEOUT=Expiration de lecture de la connection positionnée à {0} secondes
|
LOG_SET_SOCKET_TIMEOUT=Expiration de lecture de la connection positionnée à {0} secondes
|
||||||
LOG_SOCKET_BIND_FAILED=Impossible d''ouvrir le port d''écoute {0} : port non autorisé ou utilisé par un autre processus
|
LOG_SOCKET_BIND_FAILED=Impossible d''ouvrir le port d''écoute {1} pour {0} : port non autorisé ou utilisé par un autre processus\n
|
||||||
LOG_STOPPING_DAVMAIL=Arrêt de la passerelle DavMail...
|
LOG_STOPPING_DAVMAIL=Arrêt de la passerelle DavMail...
|
||||||
LOG_SWT_NOT_AVAILABLE=SWT non disponible, bascule vers le support icône de notification de Java 1.6
|
LOG_SWT_NOT_AVAILABLE=SWT non disponible, bascule vers le support icône de notification de Java 1.6
|
||||||
LOG_SYSTEM_TRAY_NOT_AVAILABLE=JDK 1.6 nécessaire pour le support de l''icône de notification
|
LOG_SYSTEM_TRAY_NOT_AVAILABLE=JDK 1.6 nécessaire pour le support de l''icône de notification
|
||||||
|
Loading…
Reference in New Issue
Block a user