This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/assets/javascripts/i18n_scopify.js
2013-10-26 18:06:58 -05:00

10 lines
209 B
JavaScript
Executable File

(function () {
I18n.scopify = function (scope) {
return function (label, options) {
if (label.charAt(0) == '.')
label = scope + label;
return I18n.t(label, options);
}
};
})();