From 6934aaf14cc0b0a1e3b81f4939f5c3467a41bb77 Mon Sep 17 00:00:00 2001 From: su-su-su-su Date: Sun, 30 Jun 2024 23:45:31 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=83=80=E3=83=83=E3=82=B7=E3=83=A5?= =?UTF-8?q?=E3=83=9C=E3=83=BC=E3=83=89=E3=81=8B=E3=82=89=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=81=97=E3=81=9F=E9=9A=9B=E3=81=AE=E3=83=88=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=83=88=E6=96=87=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/components/BookmarksInDashboard.jsx | 2 +- test/system/home_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/components/BookmarksInDashboard.jsx b/app/javascript/components/BookmarksInDashboard.jsx index 9738973e12b..8b23efd7262 100644 --- a/app/javascript/components/BookmarksInDashboard.jsx +++ b/app/javascript/components/BookmarksInDashboard.jsx @@ -84,7 +84,7 @@ const Bookmark = ({ bookmark, editable, bookmarksUrl }) => { Bootcamp.delete(`/api/bookmarks/${id}.json`) .then((_response) => { mutate(bookmarksUrl) - toast('Bookmarkを削除しました。') + toast('ブックマークを削除しました。') }) .catch((error) => { console.warn(error) diff --git a/test/system/home_test.rb b/test/system/home_test.rb index 35f7e1d0a16..0bf663bc690 100644 --- a/test/system/home_test.rb +++ b/test/system/home_test.rb @@ -466,7 +466,7 @@ def assert_events_count(event_label, count) visit '/' first('.spec-bookmark-edit').click first('.js-bookmark-delete-button').click - assert_text 'Bookmarkを削除しました。' + assert_text 'ブックマークを削除しました。' assert_no_text '名前の長いメンター用' end From af9f0ee2926ab2da23d0212718d6103011ad5b61 Mon Sep 17 00:00:00 2001 From: su-su-su-su Date: Sun, 30 Jun 2024 23:46:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=96=E3=83=83=E3=82=AF=E3=83=9E?= =?UTF-8?q?=E3=83=BC=E3=82=AF=E3=81=97=E3=81=9F=E3=83=9A=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=8B=E3=82=89=E7=9B=B4=E6=8E=A5=E3=83=96=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=83=9E=E3=83=BC=E3=82=AF=E3=82=92=E5=89=8A=E9=99=A4=E3=81=97?= =?UTF-8?q?=E3=81=9F=E9=9A=9B=E3=81=AE=E3=83=88=E3=83=BC=E3=82=B9=E3=83=88?= =?UTF-8?q?=E6=96=87=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/components/BookmarkButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/components/BookmarkButton.jsx b/app/javascript/components/BookmarkButton.jsx index 9468d564988..e7e651b66ca 100644 --- a/app/javascript/components/BookmarkButton.jsx +++ b/app/javascript/components/BookmarkButton.jsx @@ -58,7 +58,7 @@ export default function BookmarkButton({ bookmarkableId, bookmarkableType }) { Bootcamp.delete(`/api/bookmarks/${bookmarkId}`) .then(() => { setIsBookmark(false) - toast.methods.toast('Bookmarkを削除しました') + toast.methods.toast('ブックマークを削除しました') }) .catch((error) => { console.warn(error)