diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ef2b819..80600f5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.15.0 hooks: - id: pyupgrade args: [--py38-plus] @@ -16,11 +16,11 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/collective/zpretty - rev: 3.1.0a2 + rev: 3.1.0 hooks: - id: zpretty @@ -32,11 +32,11 @@ repos: # """ ## - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.2.6 hooks: - id: codespell additional_dependencies: @@ -58,12 +58,12 @@ repos: hooks: - id: pyroma - repo: https://github.com/mgedmin/check-python-versions - rev: "0.21.2" + rev: "0.22.0" hooks: - id: check-python-versions args: ['--only', 'setup.py,pyproject.toml'] - repo: https://github.com/collective/i18ndude - rev: "6.0.0" + rev: "6.1.0" hooks: - id: i18ndude diff --git a/CHANGES.rst b/CHANGES.rst index d711d938..5156f68e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -789,7 +789,7 @@ New features: Bug fixes: -- Add translation namesspace and i18n:translate to the dexterity schema +- Add translation namespace and i18n:translate to the dexterity schema definitions for the content types that have extra field defined on top of the behavior composition. Otherwise no translations can be picked up. [fredvd] diff --git a/docs/README.rst b/docs/README.rst index c734665e..b3af8b62 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -122,7 +122,7 @@ You have several options: -You could alternatively override the peroperty ``model_file`` of the type-definition with a empty string and use the property ``schema`` to provide your custom python-schema. +You could alternatively override the property ``model_file`` of the type-definition with a empty string and use the property ``schema`` to provide your custom python-schema. For more complex features you should always consider create custom behaviors and/or write your own content-types since that will most likely give you more flexibility and less problem when you want to upgrade to a newer version in the future. diff --git a/plone/app/contenttypes/browser/configure.zcml b/plone/app/contenttypes/browser/configure.zcml index ae346417..b3e2c7ba 100644 --- a/plone/app/contenttypes/browser/configure.zcml +++ b/plone/app/contenttypes/browser/configure.zcml @@ -97,7 +97,7 @@