Skip to content

Commit a195c36

Browse files
committed
Support missing translations for i18n 1.14
missing translation: changed to Missing translation in the source Changed our dictionary to handle this case
1 parent b240efe commit a195c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/dictionary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def self.ui_lookup(options = {})
5252

5353
def self.i18n_lookup(type, text)
5454
result = I18n.t("dictionary.#{type}.#{text}", :locale => "en")
55-
result.start_with?("translation missing:") ? nil : result
55+
result.start_with?("Translation missing:") ? nil : result
5656
end
5757
private_class_method :i18n_lookup
5858
end

0 commit comments

Comments
 (0)