Skip to content

Commit

Permalink
Update i18n.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
loomstyla committed Nov 3, 2023
1 parent fc019e0 commit 425f858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/i18n.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ impl I18n {
}
}

for record in &database.config.other_texts {
if let Some(locale) = database.i18n.strings.get_mut(&database.i18n.default_locale) {
if let Some(locale) = database.i18n.strings.get_mut(&database.i18n.default_locale) {
for record in &database.config.other_texts {
locale.insert(record.0.clone(), record.1.clone());
}
}
Expand Down

0 comments on commit 425f858

Please sign in to comment.