10 lines
209 B
JavaScript
10 lines
209 B
JavaScript
|
(function () {
|
||
|
I18n.scopify = function (scope) {
|
||
|
return function (label, options) {
|
||
|
if (label.charAt(0) == '.')
|
||
|
label = scope + label;
|
||
|
return I18n.t(label, options);
|
||
|
}
|
||
|
};
|
||
|
})();
|