since it's not team-specific (and never really was).
};
+// Translation function.
+mkws.M = function (word) {
+ var lang = mkws.config.lang;
+
+ if (!lang || !mkws.locale_lang[lang])
+ return word;
+
+ return mkws.locale_lang[lang][word] || word;
+};
+
+
// This function is taken from a StackOverflow answer
// http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript/901144#901144
mkws.getParameterByName = function(name) {
};
- // Translation function.
- mkws.M = function (word) {
- var lang = mkws.config.lang;
- log("in M('" + word + "'), lang=" + lang);
-
- if (!lang || !mkws.locale_lang[lang])
- return word;
-
- return mkws.locale_lang[lang][word] || word;
- };
-
-
// Finds the node of the specified class within the current team
function findnode(selector, teamName) {
teamName = teamName || m_teamName;