mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
3ee8f505b7
The main benefit of this is so that authors who make use of .editorconfig don't end up with whitespace changes in their PRs. Spaces vs. tabs has been left alone, although that could do with a tidy-up in SS4 after the switch to PSR-1/2. The command used was this: for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" -exec sed -E -i '' 's/[[:space:]]+$//' {} \+ find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//' done
48 lines
2.9 KiB
JavaScript
48 lines
2.9 KiB
JavaScript
// This file was generated by silverstripe/cow from javascript/lang/src/zh.js.
|
||
// See https://github.com/tractorcow/cow for details
|
||
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
|
||
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
|
||
} else {
|
||
ss.i18n.addDictionary('zh', {
|
||
"VALIDATOR.FIELDREQUIRED": "请填写“%s”,该项目为必填项。",
|
||
"HASMANYFILEFIELD.UPLOADING": "正在上传... %s",
|
||
"TABLEFIELD.DELETECONFIRMMESSAGE": "是否确定删除该记录?",
|
||
"LOADING": "正在加载...",
|
||
"UNIQUEFIELD.SUGGESTED": "已将数值更改为 '%s' : %s",
|
||
"UNIQUEFIELD.ENTERNEWVALUE": "您需要在该字段中输入新的数值",
|
||
"UNIQUEFIELD.CANNOTLEAVEEMPTY": "该字段不得留空",
|
||
"RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "该字段中不得使用字符 '%s'",
|
||
"UPDATEURL.CONFIRM": "您是否希望我将 URL 更改为:\n\n%s/\n\n要更改 URL,请单击“确定”,要将 URL 保留为\n\n%s,请单击“取消”",
|
||
"UPDATEURL.CONFIRMURLCHANGED": "URL 已变为\n'%s'",
|
||
"FILEIFRAMEFIELD.DELETEFILE": "删除文件",
|
||
"FILEIFRAMEFIELD.UNATTACHFILE": "卸装文件",
|
||
"FILEIFRAMEFIELD.DELETEIMAGE": "删除图像",
|
||
"FILEIFRAMEFIELD.CONFIRMDELETE": "是否确定删除该文件?",
|
||
"LeftAndMain.IncompatBrowserWarning": "您的浏览器不兼容 CMS 接口。请使用 Internet Explorer 7、Google Chrome 10 或 Mozilla Firefox 3.5 以上版本。",
|
||
"GRIDFIELD.ERRORINTRANSACTION": "从服务器获取数据时出错\n请稍后重试。",
|
||
"HtmlEditorField.SelectAnchor": "请选择一个锚",
|
||
"UploadField.ConfirmDelete": "是否确定从服务器文件系统中删除该文件?",
|
||
"UploadField.PHP_MAXFILESIZE": "文件超出 upload_max_filesize(php.ini 指令)",
|
||
"UploadField.HTML_MAXFILESIZE": "文件超出 MAX_FILE_SIZE(HTML 表单指令)",
|
||
"UploadField.ONLYPARTIALUPLOADED": "文件仅被部分上传",
|
||
"UploadField.NOFILEUPLOADED": "未上传文件",
|
||
"UploadField.NOTMPFOLDER": "缺少临时文件夹",
|
||
"UploadField.WRITEFAILED": "未能将文件写至光盘",
|
||
"UploadField.STOPEDBYEXTENSION": "文件上传被分机停止",
|
||
"UploadField.TOOLARGE": "文件过大",
|
||
"UploadField.TOOSMALL": "文件过小",
|
||
"UploadField.INVALIDEXTENSION": "不允许使用拓展名",
|
||
"UploadField.MAXNUMBEROFFILESSIMPLE": "超出最大文件数",
|
||
"UploadField.UPLOADEDBYTES": "上传的字节数超出文件大小",
|
||
"UploadField.EMPTYRESULT": "文件上传结果为空",
|
||
"UploadField.LOADING": "正在加载...",
|
||
"UploadField.Editing": "正在编辑...",
|
||
"UploadField.Uploaded": "已上传",
|
||
"UploadField.OVERWRITEWARNING": "该文件名已被已有文件占用",
|
||
"TreeDropdownField.ENTERTOSEARCH": "按回车键搜索",
|
||
"TreeDropdownField.OpenLink": "打开",
|
||
"TreeDropdownField.FieldTitle": "选择",
|
||
"TreeDropdownField.SearchFieldTitle": "“选择”或“搜索”"
|
||
});
|
||
}
|