Ensure translations variable is set before use
This commit is contained in:
parent
a4fc1fa586
commit
9e26112d1a
|
@ -436,7 +436,7 @@ Util.Localisation = {
|
||||||
|
|
||||||
// Retrieve localised text
|
// Retrieve localised text
|
||||||
get: function (id) {
|
get: function (id) {
|
||||||
if (Language[id]) {
|
if (typeof Language !== 'undefined' && Language[id]) {
|
||||||
return Language[id];
|
return Language[id];
|
||||||
} else {
|
} else {
|
||||||
return id;
|
return id;
|
||||||
|
|
Loading…
Reference in New Issue