From 5d36831f2255b97c20baabe72760030df746289d Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Tue, 11 Feb 2014 21:48:15 +0100 Subject: [PATCH] I18N for call history group name --- resources/languages/resources.properties | 1 + .../impl/callhistory/CallHistoryContactSource.java | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/languages/resources.properties b/resources/languages/resources.properties index ba86dd855..f5d63c6dc 100644 --- a/resources/languages/resources.properties +++ b/resources/languages/resources.properties @@ -85,6 +85,7 @@ service.gui.CALL=Call service.gui.CALL_CONTACT=Call contact service.gui.CALL_FAILED=Call failed service.gui.CALL_HISTORY_TOOL_TIP=Click here to show call history +service.gui.CALL_HISTORY_GROUP_NAME=Call history service.gui.CALL_VIA=Call via: service.gui.CALL_NAME_OR_NUMBER=Call name or number service.gui.CALL_NOT_SUPPORTING_PARTICIPANT=This call only supports participants from the {0} network and your {1} account. {2} does not contain any address for this network or account. diff --git a/src/net/java/sip/communicator/impl/callhistory/CallHistoryContactSource.java b/src/net/java/sip/communicator/impl/callhistory/CallHistoryContactSource.java index b18443028..dde0cb318 100644 --- a/src/net/java/sip/communicator/impl/callhistory/CallHistoryContactSource.java +++ b/src/net/java/sip/communicator/impl/callhistory/CallHistoryContactSource.java @@ -21,18 +21,14 @@ public class CallHistoryContactSource implements ContactSourceService { - /** - * The display name of this contact source. - */ - private static final String CALL_HISTORY_NAME = "Call history"; - /** * Returns the display name of this contact source. * @return the display name of this contact source */ public String getDisplayName() { - return CALL_HISTORY_NAME; + return CallHistoryActivator.getResources().getI18NString( + "service.gui.CALL_HISTORY_GROUP_NAME"); } /**