From dfdef962bfca37b5c4c8e03eb8d79ce6bcba1a7a Mon Sep 17 00:00:00 2001 From: Manuel Matos Date: Tue, 25 Jul 2023 22:56:48 -0400 Subject: [PATCH] Added the industry field as a vocabulary #33 --- .../slc_web/locales/en/LC_MESSAGES/slc_web.po | 10 ++++- .../slc_web/locales/es/LC_MESSAGES/slc_web.po | 12 +++++- .../slc_web/src/slc_web/locales/slc_web.pot | 12 +++++- .../src/slc_web/schema/communitysponsor.xml | 9 ++++ .../src/slc_web/tests/test_vocabularies.py | 43 +++++++++++++++++++ .../src/slc_web/vocabularies/__init__.py | 10 ++--- .../src/slc_web/vocabularies/configure.zcml | 3 +- docs/source/backend/communitysponsor.puml | 1 + 8 files changed, 88 insertions(+), 12 deletions(-) create mode 100644 backend/src/slc_web/src/slc_web/tests/test_vocabularies.py diff --git a/backend/src/slc_web/src/slc_web/locales/en/LC_MESSAGES/slc_web.po b/backend/src/slc_web/src/slc_web/locales/en/LC_MESSAGES/slc_web.po index 1429c85..4c54042 100644 --- a/backend/src/slc_web/src/slc_web/locales/en/LC_MESSAGES/slc_web.po +++ b/backend/src/slc_web/src/slc_web/locales/en/LC_MESSAGES/slc_web.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: YEAR-MO-DA HO:MI +ZONE\n" +"POT-Creation-Date: 2023-07-26 02:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -180,6 +180,14 @@ msgstr "" msgid "Indico profile." msgstr "" +#: slc_web/schema/communitysponsor.xml +msgid "Industry" +msgstr "" + +#: slc_web/schema/communitysponsor.xml +msgid "Industry sector to which it belongs" +msgstr "" + #: slc_web/schema/communitysponsor.xml msgid "Information" msgstr "" diff --git a/backend/src/slc_web/src/slc_web/locales/es/LC_MESSAGES/slc_web.po b/backend/src/slc_web/src/slc_web/locales/es/LC_MESSAGES/slc_web.po index a40f4ba..a4bf74b 100644 --- a/backend/src/slc_web/src/slc_web/locales/es/LC_MESSAGES/slc_web.po +++ b/backend/src/slc_web/src/slc_web/locales/es/LC_MESSAGES/slc_web.po @@ -3,8 +3,8 @@ msgid "" msgstr "" "Project-Id-Version: slc_web\n" -"POT-Creation-Date: YEAR-MO-DA HO:MI +ZONE\n" -"PO-Revision-Date: 2023-07-24 14:49-0600\n" +"POT-Creation-Date: 2023-07-26 02:53+0000\n" +"PO-Revision-Date: 2023-07-25 21:42-0400\n" "Last-Translator: Leonardo J. Caballero G. \n" "Language-Team: ES \n" "MIME-Version: 1.0\n" @@ -185,6 +185,14 @@ msgstr "Indico" msgid "Indico profile." msgstr "Perfil Indico." +#: slc_web/schema/communitysponsor.xml +msgid "Industry" +msgstr "Industria" + +#: slc_web/schema/communitysponsor.xml +msgid "Industry sector to which it belongs" +msgstr "Sector industrial al que pertenece" + #: slc_web/schema/communitysponsor.xml msgid "Information" msgstr "InformaciĆ³n" diff --git a/backend/src/slc_web/src/slc_web/locales/slc_web.pot b/backend/src/slc_web/src/slc_web/locales/slc_web.pot index a10dd5c..08ba206 100644 --- a/backend/src/slc_web/src/slc_web/locales/slc_web.pot +++ b/backend/src/slc_web/src/slc_web/locales/slc_web.pot @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2023-07-24 20:49+0000\n" +"POT-Creation-Date: 2023-07-26 02:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -183,6 +183,14 @@ msgstr "" msgid "Indico profile." msgstr "" +#: slc_web/src/slc_web/schema/communitysponsor.xml +msgid "Industry" +msgstr "" + +#: slc_web/src/slc_web/schema/communitysponsor.xml +msgid "Industry sector to which it belongs" +msgstr "" + #: slc_web/src/slc_web/schema/communitysponsor.xml msgid "Information" msgstr "" @@ -370,7 +378,7 @@ msgid "Skills" msgstr "" #: slc_web/src/slc_web/schema/communitymember.xml -msgid "Skills of the community member. +msgid "Skills of the community member. Select different skills pushing Ctrl + Click." msgstr "" diff --git a/backend/src/slc_web/src/slc_web/schema/communitysponsor.xml b/backend/src/slc_web/src/slc_web/schema/communitysponsor.xml index da48b70..5a2809c 100644 --- a/backend/src/slc_web/src/slc_web/schema/communitysponsor.xml +++ b/backend/src/slc_web/src/slc_web/schema/communitysponsor.xml @@ -44,6 +44,15 @@ Person + + Industry sector to which it belongs + Industry + slc_web.vocabulary.industries +
- - --> diff --git a/docs/source/backend/communitysponsor.puml b/docs/source/backend/communitysponsor.puml index 7156a7c..4c6f4f5 100644 --- a/docs/source/backend/communitysponsor.puml +++ b/docs/source/backend/communitysponsor.puml @@ -4,6 +4,7 @@ class CommunitySponsor { +information : String +logo_photo : File +type : String + +industry : String +website : String #email : String #phone : Integer