feat: 汉化了 API 列表中的一些文字
This commit is contained in:
parent
2b6e7c8ca1
commit
0e6fdf3db0
|
@ -14,7 +14,7 @@
|
|||
</aio-select>
|
||||
|
||||
<div class="form-search">
|
||||
<input #filter placeholder="Filter" (input)="setQuery($event.target.value)">
|
||||
<input #filter placeholder="过滤" (input)="setQuery($event.target.value)">
|
||||
<i class="material-icons">search</i>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -42,16 +42,16 @@ export class ApiListComponent implements OnInit {
|
|||
|
||||
// API types
|
||||
types: Option[] = [
|
||||
{ value: 'all', title: 'All' },
|
||||
{ value: 'class', title: 'Class' },
|
||||
{ value: 'const', title: 'Const'},
|
||||
{ value: 'decorator', title: 'Decorator' },
|
||||
{ value: 'directive', title: 'Directive' },
|
||||
{ value: 'enum', title: 'Enum' },
|
||||
{ value: 'function', title: 'Function' },
|
||||
{ value: 'interface', title: 'Interface' },
|
||||
{ value: 'pipe', title: 'Pipe'},
|
||||
{ value: 'type-alias', title: 'Type Alias' }
|
||||
{ value: 'all', title: '全部' },
|
||||
{ value: 'class', title: '类' },
|
||||
{ value: 'const', title: '常量'},
|
||||
{ value: 'decorator', title: '装饰器' },
|
||||
{ value: 'directive', title: '指令' },
|
||||
{ value: 'enum', title: '枚举' },
|
||||
{ value: 'function', title: '函数' },
|
||||
{ value: 'interface', title: '接口' },
|
||||
{ value: 'pipe', title: '管道'},
|
||||
{ value: 'type-alias', title: '类型别名' }
|
||||
];
|
||||
|
||||
statuses: Option[] = [
|
||||
|
|
Loading…
Reference in New Issue