From 4e363bb794f42e4ec4845c9b1a14e63b4de195af Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 26 Jun 2022 02:59:10 +0200 Subject: [PATCH] Update locale keys for theme settings --- config/locales/controllers.en.yml | 8 +-- config/locales/views.en.yml | 82 +++++++++++++++---------------- 2 files changed, 46 insertions(+), 44 deletions(-) diff --git a/config/locales/controllers.en.yml b/config/locales/controllers.en.yml index a92cb7a0..2839e442 100644 --- a/config/locales/controllers.en.yml +++ b/config/locales/controllers.en.yml @@ -39,6 +39,11 @@ en: error: :errors.base destroy: success: "Service removed successfully." + settings: + theme: + update: + success: "Theme saved successfully." + error: "Theme saving failed. %{errors}" user: export: info: "An export is currently in progress for this account." @@ -61,9 +66,6 @@ en: update_profile: success: :user.update.success error: :user.update.error - update_theme: - success: "Theme saved successfully." - error: "Theme saving failed. %{errors}" sessions: create: info: "You have %{count} recovery codes remaining." diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index b5f99cf5..323e512c 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -194,45 +194,47 @@ en: disconnect: "Disconnect" confirm: "Really disconnect service %{service}?" theme: - heading: "Theming" - lead: "Welcome to the Theme Editor!" - body_html: | -

Here you'll be able to modify your Retrospring experience by adjusting all available colors. - To further help you with adjusting needs, there are a few example elements using the specified colors, and sections will include - descriptions on their general use on the site!

-

And with that: Happy Theming! - delete: "Delete Theme" - general: - heading: "General" - body: "Here you'll find general page values that are basically visible all across the page." - colors: - heading: "Colors" - body: | - Colors you can find used on the site. The names of the colors usually describe the context. - The "text" colors for all styles represent the color that text on top of these colors has. - alert: - example: "A simple %{type} alert — check it out!" - type: - danger: "danger" - info: "info" - primary: "primary" - success: "success" - warning: "warning" - button: - example: "A %{type} button" - type: - dark: "dark" - light: "light" - text: - example: "Some muted text" - forms: - heading: "Forms and Inputs" - body: "Styles for form inputs, like text fields." - raised: - heading: "Raised Content" - body: "Raised content basically describes all the different boxes and panels you can see across the site." - accent: - example: "Some text on top of a accented area on a raised element!" + edit: + title: "Theme Settings" + heading: "Theming" + lead: "Welcome to the Theme Editor!" + body_html: | +

Here you'll be able to modify your Retrospring experience by adjusting all available colors. + To further help you with adjusting needs, there are a few example elements using the specified colors, and sections will include + descriptions on their general use on the site!

+

And with that: Happy Theming! + delete: "Delete Theme" + general: + heading: "General" + body: "Here you'll find general page values that are basically visible all across the page." + colors: + heading: "Colors" + body: | + Colors you can find used on the site. The names of the colors usually describe the context. + The "text" colors for all styles represent the color that text on top of these colors has. + alert: + example: "A simple %{type} alert — check it out!" + type: + danger: "danger" + info: "info" + primary: "primary" + success: "success" + warning: "warning" + button: + example: "A %{type} button" + type: + dark: "dark" + light: "light" + text: + example: "Some muted text" + forms: + heading: "Forms and Inputs" + body: "Styles for form inputs, like text fields." + raised: + heading: "Raised Content" + body: "Raised content basically describes all the different boxes and panels you can see across the site." + accent: + example: "Some text on top of a accented area on a raised element!" shared: links: about: "About" @@ -334,8 +336,6 @@ en: title: "Privacy Settings" edit_security: title: "Security Settings" - edit_theme: - title: "Theme Settings" export: title: "Export" moderation: