Client commands: clean up and localize (#22897)

* action commands

* atmos debug commands

* comming

* credits command

* debug commands

* usage

* usings

* debug pathfinding command

* grouping entity menu command

* hide mechanisms command

* commit

* mapping client side setup command

* open ahelp command

* set menu visibility command

* commit

* show mechanisms command

* toggle health overlay command

* toggle outline command

* stage

* disable once

* ioc

* namespaces

* WriteError

* clean up command usage

* don't abbriviate

* ActionsCommands

* AtmosDebugCommands

* the rest

* oops

* undo
This commit is contained in:
PrPleGoo
2024-01-03 23:29:37 +01:00
committed by GitHub
parent e790e59e19
commit 0e306e7862
28 changed files with 495 additions and 447 deletions

View File

@@ -0,0 +1,7 @@
cmd-loadacts-desc = Loads action toolbar assignments from a user-file.
cmd-loadacts-help = Usage: {$command} <user resource path>
cmd-loadacts-error = Failed to load action assignments
cmd-loadmapacts-desc = Loads the mapping preset action toolbar assignments.
cmd-loadmapacts-help = Usage: {$command} <user resource path>
cmd-loadmapacts-error = Failed to load action assignments

View File

@@ -0,0 +1,16 @@
cmd-atvrange-desc = Sets the atmos debug range (as two floats, start [red] and end [blue])
cmd-atvrange-help = Usage: {$command} <start> <end>
cmd-atvrange-error-start = Bad float START
cmd-atvrange-error-end = Bad float END
cmd-atvrange-error-zero = Scale cannot be zero, as this would cause a division by zero in AtmosDebugOverlay.
cmd-atvmode-desc = Sets the atmos debug mode. This will automatically reset the scale.
cmd-atvmode-help = Usage: {$command} <TotalMoles/GasMoles/Temperature> [<gas ID (for GasMoles)>]
cmd-atvmode-error-invalid = Invalid mode
cmd-atvmode-error-target-gas = A target gas must be provided for this mode.
cmd-atvmode-error-out-of-range = Gas ID not parsable or out of range.
cmd-atvmode-error-info = No further information is required for this mode.
cmd-atvcbm-desc = Changes from red/green/blue to greyscale
cmd-atvcbm-help = Usage: {$command} <true/false>
cmd-atvcbm-error = Invalid flag

View File

@@ -0,0 +1,2 @@
cmd-credits-desc = Opens the credits window
cmd-credits-help = Usage: {$command}

View File

@@ -0,0 +1,11 @@
cmd-showmarkers-desc = Toggles visibility of markers such as spawn points.
cmd-showmarkers-help = Usage: {$command}
cmd-showsubfloor-desc = Makes entities below the floor always visible.
cmd-showsubfloor-help = Usage: {$command}
cmd-showsubfloorforever-desc = Makes entities below the floor always visible until the client is restarted.
cmd-showsubfloorforever-help = Usage: {$command}
cmd-notify-desc = Send a notify client side.
cmd-notify-help = Usage: {$command} <message>

View File

@@ -0,0 +1,4 @@
cmd-pathfinder-desc = Toggles visibility of pathfinding debuggers.
cmd-pathfinder-help = Usage: {$command} [options]
cmd-pathfinder-error = Unrecognised pathfinder args {$arg}
cmd-pathfinder-notify = Toggled {$arg} to {$newMode}

View File

@@ -0,0 +1,4 @@
cmd-entitymenug-desc = Sets the entity menu grouping type.
cmd-entitymenug-help = Usage: {$command} <0:{$groupingTypesCount}>
cmd-entitymenug-error = {$arg} is not a valid integer.
cmd-entitymenug-notify = Context Menu Grouping set to type: {$cvar}

View File

@@ -0,0 +1,2 @@
cmd-hidemechanisms-desc = Reverts the effects of {$showMechanismsCommand}
cmd-hidemechanisms-help = Usage: {$command}

View File

@@ -0,0 +1,2 @@
cmd-mappingclientsidesetup-desc = Sets up the lighting control and such settings client-side. Sent by 'mapping' to client.
cmd-mappingclientsidesetup-help = Usage: {$command}

View File

@@ -0,0 +1,3 @@
cmd-openahelp-desc = Opens AHelp channel for a given NetUserID, or your personal channel if none given.
cmd-openahelp-help = Usage: {$command} [<netuserid>]
cmd-openahelp-error = Bad GUID!

View File

@@ -0,0 +1,3 @@
cmd-menuvis-desc = Set restrictions about what entities to show on the entity context menu.
cmd-menuvis-help = Usage: {Command} [NoFoV] [InContainer] [Invisible] [All]
cmd-menuvis-error = Unknown visibility argument '{$arg}'. Only 'NoFov', 'InContainer', 'Invisible' or 'All' are valid. Provide no arguments to set to default.

View File

@@ -0,0 +1,2 @@
cmd-showmechanisms-desc = Makes mechanisms visible, even when they shouldn't be.
cmd-showmechanisms-help = Usage: {$command}

View File

@@ -0,0 +1,3 @@
cmd-togglehealthoverlay-desc = Toggles a health bar above mobs.
cmd-togglehealthoverlay-help = Usage: {$command}
cmd-togglehealthoverlay-notify = Health overlay system {$state}.

View File

@@ -0,0 +1,3 @@
cmd-toggleoutline-desc = Toggles outline drawing on entities.
cmd-toggleoutline-help = Usage: {$command}
cmd-toggleoutline-notify = Draw outlines set to: {$cvar}

View File

@@ -1,3 +1,3 @@
zoom-command-description = Sets the zoom of the main eye.
zoom-command-help = zoom ( <scale> | <X-scale> <Y-scale> )
zoom-command-error = scale has to be greater than 0
cmd-zoom-desc = Sets the zoom of the main eye.
cmd-zoom-help = zoom ( <scale> | <X-scale> <Y-scale> )
cmd-zoom-error = scale has to be greater than 0