From b5ee715f7fefdffa33ebe8de540d36519899d6fd Mon Sep 17 00:00:00 2001 From: Hyun Lee Date: Wed, 8 May 2013 17:59:51 +0900 Subject: [PATCH] Apply string localization for authentication popup Change-Id: I39eb7b1c8ebd0c76160da74fc211f8914c83b7ea Signed-off-by: Hyun Lee --- src/controls/FWebCtrl_AuthConfirmPopup.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/controls/FWebCtrl_AuthConfirmPopup.cpp b/src/controls/FWebCtrl_AuthConfirmPopup.cpp index ae32ed0..9182343 100755 --- a/src/controls/FWebCtrl_AuthConfirmPopup.cpp +++ b/src/controls/FWebCtrl_AuthConfirmPopup.cpp @@ -84,11 +84,11 @@ _AuthConfirmPopup::Construct(const String& host, const String& realm, Authentica Rectangle rect(0, 0, 0, 0); rect.width = pPopupData->popupDim.width; - rect.height = (5*pPopupData->spacePad) + (pPopupData->editDim.height*2) + pPopupData->btnDim.height + 2*pPopupData->labelDim.height; + rect.height = (5*pPopupData->spacePad) + (pPopupData->editDim.height*2) + pPopupData->btnDim.height + (2*pPopupData->labelDim.height); r = _WebPopup::Construct(true, Dimension(rect.width, rect.height)); SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); - SetTitleText("Authentication Required"); + SetTitleText(pSysResource->GetString(_RESOURCE_DOMAIN_ID_OSP, "IDS_BR_BODY_DESTINATIONS_AUTHENTICATION_REQUIRED")); //host realm label rect.height = 2*pPopupData->labelDim.height; @@ -96,9 +96,8 @@ _AuthConfirmPopup::Construct(const String& host, const String& realm, Authentica std::unique_ptr