feat(C-01): i18n SystemMessageManager — 83 translatable keys

Phase 1: Core system message migration to Component.translatable().
- Replace getMessageTemplate() hardcoded strings with getTranslationKey() key derivation
- All send methods now use Component.translatable() with positional args
- Add 83 keys to en_us.json (msg.tiedup.system.*)
- Add sendTranslatable() convenience for external callers with string args
- Migrate 3 external getTemplate() callers (PlayerShockCollar, CellRegistryV2)
- Add resistance_suffix key for sendWithResistance()
This commit is contained in:
NotEvil
2026-04-15 13:24:05 +02:00
parent ac72f6aae7
commit 0662739fe0
4 changed files with 173 additions and 160 deletions

View File

@@ -687,5 +687,89 @@
"gui.tiedup.status.key_info": "Key: %s",
"gui.tiedup.status.no_key": "No key",
"gui.tiedup.status.target_info": "Target: %s",
"gui.tiedup.status_bar": "Status bar"
"gui.tiedup.status_bar": "Status bar",
"msg.tiedup.system.being_tied": "%1$s is tying you up!",
"msg.tiedup.system.tied_up": "%1$s tied you up, you can't move!",
"msg.tiedup.system.being_gagged": "%1$s is gagging you!",
"msg.tiedup.system.gagged": "%1$s gagged you, you can't speak!",
"msg.tiedup.system.being_blindfolded": "%1$s is blindfolding you!",
"msg.tiedup.system.blindfolded": "%1$s blindfolded you, you can't see!",
"msg.tiedup.system.being_collared": "%1$s is putting a collar on you!",
"msg.tiedup.system.collared": "%1$s collared you!",
"msg.tiedup.system.earplugs_on": "%1$s put earplugs on you!",
"msg.tiedup.system.mittens_on": "%1$s put mittens on you!",
"msg.tiedup.system.enslaved": "You have been enslaved by %1$s!",
"msg.tiedup.system.tying_target": "You are tying %1$s...",
"msg.tiedup.system.tied_target": "You tied %1$s!",
"msg.tiedup.system.gagging_target": "You are gagging %1$s...",
"msg.tiedup.system.gagged_target": "You gagged %1$s!",
"msg.tiedup.system.blindfolding_target": "You are blindfolding %1$s...",
"msg.tiedup.system.blindfolded_target": "You blindfolded %1$s!",
"msg.tiedup.system.collaring_target": "You are collaring %1$s...",
"msg.tiedup.system.collared_target": "You collared %1$s!",
"msg.tiedup.system.untied": "%1$s untied you!",
"msg.tiedup.system.ungagged": "%1$s removed your gag!",
"msg.tiedup.system.unblindfolded": "%1$s removed your blindfold!",
"msg.tiedup.system.uncollared": "%1$s removed your collar!",
"msg.tiedup.system.freed": "You have been freed!",
"msg.tiedup.system.struggle_success": "You feel the ropes loosening...",
"msg.tiedup.system.struggle_fail": "You struggle against the ropes, but they hold tight.",
"msg.tiedup.system.struggle_broke_free": "You broke free!",
"msg.tiedup.system.struggle_shocked": "You were shocked for struggling!",
"msg.tiedup.system.struggle_collar_success": "You manage to damage the lock!",
"msg.tiedup.system.struggle_collar_fail": "You try to reach the lock, but can't get a good grip.",
"msg.tiedup.system.cant_move": "You can't move while tied!",
"msg.tiedup.system.cant_attack_tied": "You can't attack while tied!",
"msg.tiedup.system.cant_use_item_tied": "You can't use items while tied!",
"msg.tiedup.system.cant_open_inventory": "You can't open inventory while tied!",
"msg.tiedup.system.cant_interact_tied": "You can't interact while tied!",
"msg.tiedup.system.cant_speak": "You can't speak while gagged!",
"msg.tiedup.system.cant_see": "You can't see while blindfolded!",
"msg.tiedup.system.cant_break_tied": "You can't break blocks while tied!",
"msg.tiedup.system.cant_place_tied": "You can't place blocks while tied!",
"msg.tiedup.system.no_elytra": "You can't fly with elytra while tied!",
"msg.tiedup.system.cant_attack_mittens": "You can't attack with mittens on!",
"msg.tiedup.system.cant_use_item_mittens": "You can't use items with mittens on!",
"msg.tiedup.system.cant_interact_mittens": "You can't interact with mittens on!",
"msg.tiedup.system.cant_break_mittens": "You can't break blocks with mittens on!",
"msg.tiedup.system.cant_place_mittens": "You can't place blocks with mittens on!",
"msg.tiedup.system.slave_command": "Your master commands: %1$s",
"msg.tiedup.system.slave_shock": "You've been shocked!",
"msg.tiedup.system.gps_zone_violation": "You've been shocked! Return back to your allowed area!",
"msg.tiedup.system.gps_owner_alert": "ALERT: %1$s is outside the safe zone!",
"msg.tiedup.system.slave_job_assigned": "Job assigned: bring %1$s",
"msg.tiedup.system.slave_job_complete": "Job complete! You are free.",
"msg.tiedup.system.slave_job_failed": "Job failed!",
"msg.tiedup.system.slave_job_last_chance": "LAST CHANCE! Next failure means death!",
"msg.tiedup.system.slave_job_killed": "You were executed for failing your task.",
"msg.tiedup.system.binds_tightened": "%1$s tightened your binds!",
"msg.tiedup.system.key_claimed": "Key claimed and linked to %1$s!",
"msg.tiedup.system.key_not_owner": "You don't own this key!",
"msg.tiedup.system.key_wrong_target": "This key doesn't fit this collar!",
"msg.tiedup.system.locator_claimed": "Locator claimed!",
"msg.tiedup.system.locator_not_owner": "You don't own this locator!",
"msg.tiedup.system.locator_detected": "Target detected: %1$s",
"msg.tiedup.system.shocker_claimed": "Shocker claimed!",
"msg.tiedup.system.shocker_not_owner": "You don't own this shocker!",
"msg.tiedup.system.shocker_mode_set": "Shocker mode: %1$s",
"msg.tiedup.system.shocker_triggered": "Shocked %1$s!",
"msg.tiedup.system.rag_dry": "The rag is dry - soak it first",
"msg.tiedup.system.rag_soaked": "You soaked the rag with chloroform",
"msg.tiedup.system.rag_evaporated": "The chloroform has evaporated",
"msg.tiedup.system.bounty_created": "Bounty created on %1$s!",
"msg.tiedup.system.bounty_claimed": "You claimed the bounty on %1$s!",
"msg.tiedup.system.bounty_expired": "Bounty on %1$s expired",
"msg.tiedup.system.prisoner_arrived": "%1$s has been placed in your cell",
"msg.tiedup.system.prisoner_escaped": "%1$s has escaped from your cell!",
"msg.tiedup.system.prisoner_released": "%1$s has been released from your cell",
"msg.tiedup.system.cell_breach": "Your cell wall has been breached!",
"msg.tiedup.system.cell_assigned": "You have been assigned to %1$s's cell",
"msg.tiedup.system.cell_created": "Cell created successfully",
"msg.tiedup.system.cell_deleted": "Cell deleted",
"msg.tiedup.system.cell_renamed": "Cell renamed to: %1$s",
"msg.tiedup.system.info": "%1$s",
"msg.tiedup.system.warning": "%1$s",
"msg.tiedup.system.error": "%1$s",
"msg.tiedup.system.resistance_suffix": " (Resistance: %1$s)"
}