-
Notifications
You must be signed in to change notification settings - Fork 435
/
translateGlossary.js
603 lines (603 loc) · 13.1 KB
/
translateGlossary.js
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
// `sources`에 속한 단어들은 특수한 경우를 제외하고는 기본적으로 '원자성'을 유지해야 합니다. ex) 'stateless component'(x) -> 'stateless'(O), 'component'(O)
// 단, `-`(dash)로 이어진 단어 ex) 'full-stack'은 한개의 단어로 취급합니다.
module.exports = {
translated: {
react: [
{
sources: [/\bTutorial\b/, /[듀튜]토리얼/],
target: '자습서',
meta: {
term: 'Tutorial',
discussions: [2],
note: '',
},
},
{
sources: [/\bDeclarative\b/],
target: '선언적인',
meta: {
term: 'Declarative',
discussions: [2],
note: '',
},
},
{
sources: [/\bComponent\b/, /컴퍼넌트/, /컴포넌츠/],
target: '컴포넌트',
meta: {
term: 'Component',
discussions: [2],
note: '',
},
},
{
sources: [/\bStateful\b/],
target: '유상태',
meta: {
term: 'Stateful',
discussions: [2],
note: '',
},
},
{
sources: [/\bStateless\b/],
target: '무상태',
meta: {
term: 'Stateless',
discussions: [2],
note: '',
},
},
{
sources: [
/\bRender(?!er)(?:ing)?\b/,
/랜더링/,
/[렌랜]더(?!링)\s?[하한할함합]/,
],
target: '렌더링(하다)',
meta: {
term: 'Render',
discussions: [2],
note: '',
},
},
{
sources: [/\bData\b/, /대이터/],
target: '데이터',
meta: {
term: 'Data',
discussions: [2],
note: '',
},
},
{
sources: [/\bApplication\b/, /어플리케이[선션]/, /응용\s?프로그램/],
target: '애플리케이션',
meta: {
term: 'Application',
discussions: [2],
note: '',
},
},
{
sources: [/\bExternal\b/],
target: '외부',
meta: {
term: 'External',
discussions: [2],
note: '',
},
},
{
sources: [/\bPlugin\b/],
target: '플러그인',
meta: {
term: 'Plugin',
discussions: [2],
note: '',
},
},
{
sources: [/\bThird\b/, /써드/],
target: '서드',
meta: {
term: 'Third',
discussions: [2],
note: '',
},
},
{
sources: [/\bSyntax\b/, /[신씬]택스/],
target: '문법',
meta: {
term: 'Syntax',
discussions: [2],
note: '',
},
},
{
sources: [/\bEmbedding\s?Expression\b/],
target: '표현식 포함하기',
meta: {
term: 'Embedding Expression',
discussions: [2],
note: '',
},
},
{
sources: [/\bAttribute\b/, /애트리뷰트/],
target: '어트리뷰트',
meta: {
term: 'Attribute',
discussions: [2],
note: '',
},
},
{
sources: [/\bElement\b/, /[엘앨]리먼츠/, /앨리먼트/],
target: '엘리먼트',
meta: {
term: 'Element',
discussions: [2],
note: '',
},
},
{
sources: [/\bFunction(?:al)?\b/],
target: '함수',
meta: {
term: 'Function',
discussions: [2],
note: '',
},
},
{
sources: [/\bClass\b/],
target: '클래스',
meta: {
term: 'Class',
discussions: [2],
note: '',
},
},
{
sources: [/\bComposition\b/, /[컴콤][퍼포]지[선션]/],
target: '합성',
meta: {
term: 'Composition',
discussions: [2],
note: '',
},
},
{
sources: [/\bInheritance\b/],
target: '상속',
meta: {
term: 'Inheritance',
discussions: [2],
note: '',
},
},
{
sources: [/\bLife\s?Cycle\b/, /라이프\s?사이클/, /생명 주기/],
target: '생명주기',
meta: {
term: 'Lifecycle',
discussions: [2],
note: '',
},
},
{
sources: [/\bHandling\b/, /핸들링/],
target: '처리',
meta: {
term: 'Handling',
discussions: [2],
note: '',
},
},
{
sources: [/\bConditional\b/, /컨디[서셔][날널]/],
target: '조건부',
meta: {
term: 'Conditional',
discussions: [2],
note: '',
},
},
{
sources: [/\bOperator\b/, /오퍼[레래]이터/],
target: '연산자',
meta: {
term: 'Operator',
discussions: [2],
note: '',
},
},
{
sources: [/\bReuse\b/],
target: '재사용',
meta: {
term: 'Reuse',
discussions: [2],
note: '',
},
},
{
sources: [/\bMock\b/],
target: '모의',
meta: {
term: 'Mock',
discussions: [2],
note: '',
},
},
{
sources: [/\bCallback\b/],
target: '콜백',
meta: {
term: 'Callback',
discussions: [2],
note: '',
},
},
{
sources: [/\bSynthetic\b/],
target: '합성',
meta: {
term: 'Synthetic',
discussions: [2],
note: '',
},
},
{
sources: [/\bEvent\b/],
target: '이벤트',
meta: {
term: 'Event',
discussions: [2],
note: '',
},
},
{
sources: [/\bHigher\s?Order\b/],
target: '고차',
meta: {
term: 'Higher Order',
discussions: [2],
note: '',
},
},
{
sources: [/\b(?<!Un)Mount\b/],
target: '마운트',
meta: {
term: 'Mount',
discussions: [2],
note: '',
},
},
{
sources: [/\bUnmount\b/, /언마운트/],
target: '마운트 해제',
meta: {
term: 'Unmount',
discussions: [2],
note: '',
},
},
{
sources: [/\bForm\b/],
target: '폼',
meta: {
term: 'Form',
discussions: [2],
note: '',
},
},
{
sources: [/\bWrapper\b/],
target: '래퍼',
meta: {
term: 'Wrapper',
discussions: [2],
note: '',
},
},
{
sources: [/\bChild(?:ren)?\b/],
target: '자식',
meta: {
term: 'Children',
discussions: [2],
note: '',
},
},
{
sources: [/\bCode[-\s]?Splitting\b/],
target: '코드 분할',
meta: {
term: 'Code-Splitting',
discussions: [2],
note: '',
},
},
{
sources: [/\bReconciliation\b/],
target: '재조정',
meta: {
term: 'Reconciliation',
discussions: [2],
note: '',
},
},
{
sources: [/\bPropert(?:y|ies)\b/],
target: '프로퍼티',
meta: {
term: 'Property',
discussions: [2],
note: '',
},
},
{
sources: [/\bReference\b/, /래퍼런스/],
target: '레퍼런스',
meta: {
term: 'Reference',
discussions: [569],
note: '',
},
},
{
sources: [/\bUser\b/, /유저/],
target: '사용자',
meta: {
term: 'User',
discussions: [569],
note: '',
},
},
{
sources: [/\bInterface\b/],
target: '인터페이스',
meta: {
term: 'Interface',
discussions: [569],
note: '',
},
},
{
sources: [/\bMarkup\b/, /마크 업/],
target: '마크업',
meta: {
term: 'Markup',
discussions: [569],
note: '',
},
},
{
sources: [/\bInteracti(?:vity|on)\b/, /인터[랙렉][선션]/],
target: '상호작용',
meta: {
term: 'Interactivity',
discussions: [569],
note: '',
},
},
{
sources: [/\bArchitecture\b/, /아키택처/, /아키[택텍]쳐/],
target: '아키텍처',
meta: {
term: 'Architecture',
discussions: [569],
note: '',
},
},
{
sources: [/\bFull[-\s]?Stack\b/],
target: '풀스택',
meta: {
term: 'Full-Stack',
discussions: [569],
note: '',
},
},
{
sources: [/\bBrowser\b/],
target: '브라우저',
meta: {
term: 'Browser',
discussions: [610],
note: '',
},
},
{
sources: [/\bExtension\b/, /확장프로그램/],
target: '확장 프로그램',
meta: {
term: 'Extension',
discussions: [610],
note: '',
},
},
{
sources: [/\bEscape[-\s]?Hatches\b/],
target: '탈출구',
meta: {
term: 'Escape Hatches',
discussions: [738],
note: '',
},
},
{
sources: [/\bBundles?\b/],
target: '번들',
meta: {
term: 'Bundle',
discussions: [829],
note: '',
},
},
{
sources: [/\bBundlers?\b/],
target: '번들러',
meta: {
term: 'Bundler',
discussions: [829],
note: '',
},
},
{
sources: [/\bBundling\b/],
target: '번들링',
meta: {
term: 'Bundling',
discussions: [829],
note: '',
},
},
],
others: [
{
sources: [/\bTips?\b/],
target: '팁',
meta: {
term: 'Tip',
discussions: [2],
note: '',
},
},
{
sources: [/\bExamples?\b/, /예제/],
target: '예시',
meta: {
term: 'Example',
discussions: [2],
note: '',
},
},
{
sources: [/\bChapters?\b/, /[챕쳅]터/],
target: '장',
meta: {
term: 'Chapter',
discussions: [2],
note: '',
},
},
{
sources: [/\bSpec(?:ification)?s?\b/, /스[펙팩]/],
target: '명세',
meta: {
term: 'Specification',
discussions: [2],
note: 'Spec도 동일하게 번역',
},
},
{
sources: [/\bcamel\s?Case\b/, /[캐카][맬멜]\s?케이스/],
target: '캐멀 케이스',
meta: {
term: 'camelCase',
discussions: [2],
note: '',
},
},
{
sources: [/\bParam(?:eter)?s?\b/, /[파패][라러]미터/, /매개 변수/],
target: '매개변수',
meta: {
term: 'Parameter',
discussions: [614],
note: '',
},
},
{
sources: [/\bDeprecated\b/],
target: '더 이상 사용되지 않습니다.',
meta: {
term: 'Deprecated',
discussions: [632],
note: '',
},
},
{
sources: [/\bPitfall\b/],
target: '주의하세요!',
meta: {
term: 'Pitfall',
discussions: [632],
note: '',
},
},
{
sources: [/\bNote\b/],
target: '중요합니다!',
meta: {
term: 'Note',
discussions: [632],
note: '',
},
},
{
sources: [/\bWip\b/],
target: '개발중이에요',
meta: {
term: 'Wip',
discussions: [632],
note: '',
},
},
{
sources: [/\bReturns\b/, /반환\s+(?:값\s+)?{\//],
target: '반환값',
meta: {
term: 'Returns',
discussions: [725],
note: '제목에 사용된 경우',
},
},
{
sources: [/\bCaveats?\b/, /주의사항/],
target: '주의 사항',
meta: {
term: 'Caveats',
discussions: [1095],
note: '',
},
},
{
sources: [/\bLogic\b/],
target: '로직',
meta: {
term: 'Logic',
discussions: [695],
note: '',
},
},
{
sources: [/\bDependenc(?:y|ies)\b/],
target: '의존성',
meta: {
term: 'Dependency',
discussions: [841],
note: '',
},
},
{
sources: [/\bDirectives?\b/],
target: '지시어',
meta: {
term: 'Directive',
discussions: [819],
note: '',
},
},
],
},
// untranslated: {
// react: [],
// others: [],
// },
};