@@ -20,12 +20,22 @@ export function correctTranslatedContentStrings(content, englishContent, context
20
20
content = content . replaceAll ( '[AUTOTITLE"을 참조하세요.](' , '[AUTOTITLE](' )
21
21
content = content . replaceAll ( '[ AUTOTITLE](' , '[AUTOTITLE](' )
22
22
content = content . replaceAll ( '[ "AUTOTITLE](' , '[AUTOTITLE](' )
23
+ content = content . replaceAll ( '[«AUTOTITLE»](' , '[AUTOTITLE](' )
23
24
24
25
if ( context . code === 'ru' ) {
25
- // We've seen a lot of these in the Russian translations:
26
+ // Low-hanging fruit for the data tag
26
27
content = content . replaceAll ( '{% данных variables' , '{% data variables' )
28
+ content = content . replaceAll ( '{% данными variables' , '{% data variables' )
29
+ content = content . replaceAll ( '{% данных организации variables' , '{% data variables' )
30
+ content = content . replaceAll ( '{% данным variables' , '{% data variables' )
27
31
content = content . replaceAll ( '{% данных reusables' , '{% data reusables' )
32
+ content = content . replaceAll ( '{% данными reusables' , '{% data reusables' )
28
33
content = content . replaceAll ( '{% variables.' , '{% data variables.' )
34
+ content = content . replaceAll ( '{% необработанного %}' , '{% raw %}' )
35
+ content = content . replaceAll ( '{%- ifversion fpt или ghec %}' , '{%- ifversion fpt or ghec %}' )
36
+ content = content . replaceAll ( '{% ifversion fpt или ghec %}' , '{% ifversion fpt or ghec %}' )
37
+ content = content . replaceAll ( '{% endif _%}' , '{% endif %}' )
38
+ content = content . replaceAll ( '{% конечным %}' , '{% endif %}' )
29
39
30
40
// For the rather custom Russian translation of
31
41
// the content/get-started/learning-about-github/github-glossary.md page
@@ -38,7 +48,22 @@ export function correctTranslatedContentStrings(content, englishContent, context
38
48
content = content . replaceAll ( '{{ глоссарий.description }}' , '{{ glossary.description }}' )
39
49
}
40
50
51
+ if ( context . code === 'ja' ) {
52
+ // Low-hanging fruit for the data tag
53
+ content = content . replaceAll ( '{% データ variables' , '{% data variables' )
54
+ content = content . replaceAll ( '{% データvariables' , '{% data variables' )
55
+ }
56
+
57
+ if ( context . code === 'zh' ) {
58
+ // Low-hanging fruit for the data tag
59
+ content = content . replaceAll ( '{% 数据variables' , '{% data variables' )
60
+ }
61
+
41
62
if ( context . code === 'ko' ) {
63
+ // Low-hanging fruit for the data tag
64
+ content = content . replaceAll ( '{% 데이터 variables' , '{% data variables' )
65
+ content = content . replaceAll ( '{% 데이터 reusables.' , '{% data reusables.' )
66
+
42
67
// For the rather custom Korean translation of github-glossary.md
43
68
// Let's try to salvage based on what's in
44
69
// docs-internal.ko-kr/content/get-started/learning-about-github/github-glossary.md
0 commit comments