i18n on the web - deepseek translations2

This commit is contained in:
Priec
2026-08-14 20:52:31 +02:00
parent 8f1bfdbe0c
commit 967335d4ca
16 changed files with 110 additions and 33 deletions

View File

@@ -1089,6 +1089,6 @@ mod tests {
source: "name".to_string(),
alias: "row_revision".to_string(),
}];
assert!(draft.validate_generated_aliases().is_err());
assert!(draft.validate_generated_aliases(crate::i18n::Locale::default()).is_err());
}
}

View File

@@ -512,7 +512,7 @@ mod tests {
/// A load failure has no draft to render, so the dialog is the response.
#[test]
fn a_load_failure_answers_with_the_dialog() {
let html = render_submission_error("The backend is unreachable.");
let html = render_submission_error(crate::i18n::Locale::default(), "The backend is unreachable.");
assert!(!html.contains("Template error"), "{html}");
assert!(html.contains(r#"role="dialog""#));