imio.smartweb.common 1.2.10__tar.gz → 1.2.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/CHANGES.rst +8 -0
  2. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/PKG-INFO +9 -1
  3. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/setup.py +1 -1
  4. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/vocabularies.py +10 -1
  5. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/PKG-INFO +9 -1
  6. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/CONTRIBUTORS.rst +0 -0
  7. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/DEVELOP.rst +0 -0
  8. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/LICENSE.GPL +0 -0
  9. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/LICENSE.rst +0 -0
  10. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/MANIFEST.in +0 -0
  11. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/README.rst +0 -0
  12. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/docs/conf.py +0 -0
  13. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/docs/index.rst +0 -0
  14. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/requirements.txt +0 -0
  15. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/setup.cfg +0 -0
  16. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/__init__.py +0 -0
  17. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/__init__.py +0 -0
  18. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/__init__.py +0 -0
  19. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/adapters.py +0 -0
  20. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/adapters.zcml +0 -0
  21. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/behaviors/__init__.py +0 -0
  22. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/behaviors/configure.zcml +0 -0
  23. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/behaviors/iam.py +0 -0
  24. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/behaviors/topics.py +0 -0
  25. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/__init__.py +0 -0
  26. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/configure.zcml +0 -0
  27. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/cropping.py +0 -0
  28. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/description.pt +0 -0
  29. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/description.py +0 -0
  30. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/forms.py +0 -0
  31. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/overrides/plone.app.z3cform.templates.widget.pt +0 -0
  32. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/privacy/__init__.py +0 -0
  33. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/privacy/configure.zcml +0 -0
  34. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/privacy/form.py +0 -0
  35. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/privacy/utils.py +0 -0
  36. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/privacy/views.py +0 -0
  37. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/scaling.py +0 -0
  38. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/Makefile +0 -0
  39. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/package.json +0 -0
  40. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/patched.web3862.eea.faceted-jquery.min.js +0 -0
  41. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.css +0 -0
  42. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.js +0 -0
  43. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.css +0 -0
  44. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.js +0 -0
  45. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/src/edit.js +0 -0
  46. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/src/edit.less +0 -0
  47. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/src/view.js +0 -0
  48. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/src/view.less +0 -0
  49. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/browser/static/webpack.config.js +0 -0
  50. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/caching.py +0 -0
  51. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/config.py +0 -0
  52. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/configure.zcml +0 -0
  53. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/contact_utils.py +0 -0
  54. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/faceted/__init__.py +0 -0
  55. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/faceted/configure.zcml +0 -0
  56. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/faceted/utils.py +0 -0
  57. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/faceted/widget.pt +0 -0
  58. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/faceted/widget.py +0 -0
  59. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/indexers.py +0 -0
  60. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/indexers.zcml +0 -0
  61. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/interfaces.py +0 -0
  62. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/permissions.zcml +0 -0
  63. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/privacy.py +0 -0
  64. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/privacy.zcml +0 -0
  65. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/actions.xml +0 -0
  66. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/browserlayer.xml +0 -0
  67. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/catalog.xml +0 -0
  68. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/metadata.xml +0 -0
  69. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/registry.xml +0 -0
  70. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/default/rolemap.xml +0 -0
  71. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/testing/metadata.xml +0 -0
  72. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/testing/registry.xml +0 -0
  73. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/testing/types/Collection.xml +0 -0
  74. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/testing/types/Document.xml +0 -0
  75. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/testing/types/Folder.xml +0 -0
  76. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles/uninstall/browserlayer.xml +0 -0
  77. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/profiles.zcml +0 -0
  78. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/rest/__init__.py +0 -0
  79. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/rest/configure.zcml +0 -0
  80. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/rest/odwb.py +0 -0
  81. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/rest/search_filters.py +0 -0
  82. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/rest/utils.py +0 -0
  83. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/setuphandlers.py +0 -0
  84. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/sharing/__init__.py +0 -0
  85. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/sharing/configure.zcml +0 -0
  86. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/sharing/localroles.py +0 -0
  87. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/sharing/permissions.py +0 -0
  88. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/sharing/permissions.zcml +0 -0
  89. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/subscribers.py +0 -0
  90. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/subscribers.zcml +0 -0
  91. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/testing.py +0 -0
  92. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/__init__.py +0 -0
  93. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/resources/image.png +0 -0
  94. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/resources/image_1400x800.png +0 -0
  95. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/resources/image_1800x700.png +0 -0
  96. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/robot/test_example.robot +0 -0
  97. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_cropping.py +0 -0
  98. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_description.py +0 -0
  99. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_forms.py +0 -0
  100. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_indexes.py +0 -0
  101. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_local_roles.py +0 -0
  102. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_permissions.py +0 -0
  103. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_privacy.py +0 -0
  104. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_rest.py +0 -0
  105. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_robot.py +0 -0
  106. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_setup.py +0 -0
  107. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_subscribers.py +0 -0
  108. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_text.py +0 -0
  109. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_utils.py +0 -0
  110. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_viewlets.py +0 -0
  111. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/tests/test_vocabularies.py +0 -0
  112. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/__init__.py +0 -0
  113. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/configure.zcml +0 -0
  114. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1007_to_1008/rolemap.xml +0 -0
  115. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1008_to_1009/actions.xml +0 -0
  116. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1009_to_1010/registry/tiny_nonbreakingspace.xml +0 -0
  117. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/resources.xml +0 -0
  118. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/scales.xml +0 -0
  119. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/tinymce.xml +0 -0
  120. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1011_to_1012/registry/bundles.xml +0 -0
  121. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1013_to_1014/registry/tinymce.xml +0 -0
  122. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1014_to_1015/registry/syndication.xml +0 -0
  123. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1015_to_1016/registry/patched-faceted-jquery.xml +0 -0
  124. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1016_to_1017/registry/scales.xml +0 -0
  125. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1017_to_1018/registry.xml +0 -0
  126. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1018_to_1019/registry/scales.xml +0 -0
  127. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1022_to_1023/registry/scales.xml +0 -0
  128. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1023_to_1024/registry/scales.xml +0 -0
  129. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/profiles/1025_to_1026/registry/scales.xml +0 -0
  130. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/upgrades/upgrades.py +0 -0
  131. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/utils.py +0 -0
  132. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/__init__.py +0 -0
  133. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/analytics.pt +0 -0
  134. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/colophon.pt +0 -0
  135. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/colophon.py +0 -0
  136. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/configure.zcml +0 -0
  137. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/privacy.pt +0 -0
  138. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/privacy.py +0 -0
  139. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/skip_to_content.pt +0 -0
  140. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/viewlets/skip_to_content.py +0 -0
  141. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio/smartweb/common/vocabularies.zcml +0 -0
  142. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/SOURCES.txt +0 -0
  143. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/dependency_links.txt +0 -0
  144. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/namespace_packages.txt +0 -0
  145. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/not-zip-safe +0 -0
  146. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/requires.txt +0 -0
  147. {imio.smartweb.common-1.2.10 → imio.smartweb.common-1.2.11}/src/imio.smartweb.common.egg-info/top_level.txt +0 -0
@@ -2,6 +2,14 @@ Changelog
2
2
  =========
3
3
 
4
4
 
5
+ 1.2.11 (2024-05-02)
6
+ -------------------
7
+
8
+ - WEB-4101 : Fix vocabulary terms translation (for Topics only - for the moment)
9
+ when used with `AjaxSelectFieldWidget`
10
+ [laulaz]
11
+
12
+
5
13
  1.2.10 (2024-05-02)
6
14
  -------------------
7
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imio.smartweb.common
3
- Version: 1.2.10
3
+ Version: 1.2.11
4
4
  Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
5
5
  Home-page: https://github.com/imio/imio.smartweb.common
6
6
  Author: iMio
@@ -136,6 +136,14 @@ Changelog
136
136
  =========
137
137
 
138
138
 
139
+ 1.2.11 (2024-05-02)
140
+ -------------------
141
+
142
+ - WEB-4101 : Fix vocabulary terms translation (for Topics only - for the moment)
143
+ when used with `AjaxSelectFieldWidget`
144
+ [laulaz]
145
+
146
+
139
147
  1.2.10 (2024-05-02)
140
148
  -------------------
141
149
 
@@ -16,7 +16,7 @@ long_description = "\n\n".join(
16
16
 
17
17
  setup(
18
18
  name="imio.smartweb.common",
19
- version="1.2.10",
19
+ version="1.2.11",
20
20
  description="Common utilities, vocabularies, taxonomies for imio.smartweb & co products",
21
21
  long_description=long_description,
22
22
  # Get more from https://pypi.org/classifiers/
@@ -5,6 +5,7 @@ from plone import api
5
5
  from plone.i18n.normalizer.interfaces import IIDNormalizer
6
6
  from plone.registry.interfaces import IRegistry
7
7
  from zope.component import getUtility
8
+ from zope.i18n import translate
8
9
  from zope.i18n.locales import locales
9
10
  from zope.schema.vocabulary import SimpleTerm
10
11
  from zope.schema.vocabulary import SimpleVocabulary
@@ -14,6 +15,7 @@ import json
14
15
 
15
16
  class TopicsVocabularyFactory:
16
17
  def __call__(self, context=None):
18
+ lang = api.portal.get_current_language()[:2]
17
19
  topics = [
18
20
  ("entertainment", _("Entertainment")),
19
21
  ("agriculture", _("Agriculture")),
@@ -33,7 +35,14 @@ class TopicsVocabularyFactory:
33
35
  ("territory_public_space", _("Territory and public space")),
34
36
  ("tourism", _("Tourism")),
35
37
  ]
36
- terms = [SimpleTerm(value=t[0], token=t[0], title=t[1]) for t in topics]
38
+ terms = [
39
+ SimpleTerm(
40
+ value=t[0],
41
+ token=t[0],
42
+ title=translate(t[1], target_language=lang),
43
+ )
44
+ for t in topics
45
+ ]
37
46
  return SimpleVocabulary(terms)
38
47
 
39
48
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imio.smartweb.common
3
- Version: 1.2.10
3
+ Version: 1.2.11
4
4
  Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
5
5
  Home-page: https://github.com/imio/imio.smartweb.common
6
6
  Author: iMio
@@ -136,6 +136,14 @@ Changelog
136
136
  =========
137
137
 
138
138
 
139
+ 1.2.11 (2024-05-02)
140
+ -------------------
141
+
142
+ - WEB-4101 : Fix vocabulary terms translation (for Topics only - for the moment)
143
+ when used with `AjaxSelectFieldWidget`
144
+ [laulaz]
145
+
146
+
139
147
  1.2.10 (2024-05-02)
140
148
  -------------------
141
149