SPARK-1264 transport tab uses the resource title.transports as title from i18n files

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12181 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Holger Bergunde
2011-03-25 11:38:58 +00:00
committed by holger.bergunde
parent 713cb1c009
commit 1b71b1c528
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@
package org.jivesoftware.sparkimpl.plugin.gateways;
import org.jivesoftware.Spark;
import org.jivesoftware.resource.Res;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.smack.PacketListener;
import org.jivesoftware.smack.filter.OrFilter;
@ -103,7 +104,7 @@ public class GatewayPlugin implements Plugin, ContactItemHandler {
if (TransportUtils.getTransports().size() > 0 ) {
if(useTab)
{
SparkManager.getWorkspace().getWorkspacePane().addTab("Transports", SparkRes.getImageIcon(SparkRes.TRANSPORT_ICON), transferTab);
SparkManager.getWorkspace().getWorkspacePane().addTab(Res.getString("title.transports"), SparkRes.getImageIcon(SparkRes.TRANSPORT_ICON), transferTab);
}
else
{

View File

@ -585,7 +585,7 @@ title.downloads = Downloads
title.file.exists = Datei existiert
title.disable.transport = Transport deaktivieren
title.available.transports = Verf<EFBFBD>gbare Transport Protokolle
title.transports = Transport Protokolle
title.transports = Transports
title.aim.registration = AIM Registrierung
title.msn.registration = MSN Registrierung
title.yahoo.registration = Yahoo Registrierung