This commit is contained in:
Maxicarlos08 2023-09-20 23:28:25 +02:00
parent 91284565a2
commit 772dd660a1
No known key found for this signature in database
2 changed files with 16 additions and 13 deletions

View File

@ -2,20 +2,20 @@ command-no-permission = You don't have permisison to use '/{ $command_name }'
command-position-unavailable = Cannot get position for { $target }
command-player-role-unavailable = Cannot get administrator roles for { $target }
command-uid-unavailable = Cannot get uid for { $target }
command-area-not-found = Could not find area named { $area }
command-player-not-found = Player { $player } not found!
command-player-uuid-not-found = Player with UUID { $uuid } not found!
command-area-not-found = Could not find area named '{ $area }'
command-player-not-found = Player '{ $player }' not found!
command-player-uuid-not-found = Player with UUID '{ $uuid }' not found!
command-username-uuid-unavailable = Unable to determine UUID for username { $username }
command-uuid-username-unavailable = Unable to determine username for UUID { $uuid }
command-no-sudo = It's rude to impersonate people
command-entity-dead = Entity { $entity } is dead!
command-entity-dead = Entity '{ $entity }' is dead!
command-error-while-evaluating-request = Encountered an error while validating the request: { $error }
command-give-inventory-full = Player inventory full. Gave { $given ->
[1] only one
*[other] { $given }
} of { $total } items.
command-invalid-item = Invalid item: { $item }
command-invalid-block-kind = Invalid block kind { $kind }
command-invalid-block-kind = Invalid block kind: { $kind }
command-nof-entities-at-least = Number of entities should be at least 1
command-nof-entities-less-than = Number of entities should be less than 50
command-entity-load-failed = Failed to load entity config: { $config }
@ -35,10 +35,10 @@ command-spawned-campfire = Spawned a campfire
command-spawned-safezone = Spawned a safezone
command-volume-size-incorrect = Size has to be between 1 and 127.
command-volume-created = Created a volume
command-permit-build-given = You are now permitted to build in { $area }
command-permit-build-granted = Permission to build in { $area } granted
command-revoke-build-recv = Your permission to build in { $area } has been revoked
command-revoke-build = Permission to build in { $area } revoked
command-permit-build-given = You are now permitted to build in '{ $area }'
command-permit-build-granted = Permission to build in '{ $area }' granted
command-revoke-build-recv = Your permission to build in '{ $area }' has been revoked
command-revoke-build = Permission to build in '{ $area }' revoked
command-revoke-build-all = Your build permissions have been revoked.
command-revoked-all-build = All build permissions revoked
command-no-buid-perms = You do not have permission to build.

View File

@ -3475,7 +3475,10 @@ fn parse_skill_tree(skill_tree: &str) -> CmdResult<comp::skillset::SkillGroupKin
"staff" => Ok(SkillGroupKind::Weapon(ToolKind::Staff)),
"sceptre" => Ok(SkillGroupKind::Weapon(ToolKind::Sceptre)),
"mining" => Ok(SkillGroupKind::Weapon(ToolKind::Pick)),
_ => Err(Content::localized("command-invalid-skill-group")),
_ => Err(Content::localized_with_args(
"command-invalid-skill-group",
[("group", skill_tree)],
)),
}
}