i18n on the web - deepseek translations2
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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""#));
|
||||
|
||||
Reference in New Issue
Block a user