This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
prh.yml
216 lines (212 loc) · 6.45 KB
/
prh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
version: 0.9
rules:
# 日本語版にURLを書き換え
- expected: /ja/
pattern: /\/en-US\//
specs:
- from: https://developer.mozilla.org/en-US/docs/Web
to: https://developer.mozilla.org/ja/docs/Web
# 長音をつけない言葉
- expected: "アクセシビリティ"
pattern: "/アクセシビリティー/"
- expected: "ポータビリティ"
pattern: "/ポータビリティー/"
- expected: "プロパティ"
pattern: "/プロパティー/"
- expected: "セキュリティ"
pattern: "/セキュリティー/"
- expected: "コミュニティ"
pattern: "/コミュニティー/"
- expected: "ハードウェア"
pattern: "/ハードウェアー/"
- expected: "ソフトウェア"
pattern: "/ソフトウェアー/"
# 長音をつける言葉
- expected: "サーバー"
pattern: "/サーバ(?!ー)/"
- expected: "ユーザー"
pattern: "/ユーザ(?!ー)/"
- expected: "ブラウザー"
pattern: "/ブラウザ(?!ー)/"
- expected: "コンピューター"
pattern: "/コンピュータ(?!ー)/"
- expected: "カレンダー"
pattern: "/カレンダ(?!ー)/"
- expected: "プライバシー"
pattern: "/プライバシ(?!ー)/"
- expected: "バイナリー"
pattern: "/バイナリ(?!ー)/"
- expected: "メモリー"
pattern: "/メモリ(?!ー)/"
- expected: "マネージャー"
pattern: "/マネージャ(?!ー)/"
- expected: "フィルター"
pattern: "/フィルタ(?!ー)/"
- expected: "デバッガー"
pattern: "/デバッガ(?!ー)/"
- expected: "ディストリビューター"
pattern: "/ディストリビュータ(?!ー)/"
- expected: "モニター"
pattern: "/モニタ(?!ー)/"
- expected: "カウンター"
pattern: "/カウンタ(?!ー)/"
- expected: "フォルダー"
pattern: "/フォルダ(?!ー)/"
- expected: "イテレーター"
pattern: "/イテレータ(?!ー)/"
- expected: "ジェネレーター"
pattern: "/ジェネレータ(?!ー)/"
- expected: "ディレクトリー"
pattern: "/ディレクトリ(?!ー)/"
# from #260
- expected: "プロキシー"
pattern: "/プロキシ(?!ー)/"
# 日本語の表記揺れ
- expected: "インターフェイス"
pattern: "/インター?フェ[ーイ]ス/"
- expected: "カンマ"
pattern: "/コンマ/"
- expected: "ファイアウォール"
pattern: "/ファイヤー?ウォール/"
- expected: "ウェブ"
pattern: "/Web/"
- expected: "Cookie"
pattern:
- "/クッキー/"
- "/Cookies/"
- expected: "ウイルス"
pattern: "/ウィルス/"
- expected: "ログイン"
pattern: "/サインイン/"
- expected: "ログアウト"
pattern: "/サインアウト/"
# 定型訳
# common - タグ限定
- expected: "仕様"
pattern: "/Specifications/"
- expected: "注"
pattern: "/Note/"
- expected: "警告"
pattern: "/Warning/"
- expected: "例"
pattern: "/Examples/"
- expected: "ブラウザー実装状況"
pattern: "/Browser compatibility/"
- expected: "注記"
pattern: "/Notes/"
- expected: "関連情報"
pattern: "/See also/"
- expected: "型"
pattern: "/Type/"
- expected: "例"
pattern: "/Example/"
- expected: "名前"
pattern: "/Name/"
- expected: "必須"
pattern: "/Mandatory/"
- expected: "はい"
pattern: "/Yes/"
- expected: "いいえ"
pattern: "/No/"
# タグ限定なし
- expected: "例えば、"
pattern: "/[Ff]or example,?/"
- expected: "プログラミング言語"
pattern: "/programming language/"
- expected: "既定では"
pattern: "/[Bb]y default/"
# common - compatibility table
- expected: "基本サポート"
pattern: "/Basic support/"
- expected: "機能"
pattern: "/Feature/"
- expected: "仕様書"
pattern: "/Specification/"
- expected: "策定状況"
pattern: "/Status/"
- expected: "コメント"
pattern: "/Comment/"
- expected: "初期定義"
pattern: "/Initial (definition|specification)./"
# common - constant table
- expected: "値"
pattern: "/Values/"
- expected: "定数"
pattern: "/Associated constant/"
- expected: "説明"
pattern: "/Description/"
# JavaScript API
- expected: "メソッド"
pattern: "/Methods/"
- expected: "プロパティ"
pattern: "/Properties/"
- expected: "構文"
pattern: "/Syntax/"
- expected: "パラメーター"
pattern: "/Parameters/"
- expected: "定数"
pattern: "/Constants/"
- expected: "例外"
pattern: "/Exceptions/"
- expected: "戻り値"
pattern: "/Return value/"
- expected: "結果"
pattern: "/Result/"
- expected: "形式的構文"
pattern: "/Formal syntax/"
# DOM Elements
- expected: "イベントハンドラー"
pattern: "/Event handlers/"
# Learning Area
- expected: "アクティブラーニング:"
pattern: "/Active learning:/"
- expected: "前提条件:"
pattern: "/Prerequisites:/"
- expected: "目的:"
pattern: "/Objective:/"
- expected: "このモジュール内"
pattern: "/In this module/"
- expected: "環境変数:$1"
pattern: "/Environment variable:(.*)/"
# Glossary
- expected: "関連項目"
pattern: "/Learn more/"
- expected: "一般知識"
pattern: "/General knowledge/"
- expected: "技術リファレンス"
pattern: "/Technical reference/"
- expected: "これについて学習する"
pattern: "/Learn about it/"
# Web/HTML/Elements
- expected: "属性"
pattern: "/Attributes/"
- expected: "スクリプティング"
pattern: "/Scripting/"
# Web/Events
- expected: "基本情報"
pattern: "/General info/"
- expected: "関連するイベント"
pattern: "/Related Events/"
- expected: "仕様"
pattern: "/Specification/"
- expected: "インターフェイス"
pattern: "/Interface/"
- expected: "バブリング"
pattern: "/Bubbles/"
- expected: "キャンセル可能か"
pattern: "/Cancelable/"
- expected: "ターゲット"
pattern: "/Target/"
- expected: "既定の動作"
pattern: "/Default Action/"
- expected: "なし"
pattern: "/None/"
# Web/CSS
- expected: "アクセシビリティへの配慮"
pattern: "/Accessibility concerns/"
- expected: "/* <$1> 値 */"
pattern: "/\\/\\* +<(\\w+)> values? +\\*\\//"
- expected: "/* キーワード値 */"
pattern: "/\\/\\* +Keyword values? +\\*\\//"
- expected: "/* グローバル値 */"
pattern: "/\\/\\* +Global values? +\\*\\//"