File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ < html lang ="en ">
2+ < head >
3+ < title > Basic UI translation sample</ title >
4+
5+ <!-- these four links define two translation files for different languages. -->
6+ < link href ="lang/ru.tis " hreflang ="ru " rel ="translation " >
7+ < link href ="lang/en.tis " hreflang ="en " rel ="translation " >
8+ < link href ="lang/zh.tis " hreflang ="zh " rel ="translation " >
9+
10+ < style >
11+ @import url(../ lang.css);
12+ @import url(../ ../ + plus/plus.css);
13+ </ style >
14+
15+ < script type ="text/tiscript ">
16+ include "../lang.tis" ;
17+ include "../lang-tool.tis" ;
18+
19+ $ ( select #lang) << event change ( ) { self . language = this . value ; }
20+ </ script >
21+
22+ </ head >
23+ < body model ="Data ">
24+ < h2 > Basic UI translation sample using Lang framework</ h2 >
25+ < p > testing context menu of <input></ p >
26+ < fieldset >
27+ < p > < label > UI language</ label > < include src =lang-selector.htm /> </ p >
28+ < hr >
29+ < input (test) novalue ="type something "/>
30+ </ fieldset >
31+ </ body >
32+ </ html >
Original file line number Diff line number Diff line change 2020 "First test": "Первый тест",
2121 "Second test": "Второй тест",
2222 "Title test": "Тестовая подсказка",
23+ "Cut": "Вырезать",
24+ "Copy": "Копировать",
25+ "Paste": "Вставить",
26+ "Undo": "Отменить",
27+ "Select All": "Выделить всё",
28+ "type something": "Печатаем что-нибудь",
29+
2330
2431})
You can’t perform that action at this time.
0 commit comments