RLVa: Fixed localizability of RLVa notification strings

meow-7.2.2
Ansariel 2012-12-16 22:05:47 +01:00
parent 8d10478620
commit 6d5534b37f
3 changed files with 8 additions and 7 deletions

View File

@ -19,6 +19,7 @@
#include "llavatarname.h"
#include "llselectmgr.h"
#include "lltrans.h"
#include "llviewercontrol.h"
#include "rlvdefines.h"
@ -160,7 +161,7 @@ public:
static void notifyBlocked(const std::string& strNotifcation, const LLSD& sdArgs = LLSD());
static void notifyBlockedGeneric() { notifyBlocked(RLV_STRING_BLOCKED_GENERIC); }
static void notifyBlockedViewXXX(LLAssetType::EType assetType) { notifyBlocked(RLV_STRING_BLOCKED_VIEWXXX, LLSD().with("[TYPE]", LLAssetType::lookup(assetType))); }
static void notifyBlockedViewXXX(LLAssetType::EType assetType) { notifyBlocked(RLV_STRING_BLOCKED_VIEWXXX, LLSD().with("[TYPE]", LLTrans::getString(LLAssetType::lookupHumanReadable(assetType)))); }
static void notifyFailedAssertion(const std::string& strAssert, const std::string& strFile, int nLine);
static void sendBusyMessage(const LLUUID& idTo, const std::string& strMsg, const LLUUID& idSession = LLUUID::null);

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rlva_strings>
<rlva_strings name="rlv_root">
<strings>
<strings name="rlv_strings">
<!-- Primarily used when @showloc restricted -->
<string name="hidden_generic">(Hidden)</string>
<string name="hidden_parcel">(Hidden parcel)</string>
@ -37,7 +37,7 @@
</strings>
<!-- Generic names used to replace resident names when @shownames restricted -->
<anonyms>
<anonyms name="rlv_anonyms">
<anonym>A resident</anonym>
<anonym>This resident</anonym>
<anonym>That resident</anonym>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rlva_strings>
<strings>
<rlva_strings name="rlv_root">
<strings name="rlv_strings">
<string name="hidden_generic">(Ukryte)</string>
<string name="hidden_parcel">(Ukryta działka)</string>
<string name="hidden_region">(Ukryty region)</string>
@ -20,7 +20,7 @@
Rezydent, któremu zaproponowałeś/aś teleport ma uniemożliwione odbieranie ich na tą chwilę, spróbuj później.
</string>
</strings>
<anonyms>
<anonyms name="rlv_anonyms">
<anonym>Rezydent</anonym>
<anonym>Osoba</anonym>
<anonym>Nieznajomy</anonym>