dont fail if undefined is passed to Ox._
This commit is contained in:
parent
0fd84ba156
commit
e836071a1e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
Ox._ = function(value, options) {
|
Ox._ = function(value, options) {
|
||||||
var translation = translations[value];
|
var translation = translations[value];
|
||||||
log && log(value, translation);
|
log && log(value, translation);
|
||||||
translation = translation || value;
|
translation = translation || value || '';
|
||||||
return Ox.formatString(translation, options);
|
return Ox.formatString(translation, options);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue