Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2916cb0e
Commit
2916cb0e
authored
Nov 19, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused method html_todolist from gettext rake task
parent
614efc5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/tasks/gettext.rake
lib/tasks/gettext.rake
+0
-8
No files found.
lib/tasks/gettext.rake
View file @
2916cb0e
...
@@ -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
}
`:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment