fix sync terminate when item wrong

This commit is contained in:
wanxp 2024-05-16 18:34:50 +08:00
parent 910dbd30d9
commit 441345ebb8
5 changed files with 12 additions and 9 deletions

@ -1,7 +1,7 @@
{ {
"id": "obsidian-douban-plugin", "id": "obsidian-douban-plugin",
"name": "Douban", "name": "Douban",
"version": "2.0.4", "version": "2.0.5",
"minAppVersion": "0.12.0", "minAppVersion": "0.12.0",
"description": "This is a plugin that can import movies/books/musics/notes/games info data from Douban for Obsidian .", "description": "This is a plugin that can import movies/books/musics/notes/games info data from Douban for Obsidian .",
"author": "Wanxp", "author": "Wanxp",

@ -1,6 +1,6 @@
{ {
"name": "obsidian-douban-plugin", "name": "obsidian-douban-plugin",
"version": "2.0.4", "version": "2.0.5",
"description": "This is a plugin for Obsidian (https://obsidian.md) that can import data from Douban (https://www.douban.com/).", "description": "This is a plugin for Obsidian (https://obsidian.md) that can import data from Douban (https://www.douban.com/).",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

@ -214,8 +214,9 @@ PS: This file could be delete if you want to.
'121430': `Save Attachment File`, '121430': `Save Attachment File`,
'121431': `Save attachment file to local disk, such as image ? If you do not enable this feature, it will not show cover image in note`, '121431': `Save attachment file to local disk, such as image ? If you do not enable this feature, it will not show cover image in note`,
'121432': `Attachment folder`, '121432': `Attachment folder`,
'121433': `Attachment file created from Obsidian-Douban will be placed in this folder, If blank, they will be placed in the default location for this vault. example: {{myType}}/attachments`, '121433': `Attachment file created from Obsidian-Douban will be placed in this folder,
'121434': `assets`, If blank, they will be created by default name. support all basic template variables. example: {{type}}/assets`,
'121434': `assets`,
'121435': `Save High Definition Cover`, '121435': `Save High Definition Cover`,
'121436': `High Definition Cover looks better but it will take more space, and you must login douban in this plugin`, '121436': `High Definition Cover looks better but it will take more space, and you must login douban in this plugin`,
'121437': `Please login first, Then this function could be enable`, '121437': `Please login first, Then this function could be enable`,
@ -232,7 +233,7 @@ PS: This file could be delete if you want to.
'121503': `Default Folder`, '121503': `Default Folder`,
'121601': `Note Name`, '121601': `Note Name`,
'121602': `Nodes created from Obsidian-Douban will use this fileName as template(also support filePath), '121602': `Nodes created from Obsidian-Douban will use this fileName as template(also support filePath), and support
If blank, they will be created by default name. support all basic template variables. example: {{type}}/{{title}}`, If blank, they will be created by default name. support all basic template variables. example: {{type}}/{{title}}`,
'121604': `Note Path Previous`, '121604': `Note Path Previous`,
'120603': `Display Preview`, '120603': `Display Preview`,
@ -280,6 +281,7 @@ PS: This file could be delete if you want to.
'130107': `Can not find array setting for {1} in {0} , Please add it in array settings`, '130107': `Can not find array setting for {1} in {0} , Please add it in array settings`,
'130108': `Redirect times too much, please check your network or proxy`, '130108': `Redirect times too much, please check your network or proxy`,
'130120': `An error occurred during Sync, but Sync will continue. Error item is {}`,
'140201': `[OB-Douban]: searching '{0}'...`, '140201': `[OB-Douban]: searching '{0}'...`,
'140202': `[OB-Douban]: result {0} rows`, '140202': `[OB-Douban]: result {0} rows`,

@ -110,7 +110,7 @@ export default {
'1204': `配置对应类型的模板文件, 如果为空则使用默认模板. 模板可使用的参数列举在最下面.👇 `, '1204': `配置对应类型的模板文件, 如果为空则使用默认模板. 模板可使用的参数列举在最下面.👇 `,
'1205': `🧡提示: 建议点击右侧'复制'默认模板按钮, 然后在新建的文件中粘贴修改模板, 最后回到此处选择对应模板. `, '1205': `🧡提示: 建议点击右侧'复制'默认模板按钮, 然后在新建的文件中粘贴修改模板, 最后回到此处选择对应模板. `,
'1240': `自定义属性`, '1240': `自定义属性`,
'1241': `自定义参数使用时请用'{{}}'包裹, 举例: 参数myType, 则使用时为{{myType}}. `, '1241': `自定义参数,值本身也支持使用参数如myTitle:《{{title}}》。在模板中使用参数时请用'{{}}'包裹, 举例: 参数myType, 则使用时为{{myType}}. `,
'1242': `添加自定义参数, 参数可用于模板中或者文件名中. `, '1242': `添加自定义参数, 参数可用于模板中或者文件名中. `,
'1250': `高级设置`, '1250': `高级设置`,
'1252': `一些运行时的高级配置如开启debug模式`, '1252': `一些运行时的高级配置如开启debug模式`,
@ -235,7 +235,7 @@ export default {
'121430': `保存图片附件`, '121430': `保存图片附件`,
'121431': `导入数据会同步保存图片附件到本地文件夹, 如电影封面,书籍封面。如果需要显示封面,请保持开启该功能。`, '121431': `导入数据会同步保存图片附件到本地文件夹, 如电影封面,书籍封面。如果需要显示封面,请保持开启该功能。`,
'121432': `附件存放位置`, '121432': `附件存放位置`,
'121433': `保存的附件将会存放至该文件夹中. 如果为空, 笔记将会存放到默认位置(assets)。如:{{myType}}/attachments`, '121433': `保存的附件将会存放至该文件夹中. 如果为空, 笔记将会存放到默认位置(assets), 且支持所有'通用'的参数。如:{{myType}}/attachments`,
'121434': `assets`, '121434': `assets`,
'121435': `保存高清封面`, '121435': `保存高清封面`,
'121436': `高清封面图片质量更高清晰度更好, 需要您在此插件 登录豆瓣 才能生效, 若未登录则默认使用低精度版本封面`, '121436': `高清封面图片质量更高清晰度更好, 需要您在此插件 登录豆瓣 才能生效, 若未登录则默认使用低精度版本封面`,
@ -278,7 +278,7 @@ export default {
'130105': `由于多次频繁请求数据,豆瓣当前暂时不可用. 请于12小时或24小时后再重试或重置你的网络(如重新拨号或更换网络) `, '130105': `由于多次频繁请求数据,豆瓣当前暂时不可用. 请于12小时或24小时后再重试或重置你的网络(如重新拨号或更换网络) `,
'130106': `请尝试在Douban插件中登录后操作. 若还是无效果则尝试于12小时或24小时后再重试或重置你的网络(如重新拨号或更换网络) `, '130106': `请尝试在Douban插件中登录后操作. 若还是无效果则尝试于12小时或24小时后再重试或重置你的网络(如重新拨号或更换网络) `,
'130107': `参数{0}中指定的数组输出类型{1}不存在,请前往配置进行设置`, '130107': `参数{0}中指定的数组输出类型{1}不存在,请前往配置进行设置`,
'130120': `同步时发生错误,但同步将会继续。错误项目是 {}。`,
'140201': `[OB-Douban]: 开始搜索'{0}'...`, '140201': `[OB-Douban]: 开始搜索'{0}'...`,
'140202': `[OB-Douban]: 搜索条数{0}条`, '140202': `[OB-Douban]: 搜索条数{0}条`,

@ -49,6 +49,7 @@
"2.0.1": "0.12.0", "2.0.1": "0.12.0",
"2.0.2": "0.12.0", "2.0.2": "0.12.0",
"2.0.3": "0.12.0", "2.0.3": "0.12.0",
"2.0.4": "0.12.0" "2.0.4": "0.12.0",
"2.0.5": "0.12.0"
} }