i18n: fix typo in excluded key
refs FOO-1614 flag = none test plan: `bundle exec rake i18n:generate` does not include any values like `!ruby/object:Proc {}` Change-Id: I5013f759f5274573e60264e6aa844fabff6a7ad6 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/259241 Reviewed-by: Ahmad Amireh <ahmad@instructure.com> QA-Review: Ahmad Amireh <ahmad@instructure.com> Product-Review: Ahmad Amireh <ahmad@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
This commit is contained in:
parent
0d88b4b2ea
commit
54b40993e6
|
@ -356,7 +356,7 @@ namespace :i18n do
|
|||
def remove_unwanted_translations(translations)
|
||||
translations['date'].delete('order')
|
||||
translations['number'].fetch('nth', {}).delete('ordinals')
|
||||
translations['number'].fetch('nth', {}).delete('ordinalize')
|
||||
translations['number'].fetch('nth', {}).delete('ordinalized')
|
||||
end
|
||||
|
||||
def autoimport(source_translations, new_translations)
|
||||
|
|
Loading…
Reference in New Issue