Skip to content

Commit 6241307

Browse files
kimushun1101ultimatile3w36zj6
authored
ツールチップの翻訳 (#204)
Signed-off-by: Shunsuke Kimura <[email protected]> Co-authored-by: ultimatile <[email protected]> Co-authored-by: 3w36zj6 <[email protected]>
1 parent 5f2fdaa commit 6241307

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

website/src/components/ui/Tooltip.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,57 +25,57 @@ const tooltipContent: Record<
2525
}
2626
> = {
2727
element: {
28-
label: "Element",
29-
desc: "Element functions can be customized with <code>set</code> and <code>show</code> rules.",
28+
label: "要素関数",
29+
desc: "要素関数は<code>set</code>ルールや<code>show</code>ルールでカスタマイズできます。",
3030
isShowLabel: true,
3131
bgColor: "bg-blue-50",
3232
textColor: "text-blue-700",
3333
},
3434
contextual: {
35-
label: "Contextual",
36-
desc: "Contextual functions can only be used when the context is known",
35+
label: "コンテキスト関数",
36+
desc: "コンテキスト関数は、コンテキストが既知の場合にのみ使用できます。",
3737
isShowLabel: true,
3838
bgColor: "bg-indigo-50",
3939
textColor: "text-indigo-700",
4040
},
4141
definitions: {
42-
label: "Definitions",
43-
desc: "Functions and types and can have associated definitions. These are accessed by specifying the function or type, followed by a period, and then the definition's name.",
42+
label: "定義",
43+
desc: "これらの関数や型には、関連する定義を持たせることができます。定義にアクセスするには、対象の関数や型の名前を指定した後に、ピリオド区切りで定義名を記述します。",
4444
isShowLabel: false,
4545
bgColor: "bg-gray-100",
4646
textColor: "text-gray-700",
4747
},
4848
parameters: {
49-
label: "Parameters",
50-
desc: "Parameters are the inputs to a function. They are specified in parentheses after the function name.",
49+
label: "引数",
50+
desc: "引数は関数への入力値です。関数名の後に括弧で囲んで指定します。",
5151
isShowLabel: false,
5252
bgColor: "bg-gray-100",
5353
textColor: "text-gray-700",
5454
},
5555
variadic: {
56-
label: "Variadic",
57-
desc: "Variadic parameters can be specified multiple times.",
56+
label: "可変長引数",
57+
desc: "可変長引数は複数回指定することができます。",
5858
isShowLabel: true,
5959
bgColor: "bg-green-50",
6060
textColor: "text-green-700",
6161
},
6262
settable: {
63-
label: "Settable",
64-
desc: "Settable parameters can be customized for all following uses of the function with a <code>set</code> rule.",
63+
label: "設定可能引数",
64+
desc: "設定可能引数は、<code>set</code>ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。",
6565
isShowLabel: true,
6666
bgColor: "bg-amber-50",
6767
textColor: "text-amber-700",
6868
},
6969
positional: {
70-
label: "Positional",
71-
desc: "Positional parameters are specified in order, without names.",
70+
label: "位置引数",
71+
desc: "位置引数は順序通りに指定することで、引数名を省略して設定できます。",
7272
isShowLabel: true,
7373
bgColor: "bg-purple-50",
7474
textColor: "text-purple-700",
7575
},
7676
required: {
77-
label: "Required",
78-
desc: "Required parameters must be specified when calling the function.",
77+
label: "必須引数",
78+
desc: "必須引数は、関数を呼び出す際に必ず指定しなければなりません。",
7979
isShowLabel: true,
8080
bgColor: "bg-rose-50",
8181
textColor: "text-rose-700",

0 commit comments

Comments
 (0)