diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-30 16:03:23 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-30 16:21:38 +0200 |
commit | 2d60da9a6fe0a7418d07475b7c0a677f7f2922d4 (patch) | |
tree | 5feb6bb6067bc63c9fa07e79fdaf877ac444a1e4 /server/src/commands.rs | |
parent | 7119a5b092439f7339025cb1b7e445d035f92ac6 (diff) | |
download | hurrycurry-2d60da9a6fe0a7418d07475b7c0a677f7f2922d4.tar hurrycurry-2d60da9a6fe0a7418d07475b7c0a677f7f2922d4.tar.bz2 hurrycurry-2d60da9a6fe0a7418d07475b7c0a677f7f2922d4.tar.zst |
Extract server locale code to own crate
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r-- | server/src/commands.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs index 2a922e3f..2f0902ba 100644 --- a/server/src/commands.rs +++ b/server/src/commands.rs @@ -17,13 +17,12 @@ */ use crate::{ entity::{bot::BotDriver, tutorial::Tutorial}, - message::TrError, server::{AnnounceState, Server}, - tre, trm, }; use anyhow::Result; use clap::{Parser, ValueEnum}; use hurrycurry_bot::algos::ALGO_CONSTRUCTORS; +use hurrycurry_locale::{tre, trm, TrError}; use hurrycurry_protocol::{Character, Menu, Message, PacketC, PlayerClass, PlayerID}; use std::{fmt::Write, time::Duration}; |