Ghost/core/server/services/settings
Naz 41c93f982d Added 'locale' property to public settings
refs https://github.com/TryGhost/Team/issues/509

- During 3.x we standardised on "lang" instead of "default_locale" for the site setting, which was an assumption based on an earlier change to @site.lang to make <html lang="@site.lang"> read nicer. This was a mistake as the field represents more than "lang" its a "locale". With this changeset we introduce a transition to use "locale" name for the value instead of "lang"
- Adds `@site.locale" value in as well as new 'locale' property in Content API's response
- "lang" will be considered as deprecated starting with API v4 and will be dropped completely with API v5
2021-03-04 16:00:02 +13:00
..
cache.js Restructured public settings cache hash 2021-03-04 15:24:08 +13:00
index.js Fixed settings reinit to only emit changed settings events (#12184) 2020-09-23 14:35:03 +01:00
public.js Added 'locale' property to public settings 2021-03-04 16:00:02 +13:00