[RLVa] rlva_strings update.
rlva strings floater coming soon! I highly doubt the translations work anymore If they still can be translated, I leave it up to translators to decide if they should be Contact me if you need translation code improved here.
This commit is contained in:
@@ -128,20 +128,25 @@ class RlvStrings
|
||||
{
|
||||
public:
|
||||
static void initClass();
|
||||
static void loadFromFile(const std::string& strFilePath, bool fDefault);
|
||||
static void saveToFile(const std::string& strFilePath);
|
||||
|
||||
static const std::string& getAnonym(const LLAvatarName& avName); // @shownames
|
||||
static const std::string& getAnonym(const std::string& strName); // @shownames
|
||||
static const std::string& getBehaviourNotificationString(ERlvBehaviour eBhvr, ERlvParamType eType);
|
||||
static const std::string& getString(const std::string& strStringName);
|
||||
static const char* getStringFromReturnCode(ERlvCmdRet eRet);
|
||||
static const std::string& getStringMapPath() { return m_StringMapPath; }
|
||||
static std::string getVersion(bool fLegacy = false); // @version
|
||||
static std::string getVersionAbout(); // Shown in Help / About
|
||||
static std::string getVersionNum(); // @versionnum
|
||||
static bool hasString(const std::string& strStringName);
|
||||
static bool hasString(const std::string& strStringName, bool fCheckCustom = false);
|
||||
static void setCustomString(const std::string& strStringName, const std::string& strStringValue);
|
||||
|
||||
protected:
|
||||
static std::vector<std::string> m_Anonyms;
|
||||
static std::map<std::string, std::string> m_StringMap;
|
||||
typedef std::map<std::string, std::list<std::string> > string_map_t;
|
||||
static string_map_t m_StringMap;
|
||||
static std::string m_StringMapPath;
|
||||
};
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user