nopCommerce 3.9 大波浪系列 之 汉化-Roxy Fileman
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nopCommerce 3.9 大波浪系列 之 汉化-Roxy Fileman相关的知识,希望对你有一定的参考价值。
官网:http://www.roxyfileman.com/
中文包:zh.json
1.将zh.json包拷贝到Nop.Admin项目中”Content\\Roxy_Fileman\\lang\\”下
2.conf.json修改”LANG”:”auto”
1 { 2 "CreateDir":"创建", 3 "RenameDir":"重命名", 4 "DeleteDir":"删除", 5 "AddFile":"添加文件", 6 "Preview":"预览", 7 "RenameFile":"重命名", 8 "DeleteFile":"删除", 9 "SelectFile":"选择", 10 "OrderBy":"排序", 11 "Name_asc":"↑ 名称", 12 "Size_asc":"↑ 大小", 13 "Date_asc":"↑ 日期", 14 "Name_desc":"↓ 名称", 15 "Size_desc":"↓ 大小", 16 "Date_desc":"↓ 日期", 17 "Name":"名称", 18 "Size":"大小", 19 "Date":"日期", 20 "Dimensions":"大小", 21 "Cancel":"取消", 22 "LoadingDirectories":"加载文件夹...", 23 "LoadingFiles":"加载文件...", 24 "DirIsEmpty":"空文件夹", 25 "NoFilesFound":"找不到文件", 26 "Upload":"上传", 27 "T_CreateDir":"创建文件夹", 28 "T_RenameDir":"重命名文件夹", 29 "T_DeleteDir":"删除选中的文件夹", 30 "T_AddFile":"上传文件", 31 "T_Preview":"预览选定的文件", 32 "T_RenameFile":"重命名文件", 33 "T_DeleteFile":"删除文件", 34 "T_SelectFile":"选择高亮显示文件", 35 "T_ListView":"列表视图", 36 "T_ThumbsView":"缩略图", 37 "Q_DeleteFolder":"删除选中的路径?", 38 "Q_DeleteFile":"删除选中的文件?", 39 "E_LoadingConf":"加载配置文件出错", 40 "E_ActionDisabled":"此操作已被禁用", 41 "E_LoadingAjax":"误差加载", 42 "E_MissingDirName":"文件名丢失", 43 "E_SelectFiles":"选择上传的文件", 44 "E_CannotRenameRoot":"根目录文件不能被重命名.", 45 "E_NoFileSelected":"没选中文件.", 46 "E_CreateDirFailed":"创建目录时出错", 47 "E_CreateDirInvalidPath":"不能创建目录 - 路径不存在", 48 "E_CannotDeleteDir":"删除路径是出错", 49 "E_DeleteDirInvalidPath":"不能删除此路径-路径不存在", 50 "E_DeletеFile":"删除文件是出错", 51 "E_DeleteFileInvalidPath":"不能删除文件 - 路径不存在", 52 "E_DeleteNonEmpty":"不能删除 - 文件非空", 53 "E_CannotMoveDirToChild":"不能将此目录移动到其子目录", 54 "E_DirAlreadyExists":"相同的路径已经存在", 55 "E_MoveDir":"移动目录时出错", 56 "E_MoveDirInvalisPath":"不能移动目录 - 目录不存在", 57 "E_MoveFile":"移动文件时出错", 58 "E_MoveFileInvalisPath":"不能移动文件 - 文件不存在", 59 "E_MoveFileAlreadyExists":"相同名字的文件已经存在", 60 "E_RenameDir":"重命名目录时出错", 61 "E_RenameDirInvalidPath":"不能重命名目录 - 路径不存在", 62 "E_RenameFile":"重命名文件时出错", 63 "E_RenameFileInvalidPath":"不能重命名文件 - 文件不存在", 64 "E_UploadNotAll":"上传文件时候出错. ", 65 "E_UploadNoFiles":"没有文件上传或者文件太大不能上传.", 66 "E_UploadInvalidPath":"不能上传文件 - 文件路径不存在", 67 "E_FileExtensionForbidden": "此种类型的文件不能被识别-不合法的扩展名 ", 68 "Download":"下载", 69 "DownloadFile":"下载", 70 "T_DownloadFile":"下载文件", 71 "E_CannotDeleteRoot":"不能删除根文件", 72 "file":"文件夹", 73 "files":"文档", 74 "Cut":"剪切", 75 "Copy":"复制", 76 "Paste":"粘贴", 77 "E_CopyFile":"复制文件时出错", 78 "E_CopyFileInvalisPath":"不能复制文件 - 文件路径不存在", 79 "E_CopyDirInvalidPath":"不能复制目录- 路径不存在", 80 "E_CreateArchive":"创建压缩文件时出错." 81 }
1 { 2 "FILES_ROOT": "~/Content/Images/uploaded", 3 "RETURN_URL_PREFIX": "", 4 "SESSION_PATH_KEY": "", 5 "THUMBS_VIEW_WIDTH": "140", 6 "THUMBS_VIEW_HEIGHT": "120", 7 "PREVIEW_THUMB_WIDTH": "300", 8 "PREVIEW_THUMB_HEIGHT":"200", 9 "MAX_IMAGE_WIDTH": "1000", 10 "MAX_IMAGE_HEIGHT": "1000", 11 "INTEGRATION": "tinymce4", 12 "DIRLIST": "../../../Admin/RoxyFileman/ProcessRequest?a=DIRLIST", 13 "CREATEDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=CREATEDIR", 14 "DELETEDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=DELETEDIR", 15 "MOVEDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=MOVEDIR", 16 "COPYDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=COPYDIR", 17 "RENAMEDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=RENAMEDIR", 18 "FILESLIST": "../../../Admin/RoxyFileman/ProcessRequest?a=FILESLIST", 19 "UPLOAD": "../../../Admin/RoxyFileman/ProcessRequest?a=UPLOAD", 20 "DOWNLOAD": "../../../Admin/RoxyFileman/ProcessRequest?a=DOWNLOAD", 21 "DOWNLOADDIR": "../../../Admin/RoxyFileman/ProcessRequest?a=DOWNLOADDIR", 22 "DELETEFILE": "../../../Admin/RoxyFileman/ProcessRequest?a=DELETEFILE", 23 "MOVEFILE": "../../../Admin/RoxyFileman/ProcessRequest?a=MOVEFILE", 24 "COPYFILE": "../../../Admin/RoxyFileman/ProcessRequest?a=COPYFILE", 25 "RENAMEFILE": "../../../Admin/RoxyFileman/ProcessRequest?a=RENAMEFILE", 26 "GENERATETHUMB": "../../../Admin/RoxyFileman/ProcessRequest?a=GENERATETHUMB", 27 "DEFAULTVIEW": "list", 28 "FORBIDDEN_UPLOADS": "zip js jsp jsb mhtml mht xhtml xht php phtml php3 php4 php5 phps shtml jhtml pl sh py cgi exe application gadget hta cpl msc jar vb jse ws wsf wsc wsh ps1 ps2 psc1 psc2 msh msh1 msh2 inf reg scf msp scr dll msi vbs bat com pif cmd vxd cpl htpasswd htaccess", 29 "ALLOWED_UPLOADS": "", 30 "FILEPERMISSIONS": "0644", 31 "DIRPERMISSIONS": "0755", 32 "LANG": "auto", 33 "DATEFORMAT": "dd/MM/yyyy HH:mm", 34 "OPEN_LAST_DIR": "yes" 35 }
汉化后
如果觉得汉化还不够彻底例如不想显示Roxy Fileman
可以修改RichEditor.cshtml或者~/Content/Roxy_Fileman/index.html
如果想了解nop是怎么实现Roxy Fileman请查阅Nop.Admin.Controllers.RoxyFilemanController
以上是关于nopCommerce 3.9 大波浪系列 之 汉化-Roxy Fileman的主要内容,如果未能解决你的问题,请参考以下文章
nopCommerce 3.9 大波浪系列 之 汉化-Roxy Fileman
nopCommerce 3.9 大波浪系列 之 global.asax
nopCommerce 3.9 大波浪系列 之 路由扩展 [多语言Seo的实现]
nopCommerce 3.9 大波浪系列 之 路由扩展 [多语言Seo的实现]