19 lines
		
	
	
		
			493 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			493 B
		
	
	
	
		
			JavaScript
		
	
	
	
// Spectrum Colorpicker
 | 
						|
// Simplified Chinese (zh-cn) localization
 | 
						|
// https://github.com/bgrins/spectrum
 | 
						|
 | 
						|
(function ( $ ) {
 | 
						|
 | 
						|
    var localization = $.spectrum.localization["zh-cn"] = {
 | 
						|
        cancelText: "取消",
 | 
						|
        chooseText: "选择",
 | 
						|
        clearText: "清除",
 | 
						|
        togglePaletteMoreText: "更多选项",
 | 
						|
        togglePaletteLessText: "隐藏",
 | 
						|
        noColorSelectedText: "尚未选择任何颜色"
 | 
						|
    };
 | 
						|
 | 
						|
    $.extend($.fn.spectrum.defaults, localization);
 | 
						|
 | 
						|
})( jQuery );
 |