Skip to main content

parse_template_with_recorded

Function parse_template_with_recorded 

Source
pub fn parse_template_with_recorded(
    name: &str,
    source: &str,
    components: &Components,
    compiled: &[u8],
) -> Result<Template, TemplateError>
Expand description

As Template::parse_with, with each t(…) given the source-language text the screen’s compiled program recorded for its key: a development build rereads a screen this way, and a build without i18n writes that text.