Skip to content

Commit 28e5f05

Browse files
Copilottakker99
andcommitted
Complete translation of all Japanese comments to English
Co-authored-by: takker99 <37929109+takker99@users.noreply.github.com>
1 parent 1741e25 commit 28e5f05

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

api/pages/project/title.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 */
214214
export interface RelatedPage extends
215215
Pick<
216216
BasePage,

blocks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

node/icon.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ export interface StrongIcon {
3232
}
3333

3434
export 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

5151
export 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

7272
export 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

9090
export 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

node/quote.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1515
export interface QuoteUnit extends Unit {
16-
/** 引用記号とそれに続く半角空白を1文字含んだもの */
16+
/** quote symbol with following half-width space, containing 1 character */
1717
tag: ">" | "> ";
1818
whole: `${">" | "> "}${string}`;
1919
}

node/spotify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ export interface SpotifyUnit extends BracketUnit {
2020
}
2121

2222
export interface SpotifyParams {
23-
/** Spotifyのカテゴリ */
23+
/** Spotify category */
2424
type: "track" | "artist" | "playlist" | "album" | "episode" | "show";
2525
}

scrapbox.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)