Skip to content

Commit

Permalink
Rename intl keys for meta tag content
Browse files Browse the repository at this point in the history
  • Loading branch information
sarathms committed Sep 8, 2020
1 parent aada4a4 commit c58891a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/country/IntlHead.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const IntlHead = ({
key="og:title"
property="og:title"
content={intl.formatMessage({
id: 'Country.Overview.MetaTitle',
id: 'Country.Meta.Title',
},{
countryName
})}
Expand All @@ -24,7 +24,7 @@ const IntlHead = ({
key="og:description"
property="og:description"
content={intl.formatMessage({
id: 'Country.Overview.MetaDescription',
id: 'Country.Meta.Description',
},{
measurementCount: intl.formatNumber(measurementCount),
countryName,
Expand Down
4 changes: 2 additions & 2 deletions static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@
"Country.Overview.NoData.CallToAction": "We don\u2019t have enough measurements for **{country}** to show a chart. If you are in {country} or know people there, tell them to run OONI Probe to collect more measurements.",
"Country.Overview.NoData.Button.InstallProbe": "Install OONI Probe",
"Country.Overview.NoData.Button.OoniRunLink": "Create OONI Run Link",
"Country.Overview.MetaTitle": "Internet Censorship in {countryName} - OONI Explorer",
"Country.Overview.MetaDescription": "OONI Probe users in {countryName} have collected {measurementCount} measurements from {networkCount} local networks. Explore the data on OONI Explorer.",
"Country.Meta.Title": "Internet Censorship in {countryName} - OONI Explorer",
"Country.Meta.Description": "OONI Probe users in {countryName} have collected {measurementCount} measurements from {networkCount} local networks. Explore the data on OONI Explorer.",
"Country.PeriodFilter.Label": "Show results from",
"Country.PeriodFilter.Option.30Days": "Last 30 Days",
"Country.PeriodFilter.Option.2Months": "Last 2 Months",
Expand Down
Loading

0 comments on commit c58891a

Please sign in to comment.