discourse/app/assets/javascripts/admin/addon
Gabriel Grubba dc996a1e5c
FIX: Locale mismatch at theme translations picker (#26687)
* FIX: Locale mismatch at theme translations picker

Before, the theme translations picker value was set to the
site's default locale, which mismatches from the user's locale.

This commit changes the picker value to the user locale.

relates to https://meta.discourse.org/t/locale-mismatch-at-theme-translations/302879

* DEV: Address code review feedback.

- https://github.com/discourse/discourse/pull/26687#discussion_r1572516758
- https://github.com/discourse/discourse/pull/26687#discussion_r1572524059
2024-04-19 14:23:27 -03:00
..
adapters FIX: Ensure Theme#settings are instances of ThemeSettings (#26481) 2024-04-03 13:10:47 +08:00
components FEATURE: Show additional filter links in admin sidebar for no results (#26672) 2024-04-19 10:55:17 +10:00
controllers FIX: Locale mismatch at theme translations picker (#26687) 2024-04-19 14:23:27 -03:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins DEV: Add save button to editing typed objects theme setting route (#26133) 2024-03-13 06:52:46 +08:00
models DEV: Remove Category.findById from admin web hooks (#26605) 2024-04-11 16:11:00 -05:00
routes FIX: Locale mismatch at theme translations picker (#26687) 2024-04-19 14:23:27 -03:00
services FEATURE: Make admin sidebar keywords translateable (#26657) 2024-04-18 16:14:11 +10:00
templates FEATURE: direct link to components for admin sidebar (#26644) 2024-04-17 11:45:59 +10:00