dont fail if undefined is passed to Ox._

This commit is contained in:
j 2014-01-15 10:10:25 +00:00
parent 0fd84ba156
commit e836071a1e

View file

@ -69,7 +69,7 @@
Ox._ = function(value, options) {
var translation = translations[value];
log && log(value, translation);
translation = translation || value;
translation = translation || value || '';
return Ox.formatString(translation, options);
};