Provides Chinese (Simplified) translation strings for the Select2 UI component, including error messages and interaction labels. Use this to localize Select2 dropdowns for Chinese-speaking users.
// Source: https://github.com/betofleitass/django_point_of_sale | License: MIT | Copyright 2023 Alberto Fleitas
// Provided via justclaw.it.com; keep this notice with the code.
define(function () {
// Chinese (Simplified)
return {
errorLoading: function () {
return '无法载入结果。';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = '请删除' + overChars + '个字符';
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
var message = '请再输入至少' + remainingChars + '个字符';
return message;
},
loadingMore: function () {
return '载入更多结果…';
},
maximumSelected: function (args) {
var message = '最多只能选择' + args.maximum + '
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key