Skip to content

Commit

Permalink
Remove unused locale keys
Browse files Browse the repository at this point in the history
These keys, identified by the "i18n-coverage" gem, don't appear to
be used anywhere.

There are a number of other keys which the gem complains about,
but these are dynamically referenced so are difficult to statically
analyse. My assumption is that they are used.
ChrisBAshton committed Apr 23, 2021
1 parent e681ca3 commit 5e768df
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -30,30 +30,14 @@
# available at https://guides.rubyonrails.org/i18n.html.

en:
time:
formats:
short_ordinal: '%e %B %Y'
components:
figure:
image_credit: "Image credit: %{credit}"
share_links:
share_this_page: "Share this page"
publisher_metadata:
from: "From"
collections: "Collections"
show_all: "show all"
hide_all: "hide all"
related_navigation:
collections: "Collection"
external_links: "Elsewhere on the web"
policies: "Policy"
publishers: "Published by"
related_content: "Related content"
related_guides: "Detailed guidance"
statistical_data_sets: "Statistical data set"
topics: "Explore the topic"
topical_events: "Topical event"
world_locations: "World locations"
published_dates:
show_all_updates: "show all updates"
hide_all_updates: "hide all updates"
@@ -357,9 +341,6 @@ en:
published: Published
updated: Updated
contents: Contents
detailed_guide:
related_guides: "Related guides"
related_mainstream_content: Too much detail?<br/>See these quick guides
publication:
documents:
one: Document

0 comments on commit 5e768df

Please sign in to comment.