Merge pull request #398 from FeiLiuEM/ui-i18n
i18n: translate the interface below the menu bar (panels, dialogs, tooltips) # Conflicts: # crates/ui-egui/src/lib.rs # docs/preferences.md
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
//! plug-in names remain verbatim; these catalogs only translate the fixed menu tree.
|
||||
|
||||
use crate::EffectcraftApp;
|
||||
|
||||
/// Translations for the panels, tooltips and dialogs below the menu bar (see the module docs).
|
||||
mod ui;
|
||||
use effectcraft_engine::menus::MenuEntry;
|
||||
pub(crate) use ui::{set_current, tr, tr_args};
|
||||
|
||||
/// Every language with a catalog, in the order Settings ▸ General ▸ Language lists them.
|
||||
const CATALOG_CODES: [&str; 4] = ["ja", "zh-hans", "zh-hant", "uk"];
|
||||
|
||||
Reference in New Issue
Block a user