aboutsummaryrefslogtreecommitdiff
path: root/common/translation.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/translation.h')
-rw-r--r--common/translation.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/translation.h b/common/translation.h
index 5587d0eb92..523f2f4de7 100644
--- a/common/translation.h
+++ b/common/translation.h
@@ -161,6 +161,15 @@ public:
private:
/**
+ * Tries to find the given language or a derivate of it.
+ *
+ * @param lang Language string
+ * @return id of the language or -1 in case no matching language could
+ * be found.
+ */
+ int32 findMatchingLanguage(const String &lang);
+
+ /**
* Find the translations.dat file. It looks first using the SearchMan and
* then if needed using the Themepath. If found it opens the given File
* to read the translations.dat file.
@@ -190,7 +199,6 @@ private:
*/
bool checkHeader(File &in);
- String _syslang;
StringArray _langs;
StringArray _langNames;