discourse/app/assets/javascripts/admin/addon/controllers
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
..
admin-badges DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys-index.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-api-keys-new.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-backups-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-backups-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-backups.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-colors-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-colors.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-style-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-form-templates-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-robots-txt.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-themes-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-themes-show.js FIX: Locale mismatch at theme translations picker (#26687) 2024-04-19 14:23:27 -03:00
admin-customize-themes.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-general.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-dashboard-moderation.js DEV: Replace period mixin with a component (#25292) 2024-01-18 13:06:42 +01:00
admin-dashboard-new-features.js FEATURE: dedicated admin section for new features (#24292) 2023-11-20 09:59:04 +11:00
admin-dashboard-reports.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-tab.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-dashboard.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-advanced-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-bounced.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-preview-digest.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-received.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-rejected.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-sent.js FEAT: add cc addresses and post_id to sent email logs (#25014) 2024-01-03 09:27:25 +08:00
admin-email-skipped.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-embedding.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-emojis.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-emails.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-screened-ip-addresses.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-urls.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-staff-action-logs.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-permalinks.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-plugins-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-plugins-show-settings.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
admin-plugins.js FEATURE: More flexible admin plugin config nav definition (#26254) 2024-03-21 13:42:06 +10:00
admin-reports-show.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-revamp.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-search-logs-index.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-search-logs-term.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-site-settings-category.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-site-settings.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
admin-site-text-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-site-text-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-fields.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-users-list-show.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-watched-words-action.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-watched-words.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-web-hooks-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00