A very small commit, but let's do all the string corrections while I am already at it :-) Wraps up #510
This commit is contained in:
committed by
Baptiste Gelez
parent
26fc2cde5d
commit
723d2c4600
@@ -108,7 +108,7 @@ pub fn init() -> Result<(), EditorError> {
|
||||
let subtitle = init_widget(
|
||||
&ed,
|
||||
"h2",
|
||||
i18n!(CATALOG, "Subtitle or summary"),
|
||||
i18n!(CATALOG, "Subtitle, or summary"),
|
||||
subtitle_val,
|
||||
true,
|
||||
)?;
|
||||
@@ -269,7 +269,7 @@ fn make_editable(tag: &'static str) -> Element {
|
||||
.create_element(tag)
|
||||
.expect("Couldn't create editable element");
|
||||
elt.set_attribute("contenteditable", "true")
|
||||
.expect("Couldn't make element editable");
|
||||
.expect("Couldn't make the element editable");
|
||||
elt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user