|
| 1 | +<template> |
| 2 | + <Page> |
| 3 | + <ActionBar :title="'app.name' | L"></ActionBar> |
| 4 | + <ScrollView> |
| 5 | + <StackLayout> |
| 6 | + <Label :text="'hello.world' | L"></Label> |
| 7 | + <Label :text="'sprintf' | L"></Label> |
| 8 | + <Label :text="'sprintf' | L('PARTIALLY')"></Label> |
| 9 | + <Label :text="'sprintf' | L('AGAIN', 'OK')"></Label> |
| 10 | + <Label :text="'sprintf.numbered.placeholders' | L('1', '2')"></Label> |
| 11 | + <Label :text="'array' | L"></Label> |
| 12 | + <Label :text="'this.key.does.not.exist' | L"></Label> |
| 13 | + <Label :text="'html' | L"></Label> |
| 14 | + <Label :text="'new.line' | L"></Label> |
| 15 | + <Label :text="'new.line' | L" textWrap="true"></Label> |
| 16 | + <Label :text="'tab' | L" textWrap="true"></Label> |
| 17 | + <Label :text="'special.characters.n' | L" textWrap="true"></Label> |
| 18 | + <Label :text="'special.characters.r' | L" textWrap="true"></Label> |
| 19 | + <Label :text="'special.characters.t' | L" textWrap="true"></Label> |
| 20 | + <Label :text="'special.characters.backslash' | L" textWrap="true"></Label> |
| 21 | + <Label :text="'special.characters.single.quote' | L" textWrap="true"></Label> |
| 22 | + <Label :text="'special.characters.double.quote' | L" textWrap="true"></Label> |
| 23 | + <Label :text="'special.keys.\n' | L" textWrap="true"></Label> |
| 24 | + <Label :text="'special.keys.\r' | L" textWrap="true"></Label> |
| 25 | + <Label :text="'special.keys.\t' | L" textWrap="true"></Label> |
| 26 | + <Label :text="'special.keys.\\' | L" textWrap="true"></Label> |
| 27 | + <Label :text="'special.keys.\'' | L" textWrap="true"></Label> |
| 28 | + <Label :text="'special.keys."' | L" textWrap="true"></Label> |
| 29 | + </StackLayout> |
| 30 | + </ScrollView> |
| 31 | + </Page> |
| 32 | +</template> |
| 33 | + |
| 34 | +<style scoped> |
| 35 | + Label { |
| 36 | + border-color: #cccccc; |
| 37 | + border-width: 1; |
| 38 | + margin-bottom: 10; |
| 39 | + padding: 5; |
| 40 | + } |
| 41 | +</style> |
0 commit comments