From d740342440f922bbfdfde73df39725260f938b23 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 8 Jun 2022 03:35:59 +0200 Subject: [PATCH] Add more matrixbot-translations --- langs/en.json | 62 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 3 deletions(-) diff --git a/langs/en.json b/langs/en.json index 2f1609d3c6..a50a4b1094 100644 --- a/langs/en.json +++ b/langs/en.json @@ -451,6 +451,19 @@ "commandFailed": "Sorry, something went wrong while running {cmd}", "commandNotFound": "I didn't understand your request. Did you perhaps mean to type {0}, {1}, {2} or ${2}?

Type help to see an overview of all commands

", "commands": { + "dm": { + "argbody": "The actual command body of the command", + "argto": "The ID of whom to send the output to", + "commandNotFound": "Command {key} not found - see help for all commands", + "docs": "Executes a command and send the output to someone else", + "executing": "Executing {_} and sending the result to {to}...", + "failed": "I couldn't execute ${cmd} due to ${message}", + "noDm": "I couldn't create a room with {to}", + "receipt": "I delivered the message to {to}", + "selectValidCommand": "Specify a valid command", + "selectValidUser": "Specify a valid target user", + "sendReason": "I sent you this message because {sender} requested me to send this with ${cmd}" + }, "documentation": { "argid": "The ID of the layer, theme or URL-parameter for which documentation is needed", "docs": "Gets documentation about a MapComplete layer, theme or URL-parameter", @@ -476,9 +489,11 @@ "supported": "My supported commands are:" }, "info": { + "argsearch": "The ID of the OSM-object or a search query", "closed": "Closed", "closedTodayAndTomorrow": "Closed today and tomorrow", "couldNotDownload": "Could not download {id}", + "docs": "Gets info about an OSM-object. Either give an id OR a search string; the objects are interpreted and known values are shown.", "editWith": "Edit this element with {title}", "fetchingInfoAbout": "Fetching data about {id}...", "foundResults": "Found {total} results for ${search}, fetching details about them...", @@ -509,22 +524,63 @@ "noRightsNeeded": "The command {role} can be executed by anyone, you don't need to set rights for it", "noRolesYet": "{user} currently has no roles.", "noSuchRole": "The role {role} cannot be given to {user}. A role is the same as a command name, type help to see all commands.", - "userHasRoles": "{user} currently has the following roles:" + "userHasRoles": "{user} currently has the following roles:", + "verbadd": "Adds a role to the specified user", + "verbdefault": "List the roles of the user", + "verblist": "List all the user roles of the specified user", + "verbremove": "Removes a role from the specified uer", + "verbrevoke": "Revokes all rights of a user" + }, + "scheme": { + "argkey": "The name of the key", + "docs": "Gives information about a key in a theme-config-file", + "noMatchingLayer": "No matching keys found, maybe you meant one of:", + "notype": "no type specificied", + "title": "{key} (used at {path}, {type})" + }, + "search": { + "announceLimited": "

I'm only showing the {cutoff} items closest to the searched location.

", + "arglayerid": "The name of a layer OR a single search term", + "argsearch": "The search term", + "argverb": "Either search in a geographical area (e.g. a city) or search near a POI", + "docs": "Searches for POI in or near a location", + "noMatchingLayer": "I didn't find a matching layer", + "noNearOrIn": "Sorry, I didn't understand your command as I didn't find a near or in in your search query.\n Try something as search drinking water in London, search friture in Brussels

\n

Alternatively, try info {cmd} to get info about a single object.", + "nothingFound": "Sorry, I couldn't find anything for {search}, so I can't search for {layerTitle}", + "overview": "I found {length} matching items.", + "searching": "Searching {layerTitle} ${mode} {search}..." }, "shutdown": { "argmode": "Indicates if the service should be restarted, must be one of {verbs}", "docs": "Shuts down the bot", "goodbye": "Shutting down... See you later!", - "notYetShuttingDown": "I'm not restarting yet as I just booted only {uptime} seconds ago. I'll wait at least {min_uptime} before rebooting." + "notYetShuttingDown": "I'm not restarting yet as I just booted only {uptime} seconds ago. I'll wait at least {min_uptime} before rebooting.", + "verbshutdown": "Shuts down the bot", + "verbupdate": "Attempts to update the embedded MapComplete-codebase, shuts down afterwards" + }, + "tags": { + "announceSearch": "${id} doesn't seem to be a valid OSM-id - searching worldwide instead for ${search}...", + "argsearch": "The ID of the OSM-object or a search query", + "docs": "Show the tags of an OSM-object. Either give an id OR a search string; the objects are interpreted and known values are shown.", + "noSearchGiven": "Please, provide a search term of id to use this command", + "nothingFound": "Nothing found for {_}" }, "welcome": { + "docs": "Gives a friendly welcome message", "p0": "Hi! I'm MapComplete-bot. I'm a computer program which searches OpenStreetMap and which can give some information about MapComplete, which is a website and app that shows thematic maps. If information is missing, you can add it easily over there.", "p1": "Send me info [searchterm] and I'll search OpenStreetMap for you. I'll show you the information on what I found.", "p2": "Alternatively, use search [ojecttype] near [placename] or search [objecttype] in [placename] to search for more places. Supported object types are those that can be found in MapComplete. More categories will be added in the future - and if you are up to the challenge, you can create your thematic map and thus category too", "p3": "There are a few more commands, send help to see all of them." }, "wiki": { - "docs": "Prints (a part of) the specified page from wiki.osm.org. In public rooms, it'll print the first paragraph; in a DM the entire page will be sent." + "argsearch": "The title of the page or the search term", + "docs": "Searches and prints (a part of) the specified page from {backend}. In public rooms, it'll print the first paragraph; in a DM the entire page will be sent.", + "foundMatching": "Found a matching wiki page, namely {title}", + "gotResults": "Got {count} results for search query {search}:", + "loadingFailed": "Sorry, the page {pagename} could not be loaded", + "noWiki": "Please, specify a wiki page to search for", + "nothingFound": "I couldn't find anything on {backend} for {search}", + "searching": "Searching on {backend}..." } }, "decryptionFailed": "Sorry, I couldn't decrypt your message. You can try to leave this channel and to connect again",