mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
41c93f982d
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 |
||
---|---|---|
.. | ||
cache.js | ||
index.js | ||
public.js |