From: marc tobias Date: Mon, 26 Feb 2024 17:30:00 +0000 (+0100) Subject: correct various typos X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/0f87b4b80166f1b46bb5a8ff079df1644ecceb90 correct various typos --- diff --git a/CHANGES.md b/CHANGES.md index 4b218a9..0cc68df 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,7 +30,7 @@ * NPM package updates * version 3.2.11 - 2023-03-08 - * Configuration: You can now set Map_Default_Bounds als alternative to lat,lon, zoom. Thanks Piskvor + * Configuration: You can now set Map_Default_Bounds as alternative to lat,lon, zoom. Thanks Piskvor * NPM package updates * version 3.2.10 - 2023-01-06 @@ -42,7 +42,7 @@ * version 3.2.9 - 2022-11-16 - * Fix: For places tagged bulding=yes display the formatted label 'Building', not 'Yes' + * Fix: For places tagged building=yes display the formatted label 'Building', not 'Yes' * migrate remaining modules to ESM style (import instead of require) * NPM package updates * test suite: use JSON files for mocha and eslint configuration @@ -93,7 +93,7 @@ * version 3.1.0 - 2021-04-26 - * Configuration: new options to set API endpoint headers and additional paramters, thanks petoc + * Configuration: new options to set API endpoint headers and additional parameters, thanks petoc * Test suite: New test suite using a headless browser for UI interaction, thanks darkshredder * Fix: Links to API URL weren't displayed after a search * Fix: On result pages the map icons were not cleared between searches (caching issue) @@ -121,8 +121,8 @@ * version 3.0.2 - 2021-03-05 * Details page: don't print 'null' when postcode is missing - * Details page: make sure links to children,hierarcy update after pageload, thx LiteratimBi for the report - * Details page: in hierachy list all addresslines were marked unused (grayed out) + * Details page: make sure links to children,hierarchy update after pageload, thx LiteratimBi for the report + * Details page: in hierarchy list all addresslines were marked unused (grayed out) * Details page: API doesn't always return address keywords * PageLinks/ReverseLink: fix warnings when properties not set @@ -177,7 +177,7 @@ * Reverse search: click on map triggers new search * Report-issue modal from version 1 was missing - * Removed search-url-params polyfill. Svelte doesnt support MSIE11 either + * Removed search-url-params polyfill. Svelte doesn't support MSIE11 either * version 2.0.1 - 2021-01-31 diff --git a/README-nominatim-docker.md b/README-nominatim-docker.md index cd941d7..be662f9 100644 --- a/README-nominatim-docker.md +++ b/README-nominatim-docker.md @@ -4,14 +4,14 @@ This document assumes you followed the [nominatim-docker](https://github.com/med nominatim-ui is a separate project and it's not planned to add the UI to the nominatim-docker installation. -The following instructions might still be useful and/or help futher automate such an installation. +The following instructions might still be useful and/or help further automate such an installation. ```bash # Log into the running container docker exec -it nominatim /bin/bash # Download stable nominatim-ui release -# available verions: https://github.com/osm-search/nominatim-ui/releases +# available versions: https://github.com/osm-search/nominatim-ui/releases VERSION=3.4.0 cd /tmp curl -L --fail -o nominatim-ui.tar.gz https://github.com/osm-search/nominatim-ui/releases/download/v${VERSION}/nominatim-ui-${VERSION}.tar.gz diff --git a/dist/theme/about-help.html b/dist/theme/about-help.html index aa0d15d..ef4649f 100644 --- a/dist/theme/about-help.html +++ b/dist/theme/about-help.html @@ -20,6 +20,6 @@

- If you're the adminstrator of this website you can edit the text above in + If you're the administrator of this website you can edit the text above in dist/theme/about-and-help.html

diff --git a/test/_bootstrap.js b/test/_bootstrap.js index 103784e..746d15d 100644 --- a/test/_bootstrap.js +++ b/test/_bootstrap.js @@ -7,7 +7,7 @@ import fse from 'fs-extra'; const testing_port = 9999; // this is the port all tests expect nominatim-ui to listen to // The installation on https://nominatim.openstreetmap.org/ui/ is a bit more complex as -// for backward compatiblity they run the API and the UI on the same port. Nominatim-UI +// for backward compatibility they run the API and the UI on the same port. Nominatim-UI // is installed in the /ui subdirectory plus their webserver has custom redirect rules. // // We can simulate that with a proxy. diff --git a/test/details.js b/test/details.js index 9ff5b28..2d1094d 100644 --- a/test/details.js +++ b/test/details.js @@ -66,7 +66,7 @@ describe('Details Page', function () { assert.strictEqual((await page.$$eval(`a[href="${url}"]`, (links) => links.length)), 2); }); - // Reverse-only installation have no search index, therefor no keywords + // Reverse-only installation have no search index, therefore no keywords if (!reverse_only) { it('should change url and add new header on clicking display keywords', async function () { let current_url; @@ -91,7 +91,7 @@ describe('Details Page', function () { } - it('should support case-insenstive search, can navigate to new page', async function () { + it('should support case-insensitive search, can navigate to new page', async function () { let input_field = await page.$('input[type=edit]'); await input_field.click({ clickCount: 3 }); await input_field.type('w375257537'); diff --git a/test/search.js b/test/search.js index 664d643..e87ed0e 100644 --- a/test/search.js +++ b/test/search.js @@ -82,7 +82,7 @@ describe('Search Page', function () { assert.strictEqual(current_url.searchParams.get('q'), 'Paris'); }); - it('should atleast one result', async function () { + it('should have at least one result', async function () { let results_count = await page.$$eval('#searchresults .result', elements => elements.length); assert.ok(results_count > 1); });