Split translation file in multiple files: one per language

This commit is contained in:
Greg Burri 2025-05-05 23:58:09 +02:00
parent ec36391ec8
commit 6010c8600f
6 changed files with 339 additions and 331 deletions

View file

@ -9,7 +9,7 @@ pub const FILE_CONF: &str = "conf.ron";
/// The name of the translation file.
/// it's located in the current directory.
pub const TRANSLATION_FILE: &str = "translation.ron";
pub const TRANSLATION_DIR: &str = "translations";
/// Filename of the database.
/// It's located in the `DB_DIRECTORY` directory.