diff --git a/wgui/src/i18n.rs b/wgui/src/i18n.rs index 5b5d432..8369b18 100644 --- a/wgui/src/i18n.rs +++ b/wgui/src/i18n.rs @@ -26,6 +26,13 @@ impl Translation { } } + pub fn from_raw_text_rc(text: Rc) -> Self { + Self { + text, + translated: false, + } + } + pub fn from_raw_text(text: &str) -> Self { Self { text: Rc::from(text), diff --git a/wlx-overlay-s/src/assets/gui/watch.xml b/wlx-overlay-s/src/assets/gui/watch.xml index ef7bf32..2e6bd45 100644 --- a/wlx-overlay-s/src/assets/gui/watch.xml +++ b/wlx-overlay-s/src/assets/gui/watch.xml @@ -119,7 +119,7 @@