mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add English (UK) as locale (#11768)
* "English" gets renamed into "English (US)" * "English (UK)" replaces "English" @discourse-translator-bot keep_translations_and_approvals
This commit is contained in:
@@ -354,7 +354,7 @@ describe BadgeGranter do
|
||||
|
||||
it 'removes custom badge titles' do
|
||||
custom_badge_title = 'this is a badge title'
|
||||
TranslationOverride.create!(translation_key: badge.translation_key, value: custom_badge_title, locale: 'en_US')
|
||||
TranslationOverride.create!(translation_key: badge.translation_key, value: custom_badge_title, locale: 'en')
|
||||
described_class.grant(badge, user)
|
||||
user.update!(title: custom_badge_title)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user