From c2726687e400bae38621a0fc273f3443d0457983 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 27 Jul 2022 22:59:17 +0200 Subject: [PATCH] Split all JS locales into frontend.en.yml --- config/locales/en.yml | 46 --------------------------------- config/locales/frontend.en.yml | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 46 deletions(-) create mode 100644 config/locales/frontend.en.yml diff --git a/config/locales/en.yml b/config/locales/en.yml index e657b0ed..51e8ac31 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,51 +1,5 @@ en: language: 'English (US)' - frontend: - load: "Load more" - success: - title: "Success!" - error: - title: "Uh-oh..." - message: "An error occurred, a developer should check the console for details" - subscription: - subscribe: "Successfully subscribed." - unsubscribe: "Successfully unsubscribed." - fail: - subscribe: "Failed to subscribe to answer." - unsubscribe: "Failed to unsubscribe from answer." - list: - confirm: - title: "Really delete this list?" - text: "You will not be able to recover this list." - destroy_question: - 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: "Really delete?" - text: "You will not be able to recover this comment." - destroy_report: - confirm: - title: "Really delete?" - text: "You will not be able to recover this report." - destroy_own: - confirm: - title: "Are you sure?" - text: "The question will be removed." - inbox: - empty: "Nothing to see here." - confirm_all: - title: "Really delete %{count} questions?" - text: "They will be gone forever." - confirm: - title: "Really delete?" - text: "This question will be gone forever." - report: - confirm: - title: "Really report this %{type}?" - text: "A moderator will review your report and decide what happens.\nIf you'd like, you can also specify a reason." - input: "Specify a reason..." flash: ban: error: "I'm sorry, %{name}, I'm afraid I can't do that." diff --git a/config/locales/frontend.en.yml b/config/locales/frontend.en.yml new file mode 100644 index 00000000..5e526476 --- /dev/null +++ b/config/locales/frontend.en.yml @@ -0,0 +1,47 @@ +en: + frontend: + load: "Load more" + success: + title: "Success!" + error: + title: "Uh-oh..." + message: "An error occurred, a developer should check the console for details" + subscription: + subscribe: "Successfully subscribed." + unsubscribe: "Successfully unsubscribed." + fail: + subscribe: "Failed to subscribe to answer." + unsubscribe: "Failed to unsubscribe from answer." + list: + confirm: + title: "Really delete this list?" + text: "You will not be able to recover this list." + destroy_question: + 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: "Really delete?" + text: "You will not be able to recover this comment." + destroy_report: + confirm: + title: "Really delete?" + text: "You will not be able to recover this report." + destroy_own: + confirm: + title: "Are you sure?" + text: "The question will be removed." + inbox: + empty: "Nothing to see here." + confirm_all: + title: "Really delete %{count} questions?" + text: "They will be gone forever." + confirm: + title: "Really delete?" + text: "This question will be gone forever." + report: + confirm: + title: "Really report this %{type}?" + text: "A moderator will review your report and decide what happens.\nIf you'd like, you can also specify a reason." + input: "Specify a reason..."