Commit 2916cb0e authored by Peter Leitzen's avatar Peter Leitzen

Remove unused method html_todolist from gettext rake task

parent 614efc5a
...@@ -132,14 +132,6 @@ namespace :gettext do ...@@ -132,14 +132,6 @@ namespace :gettext do
) )
end end
# Disallow HTML from translatable strings
# See: https://docs.gitlab.com/ee/development/i18n/externalization.html#html
def html_todolist
return @html_todolist if defined?(@html_todolist)
@html_todolist = YAML.safe_load(File.read(Rails.root.join('lib/gitlab/i18n/html_todo.yml')))
end
def report_errors_for_file(file, errors_for_file) def report_errors_for_file(file, errors_for_file)
puts "Errors in `#{file}`:" puts "Errors in `#{file}`:"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment