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 = [ "default", |
23 > var langs = [ ["Default", "C"], |
24 foreach "$translations/langs/lang" { |
24 foreach "$translations/langs/lang" { |
25 > "«.»" |
25 > ["«.»","«@code»"] |
26 if "position()!=last()" > , |
26 if "position()!=last()" > , |
27 } |
27 } |
28 | ]; |
28 | ]; |
29 | var translations = [ |
29 | var translations = [ |
30 foreach "$translatable_texts" { |
30 foreach "$translatable_texts" { |