From bfb5de1525c8877b466add7bdcc3a51ae12ab5ea Mon Sep 17 00:00:00 2001 From: zsviczian Date: Tue, 4 Feb 2025 21:25:13 +0100 Subject: [PATCH] 2.8.3 --- manifest-beta.json | 2 +- manifest.json | 2 +- package.json | 2 +- src/lang/helpers.ts | 1 + src/lang/locale/en.ts | 2 +- src/shared/Dialogs/Messages.ts | 6 ++++++ 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/manifest-beta.json b/manifest-beta.json index 5f19aee6..39cfc95b 100644 --- a/manifest-beta.json +++ b/manifest-beta.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "2.8.2", + "version": "2.8.3", "minAppVersion": "1.1.6", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/manifest.json b/manifest.json index d657505d..b52aaa18 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-excalidraw-plugin", "name": "Excalidraw", - "version": "2.8.2", + "version": "2.8.3", "minAppVersion": "1.1.6", "description": "An Obsidian plugin to edit and view Excalidraw drawings", "author": "Zsolt Viczian", diff --git a/package.json b/package.json index 57c22d0f..b59cba27 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.8", - "@zsviczian/excalidraw": "0.17.6-31", + "@zsviczian/excalidraw": "0.17.6-32", "chroma-js": "^2.4.2", "clsx": "^2.0.0", "@zsviczian/colormaster": "^1.2.2", diff --git a/src/lang/helpers.ts b/src/lang/helpers.ts index 88cc24c3..8fb4d6d4 100644 --- a/src/lang/helpers.ts +++ b/src/lang/helpers.ts @@ -9,6 +9,7 @@ declare var LZString: any; let locale: Partial | null = null; function loadLocale(lang: string): Partial { + if(lang === "zh") lang = "zh-cn"; //https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2247 if (Object.keys(PLUGIN_LANGUAGES).includes(lang)) { const decompressed = LZString.decompressFromBase64(PLUGIN_LANGUAGES[lang]); let x = {}; diff --git a/src/lang/locale/en.ts b/src/lang/locale/en.ts index 8063fa95..2e3f7763 100644 --- a/src/lang/locale/en.ts +++ b/src/lang/locale/en.ts @@ -33,7 +33,7 @@ export default { DUPLICATE_IMAGE: "Duplicate selected image with a different image ID", CONVERT_NOTE_TO_EXCALIDRAW: "Convert markdown note to Excalidraw Drawing", CONVERT_EXCALIDRAW: "Convert *.excalidraw to *.md files", - CREATE_NEW: "Create new drawing", + CREATE_NEW: "New drawing", CONVERT_FILE_KEEP_EXT: "*.excalidraw => *.excalidraw.md", CONVERT_FILE_REPLACE_EXT: "*.excalidraw => *.md (Logseq compatibility)", DOWNLOAD_LIBRARY: "Export stencil library as an *.excalidrawlib file", diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts index 41f7c713..4616a212 100644 --- a/src/shared/Dialogs/Messages.ts +++ b/src/shared/Dialogs/Messages.ts @@ -17,6 +17,12 @@ I develop this plugin as a hobby, spending my free time doing this. If you find
Buy Me a Coffee at ko-fi.com
`, +"2.8.3":` +## Fixed +- Chinese translation not available since 2.8.0. [#2247](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2247) +- Since the most recent Samsung Android update, adding images from the gallery returns an Unsupported Image Type error. [#2245](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2245) +- Duplicating/removing frame while children selected [#9079](https://github.com/excalidraw/excalidraw/pull/9079) +`, "2.8.2":` ## New - Moved "Create new drawing" option up in the context menu [#2243](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/2243)