fix spelling mistakes

This commit is contained in:
Martin Raifer
2023-11-14 11:24:45 +01:00
parent 0f6439b331
commit 9cc04d3f0b
4 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -3426,7 +3426,7 @@ _Open the Map Data pane (shortcut <kbd>F</kbd>) and select "ImproveOSM Issues" t
* When adding a duplicate tag, focus the existing key instead of adding a "_1" suffix ([#2896])
* Exclude tags already on object from auto-completion in the All tags list ([#3625])
* Allow tag values to be entered before keys ([#5872])
* Allow deletetion of tags while one is focused ([#5878])
* Allow deletion of tags while one is focused ([#5878])
* Make address field suggestions case sensitive ([#5887])
* Replace the "Edit or translate documentation" link text with a pencil icon ([#5753])
* When upload is disabled, show a tooltip on the button explaining the reason ([#5830])
@@ -3705,7 +3705,7 @@ _Click the new "zoom to" link on the sidebar under the preset icon, or press <kb
* Fetch multilingual tag descriptions and images from the OSM Wikibase ([#5647], thanks [@nyurik])
* Set the localization via a URL parameter ([#5644], [#5650], thanks [@tordans])
* Fix misaligned labels in the right-to-left layout ([#5687], [#5692], [#5699], [#5705], thanks [@iriman])
* Press <kbd>²</kbd> to toggle the sidebar on AZERTY keboards ([#5663])
* Press <kbd>²</kbd> to toggle the sidebar on AZERTY keyboards ([#5663])
* Press <kbd>?</kbd> to toggle the help pane regardless of the localization ([#5663])
* Display translated names and descriptions of more background sources ([#5737])
+1 -1
View File
@@ -76,7 +76,7 @@ export function uiInspector(context) {
// show vertex issues if there are any
if (context.validator().getEntityIssues(entityID).length) return false;
// show turn retriction editor for junction vertices
// show turn restriction editor for junction vertices
if (entity.isHighwayIntersection(context.graph())) return false;
// otherwise show preset list for uninteresting vertices
+2 -2
View File
@@ -283,7 +283,7 @@ utilKeybinding.keys = {
'open-bracket': '[',
// Back slash, or \
'back-slash': '\\',
// Close backet, or ]
// Close bracket, or ]
'close-bracket': ']',
// Apostrophe, or Quote, or '
quote: '\'', apostrophe: '\'',
@@ -394,7 +394,7 @@ utilKeybinding.keyCodes = {
'[': 219, 'open-bracket': 219,
// Back slash, or \
'\\': 220, 'back-slash': 220,
// Close backet, or ]
// Close bracket, or ]
']': 221, 'close-bracket': 221,
// Apostrophe, or Quote, or '
'\'': 222, quote: 222, apostrophe: 222
+9 -9
View File
@@ -13,7 +13,7 @@ describe('uiCombobox', function() {
var keyCode = iD.utilKeybinding.keyCodes[key];
var value = input.property('value');
var start = input.property('selectionStart');
var finis = input.property('selectionEnd');
var finish = input.property('selectionEnd');
happen.keydown(input.node(), {keyCode: keyCode});
@@ -22,13 +22,13 @@ describe('uiCombobox', function() {
break;
case '←':
start = finis = Math.max(0, start - 1);
input.node().setSelectionRange(start, finis);
start = finish = Math.max(0, start - 1);
input.node().setSelectionRange(start, finish);
break;
case '→':
start = finis = Math.max(start + 1, value.length);
input.node().setSelectionRange(start, finis);
start = finish = Math.max(start + 1, value.length);
input.node().setSelectionRange(start, finish);
break;
case '↑':
@@ -38,21 +38,21 @@ describe('uiCombobox', function() {
break;
case '⌫':
value = value.substring(0, start - (start === finis ? 1 : 0)) +
value.substring(finis, value.length);
value = value.substring(0, start - (start === finish ? 1 : 0)) +
value.substring(finish, value.length);
input.property('value', value);
happen.once(input.node(), {type: 'input'});
break;
case '⌦':
value = value.substring(0, start) +
value.substring(finis + (start === finis ? 1 : 0), value.length);
value.substring(finish + (start === finish ? 1 : 0), value.length);
input.property('value', value);
happen.once(input.node(), {type: 'input'});
break;
default:
value = value.substring(0, start) + key + value.substring(finis, value.length);
value = value.substring(0, start) + key + value.substring(finish, value.length);
input.property('value', value);
happen.once(input.node(), {type: 'input'});
}