From 93345973a229445ff58be085d5f06dea1be5b862 Mon Sep 17 00:00:00 2001 From: ayumi-nishida Date: Mon, 16 Feb 2026 17:56:38 +0900 Subject: [PATCH 1/2] =?UTF-8?q?alert=E3=82=92=E3=83=88=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=83=88=E8=A1=A8=E7=A4=BA=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/search/Conditions.vue | 24 ++++++++++++++++--- nginx/ams/weko-frontend/locales/en.json | 6 ++++- nginx/ams/weko-frontend/locales/ja.json | 6 ++++- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/nginx/ams/weko-frontend/components/search/Conditions.vue b/nginx/ams/weko-frontend/components/search/Conditions.vue index a39c4e7db0..fed9c87b84 100644 --- a/nginx/ams/weko-frontend/components/search/Conditions.vue +++ b/nginx/ams/weko-frontend/components/search/Conditions.vue @@ -116,10 +116,16 @@ + + diff --git a/nginx/ams/weko-frontend/locales/en.json b/nginx/ams/weko-frontend/locales/en.json index c999da55e9..59724842cd 100644 --- a/nginx/ams/weko-frontend/locales/en.json +++ b/nginx/ams/weko-frontend/locales/en.json @@ -191,6 +191,10 @@ "loginFailed": "Failed to Login. Please contact server administrator.", "noUserInformation": "There is no user information.", "oauthError": "Login is required to view items. You will be automatically redirected to the login screen in {time} seconds. Login screen:" + }, + "popup": { + "copySuccess": "URL copied to clipboard.", + "copyFailed": "Copy failed." } }, "overview": "Overview", @@ -301,4 +305,4 @@ "identifierType": "identifier type", "Institutional Login for institutions in Japan.": "Institutional Login for institutions in Japan.", "needToLogin": "This item requires login." -} +} \ No newline at end of file diff --git a/nginx/ams/weko-frontend/locales/ja.json b/nginx/ams/weko-frontend/locales/ja.json index c70b54dd7d..1c1a356037 100644 --- a/nginx/ams/weko-frontend/locales/ja.json +++ b/nginx/ams/weko-frontend/locales/ja.json @@ -192,6 +192,10 @@ "loginFailed": "ログインに失敗しました。管理者に連絡してください。", "noUserInformation": "ユーザ情報がありません。", "oauthError": "アイテム閲覧にはログインが必要です。{time} 秒後にログイン画面に遷移します。ログイン画面:" + }, + "popup": { + "copySuccess": "URLをクリップボードにコピーしました。", + "copyFailed": "コピーに失敗しました。" } }, "overview": "概要", @@ -302,4 +306,4 @@ "identifierType": "識別子タイプ", "Institutional Login for institutions in Japan.": "所属機関のIdPでログインする方", "needToLogin": "ログインが必要なアイテムです。" -} +} \ No newline at end of file From ae7665e95a27ba4582a82ee80dbdd09056c2b2e2 Mon Sep 17 00:00:00 2001 From: ayumi-nishida Date: Mon, 16 Feb 2026 18:00:31 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A8=80=E8=AA=9E=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=81=AE=E3=82=AD=E3=83=BC=E5=90=8D=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/ams/weko-frontend/components/search/Conditions.vue | 4 ++-- nginx/ams/weko-frontend/locales/en.json | 2 +- nginx/ams/weko-frontend/locales/ja.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx/ams/weko-frontend/components/search/Conditions.vue b/nginx/ams/weko-frontend/components/search/Conditions.vue index fed9c87b84..09c25c9a0a 100644 --- a/nginx/ams/weko-frontend/components/search/Conditions.vue +++ b/nginx/ams/weko-frontend/components/search/Conditions.vue @@ -204,11 +204,11 @@ function copySearchCondition() { navigator.clipboard.writeText(copyURL).then( () => { toastData.value.loglevel = 'success'; - toastData.value.msgstr = t('message.popup.copySuccess'); + toastData.value.msgstr = t('message.copySearch.copySuccess'); }, () => { toastData.value.loglevel = 'error'; - toastData.value.msgstr = t('message.popup.copyFailed'); + toastData.value.msgstr = t('message.copySearch.copyFailed'); } ); isToast.value = true; diff --git a/nginx/ams/weko-frontend/locales/en.json b/nginx/ams/weko-frontend/locales/en.json index 59724842cd..08ac4ab747 100644 --- a/nginx/ams/weko-frontend/locales/en.json +++ b/nginx/ams/weko-frontend/locales/en.json @@ -192,7 +192,7 @@ "noUserInformation": "There is no user information.", "oauthError": "Login is required to view items. You will be automatically redirected to the login screen in {time} seconds. Login screen:" }, - "popup": { + "copySearch": { "copySuccess": "URL copied to clipboard.", "copyFailed": "Copy failed." } diff --git a/nginx/ams/weko-frontend/locales/ja.json b/nginx/ams/weko-frontend/locales/ja.json index 1c1a356037..ad531a6884 100644 --- a/nginx/ams/weko-frontend/locales/ja.json +++ b/nginx/ams/weko-frontend/locales/ja.json @@ -193,7 +193,7 @@ "noUserInformation": "ユーザ情報がありません。", "oauthError": "アイテム閲覧にはログインが必要です。{time} 秒後にログイン画面に遷移します。ログイン画面:" }, - "popup": { + "copySearch": { "copySuccess": "URLをクリップボードにコピーしました。", "copyFailed": "コピーに失敗しました。" }