equal
deleted
inserted
replaced
18 const "translatable_texts", "//svg:text[starts-with(@inkscape:label, '_')]"; |
18 const "translatable_texts", "//svg:text[starts-with(@inkscape:label, '_')]"; |
19 const "translatable_strings" apply "$translatable_texts", mode="extract_i18n"; |
19 const "translatable_strings" apply "$translatable_texts", mode="extract_i18n"; |
20 |
20 |
21 emit "preamble:i18n" { |
21 emit "preamble:i18n" { |
22 const "translations", "ns:GetTranslations($translatable_strings)"; |
22 const "translations", "ns:GetTranslations($translatable_strings)"; |
23 > var langs = [ |
23 > var langs = [ "default", |
24 foreach "$translations/langs/lang" { |
24 foreach "$translations/langs/lang" { |
25 > "«.»" |
25 > "«.»" |
26 if "position()!=last()" > , |
26 if "position()!=last()" > , |
27 } |
27 } |
28 | ]; |
28 | ]; |