From 2d60da9a6fe0a7418d07475b7c0a677f7f2922d4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 30 Sep 2025 16:03:23 +0200 Subject: Extract server locale code to own crate --- server/src/commands.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/src/commands.rs') 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}; -- cgit v1.2.3-70-g09d2