pub fn resolve(&mut self, data: &T, env: &Env) -> bool {
        match self {
            LabelText::Static(s) => s.resolve(),
            LabelText::Localized(s) => s.resolve(data, env),
            LabelText::Dynamic(s) => s.resolve(data, env),
        }
    }
/// Update the localization, if necessary.
/// This ensures that localized strings are up to date.
///
/// Returns `true` if the string has changed.
Update the localization, if necessary.
This ensures that localized strings are up to date.

Returns `true` if the string has changed.
Update the localization if necessary . This ensures that localized strings are up to date . Returns ` true ` if the string has changed .
pub fn resolve(&mut self, data: &T, env: &Env) -> bool {
        match self {
            LabelText::Static(s) => s.resolve(),
            LabelText::Localized(s) => s.resolve(data, env),
            LabelText::Dynamic(s) => s.resolve(data, env),
        }
    }
pub fn resolve ( & mut self , data : & T , env : & Env ) -> bool { match self { LabelText :: Static ( s ) => s . resolve ( ) , LabelText :: Localized ( s ) => s . resolve ( data , env ) , LabelText :: Dynamic ( s ) => s . resolve ( data , env ) , } }
Update the localization, if necessary.
Update the localization if necessary .
&mut self
data
&T
env
&Env
&mut self
data
&T
env
&Env