Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion]: Translate-Glossary 검증 자동화 #926

Open
hg-pyun opened this issue May 29, 2024 · 1 comment
Open

[Suggestion]: Translate-Glossary 검증 자동화 #926

hg-pyun opened this issue May 29, 2024 · 1 comment
Assignees
Labels
suggestion 새로운 기능 제안에 대한 논의

Comments

@hg-pyun
Copy link
Member

hg-pyun commented May 29, 2024

Summary

lint와 github action을 통해서 Translate-Glossary 검증 자동화

Page

No response

Details

https://github.com/reactjs/ko.react.dev/wiki/Translate-Glossary 에서 정의한 용어를 현재 리뷰어가 검증하고 있는데요. 이를 eslint와 github action을 통해서 자동화 하고 싶습니다.

@hg-pyun hg-pyun added the suggestion 새로운 기능 제안에 대한 논의 label May 29, 2024
@lumirlumir
Copy link
Collaborator

lumirlumir commented Jun 29, 2024

안녕하세요😊 혹시 현재 이슈가 Assignee를 기다리고 있는 상황인가요? 제가 #971 에 유사한 이슈를 올렸는데, Assignee가 없는 상황이라면 제가 진행해보고 싶습니다.

hg-pyun added a commit that referenced this issue Jul 13, 2024
* chore: textlint basic environment settings

textlint 관련 기본 환경 설정 진행.

textlintrc.js -> textlintrc: .eslintrc 및 .prettierrc와의 통일성을 위해, .js 확장자를 사용하지 않는 json 형식의 파일로 변경.
package.json에 textlint 및 textlint-filter-rule-comments 추가.
yarn.lock 파일은 package.json 파일에 따라 자동으로 변경됨.

* feat: basic implementation of translateGlossary.js

translateGlossary.js 기본 틀/구조 구현. (아직 디테일한 버그들은 잡지 못한 상태.)
이외, legacy 파일들 삭제. (legacy 파일에서 필요한 부분은 따로 정리하여 보관 중.)

* chore: textlint testing environment settings

textlint testing 관련 환경 설정 진행.

package에 mocha 및 textlint-tester 추가.

* test: new tests about strip.js

./textlint/utils/strip.js에 포함된 모든 함수에 대한 테스트 작성.

* test: new tests about is.js

./textlint/utils/is.js에 포함된 모든 함수에 대한 테스트 작성.

* test: new tests about errMsg.js

./textlint/utils/errMsg.js에 포함된 모든 함수에 대한 테스트 작성.

* feat: new rule translateGlossary.js

translateGlossary 규칙 구현 완료.

* fix: incorrect regex in translateGlossary.js

잘못된 정규표현식 표현 수정.

* test: new tests about translateGlossary.js

./textlint/rules/translateGlossary.js에 대한 테스트 작성.

* rename: textlint/data/tests -> textlint/data/utils

디렉토리 이름 변경.

* fix: correct path handling for textlint/tests/utils

모듈 불러오기 경로가 잘못되어, 수정 진행.

* refactor: change the structure of textlint/data/rules/translateGlossary.js

확장성을 위해 데이터 구조 변경.

* refactor: change the structure of textlint/data/rules/translateGlossary.js

확장성을 위해 데이터 구조 변경.

* feat: add genTranslateGlossaryDocs.js

translate-glossary.md 문서를 자동 생성해주는 generator 도입.
생성된 문서는 repository에 올라갈 필요가 없으므로, .gitignore에 해당 부분 추가.
textlint/README.md는 우선 삭제. 추후에 wiki 디렉토리에 추가 예정.

* rename: textlint/README.md -> wiki/textlint/what-is-textlint.md

파일 이름 및 디렉토리 변경 진행.

* feat: new scripts for textlint

textlint와 관련된 test, docs, lint scripts 추가.

---------

Co-authored-by: Haegul Pyun <[email protected]>
lumirlumir added a commit to lumirlumir/fork-ko.react.dev that referenced this issue Jul 23, 2024
textlint translateGlossary 용어 추가.
hg-pyun pushed a commit that referenced this issue Jul 25, 2024
textlint translateGlossary 용어 추가.
@lumirlumir lumirlumir self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion 새로운 기능 제안에 대한 논의
Projects
None yet
Development

No branches or pull requests

2 participants