Fix undeclared variable in bundle.rs
This commit is contained in:
parent
57fcb6fef2
commit
da758206b4
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue