mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
18 lines
812 B
JavaScript
18 lines
812 B
JavaScript
|
/**
|
||
|
* Select2 Japanese translation.
|
||
|
*/
|
||
|
(function ($) {
|
||
|
"use strict";
|
||
|
|
||
|
$.fn.select2.locales['ja'] = {
|
||
|
formatNoMatches: function () { return "該当なし"; },
|
||
|
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 "検索中・・・"; }
|
||
|
};
|
||
|
|
||
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['ja']);
|
||
|
})(jQuery);
|