equal
deleted
inserted
replaced
9 |
9 |
10 template "svg:text", mode="extract_i18n" { |
10 template "svg:text", mode="extract_i18n" { |
11 msg { |
11 msg { |
12 attrib "id" value "@id"; |
12 attrib "id" value "@id"; |
13 attrib "label" value "substring(@inkscape:label,2)"; |
13 attrib "label" value "substring(@inkscape:label,2)"; |
|
14 if "string-length(text()) > 0" line { |
|
15 value "text()"; |
|
16 } |
14 apply "svg:*", mode="extract_i18n"; |
17 apply "svg:*", mode="extract_i18n"; |
15 } |
18 } |
16 } |
19 } |
17 |
20 |
18 const "translatable_texts", "//svg:text[starts-with(@inkscape:label, '_')]"; |
21 const "translatable_texts", "//svg:text[starts-with(@inkscape:label, '_')]"; |