Skip to content

Geo Settings Form - Cleanup Translations

Zack Cuddy requested to merge cuddyz-geo-settings-form-i18n into master

What does this MR do and why?

This change cleans up the translations for the Geo Settings Form. The goal here is to align better with our guidelines.

This change does the following things:

  1. Aligns all the translations under the Geo scope with s__. This scope is used in the main feature of Geo
  2. Moved all translations to i18n objects for better organization and less "noise" in the templates and code.
  3. Replaced hard coded strings in various specs with direct references to the i18n object.

Important: Geo is currently working through a rename from Geo Nodes => Geo Sites. As of right now everything in the UI will reference Sites but the code may still references them as nodes. This follows the Facade Approach to renaming and more can be read here: &5725

Screenshots or screen recordings

No Visible Changes

How to set up and validate locally

  1. Fetch and checkout this branch
  2. Setup Geo and access your Primary GDK (How to setup Geo)
  3. Go to the Geo Settings page (admin/geo/settings)
  4. Ensure no errors and all translations continue to appear on the form.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports