From a4a8f81dec3922eb890341ad2d9642fc79cb1033 Mon Sep 17 00:00:00 2001 From: booploops <49113086+booploops@users.noreply.github.com> Date: Tue, 1 Feb 2022 22:17:46 -0800 Subject: [PATCH] added copied to clipboard notice --- src/i18n/en_US.jsonc | 1 + src/renderer/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/i18n/en_US.jsonc b/src/i18n/en_US.jsonc index 0436c4e7..d8e8c89f 100644 --- a/src/i18n/en_US.jsonc +++ b/src/i18n/en_US.jsonc @@ -60,6 +60,7 @@ "term.mute": "Mute", "term.unmute": "Unmute", "term.share": "Share", + "term.share.success": "Copied to clipboard", "term.settings": "Settings", "term.seeAll": "See All", "term.sortBy": "Sort By", diff --git a/src/renderer/index.js b/src/renderer/index.js index eab1cdc9..bda90a32 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -971,6 +971,7 @@ const app = new Vue({ }) }, copyToClipboard(str) { + notyf.success(app.getLz('term.share.success')) navigator.clipboard.writeText(str) }, newPlaylist(name = app.getLz('term.newPlaylist'), tracks = []) {