Skip to content

Commit e892bea

Browse files
committed
Change dashboard copy from title case to sentence case
1 parent 7cbc03c commit e892bea

15 files changed

Lines changed: 63 additions & 63 deletions

File tree

assets/js/dashboard/stats/behaviours/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const PROPS = 'props'
3131
export const FUNNELS = 'funnels'
3232

3333
export const sectionTitles = {
34-
[CONVERSIONS]: 'Goal Conversions',
35-
[PROPS]: 'Custom Properties',
34+
[CONVERSIONS]: 'Goal conversions',
35+
[PROPS]: 'Custom properties',
3636
[FUNNELS]: 'Funnels'
3737
}
3838

assets/js/dashboard/stats/graph/graph-util.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
export const METRIC_LABELS = {
22
visitors: 'Visitors',
33
pageviews: 'Pageviews',
4-
events: 'Total Conversions',
5-
views_per_visit: 'Views per Visit',
4+
events: 'Total conversions',
5+
views_per_visit: 'Views per visit',
66
visits: 'Visits',
7-
bounce_rate: 'Bounce Rate',
8-
visit_duration: 'Visit Duration',
9-
conversions: 'Converted Visitors',
10-
conversion_rate: 'Conversion Rate',
11-
average_revenue: 'Average Revenue',
12-
total_revenue: 'Total Revenue',
13-
scroll_depth: 'Scroll Depth',
14-
time_on_page: 'Time on Page'
7+
bounce_rate: 'Bounce rate',
8+
visit_duration: 'Visit duration',
9+
conversions: 'Converted visitors',
10+
conversion_rate: 'Conversion rate',
11+
average_revenue: 'Average revenue',
12+
total_revenue: 'Total revenue',
13+
scroll_depth: 'Scroll depth',
14+
time_on_page: 'Time on page'
1515
}
1616

