File tree Expand file tree Collapse file tree 6 files changed +26
-26
lines changed
Expand file tree Collapse file tree 6 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export interface RelatedPages {
190190 /** external links */
191191 projectLinks1hop : ProjectRelatedPage [ ] ;
192192
193- /** このページを参照しているページorアイコンがあればtrue */
193+ /** true if there are pages or icons that reference this page */
194194 hasBackLinksOrIcons : boolean ;
195195
196196 /** 2 hop searchのquery */
@@ -210,7 +210,7 @@ export interface InfoboxResult {
210210 truncated : boolean ;
211211}
212212
213- /** 関連ページのメタデータ */
213+ /** related page metadata */
214214export interface RelatedPage extends
215215 Pick <
216216 BasePage ,
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ export type Line =
88 /** section number */
99 number : number ;
1010
11- /** section開始行なら `true` */
11+ /** `true` if section start line */
1212 start : boolean ;
1313
14- /** section終了行なら `true` */
14+ /** `true` if section end line */
1515 end : boolean ;
1616 } ;
1717 }
1818 & ( {
19- /** タイトル行だったときのみ生える */
19+ /** appears only when it was a title line */
2020 title ?: true ;
2121 } | {
2222 codeBlock : CodeBlock ;
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ export interface StrongIcon {
3232}
3333
3434export interface IconUnit < Strong extends boolean = false > extends Unit {
35- /** アイコンがあるページのタイトル */
35+ /** title of the page where the icon is located */
3636 page : string ;
3737
38- /** 繰り返し回数
38+ /** repeat count
3939 *
40- * 最大1000
40+ * maximum 1000
4141 */
4242 size : 1 ;
4343
@@ -49,15 +49,15 @@ export interface IconUnit<Strong extends boolean = false> extends Unit {
4949}
5050
5151export interface ProjectIconUnit < Strong extends boolean > extends Unit {
52- /** アイコンがあるproject name */
52+ /** project name where the icon is located */
5353 project : string ;
5454
55- /** アイコンがあるページのタイトル */
55+ /** title of the page where the icon is located */
5656 page : string ;
5757
58- /** 繰り返し回数
58+ /** repeat count
5959 *
60- * 最大1000
60+ * maximum 1000
6161 */
6262 size : 1 ;
6363
@@ -70,12 +70,12 @@ export interface ProjectIconUnit<Strong extends boolean> extends Unit {
7070}
7171
7272export interface RepeatIconUnit < Strong extends boolean > extends Unit {
73- /** アイコンがあるページのタイトル */
73+ /** title of the page where the icon is located */
7474 page : string ;
7575
76- /** 繰り返し回数
76+ /** repeat count
7777 *
78- * 最大1000
78+ * maximum 1000
7979 */
8080 size : number ;
8181
@@ -88,15 +88,15 @@ export interface RepeatIconUnit<Strong extends boolean> extends Unit {
8888}
8989
9090export interface RepeatProjectIconUnit < Strong extends boolean > extends Unit {
91- /** アイコンがあるproject name */
91+ /** project name where the icon is located */
9292 project : string ;
9393
94- /** アイコンがあるページのタイトル */
94+ /** title of the page where the icon is located */
9595 page : string ;
9696
97- /** 繰り返し回数
97+ /** repeat count
9898 *
99- * 最大1000
99+ * maximum 1000
100100 */
101101 size : number ;
102102
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ export interface Quote {
88 /** 構文解析結果 */
99 unit : QuoteUnit ;
1010
11- /** 中に含まれるNodes */
11+ /** nodes contained inside */
1212 children : Node | NodeWithoutIndent [ ] ;
1313}
1414
1515export interface QuoteUnit extends Unit {
16- /** 引用記号とそれに続く半角空白を1文字含んだもの */
16+ /** quote symbol with following half-width space, containing 1 character */
1717 tag : ">" | "> " ;
1818 whole : `${">" | "> " } ${string } `;
1919}
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ export interface SpotifyUnit extends BracketUnit {
2020}
2121
2222export interface SpotifyParams {
23- /** Spotifyのカテゴリ */
23+ /** Spotify category */
2424 type : "track" | "artist" | "playlist" | "album" | "episode" | "show" ;
2525}
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ export interface PopupMenu {
5353 * @param button button settings
5454 */
5555 addButton : ( button : {
56- /** ボタンのタイトル
56+ /** button title
5757 *
58- * 関数を設定して、選択範囲が変わるたびにタイトルを変更させる事もできる
58+ * you can also set a function to change the title every time the selection changes
5959 */
6060 title : string | ( ( text : string ) => string | undefined ) ;
61- /** ボタンをクリックしたときに実行する処理
61+ /** process to execute when the button is clicked
6262 *
63- * @return ここで返した文字列で選択範囲を置換し、popupを閉じる。 `undefined`を返した場合は何もしない。popupも閉じない
63+ * @return replace the selection with the string returned here and close the popup. If `undefined` is returned, do nothing. The popup will not close either
6464 */
6565 onClick : ( text : string ) => string | undefined ;
6666 } ) => void ;
You can’t perform that action at this time.
0 commit comments