Fixed non-localizable strings in world map
This commit is contained in:
@@ -513,25 +513,7 @@ void LLWorldMapView::draw()
|
|||||||
static const LLCachedControl<bool> show_avs("LiruMapShowAvCount");
|
static const LLCachedControl<bool> show_avs("LiruMapShowAvCount");
|
||||||
if (show_avs) mesg += llformat(" (%d)", info->getAgentCount());
|
if (show_avs) mesg += llformat(" (%d)", info->getAgentCount());
|
||||||
|
|
||||||
U8 access = info->getAccess();
|
mesg += llformat(" (%s)", info->getAccessString().c_str());
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// if (!mesg.empty())
|
// if (!mesg.empty())
|
||||||
// [RLVa:KB] - Checked: 2012-02-08 (RLVa-1.4.5) | Added: RLVa-1.4.5
|
// [RLVa:KB] - Checked: 2012-02-08 (RLVa-1.4.5) | Added: RLVa-1.4.5
|
||||||
|
|||||||
Reference in New Issue
Block a user