# HG changeset patch # User Edouard Tisserant # Date 1653559902 -7200 # Node ID 5335895ce5261dc3daa8b87740c25c35b7b8a98b # Parent 6ef4ffcf9761685a9a379e50772d2c53d35c17c8 SVGHMI: Seems inkscape doesn't necessarily use tspan inside of text anymore. diff -r 6ef4ffcf9761 -r 5335895ce526 svghmi/i18n.ysl2 --- a/svghmi/i18n.ysl2 Wed May 25 10:00:24 2022 +0200 +++ b/svghmi/i18n.ysl2 Thu May 26 12:11:42 2022 +0200 @@ -11,6 +11,9 @@ msg { attrib "id" value "@id"; attrib "label" value "substring(@inkscape:label,2)"; + if "string-length(text()) > 0" line { + value "text()"; + } apply "svg:*", mode="extract_i18n"; } }