i18n-behavior
Version:
Instant and Modular I18N engine for lit-html and Polymer
79 lines • 5.36 kB
HTML
<!-- temporary HTML --><html><head></head><body><encoded-original>CiAgICA8c3BhbiBpZD0iYXR0cjEiPnt7Y3VzdG9tVGV4dEF0dHIxfX08L3NwYW4+CiAgICA8c3BhbiBpZD0iYXR0cjIiPnt7Y3VzdG9tVGV4dEF0dHIyfX08L3NwYW4+CiAgICA8c3BhbiBpZD0iYXR0cjMiPnt7Y3VzdG9tVGV4dEF0dHIzfX08L3NwYW4+CiAgICA8c3BhbiBpZD0iYXR0cjQiPnt7b3V0T2ZTY29wZUF0dHJ9fTwvc3Bhbj4KICAgIDxzcGFuPnRleHQ8L3NwYW4+Cg==</encoded-original><link rel="import" href="../../../i18n-element.html"><i18n-attr-repo>
<template id="custom">
<text-attribute-element custom-text-attr1=""></text-attribute-element>
<text-attribute-element custom-text-attr2=""></text-attribute-element>
<text-attribute-element custom-text-attr3=""></text-attribute-element>
<text-attribute-element custom-text-attr4="$"></text-attribute-element>
<text-attribute-element custom-text-attr5="$"></text-attribute-element>
<text-attribute-element i18n-target=""></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr,!boolean-attr2,string-attr=abc|def,empty-attr=,type1"></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr,boolean-attr2,string-attr=aaa,type2"></text-attribute-element>
<text-attribute-element i18n-target="string-attr=aaa,string-attr2=bbb,type3"></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr=,type4"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr,!boolean-attr2,string-attr=abc|def,empty-attr=,type1"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr,boolean-attr2,,string-attr=aaa,,type2"></text-attribute-element>
<text-attribute-element i18n-target2="string-attr=aaa,string-attr2=bbb,type3"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr=,type4"></text-attribute-element>
<text-attribute-element i18n-target2="type5"></text-attribute-element>
<text-attribute-element i18n-target3="string-attr=aaa,type1"></text-attribute-element>
<text-attribute-element i18n-target3=""></text-attribute-element>
<text-attribute-element i18n-target4=""></text-attribute-element>
<text-attribute-element i18n-target4="string-attr=aaa,type1"></text-attribute-element>
<text-attribute-element i18n-target5=""></text-attribute-element>
<text-attribute-element i18n-target5="type1"></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr=,type4"></text-attribute-element>
<text-attribute-element i18n-target="string-attr=aaa,string-attr2=bbb,type3"></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr,,boolean-attr2,,string-attr=aaa"></text-attribute-element>
<text-attribute-element i18n-target="boolean-attr,!boolean-attr2,string-attr=abc|def,empty-attr=,type1"></text-attribute-element>
<text-attribute-element i18n-target=""></text-attribute-element>
<text-attribute-element i18n-target2="type5"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr="></text-attribute-element>
<text-attribute-element i18n-target2="string-attr=aaa,string-attr2=bbb,type3"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr,!boolean-attr2,,string-attr=abc|def,,empty-attr=,type1"></text-attribute-element>
<text-attribute-element i18n-target2="boolean-attr,,boolean-attr2,,string-attr=aaa,type2"></text-attribute-element>
<text-attribute-element i18n-target3="string-attr=aaa,type1"></text-attribute-element>
<text-attribute-element i18n-target3=""></text-attribute-element>
<text-attribute-element i18n-target4=""></text-attribute-element>
<text-attribute-element i18n-target4="string-attr=aaa,type1"></text-attribute-element>
<text-attribute-element i18n-target5=""></text-attribute-element>
<text-attribute-element i18n-target5="type1"></text-attribute-element>
<text-attribute-element i18n-target6="type5"></text-attribute-element>
<text-attribute-element i18n-target6="boolean-attr="></text-attribute-element>
<text-attribute-element i18n-target6="boolean-attr,boolean-attr2,type1"></text-attribute-element>
<text-attribute-element i18n-target6="boolean-attr,boolean-attr2,string-attr=aaa,type2"></text-attribute-element>
<text-attribute-element i18n-target7="string-attr=aaa,type1"></text-attribute-element>
<text-attribute-element i18n-target7="invalid!attr=aaa,typeX"></text-attribute-element>
</template>
</i18n-attr-repo>
<template id="text-attribute-element" basepath="simple-attribute-element/" localizable-text="embedded">
<span id="attr1">{{customTextAttr1}}</span>
<span id="attr2">{{customTextAttr2}}</span>
<span id="attr3">{{customTextAttr3}}</span>
<span id="attr4">{{outOfScopeAttr}}</span>
<span>{{text.span_4}}</span>
<template id="localizable-text">
<json-data>
{
"meta": {},
"model": {},
"span_4": "text"
}
</json-data>
</template>
</template><dom-module id="text-attribute-element"><template localizable-text="embedded">
<span id="attr1">{{customTextAttr1}}</span>
<span id="attr2">{{customTextAttr2}}</span>
<span id="attr3">{{customTextAttr3}}</span>
<span id="attr4">{{outOfScopeAttr}}</span>
<span>{{text.span_4}}</span>
<template id="localizable-text">
<json-data>
{
"meta": {},
"model": {},
"span_4": "text"
}
</json-data>
</template>
</template></dom-module>
</body></html>