Fix undeclared variable in bundle.rs

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-27 15:00:16 -03:00
parent 57fcb6fef2
commit da758206b4

View file

@ -136,6 +136,7 @@ impl LocaleBundle {
if file.starts_with(locale_str) && file.ends_with(".ftl") {
if let Some(content_bytes) = EmbeddedLocales::get(&file) {
if let Ok(content) = std::str::from_utf8(content_bytes.data.as_ref()) {
let file_translations = TranslationFile::parse(content);
translations.merge(file_translations);
}
}