mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 01:58:05 +08:00
DEV: Update TranslateAccelerator missing translation string (#22158)
Upstream added a capital 'T' to the 'Translation missing' message in https://github.com/ruby-i18n/i18n/commit/c5c6e753f3. This caused our translate accelerator patch to diverge, and the change in case affected a number of our specs. This commit updates the translate accelerator to match the upstream casing, and introduces a spec to detect future divergence.
This commit is contained in:
@ -450,7 +450,7 @@ RSpec.describe Admin::EmailTemplatesController do
|
||||
|
||||
it "uses only existing email templates" do
|
||||
Admin::EmailTemplatesController.email_keys.each do |key|
|
||||
expect(I18n.t(key)).to_not include("translation missing")
|
||||
expect(I18n.t(key)).to_not include("Translation missing")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user