Commit 3bc19c83 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[GATE-27] Couple more i18n strings.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5310 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6c0ea581
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -28,44 +28,54 @@
## REVISION HISTORY (by IM Gateway version):
##
## 0.1
## Added key: 'gateway.aim.name'
## Added key: 'gateway.aim.username'
## Added key: 'gateway.aim.password'
## Added key: 'gateway.aim.registration'
## Added key: 'gateway.icq.name'
## Added key: 'gateway.icq.username'
## Added key: 'gateway.icq.password'
## Added key: 'gateway.icq.registration'
## Added key: 'gateway.msn.name'
## Added key: 'gateway.msn.username'
## Added key: 'gateway.msn.password'
## Added key: 'gateway.msn.registration'
## Added key: 'gateway.yahoo.name'
## Added key: 'gateway.yahoo.username'
## Added key: 'gateway.yahoo.password'
## Added key: 'gateway.yahoo.registration'
## Added key: 'gateway.irc.name'
## Added key: 'gateway.irc.username'
## Added key: 'gateway.irc.password'
## Added key: 'gateway.irc.nickname'
## Added key: 'gateway.irc.registration'
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -4,26 +4,31 @@
## For a full changelog, refer to the English bundle, gateway_i18n_en.properties.
# AIM Transport
gateway.aim.name=AIM Transport
gateway.aim.username=ScreenName
gateway.aim.password=Password
gateway.aim.registration=Please enter your AIM ScreenName and password.
# ICQ Transport
gateway.icq.name=ICQ Transport
gateway.icq.username=UIN/ICQ#
gateway.icq.password=Password
gateway.icq.registration=Please enter your ICQ# (UIN) and password.
# MSN Transport
gateway.msn.name=MSN Transport
gateway.msn.username=E-Mail Address
gateway.msn.password=Password
gateway.msn.registration=Please enter your MSN Passport e-mail address and password.
# Yahoo Transport
gateway.yahoo.name=Yahoo! Transport
gateway.yahoo.username=Yahoo! ID
gateway.yahoo.password=Password
gateway.yahoo.registration=Please enter your Yahoo! ID and password.
# IRC Transport
gateway.irc.name=IRC Transport
gateway.irc.username=Username
gateway.irc.password=Password
gateway.irc.nickname=Nickname
......
......@@ -11,6 +11,7 @@
package org.jivesoftware.wildfire.gateway;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.LocaleUtils;
import org.jivesoftware.wildfire.container.Plugin;
import org.jivesoftware.wildfire.container.PluginManager;
import org.xmpp.component.ComponentManager;
......@@ -53,23 +54,23 @@ public class GatewayPlugin implements Plugin {
ComponentManager componentManager = ComponentManagerFactory.getComponentManager();
/* Set up AIM transport. */
transports.put("aim", new TransportInstance(TransportType.aim, "AIM Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport", componentManager));
transports.put("aim", new TransportInstance(TransportType.aim, LocaleUtils.getLocalizedString("gateway.aim.name", "gateway"), "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport", componentManager));
maybeStartService("aim");
/* Set up ICQ transport. */
transports.put("icq", new TransportInstance(TransportType.icq, "ICQ Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport", componentManager));
transports.put("icq", new TransportInstance(TransportType.icq, LocaleUtils.getLocalizedString("gateway.icq.name", "gateway"), "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport", componentManager));
maybeStartService("icq");
/* Set up IRC transport. */
transports.put("irc", new TransportInstance(TransportType.irc, "IRC Transport", "org.jivesoftware.wildfire.gateway.protocols.irc.IRCTransport", componentManager));
transports.put("irc", new TransportInstance(TransportType.irc, LocaleUtils.getLocalizedString("gateway.irc.name", "gateway"), "org.jivesoftware.wildfire.gateway.protocols.irc.IRCTransport", componentManager));
maybeStartService("irc");
/* Set up Yahoo transport. */
transports.put("yahoo", new TransportInstance(TransportType.yahoo, "Yahoo! Transport", "org.jivesoftware.wildfire.gateway.protocols.yahoo.YahooTransport", componentManager));
transports.put("yahoo", new TransportInstance(TransportType.yahoo, LocaleUtils.getLocalizedString("gateway.yahoo.name", "gateway"), "org.jivesoftware.wildfire.gateway.protocols.yahoo.YahooTransport", componentManager));
maybeStartService("yahoo");
/* Set up MSN transport. */
transports.put("msn", new TransportInstance(TransportType.msn, "MSN Transport", "org.jivesoftware.wildfire.gateway.protocols.msn.MSNTransport", componentManager));
transports.put("msn", new TransportInstance(TransportType.msn, LocaleUtils.getLocalizedString("gateway.msn.name", "gateway"), "org.jivesoftware.wildfire.gateway.protocols.msn.MSNTransport", componentManager));
maybeStartService("msn");
}
......
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