mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
DEV: Catch missing translations during test runs (#26258)
This configuration makes it so that a missing translation will raise an error during test execution. Better discover there than after deploy.
This commit is contained in:
@ -69,7 +69,7 @@ class UserEmail < ActiveRecord::Base
|
||||
self.errors.add(
|
||||
:user_id,
|
||||
I18n.t(
|
||||
"active_record.errors.model.user_email.attributes.user_id.reassigning_primary_email",
|
||||
"activerecord.errors.models.user_email.attributes.user_id.reassigning_primary_email",
|
||||
),
|
||||
)
|
||||
end
|
||||
|
Reference in New Issue
Block a user