From 242c923695937c62b7b403b33d754306d9b8a89c Mon Sep 17 00:00:00 2001 From: Antonio Facciolo Date: Thu, 19 Jul 2018 12:25:42 +0200 Subject: [PATCH] add en-US locale to select2 --- .../select2_locales/select2_locale_en-US.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backend/vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js diff --git a/backend/vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js b/backend/vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js new file mode 100644 index 0000000000..ea8564ce39 --- /dev/null +++ b/backend/vendor/assets/javascripts/solidus_admin/select2_locales/select2_locale_en-US.js @@ -0,0 +1,10 @@ +/** + * Select2 English US translations + */ +(function ($) { + "use strict"; + + $.fn.select2.locales['en-US'] = {}; + + $.extend($.fn.select2.defaults, $.fn.select2.locales['en-US']); +})(jQuery);