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
24 lines
1.9 KiB
JavaScript
24 lines
1.9 KiB
JavaScript
// This file was generated by silverstripe/cow from admin/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', {
|
||
"CMSMAIN.SELECTONEPAGE": "请至少选择一个页面",
|
||
"CMSMAIN.BATCH_UNPUBLISH_PROMPT": "您已选了{num}个页面。\n\n是否确定要取消发布",
|
||
"CMSMAIN.BATCH_PUBLISH_PROMPT": "您已选了{num}个页面。\n\n是否确定要发布?",
|
||
"CMSMAIN.BATCH_DELETE_PROMPT": "您已选了{num}个页面。\n\n是否确定要删除?",
|
||
"CMSMAIN.BATCH_ARCHIVE_PROMPT": "You have {num} page(s) selected.\n\nAre you sure you want to archive these pages?\n\nThese pages and all of their children pages will be unpublished and sent to the archive.",
|
||
"CMSMAIN.BATCH_RESTORE_PROMPT": "You have {num} page(s) selected.\n\nDo you really want to restore to stage?\n\nChildren of archived pages will be restored to the root level, unless those pages are also being restored.",
|
||
"CMSMAIN.BATCH_DELETELIVE_PROMPT": "You have {num} page(s) selected.\n\nDo you really want to delete these pages from live?",
|
||
"LeftAndMain.CONFIRMUNSAVED": "您确定要离开此页面?\n警告:您所做的更改尚未保存。\n请按“确定”继续,或“取消”留在当前页面。\n",
|
||
"LeftAndMain.CONFIRMUNSAVEDSHORT": "警告:您所做的更改尚未保存。",
|
||
"SecurityAdmin.BATCHACTIONSDELETECONFIRM": "您真的要删除 %s 小组吗?",
|
||
"ModelAdmin.SAVED": "已保存",
|
||
"ModelAdmin.REALLYDELETE": "您真的要删除吗?",
|
||
"ModelAdmin.DELETED": "已删除",
|
||
"ModelAdmin.VALIDATIONERROR": "验证错误",
|
||
"LeftAndMain.PAGEWASDELETED": "该页面已被删除。若要编辑一个页面,请在左边选择。"
|
||
});
|
||
}
|