2013-04-03 12:10:24 +04:00
|
|
|
/**
|
|
|
|
* Select2 Japanese translation.
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['ja'] = {
|
2013-05-20 19:44:38 +04:00
|
|
|
formatNoMatches: function () { return "該当なし"; },
|
2013-04-03 12:10:24 +04:00
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "後" + n + "文字入れてください"; },
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "検索文字列が" + n + "文字長すぎます"; },
|
|
|
|
formatSelectionTooBig: function (limit) { return "最多で" + limit + "項目までしか選択できません"; },
|
|
|
|
formatLoadMore: function (pageNumber) { return "読込中・・・"; },
|
|
|
|
formatSearching: function () { return "検索中・・・"; }
|
2014-05-15 14:55:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['ja']);
|
|
|
|
);
|
2013-04-03 12:10:24 +04:00
|
|
|
})(jQuery);
|