simulate_format
function · ferroui-protranslate-studio · v0.5.0
fn simulate_format(text: &str, format: ferroui_protranslate_formats::TranslationFileFormat, culture: &ferroui_protranslate_core::Culture, values: &FormatPreviewValues) -> Result<String, crate::StudioError>
Composite messages execute the real formatter. Other syntaxes are deliberate editor simulations using supplied sample values, not target runtime engines.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.