fix trash and additional bugs

This commit is contained in:
DioCrafts
2025-03-26 18:33:22 +01:00
parent af70581f91
commit e22c0ac855
43 changed files with 2487 additions and 436 deletions
@@ -17,6 +17,14 @@ pub struct FileSystemI18nService {
}
impl FileSystemI18nService {
/// Create a dummy service for testing
pub fn dummy() -> Self {
Self {
translations_dir: PathBuf::from("/tmp/dummy_translations"),
cache: RwLock::new(HashMap::new()),
}
}
/// Creates a new file system i18n service
pub fn new(translations_dir: PathBuf) -> Self {
Self {