diff --git a/enjoy/package.json b/enjoy/package.json index 73647f55..b8fc060d 100644 --- a/enjoy/package.json +++ b/enjoy/package.json @@ -135,7 +135,6 @@ "sequelize-typescript": "^2.1.6", "sqlite3": "^5.1.7", "tailwind-scrollbar-hide": "^1.1.7", - "ts-key-enum": "^2.0.12", "umzug": "^3.5.0", "wavesurfer.js": "^7.6.3", "zod": "^3.22.4" diff --git a/enjoy/src/i18n/en.json b/enjoy/src/i18n/en.json index 69fccef2..17441c2b 100644 --- a/enjoy/src/i18n/en.json +++ b/enjoy/src/i18n/en.json @@ -201,6 +201,10 @@ "resetAll": "Reset All", "resetAllConfirmation": "It will remove all of your personal data, are you sure?", "logoutAndRemoveAllPersonalData": "Logout and remove all personal data", + "hotkeys": "Hotkeys", + "quitApp": "Quit APP", + "openPreferences": "Open preferences", + "playOrPause": "Play or pause", "about": "About", "currentVersion": "Current version", "checkUpdate": "Check update", diff --git a/enjoy/src/i18n/zh-CN.json b/enjoy/src/i18n/zh-CN.json index 6870f263..ada25107 100644 --- a/enjoy/src/i18n/zh-CN.json +++ b/enjoy/src/i18n/zh-CN.json @@ -201,6 +201,10 @@ "resetAll": "重置所有", "resetAllConfirmation": "这将删除您的所有个人数据, 您确定要重置吗?", "logoutAndRemoveAllPersonalData": "退出登录并删除所有个人数据", + "hotkeys": "快捷键", + "quitApp": "退出应用", + "openPreferences": "打开设置", + "playOrPause": "播放/暂停", "about": "关于", "currentVersion": "当前版本", "checkUpdate": "检查更新", diff --git a/enjoy/src/main.ts b/enjoy/src/main.ts index 53944ae6..4f51ed9c 100644 --- a/enjoy/src/main.ts +++ b/enjoy/src/main.ts @@ -50,10 +50,6 @@ app.on("ready", async () => { }); mainWindow.init(); - - globalShortcut.register("CommandOrControl+Shift+I", () => { - mainWindow.win.webContents.toggleDevTools(); - }); }); // Quit when all windows are closed, except on macOS. There, it's common diff --git a/enjoy/src/main/db/models/audio.ts b/enjoy/src/main/db/models/audio.ts index 751d24ce..95ebc4b1 100644 --- a/enjoy/src/main/db/models/audio.ts +++ b/enjoy/src/main/db/models/audio.ts @@ -208,6 +208,12 @@ export class Audio extends Model