Skip to content

Commit 434cc2e

Browse files
Fix spelling mistakes, consistent capitalisation
1 parent c5a613d commit 434cc2e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Controls/settings-options.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const axleLoad = {
5858
},
5959
}
6060

61-
const countryCrossingPenality = {
62-
name: 'Border penalty',
61+
const countryCrossingPenalty = {
62+
name: 'Border Penalty',
6363
param: 'country_crossing_penalty',
6464
description:
6565
'A penalty applied for a country crossing. This penalty can be used to create paths that avoid spanning country boundaries. The default penalty is 0.',
@@ -72,7 +72,7 @@ const countryCrossingPenality = {
7272
}
7373

7474
const countryCrossingCost = {
75-
name: 'Border cost',
75+
name: 'Border Cost',
7676
param: 'country_crossing_cost',
7777
description:
7878
'A cost applied when encountering an international border. This cost is added to the estimated and elapsed times. The default cost is 600 seconds.',
@@ -84,8 +84,8 @@ const countryCrossingCost = {
8484
},
8585
}
8686

87-
const turnPenalityCost = {
88-
name: 'Turn penalty',
87+
const turnPenaltyCost = {
88+
name: 'Turn Penalty',
8989
param: 'maneuver_penalty',
9090
description:
9191
'A penalty applied when transitioning between roads that do not have consistent naming–in other words, no road names in common. This penalty can be used to create simpler routes that tend to have fewer maneuvers or narrative guidance instructions. The default maneuver penalty is five seconds.',
@@ -797,7 +797,7 @@ export const profile_settings = {
797797
servicePenalty,
798798
serviceFactor,
799799
countryCrossingCost,
800-
countryCrossingPenality,
800+
countryCrossingPenalty,
801801
useTruckRoutes,
802802
],
803803
boolean: [hazardousMaterials, shortest, ignoreHierarchies],
@@ -817,7 +817,7 @@ export const profile_settings = {
817817
gateCost,
818818
gatePenalty,
819819
countryCrossingCost,
820-
countryCrossingPenality,
820+
countryCrossingPenalty,
821821
],
822822
boolean: [
823823
shortest,
@@ -844,7 +844,7 @@ export const profile_settings = {
844844
servicePenalty,
845845
serviceFactor,
846846
countryCrossingCost,
847-
countryCrossingPenality,
847+
countryCrossingPenalty,
848848
],
849849
boolean: [
850850
shortest,
@@ -880,7 +880,7 @@ export const profile_settings = {
880880
gateCost,
881881
gatePenalty,
882882
countryCrossingCost,
883-
countryCrossingPenality,
883+
countryCrossingPenalty,
884884
],
885885
boolean: [shortest, ignoreHierarchies],
886886
enum: [],
@@ -912,7 +912,7 @@ export const profile_settings = {
912912
gateCost,
913913
gatePenalty,
914914
countryCrossingCost,
915-
countryCrossingPenality,
915+
countryCrossingPenalty,
916916
],
917917
boolean: [
918918
shortest,
@@ -928,7 +928,7 @@ export const profile_settings = {
928928
export const settings_general = {
929929
truck: {
930930
numeric: [
931-
turnPenalityCost,
931+
turnPenaltyCost,
932932
useHighways,
933933
useTollways,
934934
tollBoothCost,
@@ -952,7 +952,7 @@ export const settings_general = {
952952
},
953953
car: {
954954
numeric: [
955-
turnPenalityCost,
955+
turnPenaltyCost,
956956
useHighways,
957957
useTollways,
958958
tollBoothCost,
@@ -973,7 +973,7 @@ export const settings_general = {
973973
},
974974
bus: {
975975
numeric: [
976-
turnPenalityCost,
976+
turnPenaltyCost,
977977
useHighways,
978978
useLivingStreets,
979979
useTollways,
@@ -1014,7 +1014,7 @@ export const settings_general = {
10141014
numeric: [
10151015
useFerry,
10161016
useLivingStreets,
1017-
turnPenalityCost,
1017+
turnPenaltyCost,
10181018
servicePenalty,
10191019
serviceFactor,
10201020
],
@@ -1023,7 +1023,7 @@ export const settings_general = {
10231023
},
10241024
motorcycle: {
10251025
numeric: [
1026-
turnPenalityCost,
1026+
turnPenaltyCost,
10271027
useHighways,
10281028
useTrails,
10291029
useTollways,

0 commit comments

Comments
 (0)