From 547eed225cd1a0722055bd428997e18fcc46c09e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 28 Sep 2023 06:28:13 +0300 Subject: [PATCH] change tool descriptions --- src/tools/interact.ts | 2 +- src/tools/parse.ts | 2 +- src/tools/util.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tools/interact.ts b/src/tools/interact.ts index 30bc31f..00ff245 100644 --- a/src/tools/interact.ts +++ b/src/tools/interact.ts @@ -19,7 +19,7 @@ const e=makeEscapeTag(encodeURIComponent) export class InteractTool extends Tool { id='interact' name=`Interact` - title=`Interact with notes on OSM server` + title=`Comment, close, reopen notes` isFullWidth=true private $yourNotesApi=document.createElement('span') private $yourNotesWeb=document.createElement('span') diff --git a/src/tools/parse.ts b/src/tools/parse.ts index 9a524a5..f023950 100644 --- a/src/tools/parse.ts +++ b/src/tools/parse.ts @@ -6,7 +6,7 @@ import {p,ul,li,code} from '../util/html-shortcuts' export class ParseTool extends Tool { id='parse' name=`Parse links` - title=`Extract interactive links from plaintext` + title=`Extract interactive links from text` protected getInfo() {return[p( `Parse text as if it's a note comment and get its first active element. If such element exists, it's displayed as a link after →. `, `Currently detected active elements are: `, diff --git a/src/tools/util.ts b/src/tools/util.ts index ab1f8f6..154fc6c 100644 --- a/src/tools/util.ts +++ b/src/tools/util.ts @@ -64,6 +64,7 @@ export class TimestampTool extends Tool { export class GeoUriTool extends Tool { id='geouri' name=`Geo URI` + title=`Get a Geo URI link to the current map location` protected getTool($root: HTMLElement): ToolElements { const $output=code('none') $root.addEventListener('osmNoteViewer:mapMoveEnd',({detail:{zoom,lat,lon}})=>{ @@ -102,7 +103,7 @@ export class CountTool extends Tool { export class LegendTool extends Tool { id='legend' name=`Legend` - title=`What do icons in command panel mean` + title=`See what icons in the toolbar mean` protected getTool(): ToolElements { return [ makeMapIcon('center'),` = map center, `,