Skip to content

Commit

Permalink
fix: x marks the cross
Browse files Browse the repository at this point in the history
  • Loading branch information
Grammostola committed Nov 14, 2024
1 parent 65f9ddd commit ee83900
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/loc/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@
"point": "Point",
"pointTypePoint": "Point",
"pointTypeCircle": "Circle",
"pointTypeCheckmark": "Checkmark",
"pointTypeCross": "Cross",
"pointTypeX": "X",
"pointTypePlus": "Cross",
"pointTypeStar": "Star",
"pointTypeTriangle": "Triangle",
"pointTypeSquare": "Square",
Expand Down
4 changes: 2 additions & 2 deletions src/loc/sv_SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
"point": "Punkt",
"pointTypePoint": "Punkt",
"pointTypeCircle": "Cirkel",
"pointTypeCheckmark": "Kryss",
"pointTypeCross": "Kors",
"pointTypeX": "Kryss",
"pointTypePlus": "Kors",
"pointTypeStar": "Stjärna",
"pointTypeTriangle": "Tringel",
"pointTypeSquare": "Fyrkant",
Expand Down
4 changes: 2 additions & 2 deletions src/style/styletemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export default function styleTemplate({ palette, swStyle, localization }) {
<div class="padding-smaller o-tooltip active">
<select id="o-draw-style-pointType" class="small no-margin width-full">
<option value="circle"${swStyle.pointType === 'circle' ? ' selected' : ''}>${localize('pointTypeCircle')}</option>
<option value="x"${swStyle.pointType === 'x' ? ' selected' : ''}>${localize('pointTypeCheckmark')}</option>
<option value="cross"${swStyle.pointType === 'cross' ? ' selected' : ''}>${localize('pointTypeCross')}</option>
<option value="x"${swStyle.pointType === 'x' ? ' selected' : ''}>${localize('pointTypeX')}</option>
<option value="cross"${swStyle.pointType === 'cross' ? ' selected' : ''}>${localize('pointTypePlus')}</option>
<option value="star"${swStyle.pointType === 'star' ? ' selected' : ''}>${localize('pointTypeStar')}</option>
<option value="triangle"${swStyle.pointType === 'triangle' ? ' selected' : ''}>${localize('pointTypeTriangle')}</option>
<option value="square"${swStyle.pointType === 'square' ? ' selected' : ''}>${localize('pointTypeSquare')}</option>
Expand Down

0 comments on commit ee83900

Please sign in to comment.