From 1b71b1c5280d85593f5eb11350729824dba3db3e Mon Sep 17 00:00:00 2001 From: Holger Bergunde Date: Fri, 25 Mar 2011 11:38:58 +0000 Subject: [PATCH] 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 --- .../jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java | 3 ++- src/resources/i18n/spark_i18n_de.properties | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java b/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java index 6ca757b5..5a08f5d6 100644 --- a/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java +++ b/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java @@ -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 { diff --git a/src/resources/i18n/spark_i18n_de.properties b/src/resources/i18n/spark_i18n_de.properties index a1bdf24c..bdb7c1ef 100644 --- a/src/resources/i18n/spark_i18n_de.properties +++ b/src/resources/i18n/spark_i18n_de.properties @@ -585,7 +585,7 @@ title.downloads = Downloads title.file.exists = Datei existiert title.disable.transport = Transport deaktivieren title.available.transports = Verfü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