From bf435a79408d89072f5872ab98449949a8a077b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Feb 2012 15:53:55 +0300 Subject: Add own translation system. --- src/utils/xml.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/xml.h') diff --git a/src/utils/xml.h b/src/utils/xml.h index f623fa618..eb5ee88b0 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -91,6 +91,12 @@ namespace XML std::string getProperty(XmlNodePtr node, const char *name, const std::string &def); + /** + * Gets a translated string property from an XmlNodePtr. + */ + std::string langProperty(XmlNodePtr node, const char *name, + const std::string &def); + /** * Gets a boolean property from an XmlNodePtr. */ -- cgit v1.2.3-70-g09d2