增强ckan的文件上载程序ui
ckanext-file-uploader-ui的Python项目详细描述
#ckanext-file上载程序用户界面
使用以下功能增强[CKAN]()文件上载用户界面:
- 一次上载多个文件
- 拖放文件
最低支持的CKAN版本:2.8.1
##安装
- 激活您的CKAN虚拟环境
- 将ckanext-file_uploader_ui包安装到虚拟环境中: *pip安装ckanext-file_uploader_ui
- 如果使用[xloader](https://github.com/ckan/ckanext-xloader)将数据加载到数据存储中 *安装此版本的xloader(直到[this pr](https://github.com/ckan/ckanext-xloader/pull/44)合并) *pip安装-u https://github.com/orihoch/ckanext xloader/archive/support modifying download request.zip;egg=ckanext xloader
- 将file_uploader_ui添加到ckan中的ckan.plugins设置
- 重启ckan。
##翻译
翻译在transifex中完成:https://www.transifex.com/the-public-knowledge-workshop/ckanext-file_uploader_ui
###更新翻译代码
更新.pot文件-应在模板中出现其他/修改过的字符串时执行此操作
` python setup.py extract_messages `
编辑.pot文件并删除core ckan字符串(只有在扩展core ckan模板时才会出现这些字符串)
将pot上传到transifex,在transifex上翻译
安装[transifex client](https://docs.transifex.com/client/installing-the-client)
` ./release.sh --update-translations `
测试更新的翻译并提交更改