Skip to content

Commit

Permalink
Merge branch 'main' into test-translation-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff authored Feb 19, 2024
2 parents a579ff0 + 02a0695 commit 97ae844
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/fix-i18n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

set -- ja ko zh

for locale; do
for locale do

# Fix broken MDX components in all files

find 'src/content/docs/' -name "*-$locale.mdx" -type f -exec sh -c \
'for file do echo '\''Fixing formatting for '"${locale}"' content'\''; \
'for file do \echo '\''Fixing formatting for '"${locale}"' content'\''; \
sed -i -e "s/<abbr/<Abbr/g ; \
s/[^\n]<accordion/\n\n<Accordion/g ; \
s/<accordion/<Accordion/g ; \
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/html-escaper": "^3.0.2",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.19",
"@types/react": "^18.2.56",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"typescript": "^5.3.3"
}
Expand Down

0 comments on commit 97ae844

Please sign in to comment.