Skip to content

Commit 753a0df

Browse files
Xiaokang2022pawamoy
authored andcommitted
refactor: Improve translations for Simplified Chinese and Japanese
PR-244: #244
1 parent 0aaa260 commit 753a0df

File tree

4 files changed

+32
-32
lines changed

4 files changed

+32
-32
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html.jinja

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
{% macro t(key) %}{{ {
1111
"ATTRIBUTE": "属性",
1212
"Attributes:": "属性:",
13-
"Classes:": "",
14-
"CLASS": "",
13+
"Classes:": "クラス:",
14+
"CLASS": "クラス",
1515
"DEFAULT:": "デフォルト:",
1616
"Default": "デフォルト",
1717
"default:": "デフォルト:",
1818
"DESCRIPTION": "デスクリプション",
1919
"Description": "デスクリプション",
2020
"Examples:": "例:",
21-
"Functions:": "",
22-
"FUNCTION": "",
23-
"Methods:": "",
24-
"METHOD": "",
25-
"Modules:": "",
26-
"MODULE": "",
21+
"Functions:": "関数:",
22+
"FUNCTION": "関数",
23+
"Methods:": "メソッド:",
24+
"METHOD": "メソッド",
25+
"Modules:": "モジュール:",
26+
"MODULE": "モジュール",
2727
"Name": "名前",
2828
"Other Parameters:": "他の引数:",
2929
"PARAMETER": "引数",

src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html.jinja

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
{% macro t(key) %}{{ {
1111
"ATTRIBUTE": "属性",
1212
"Attributes:": "属性:",
13-
"Classes:": "",
14-
"CLASS": "",
13+
"Classes:": "类:",
14+
"CLASS": "",
1515
"DEFAULT:": "默认:",
1616
"Default": "默认",
1717
"default:": "默认:",
1818
"DESCRIPTION": "描述",
1919
"Description": "描述",
2020
"Examples:": "示例:",
21-
"Functions:": "",
22-
"FUNCTION": "",
23-
"Methods:": "",
24-
"METHOD": "",
25-
"Modules:": "",
26-
"MODULE": "",
21+
"Functions:": "函数:",
22+
"FUNCTION": "函数",
23+
"Methods:": "方法:",
24+
"METHOD": "方法",
25+
"Modules:": "模块:",
26+
"MODULE": "模块",
2727
"Name": "名称",
2828
"Other Parameters:": "其他参数:",
2929
"PARAMETER": "参数",

src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html.jinja

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
{% macro t(key) %}{{ {
55
"ATTRIBUTE": "属性",
66
"Attributes:": "属性:",
7-
"Classes:": "",
8-
"CLASS": "",
7+
"Classes:": "クラス:",
8+
"CLASS": "クラス",
99
"DEFAULT:": "デフォルト:",
1010
"Default": "デフォルト",
1111
"default:": "デフォルト:",
1212
"DESCRIPTION": "デスクリプション",
1313
"Description": "デスクリプション",
1414
"Examples:": "例:",
15-
"Functions:": "",
16-
"FUNCTION": "",
17-
"Methods:": "",
18-
"METHOD": "",
19-
"Modules:": "",
20-
"MODULE": "",
15+
"Functions:": "関数:",
16+
"FUNCTION": "関数",
17+
"Methods:": "メソッド:",
18+
"METHOD": "メソッド",
19+
"Modules:": "モジュール:",
20+
"MODULE": "モジュール",
2121
"Name": "名前",
2222
"Other Parameters:": "他の引数:",
2323
"PARAMETER": "引数",

src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html.jinja

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
{% macro t(key) %}{{ {
55
"ATTRIBUTE": "属性",
66
"Attributes:": "属性:",
7-
"Classes:": "",
8-
"CLASS": "",
7+
"Classes:": "类:",
8+
"CLASS": "",
99
"DEFAULT:": "默认:",
1010
"Default": "默认",
1111
"default:": "默认:",
1212
"DESCRIPTION": "描述",
1313
"Description": "描述",
1414
"Examples:": "示例:",
15-
"Functions:": "",
16-
"FUNCTION": "",
17-
"Methods:": "",
18-
"METHOD": "",
19-
"Modules:": "",
20-
"MODULE": "",
15+
"Functions:": "函数:",
16+
"FUNCTION": "函数",
17+
"Methods:": "方法:",
18+
"METHOD": "方法",
19+
"Modules:": "模块:",
20+
"MODULE": "模块",
2121
"Name": "名称",
2222
"Other Parameters:": "其他参数:",
2323
"PARAMETER": "参数",

0 commit comments

Comments
 (0)