From cce7a8da8f5f27a59a3089ef2e440f6e929db711 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 31 Jul 2022 02:28:50 +0200 Subject: [PATCH 1/3] Remove string copy for frontend strings --- config/locales/frontend.en.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/locales/frontend.en.yml b/config/locales/frontend.en.yml index 9b5cd55d..fd1e59ee 100644 --- a/config/locales/frontend.en.yml +++ b/config/locales/frontend.en.yml @@ -14,7 +14,7 @@ en: unsubscribe: "Failed to unsubscribe from answer." list: confirm: - title: :voc.confirm + title: "Are you sure?" text: "You will not be able to recover this list." item: members: @@ -23,19 +23,19 @@ en: other: "%{count} members" destroy_question: confirm: - title: :voc.confirm + title: "Are you sure?" text: "The question will be moved back to your inbox, but it won't delete any posts to social media." destroy_comment: confirm: - title: :voc.confirm + title: "Are you sure?" text: "You will not be able to recover this comment." destroy_report: confirm: - title: :voc.confirm + title: "Are you sure?" text: "You will not be able to recover this report." destroy_own: confirm: - title: :voc.confirm + title: "Are you sure?" text: "The question will be removed." inbox: empty: "Nothing to see here." @@ -43,7 +43,7 @@ en: title: "Are you sure you want to delete %{count} questions?" text: "They will be gone forever." confirm: - title: :voc.confirm + title: "Are you sure?" text: "This question will be gone forever." report: confirm: From 8972ce8da552ae9c123ff3551b74aed27bd23fa6 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 31 Jul 2022 02:30:23 +0200 Subject: [PATCH 2/3] Quote Yes/No vocab strings --- config/locales/voc.en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/voc.en.yml b/config/locales/voc.en.yml index 92cc6487..4c4a6f6e 100644 --- a/config/locales/voc.en.yml +++ b/config/locales/voc.en.yml @@ -18,8 +18,8 @@ en: unfollow: "Unfollow" update: "Update" view_in_rails_admin: "View in Rails Admin" - y: Yes - n: No + y: "Yes" + n: "No" messages: noauth: "You need to be logged in to perform this action." time: From 961d7b752ef607ee929896699da48065f16ccb36 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 31 Jul 2022 02:37:56 +0200 Subject: [PATCH 3/3] Quote boolean string keys --- config/locales/voc.en.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/voc.en.yml b/config/locales/voc.en.yml index 4c4a6f6e..3911aa4d 100644 --- a/config/locales/voc.en.yml +++ b/config/locales/voc.en.yml @@ -18,8 +18,8 @@ en: unfollow: "Unfollow" update: "Update" view_in_rails_admin: "View in Rails Admin" - y: "Yes" - n: "No" + "y": "Yes" + "n": "No" messages: noauth: "You need to be logged in to perform this action." time: