wgui: pretty-print tree

This commit is contained in:
Aleksander
2025-10-05 17:23:27 +02:00
parent 5efbdce8f0
commit 89c083991f
10 changed files with 142 additions and 14 deletions

View File

@@ -7,8 +7,8 @@ use crate::assets::AssetProvider;
// for now it's just a simple string container
#[derive(Debug, Default)]
pub struct Translation {
text: Rc<str>,
translated: bool, // if true, `text` is a translation key
pub text: Rc<str>,
pub translated: bool, // if true, `text` is a translation key
}
impl PartialEq for Translation {