20fcaa4449
This adds a custom r.js build for i18n, which processes each JS file in the `select2/i18n` directory and builds it. So far only the "No results found" translation has been added.
1 line
295 B
JavaScript
1 line
295 B
JavaScript
(function(){$&&$.fn&&$.fn.select2&&$.fn.select2.amd&&(define=$.fn.select2.amd.define,require=$.fn.select2.amd.require),define("select2/i18n/en",[],function(){return{no_results:function(){return"No results found"}}}),require("jquery.select2"),$.fn.select2.amd={define:define,require:require}})(); |