Skip to content

Commit 2c2ccf5

Browse files
committed
DBC22-4186: added hyphens to all instances of chain-ups
1 parent 2fb4301 commit 2c2ccf5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/frontend/src/Components/events/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const getTypeDisplay = (event) => {
2222
case 'roadConditions':
2323
return 'Road condition';
2424
case 'chainUps':
25-
return 'Commercial chain up';
25+
return 'Commercial chain-up';
2626
default:
2727
return '';
2828
}

src/frontend/src/Components/map/panels/EventPanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export default function EventPanel(props) {
9595
href="https://www2.gov.bc.ca//gov/content/transportation/driving-and-cycling/traveller-information/seasonal/winter-driving/commercial"
9696
target="_blank"
9797
rel="noreferrer"
98-
alt="BC chain up requirements"
99-
>Chain up requirements</a> apply to a commercial
98+
alt="BC chain-up requirements"
99+
>Chain-up requirements</a> apply to a commercial
100100
vehicle with a weight of 11,794 Kg or greater.</p>
101101
</div>
102102
}

src/frontend/src/Components/routing/RouteDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export default function RouteDetails(props) {
700700
<path d="M5.05 4H9.52188C11.7719 4 13.6 5.86198 13.5719 8.15365C13.5719 10.1875 12.1375 11.9062 10.1969 12.25H10.1406C9.63438 12.3359 9.18438 11.9922 9.1 11.5052C9.01563 10.9896 9.35313 10.5312 9.83125 10.4453H9.8875C10.9844 10.2448 11.8 9.27083 11.8 8.15365C11.8 6.89323 10.7594 5.83333 9.52188 5.83333H5.05C3.8125 5.83333 2.8 6.89323 2.8 8.15365C2.8 9.27083 3.5875 10.2448 4.68438 10.4453H4.74063C5.21875 10.5312 5.55625 10.9896 5.47188 11.5052C5.3875 11.9922 4.9375 12.3359 4.43125 12.25H4.375C2.43438 11.9062 1 10.1875 1 8.15365C1 5.86198 2.8 4 5.05 4ZM14.9219 15H10.45C8.2 15 6.4 13.1667 6.4 10.875C6.4 8.84115 7.83438 7.1224 9.80313 6.77865H9.83125C10.3375 6.69271 10.7875 7.03646 10.8719 7.52344C10.9563 8.03906 10.6188 8.4974 10.1406 8.58333H10.0844C8.9875 8.78385 8.2 9.72917 8.2 10.875C8.2 12.1354 9.2125 13.1667 10.45 13.1667H14.9219C16.1875 13.1667 17.2 12.1354 17.2 10.875C17.2 9.72917 16.3844 8.78385 15.2875 8.58333H15.2313C14.7531 8.4974 14.4156 8.03906 14.5 7.52344C14.5844 7.03646 15.0344 6.69271 15.5406 6.77865H15.5969C17.5375 7.1224 19 8.84115 19 10.875C19 13.1667 17.1719 15 14.9219 15Z" fill="#474543"/>
701701
</svg>
702702
</span>
703-
<span className="route-item__name">{eventCount.chainUps != 1 ? 'Commercial chain ups' : 'Commercial chain up'}</span>
703+
<span className="route-item__name">{eventCount.chainUps != 1 ? 'Commercial chain-ups' : 'Commercial chain-up'}</span>
704704
</div>
705705
}
706706

0 commit comments

Comments
 (0)