diff --git a/README_en.md b/README_en.md index 12cb457f..2f3a7f9a 100644 --- a/README_en.md +++ b/README_en.md @@ -56,7 +56,7 @@ 🌎 Platform support: **Windows** , **macOS**, **Linux** and **Web** -💡 Backup and Restore,Sync with your favorite cloud drive +💡 Backup and Restore, Sync with your favorite cloud drive 📝 Single-column, two-column, or continuous scrolling layouts diff --git a/package.json b/package.json index 78a2111d..98160e37 100644 --- a/package.json +++ b/package.json @@ -20,16 +20,12 @@ "font-list": "^1.2.11", "i18next": "^19.4.4", "i18next-browser-languagedetector": "^4.2.0", - "iconv-lite": "^0.6.2", "is-electron": "^2.2.0", "md5": "^2.3.0", - "onedrive-api": "^0.5.0", "qs": "^6.9.4", "react-device-detect": "^1.12.1", "react-dropzone": "^11.0.1", - "react-i18next": "^9.0.10", - "react-router-dom": "^5.2.0", - "underscore": "^1.11.0" + "react-i18next": "^9.0.10" }, "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", @@ -139,6 +135,8 @@ "@types/spark-md5": "^3.0.2", "@types/react-router-dom": "^5.1.6", "@types/underscore": "^1.10.24", + "react-router-dom": "^5.2.0", + "underscore": "^1.11.0", "classnames": "^2.2.6", "concurrently": "^5.0.1", "cross-env": "^6.0.3", @@ -148,6 +146,7 @@ "file-saver": "^2.0.2", "html-react-parser": "^0.13.0", "localforage": "^1.7.3", + "iconv-lite": "^0.6.2", "node-sass": "^4.13.0", "react": "^16.12.0", "react-dom": "^16.12.0", @@ -160,6 +159,7 @@ "source-map-explorer": "^2.5.0", "spark-md5": "^3.0.1", "typescript": "^3.8.3", + "onedrive-api": "^0.5.0", "wait-on": "^3.3.0" } } diff --git a/public/lib/pdf/compressed.tracemonkey-pldi-09.pdf b/public/lib/pdf/compressed.tracemonkey-pldi-09.pdf deleted file mode 100644 index 65570184..00000000 Binary files a/public/lib/pdf/compressed.tracemonkey-pldi-09.pdf and /dev/null differ diff --git a/src/assets/locales/cn/translation.json b/src/assets/locales/cn/translation.json index 08d2d9cb..7755a2a4 100644 --- a/src/assets/locales/cn/translation.json +++ b/src/assets/locales/cn/translation.json @@ -8,6 +8,7 @@ "My Digests": "我的书摘", "My Shelves": "我的书架", "Please continue in desktop version": "仅客户端版本支持", + "Only Desktop support this format": "仅客户端版本支持Mobi和TXT格式", "Book not exsit": "书籍不存在", "Delete this shelf": "删除此书架", "This action will clear and remove this shelf": "此操作会清空并删除此书架", diff --git a/src/assets/locales/en/translation.json b/src/assets/locales/en/translation.json index b3d7d598..606cc110 100644 --- a/src/assets/locales/en/translation.json +++ b/src/assets/locales/en/translation.json @@ -123,6 +123,7 @@ "Last Step": "Last Step", "Next Step": "Next Step", "Go To": "Go To", + "Only Desktop support this format": "Only Desktop support this format", "Delete from Shelf": "Delete from Shelf", "Delete Successfully": "Delete Successfully", "This action will delete all the notes, bookmarks and digests of this book": "This action will delete all the notes, bookmarks and digests of this book", diff --git a/src/assets/locales/tw/translation.json b/src/assets/locales/tw/translation.json index ff550314..d11d934d 100644 --- a/src/assets/locales/tw/translation.json +++ b/src/assets/locales/tw/translation.json @@ -191,5 +191,6 @@ "Current Chapter Pages": "本章页数", "Chapter Redirect": "章节跳转", "Continuous Scroll": "连续滚动", - "Chapter Scroll": "分章滚动" + "Chapter Scroll": "分章滚动", + "Only Desktop support this format": "仅客户端版本支持Mobi和TXT格式" } diff --git a/src/components/importLocal/component.tsx b/src/components/importLocal/component.tsx index e11f91b6..bdb1301c 100644 --- a/src/components/importLocal/component.tsx +++ b/src/components/importLocal/component.tsx @@ -169,7 +169,7 @@ class ImportLocal extends React.Component { }); } else if (extension === "mobi") { if (!isElectron()) { - this.props.handleMessage("Please continue in desktop version"); + this.props.handleMessage("Only Desktop support this format"); this.props.handleMessageBox(true); console.log("Error occurs"); reject(); @@ -197,7 +197,7 @@ class ImportLocal extends React.Component { reader.readAsArrayBuffer(file); } else if (extension === "txt") { if (!isElectron()) { - this.props.handleMessage("Please continue in desktop version"); + this.props.handleMessage("Only Desktop support this format"); this.props.handleMessageBox(true); console.log("Error occurs"); reject();