From e563e2c2cc66fa9f3b47c4814d70f9800d957026 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 26 Apr 2010 20:06:23 -0700 Subject: Ported currency changes from Hippo (#237) and fixed some labels Hippo missed (also fixed #200 in the process) --- linden/indra/newview/hippoGridManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/hippoGridManager.cpp') diff --git a/linden/indra/newview/hippoGridManager.cpp b/linden/indra/newview/hippoGridManager.cpp index 9acdd69..60c33e8 100644 --- a/linden/indra/newview/hippoGridManager.cpp +++ b/linden/indra/newview/hippoGridManager.cpp @@ -13,6 +13,7 @@ #include #include #include +#include "lltrans.h" #include "llviewercontrol.h" #include "llweb.h" @@ -441,14 +442,14 @@ std::string HippoGridInfo::getDirectoryFee() const { std::string fee; formatFee(fee, mDirectoryFee, true); - if (fee != "free") fee += "/week"; + if (fee != LLTrans::getString("hippo_label_free")) fee += "/" + LLTrans::getString("hippo_label_week"); return fee; } void HippoGridInfo::formatFee(std::string &fee, int cost, bool showFree) const { if (showFree && (cost == 0)) { - fee = "free"; + fee = LLTrans::getString("hippo_label_free"); } else { fee = llformat("%s%d", getCurrencySymbol().c_str(), cost); } -- cgit v1.1