diff --git a/frontend/components/sync-clipboard.tsx b/frontend/components/sync-clipboard.tsx index 0ec7e1b..33aa69a 100644 --- a/frontend/components/sync-clipboard.tsx +++ b/frontend/components/sync-clipboard.tsx @@ -46,7 +46,7 @@ export default function SyncClipboard() { let initLogs = [ { level: Level.Warn, - message: t("logs.clickToSync"), + message: t("logs.pressToSync"), }, ]; const recommendedBrowsers = [ @@ -135,8 +135,8 @@ export default function SyncClipboard() { if (browserName.includes("Safari")) { setStatus("interrupted-r"); - addLog(t("logs.clickAgain"), Level.Warn); - addLog(t("logs.clickPaste"), Level.Warn); + addLog(t("logs.pressAgain"), Level.Warn); + addLog(t("logs.pressPaste"), Level.Warn); return; } @@ -176,7 +176,7 @@ export default function SyncClipboard() { blob: blob, }); setStatus("interrupted-w"); - addLog(t("logs.clickAgain"), Level.Warn); + addLog(t("logs.pressAgain"), Level.Warn); return; } diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 30a417b..d0b655c 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -52,7 +52,7 @@ "fileInputText": "Choose a file" }, "logs": { - "clickToSync": "Click the button to sync clipboard 👉", + "pressToSync": "Press the button to sync clipboard 👉", "fetching": "Fetching...", "upToDate": "Already up to date.", "readSuccess": "Read data from the clipboard successfully.", @@ -60,8 +60,8 @@ "autoDownload": "File download should start shortly. if not, please click the file link below.", "denyRead": "Not allowed to read clipboard!", "fileTooLarge": "Sorry, the file cannot exceed 10mb!", - "clickAgain": "Click again due to browser security policies 👉", - "clickPaste": "If the \"Paste\" appears on the page, click it to allow reading the clipboard.", + "pressAgain": "Press again due to browser security policies 👉", + "pressPaste": "If the \"Paste\" appears, press it to allow reading the clipboard.", "unchanged": "Clipboard unchanged.", "uploading": "Uploading...", "uploaded": "Uploaded {type}({index}).", diff --git a/frontend/messages/zh.json b/frontend/messages/zh.json index 2e65059..374faa1 100644 --- a/frontend/messages/zh.json +++ b/frontend/messages/zh.json @@ -52,7 +52,7 @@ "fileInputText": "选择一个文件" }, "logs": { - "clickToSync": "点击按钮同步剪切板 👉", + "pressToSync": "按下按钮同步剪切板 👉", "fetching": "正在获取...", "upToDate": "已经是最新.", "readSuccess": "成功读取剪切板.", @@ -60,8 +60,8 @@ "autoDownload": "文件会很快自动下载. 如果没有, 点击下面的文件链接.", "denyRead": "不允许读取剪切板!", "fileTooLarge": "对不起, 文件大小不能超过10mb!", - "clickAgain": "因为浏览器安全策略, 请再次点击 👉", - "clickPaste": "如果页面出现\"粘贴\", 点击它以允许读取剪切板.", + "pressAgain": "因为浏览器安全策略, 请再次按下 👉", + "pressPaste": "如果出现\"粘贴\"按钮, 按下它以允许读取剪切板.", "unchanged": "剪切板没有改变.", "uploading": "正在上传...", "uploaded": "已上传 {type}({index}).", diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6ab102b..d73601c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "gcopy", - "version": "1.2.15", + "version": "1.2.16", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gcopy", - "version": "1.2.15", + "version": "1.2.16", "dependencies": { "@formatjs/intl-localematcher": "^0.5.4", "@heroicons/react": "^2.1.1", diff --git a/frontend/package.json b/frontend/package.json index 2137511..16c08d5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "gcopy", - "version": "1.2.15", + "version": "1.2.16", "private": true, "scripts": { "dev": "next dev -p 3375 --experimental-https", diff --git a/version.txt b/version.txt index d5c2e7c..fcde3e9 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.2.15 \ No newline at end of file +v1.2.16 \ No newline at end of file