chore(cli): drop unused imports and orphan lang key

- Remove unused `world` import from ListCommand.js and PlaceCommand.js
  (plan code blocks included it but neither command uses it).
- Delete orphaned `construct.commands.construct.denyorigin` lang key
  from en_US and zh_CN — its sole consumer was the original
  commands/construct.js, which was replaced by ConstructCommand using
  the shared `construct.commands.error.notAPlayer` key.
- Carry the previously-orphaned Chinese translation forward to the
  notAPlayer key in zh_CN.lang.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ForestOfLight
2026-05-20 03:26:58 -07:00
Unverified
parent 19cbceb120
commit b1370b5d28
4 changed files with 3 additions and 5 deletions
-1
View File
@@ -86,7 +86,6 @@ construct.mainmenu.howto.remove.body=§7- Use the §f/structure delete§7 comman
## Commands
construct.commands.construct=Gives you the Construct item. Use it to open the Construct menu.
construct.commands.construct.denyorigin=This command can only be used by players.
construct.commands.construct.fail=§cFailed to give you the Construct item.
construct.commands.construct.success=§aYou recieved the Construct item! Use it to open the Construct menu.
+1 -2
View File
@@ -86,7 +86,6 @@ construct.mainmenu.howto.remove.body=§7-使用§f/structure delete§7命令从
## Commands
construct.commands.construct=获得投影构筑菜单物品,可以使用它打开投影构筑菜单
construct.commands.construct.denyorigin=此命令只能由玩家使用
construct.commands.construct.fail=§c给予投影构筑菜单物品时发生错误
construct.commands.construct.success=§a您已获得投影构筑菜单物品, 右键(长按)使用它以打开投影构筑菜单
@@ -109,7 +108,7 @@ construct.option.materialgrabber.grabbed.many=§a已收集 %s 个物品 ## 插
## CLI shared errors
construct.commands.error.instanceNotFound=§cInstance "%1" not found.
construct.commands.error.notAPlayer=§cThis command can only be used by players.
construct.commands.error.notAPlayer=§c此命令只能由玩家使用
## construct:new
construct.commands.new=Create a new instance bound to a structure.