Eliminado el soporte de discord.
Corrección de nombres y typos. Eliminación de código innecesario. Depuración archivos de idiomas.
This commit is contained in:
@@ -1391,63 +1391,6 @@ void LLPanelProfileSecondLife::fillAccountStatus(const LLAvatarData* avatar_data
|
||||
args["[ACCTTYPE]"] = LLAvatarPropertiesProcessor::accountType(avatar_data);
|
||||
args["[PAYMENTINFO]"] = LLAvatarPropertiesProcessor::paymentInfo(avatar_data);
|
||||
|
||||
// <FS:Ansariel> FSData support
|
||||
args["[FIRESTORM]"] = "";
|
||||
args["[FSSUPP]"] = "";
|
||||
args["[FSDEV]"] = "";
|
||||
args["[FSQA]"] = "";
|
||||
args["[FSGW]"] = "";
|
||||
S32 flags = FSData::getInstance()->getAgentFlags(avatar_data->avatar_id);
|
||||
if (flags != -1)
|
||||
{
|
||||
bool separator = false;
|
||||
std::string text;
|
||||
if (flags & (FSData::DEVELOPER | FSData::SUPPORT | FSData::QA | FSData::GATEWAY))
|
||||
{
|
||||
args["[FIRESTORM]"] = LLTrans::getString("APP_NAME");
|
||||
}
|
||||
|
||||
if (flags & FSData::DEVELOPER)
|
||||
{
|
||||
text = getString("FSDev");
|
||||
args["[FSDEV]"] = text;
|
||||
separator = true;
|
||||
}
|
||||
|
||||
if (flags & FSData::SUPPORT)
|
||||
{
|
||||
text = getString("FSSupp");
|
||||
if (separator)
|
||||
{
|
||||
text = " /" + text;
|
||||
}
|
||||
args["[FSSUPP]"] = text;
|
||||
separator = true;
|
||||
}
|
||||
|
||||
if (flags & FSData::QA)
|
||||
{
|
||||
text = getString("FSQualityAssurance");
|
||||
if (separator)
|
||||
{
|
||||
text = " /" + text;
|
||||
}
|
||||
args["[FSQA]"] = text;
|
||||
separator = true;
|
||||
}
|
||||
|
||||
if (flags & FSData::GATEWAY)
|
||||
{
|
||||
text = getString("FSGW");
|
||||
if (separator)
|
||||
{
|
||||
text = " /" + text;
|
||||
}
|
||||
args["[FSGW]"] = text;
|
||||
}
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
std::string caption_text = getString("CaptionTextAcctInfo", args);
|
||||
getChild<LLUICtrl>("account_info")->setValue(caption_text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user