mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FEATURE: English locale with international date formats
Makes en_US the new default locale
This commit is contained in:
@ -271,7 +271,7 @@ RSpec.describe Admin::SiteTextsController do
|
||||
end
|
||||
|
||||
it "returns the right error message" do
|
||||
I18n.backend.store_translations(:en, some_key: '%{first} %{second}')
|
||||
I18n.backend.store_translations(SiteSetting.default_locale, some_key: '%{first} %{second}')
|
||||
|
||||
put "/admin/customize/site_texts/some_key.json", params: {
|
||||
site_text: { value: 'hello %{key} %{omg}' }
|
||||
|
Reference in New Issue
Block a user