discourse/app/views
David Taylor 880311dd4d
FEATURE: Support for localized themes (#6848)
- Themes can supply translation files in a format like `/locales/{locale}.yml`. These files should be valid YAML, with a single top level key equal to the locale being defined. For now these can only be defined using the `discourse_theme` CLI, importing a `.tar.gz`, or from a GIT repository.

- Fallback is handled on a global level (if the locale is not defined in the theme), as well as on individual keys (if some keys are missing from the selected interface language).

- Administrators can override individual keys on a per-theme basis in the /admin/customize/themes user interface.

- Theme developers should access defined translations using the new theme prefix variables:
  JavaScript: `I18n.t(themePrefix("my_translation_key"))`
  Handlebars: `{{theme-i18n "my_translation_key"}}` or `{{i18n (theme-prefix "my_translation_key")}}`

- To design for backwards compatibility, theme developers can check for the presence of the `themePrefix` variable in JavaScript

- As part of this, the old `{{themeSetting.setting_name}}` syntax is deprecated in favour of `{{theme-setting "setting_name"}}`
2019-01-17 11:46:11 +00:00
..
about FIX: title was repeating on about page 2018-11-28 08:06:14 +05:30
admin/backups FEATURE: further restrict downloading of backups 2017-03-01 08:28:34 -07:00
application Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
badges FEATURE: add RSS feed for badge pages 2017-08-09 13:43:49 +05:30
categories FIX: categories page crawler view had incorrect URLs 2018-07-23 14:54:41 -04:00
clicks FIX: sanitize click track links 2018-04-17 12:35:16 +05:30
common Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
default FIX: Add a title to the groups pages 2016-07-25 14:24:43 -04:00
email FIX: PM participants listed inline 2018-06-11 18:14:25 -07:00
embed Extract inline JS on embedded comments (#6645) 2018-11-22 10:02:58 -05:00
exceptions extract inline onpopstate handler on 404 page (#6613) 2018-11-15 13:35:38 -05:00
finish_installation Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
groups UX: Add og metadata for groups. 2018-02-22 15:03:41 +08:00
invites FIX: better handling of invite links after they are redeemed 2018-05-08 20:17:57 +05:30
layouts FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
list FEAT: use category logo image as meta image (#6865) 2019-01-10 09:33:13 +08:00
metadata FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
offline FIX: HTML lang attribute expects hyphen instead of underscore 2018-08-20 13:55:58 +02:00
pending_flags_mailer FEATURE: Site Setting to determine whether flags defaults to topics 2017-10-20 12:37:20 -04:00
posts
qunit UX: improvements to admin theme UI 2018-09-17 09:49:53 +10:00
robots_txt FEATURE: add Noindex to robots.txt for disallowed routes 2018-11-02 16:39:47 +11:00
safe_mode Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
search UX: better title on search page 2017-10-27 09:13:04 +05:30
session FEATURE: Second factor backup 2018-06-28 10:12:32 +02:00
static UX: better help text for private invite-only instance 2019-01-12 18:40:00 +05:30
tags PERF: calculate topic_counts for tags in an async job so tag queries that include counts are much faster 2018-01-12 11:03:03 -05:00
topics DEV: moves print-specific styles from internal style tag to external print sheet (#6581) 2018-11-13 14:45:55 +11:00
user_api_keys FEATURE: Make auth_redirect param options on user_api_keys 2019-01-04 14:46:18 +11:00
user_notifications FIX: popular posts font weight in summary email 2018-11-27 12:58:28 +01:00
users CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
users_email FEATURE: Second factor backup 2018-06-28 10:12:32 +02:00
wizard Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00