Add loc strings and completions to mapping command (#8726)

This commit is contained in:
Leon Friedrich
2022-06-09 14:38:31 +12:00
committed by GitHub
parent 08e1d3cd66
commit 1e5da87262
2 changed files with 58 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
cmd-mapping-desc = Create or load a map and teleports you to it.
cmd-mapping-help = Usage: mapping [MapID] [Path]
cmd-mapping-server = Only players can use this command.
cmd-mapping-error = An error occurred when creating the new map.
cmd-mapping-success-load = Created uninitialized map from file {$path} with id {$mapId}.
cmd-mapping-success = Created uninitialized map with id {$mapId}.
cmd-mapping-warning = WARNING: The server is using a debug build. You are risking losing your changes.
# duplicate text from engine load/save map commands.
# I CBF making this PR depend on that one.
cmd-mapping-failure-integer = {$arg} is not a valid integer.
cmd-mapping-failure-float = {$arg} is not a valid float.
cmd-mapping-failure-bool = {$arg} is not a valid bool.
cmd-mapping-nullspace = You cannot load into map 0.
cmd-hint-mapping-id = [MapID]
cmd-hint-mapping-path = [Path]
cmd-mapping-exists = Map {$mapId} already exists.