Skip to content

Commit

Permalink
Merge pull request #2285 from alphagov/add-translations
Browse files Browse the repository at this point in the history
Add translations from ASP
  • Loading branch information
1pretz1 authored Nov 15, 2021
2 parents 9b50162 + 1228856 commit 97564db
Show file tree
Hide file tree
Showing 72 changed files with 14,690 additions and 12,597 deletions.
2 changes: 1 addition & 1 deletion app/presenters/travel_advice_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def alert_status
alert_statuses = content_item["details"]["alert_status"] || []
alert_statuses = alert_statuses.map do |alert|
if allowed_statuses.include?(alert)
copy = I18n.t("travel_advice.alert_status.#{alert}").html_safe
copy = I18n.t("travel_advice.alert_status.#{alert}_html").html_safe
view_context.tag.p(copy)
end
end
Expand Down
4 changes: 4 additions & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ data:
yaml:
write:
line_width: -1
ignore_unused:
- 'content_item.schema_name.*.{one,other,zero,few,many,two}'
- 'corporate_information_page.*'
- 'travel_advice.alert_status.*'
Loading

0 comments on commit 97564db

Please sign in to comment.