1717
function plottable(dataArray) {

assets/js/dashboard/stats/modals/breakdown-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const BreakdownTable = <TListItem extends { name: string }>({
5454
/>
5555
)}
5656
</div>
57-
<div className="my-4 border-b border-gray-300 dark:border-gray-700"></div>
57+
<div className="my-4 border-b border-gray-250 dark:border-gray-700"></div>
5858
<div style={{ minHeight: `${MIN_HEIGHT_PX}px` }}>
5959
{displayError && status === 'error' && <ErrorMessage error={error} />}
6060
{isPending && <InitialLoadingSpinner />}

assets/js/dashboard/stats/modals/conversions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function ConversionsModal() {
1313
const site = useSiteContext()
1414

1515
const reportInfo = {
16-
title: 'Goal Conversions',
16+
title: 'Goal conversions',
1717
dimension: 'goal',
1818
endpoint: url.apiPath(site, '/conversions'),
1919
dimensionLabel: 'Goal'

assets/js/dashboard/stats/modals/entry-pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function EntryPagesModal() {
2020
const showRevenueMetrics = BUILD_EXTRA && revenueAvailable(query, site)
2121

2222
const reportInfo = {
23-
title: 'Entry Pages',
23+
title: 'Entry pages',
2424
dimension: 'entry_page',
2525
endpoint: url.apiPath(site, '/entry-pages'),
2626
dimensionLabel: 'Entry page',

assets/js/dashboard/stats/modals/exit-pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function ExitPagesModal() {
1717
const showRevenueMetrics = BUILD_EXTRA && revenueAvailable(query, site)
1818

1919
const reportInfo = {
20-
title: 'Exit Pages',
20+
title: 'Exit pages',
2121
dimension: 'exit_page',
2222
endpoint: url.apiPath(site, '/exit-pages'),
2323
dimensionLabel: 'Page url',

assets/js/dashboard/stats/modals/pages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function PagesModal() {
2020
const showRevenueMetrics = BUILD_EXTRA && revenueAvailable(query, site)
2121

2222
const reportInfo = {
23-
title: 'Top Pages',
23+
title: 'Top pages',
2424
dimension: 'page',
2525
endpoint: url.apiPath(site, '/pages'),
2626
dimensionLabel: 'Page url',

assets/js/dashboard/stats/modals/props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function PropsModal() {
2121
const showRevenueMetrics = BUILD_EXTRA && revenueAvailable(query, site)
2222

2323
const reportInfo = {
24-
title: specialTitleWhenGoalFilter(query, 'Custom Property Breakdown'),
24+
title: specialTitleWhenGoalFilter(query, 'Custom property breakdown'),
2525
dimension: propKey,
2626
endpoint: url.apiPath(
2727
site,

assets/js/dashboard/stats/modals/sources.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { SourceFavicon } from '../sources/source-favicon'
1616
const VIEWS = {
1717
sources: {
1818
info: {
19-
title: 'Top Sources',
19+
title: 'Top sources',
2020
dimension: 'source',
2121
endpoint: '/sources',
2222
dimensionLabel: 'Source',
@@ -33,7 +33,7 @@ const VIEWS = {
3333
},
3434
channels: {
3535
info: {
36-
title: 'Top Acquisition Channels',
36+
title: 'Top acquisition channels',
3737
dimension: 'channel',
3838
endpoint: '/channels',
3939
dimensionLabel: 'Channel',
@@ -42,46 +42,46 @@ const VIEWS = {
4242
},
4343
utm_mediums: {
4444
info: {
45-
title: 'Top UTM Mediums',
45+
title: 'Top UTM mediums',
4646
dimension: 'utm_medium',
4747
endpoint: '/utm_mediums',
48-
dimensionLabel: 'UTM Medium',
48+
dimensionLabel: 'UTM medium',
4949
defaultOrder: ['visitors', SortDirection.desc]
5050
}
5151
},
5252
utm_sources: {
5353
info: {
54-
title: 'Top UTM Sources',
54+
title: 'Top UTM sources',
5555
dimension: 'utm_source',
5656
endpoint: '/utm_sources',
57-
dimensionLabel: 'UTM Source',
57+
dimensionLabel: 'UTM source',
5858
defaultOrder: ['visitors', SortDirection.desc]
5959
}
6060
},
6161
utm_campaigns: {
6262
info: {
63-
title: 'Top UTM Campaigns',
63+
title: 'Top UTM campaigns',
6464
dimension: 'utm_campaign',
6565
endpoint: '/utm_campaigns',
66-
dimensionLabel: 'UTM Campaign',
66+
dimensionLabel: 'UTM campaign',
6767
defaultOrder: ['visitors', SortDirection.desc]
6868
}
6969
},
7070
utm_contents: {
7171
info: {
72-
title: 'Top UTM Contents',
72+
title: 'Top UTM contents',
7373
dimension: 'utm_content',
7474
endpoint: '/utm_contents',
75-
dimensionLabel: 'UTM Content',
75+
dimensionLabel: 'UTM content',
7676
defaultOrder: ['visitors', SortDirection.desc]
7777
}
7878
},
7979
utm_terms: {
8080
info: {
81-
title: 'Top UTM Terms',
81+
title: 'Top UTM terms',
8282
dimension: 'utm_term',
8383
endpoint: '/utm_terms',
84-
dimensionLabel: 'UTM Term',
84+
dimensionLabel: 'UTM term',
8585
defaultOrder: ['visitors', SortDirection.desc]
8686
}
8787
}

assets/js/dashboard/stats/pages/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function EntryPages({ afterFetchData }) {
3333
function chooseMetrics() {
3434
return [
3535
metrics.createVisitors({
36-
defaultLabel: 'Unique Entrances',
36+
defaultLabel: 'Unique entrances',
3737
width: 'w-36',
3838
meta: { plot: true }
3939
}),
@@ -82,7 +82,7 @@ function ExitPages({ afterFetchData }) {
8282
function chooseMetrics() {
8383
return [
8484
metrics.createVisitors({
85-
defaultLabel: 'Unique Exits',
85+
defaultLabel: 'Unique exits',
8686
width: 'w-36',
8787
meta: { plot: true }
8888
}),
@@ -156,9 +156,9 @@ function TopPages({ afterFetchData }) {
156156
}
157157

158158
const labelFor = {
159-
pages: 'Top Pages',
160-
'entry-pages': 'Entry Pages',
161-
'exit-pages': 'Exit Pages'
159+
pages: 'Top pages',
160+
'entry-pages': 'Entry pages',
161+
'exit-pages': 'Exit pages'
162162
}
163163

164164
export default function Pages() {
@@ -210,9 +210,9 @@ export default function Pages() {
210210
</div>
211211
<TabWrapper>
212212
{[
213-
{ label: 'Top Pages', value: 'pages' },
214-
{ label: 'Entry Pages', value: 'entry-pages' },
215-
{ label: 'Exit Pages', value: 'exit-pages' }
213+
{ label: 'Top pages', value: 'pages' },
214+
{ label: 'Entry pages', value: 'entry-pages' },
215+
{ label: 'Exit pages', value: 'exit-pages' }
216216
].map(({ value, label }) => (
217217
<TabButton
218218
active={mode === value}

0 commit comments

Comments
 (0)