mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05: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();
|
||||
messages.add(new BundleMessage("LOG_PROTOCOL_PORT", server.getProtocolName(), server.getPort()));
|
||||
} 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) {
|
||||
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));
|
||||
if (!errorMessages.isEmpty()) {
|
||||
DavGatewayTray.error(new BundleMessage("LOG_SOCKET_BIND_FAILED", errorMessages));
|
||||
DavGatewayTray.error(new BundleMessage("LOG_MESSAGE", errorMessages));
|
||||
}
|
||||
|
||||
// check for new version
|
||||
@ -106,7 +106,7 @@ public class DavGateway {
|
||||
}
|
||||
|
||||
public static void stop() {
|
||||
for (AbstractServer server:serverList) {
|
||||
for (AbstractServer server : serverList) {
|
||||
server.close();
|
||||
try {
|
||||
server.join();
|
||||
|
@ -69,7 +69,7 @@ LOG_SEARCH_QUERY=Search: {0}
|
||||
LOG_SEND_CLIENT_MESSAGE=> {0}
|
||||
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
||||
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_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
|
||||
|
@ -69,7 +69,7 @@ LOG_SEARCH_QUERY=Recherche : {0}
|
||||
LOG_SEND_CLIENT_MESSAGE=> {0}
|
||||
LOG_SEND_CLIENT_PREFIX_MESSAGE=> {0}{1}
|
||||
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_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user