diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..66f6509c --- /dev/null +++ b/.codespellrc @@ -0,0 +1,4 @@ +[codespell] +skip = .git,*.pdf,*.svg,*v2.2.xml,kernel-4.[012345]*,kernel-[123]*,xsd.xsl +ignore-regex = .*xml:lang="(?!en\b)[a-zA-Z]{2}".*|\b(Simon Hart|GAGE)\b +# ignore-words-list = diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..b026c855 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,25 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Annotate locations with typos + uses: codespell-project/codespell-problem-matcher@v1 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7399df38..25bfd54e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -473,7 +473,7 @@ **Closed issues:** - add more tests [\#25](https://github.com/datacite/schema/issues/25) -- Adressing version issues in the documentation [\#21](https://github.com/datacite/schema/issues/21) +- Addressing version issues in the documentation [\#21](https://github.com/datacite/schema/issues/21) - Update Citation in Documentation [\#20](https://github.com/datacite/schema/issues/20) - integrate testing of non-valid example [\#12](https://github.com/datacite/schema/issues/12) - provide changelog for schema versions [\#9](https://github.com/datacite/schema/issues/9) @@ -522,7 +522,7 @@ **Closed issues:** - make html pages valid [\#24](https://github.com/datacite/schema/issues/24) -- Chage wording in documentation [\#15](https://github.com/datacite/schema/issues/15) +- Change wording in documentation [\#15](https://github.com/datacite/schema/issues/15) ## [v.3.1.12](https://github.com/datacite/schema/tree/v.3.1.12) (2016-01-10) diff --git a/source/meta/kernel-4/example/datacite-example-multilingual-v4.xml b/source/meta/kernel-4/example/datacite-example-multilingual-v4.xml index e74472b9..e744e7fa 100644 --- a/source/meta/kernel-4/example/datacite-example-multilingual-v4.xml +++ b/source/meta/kernel-4/example/datacite-example-multilingual-v4.xml @@ -31,7 +31,7 @@ 2024-01-01 - This chapter reviews selected landmarks ocurred in Chemistry basic research in the last 5 years + This chapter reviews selected landmarks occurred in Chemistry basic research in the last 5 years El capítulo repasa los principales avances en la investigación básica en Ciencias Químicas en los últimos 5 años 本章回顾了过去5年中在化学基础研究中发生的一些里程碑式的事件