mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +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 |
||
---|---|---|
.. | ||
authors_spec.js | ||
key_authentication_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
settings_spec.js | ||
tags_spec.js | ||
utils_v3.js | ||
utils.js |