diff --git a/frontend/src/components/Config/ConfigList.vue b/frontend/src/components/Config/ConfigList.vue index ed5b12d5..76a5f2aa 100644 --- a/frontend/src/components/Config/ConfigList.vue +++ b/frontend/src/components/Config/ConfigList.vue @@ -405,7 +405,7 @@ export default { }, { target: '#btn-run', - content: this.$t('You can run a spider task.

Spider will be automatically saved When clicking on this button.') + content: this.$t('You can run a spider task.

Spider will be automatically saved when clicking on this button.') }, { target: '.stage-item.actions', @@ -462,7 +462,7 @@ export default { // Spiderfile { target: '#tab-spiderfile', - content: this.$t('You can edit the Spiderfile here.

For more information, please refer to the Documentation.') + content: this.$t('You can edit the Spiderfile here.

For more information, please refer to the Documentation (Chinese).') } ], tourCallbacks: { diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index 9a7fefe8..41585438 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -434,6 +434,19 @@ docker run -d --restart always --name crawlab_worker \\ 'You can edit, save, rename
and delete the selected file
in this box.': '在这个栏位中,您可以
编辑、保存、重命名、
删除所选择的文件', 'Here you can add environment variables that will be passed to the spider program when running a task.': '这里您可以添加环境变量,这些环境变量会被传入运行的爬虫程序中', 'You can add, edit and delete schedules (cron jobs) for the spider.': '您可以添加、修改、删除爬虫的定时任务', + 'You can switch to each section of configurable spider.': '您可以切换到可配置爬虫的每一个部分', + 'Here is the starting URL of the spider.': '这里是爬虫的起始URL', + 'Here is the starting stage of the spider.

A Stage is basically a callback in the Scrapy spider.': '这里是爬虫的起始阶段

阶段就是 Scrapy 爬虫中的回调函数', + 'You can run a spider task.

Spider will be automatically saved when clicking on this button.': '您可以运行爬虫任务

点击该按钮会自动保存爬虫', + 'Add/duplicate/delete a stage.': '添加/复制/删除阶段', + 'Add/duplicate/delete an extract field in the stage.': '添加/复制/删除该阶段下的抓取字段', + 'You can decide whether this is a list page.

Click on the CSS/XPath tag to enter the selector expression for list items.
For example, "ul > li"': '您可以决定这是否为一个列表页

点击 CSS/XPath 标签来输入列表元素的选择器表达式
例如 "ul > li"', + 'You can decide whether this is a list page with pagination.

Click on the CSS/XPath tag to enter the selector expression for the pagination.
For example, "a.next"': '您可以决定这是否为一个含分页的列表页

点击 CSS/XPath 标签来输入分页的选择器表达式
例如 "a.next"', + 'You should enter necessary information for all fields in the stage.': '您应该输入该阶段下所有字段的信息', + 'If you have multiple stages, e.g. list page + detail page, you should select the next stage in the detail link\'s field.': '如果您有多个阶段,例如列表页+详情页,您应该在详情页链接字段中选择下一个阶段', + 'You can view the
visualization of the stage
workflow.': '您可以查看阶段工作流的
可视化界面', + 'You can add the settings here, which will be loaded in the Scrapy\'s settings.py file.

JSON and Array data are supported.': '您可以在这里添加设置,它们会在 Scrapy 中的 settings.py 中被加载

JSON 和数组都支持', + 'You can edit the Spiderfile here.

For more information, please refer to the Documentation (Chinese).': '您可以在这里编辑 Spiderfile

更多信息, 请参考 文档.', // 其他 'Star crawlab-team/crawlab on GitHub': '在 GitHub 上为 Crawlab 加星吧'