feat: translate window and theme (#16)

pull/23/head
youngjuning 3 years ago committed by GitHub
parent 1d5a5aa450
commit cc485b1400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
VS Code API 是一系列你可以在 Visual Studio Code 扩展中调用的 JavaScript API。这个站点列出了扩展开发者可以使用的所有 VS Code API。原网站没有中文翻译且不方便阅读所以有了该网站。

@ -5,7 +5,7 @@
<div class="tsd-index-content">
{{#each categories}}
<section class="tsd-index-section">
<h3>{{title}}</h3>
<h3>{{title}}{{children.length}}</h3>
<ul class="tsd-index-list">
{{#each children}}
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>
@ -26,7 +26,7 @@
<section class="tsd-index-section {{cssClasses}}">
{{#if categories}}
{{#each categories}}
<h3>{{#if title}}{{title}} {{/if}}{{../title}}</h3>
<h3>{{#if title}}{{title}} {{/if}}{{../title}}{{children.length}}</h3>
<ul class="tsd-index-list">
{{#each children}}
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>
@ -34,7 +34,7 @@
</ul>
{{/each}}
{{else}}
<h3>{{title}}</h3>
<h3>{{title}}{{children.length}}</h3>
<ul class="tsd-index-list">
{{#each children}}
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>

@ -1,7 +1,7 @@
{{#if categories}}
{{#each categories}}
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
<h2>{{#if title}}{{title}} {{/if}}{{../title}}</h2>
<h2>{{#if title}}{{title}} {{/if}}{{../title}}{{children.length}}</h2>
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}
@ -11,7 +11,7 @@
{{/each}}
{{else}}
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
<h2>{{title}}</h2>
<h2>{{title}}{{children.length}}</h2>
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}

@ -2,7 +2,7 @@
{{#each categories}}
{{#unless allChildrenHaveOwnDocument}}
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
<h2>{{title}}</h2>
<h2>{{title}}{{children.length}}</h2>
{{#each children}}
{{#unless hasOwnDocument}}
{{> member}}

@ -15,7 +15,7 @@
{{#if model.typeHierarchy}}
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<h3>层级</h3>
{{#with model.typeHierarchy}}{{> hierarchy}}{{/with}}
</section>
{{/if}}

@ -4,8 +4,5 @@
"theme": "./theme",
"out": "docs",
"readme": "./README.md",
"sort": ["source-order"],
"excludePrivate": true,
"excludeProtected": true,
"excludeInternal": true
"sort": ["source-order"]
}

7
vscode.d.ts vendored

@ -8442,7 +8442,7 @@ export interface UriHandler {
}
/**
* UI
* window UI
* @maintainer {@link https://github.com/youngjuning @youngjuning}
*/
export namespace window {
@ -8458,9 +8458,8 @@ export namespace window {
export let visibleTextEditors: TextEditor[];
/**
* An {@link Event} which fires when the {@link window.activeTextEditor active editor}
* has changed. *Note* that the event also fires when the active editor changes
* to `undefined`.
* {@link window.activeTextEditor } {@link Event}
* ** `undefined`
*/
export const onDidChangeActiveTextEditor: Event<TextEditor | undefined>;

Loading…
Cancel
Save