File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/scripts/crowdin/translations Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const getQAMessage = (locale: string) => {
50
50
return `
51
51
\`\`\`shell
52
52
yarn markdown-checker
53
- \`\`\`l
53
+ \`\`\`
54
54
55
55
<details><summary>Unfold for ${ summaryJson [ locale ] . length } result(s)</summary>
56
56
@@ -89,9 +89,7 @@ export const processLocale = (locale: string, buckets: number[]) => {
89
89
Thank you to everyone contributing to translate ethereum.org ❤️
90
90
91
91
## Content buckets imported
92
- ${ new Intl . ListFormat ( "en" , { type : "conjunction" } ) . format (
93
- buckets . map ( String )
94
- ) }
92
+ ${ buckets . sort ( ( a , b ) => a - b ) . join ( ", " ) }
95
93
96
94
## Markdown QA checker alerts
97
95
${ getQAMessage ( locale ) }
@@ -117,7 +115,7 @@ export const processLocale = (locale: string, buckets: number[]) => {
117
115
const updatedBody =
118
116
prBody +
119
117
`\n\n## Preview link
120
- - [${ previewUrl } ](${ previewUrl } )
118
+ [${ previewUrl } ](${ previewUrl } )
121
119
`
122
120
// Update PR with new body
123
121
writeFileSync ( bodyWritePath , updatedBody )
You can’t perform that action at this time.
0 commit comments