Skip to content

Commit

Permalink
change tool descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Sep 28, 2023
1 parent eb63106 commit 547eed2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tools/interact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion src/tools/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: `,
Expand Down
3 changes: 2 additions & 1 deletion src/tools/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}})=>{
Expand Down Expand Up @@ -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, `,
Expand Down

0 comments on commit 547eed2

Please sign in to comment.