From 59687082078b3ed0e42794897731ea261939955f Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Sun, 25 Aug 2013 02:45:00 -0400 Subject: [PATCH] Fixed non-localizable strings in world map --- indra/newview/llworldmapview.cpp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index 66c395bd6..b9a729315 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -513,25 +513,7 @@ void LLWorldMapView::draw() static const LLCachedControl show_avs("LiruMapShowAvCount"); if (show_avs) mesg += llformat(" (%d)", info->getAgentCount()); - U8 access = info->getAccess(); - switch(access) - { - case SIM_ACCESS_MIN: - mesg += " (Min)"; - break; - case SIM_ACCESS_PG: - mesg += " (PG)"; - break; - case SIM_ACCESS_MATURE: - mesg += " (Mature)"; - break; - case SIM_ACCESS_ADULT: - mesg += " (Adult)"; - break; - default: - mesg += llformat(" (Access=%d)",access); - break; - } + mesg += llformat(" (%s)", info->getAccessString().c_str()); } // if (!mesg.empty()) // [RLVa:KB] - Checked: 2012-02-08 (RLVa-1.4.5) | Added: RLVa-1.4.5