@eeacms/volto-cca-policy 1.0.19 → 1.0.21
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.
- package/CHANGELOG.md +29 -13
- package/locales/bg/LC_MESSAGES/volto.po +51 -28
- package/locales/cs/LC_MESSAGES/volto.po +51 -28
- package/locales/da/LC_MESSAGES/volto.po +51 -28
- package/locales/de/LC_MESSAGES/volto.po +51 -28
- package/locales/el/LC_MESSAGES/volto.po +51 -28
- package/locales/en/LC_MESSAGES/volto.po +51 -28
- package/locales/es/LC_MESSAGES/volto.po +51 -28
- package/locales/et/LC_MESSAGES/volto.po +51 -28
- package/locales/fi/LC_MESSAGES/volto.po +51 -28
- package/locales/fr/LC_MESSAGES/volto.po +51 -28
- package/locales/ga/LC_MESSAGES/volto.po +51 -28
- package/locales/hr/LC_MESSAGES/volto.po +51 -28
- package/locales/hu/LC_MESSAGES/volto.po +51 -28
- package/locales/is/LC_MESSAGES/volto.po +51 -28
- package/locales/it/LC_MESSAGES/volto.po +51 -28
- package/locales/lt/LC_MESSAGES/volto.po +51 -28
- package/locales/lv/LC_MESSAGES/volto.po +51 -28
- package/locales/mt/LC_MESSAGES/volto.po +51 -28
- package/locales/nl/LC_MESSAGES/volto.po +51 -28
- package/locales/nn/LC_MESSAGES/volto.po +51 -28
- package/locales/pl/LC_MESSAGES/volto.po +51 -28
- package/locales/pt/LC_MESSAGES/volto.po +51 -28
- package/locales/ro/LC_MESSAGES/volto.po +51 -28
- package/locales/sk/LC_MESSAGES/volto.po +51 -28
- package/locales/sl/LC_MESSAGES/volto.po +51 -28
- package/locales/sv/LC_MESSAGES/volto.po +51 -28
- package/locales/tr/LC_MESSAGES/volto.po +51 -28
- package/locales/volto.pot +52 -29
- package/package.json +1 -1
- package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.jsx +10 -8
- package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.test.jsx +8 -6
- package/src/components/theme/Content/Sections/ExtendedToolGeographicMetadata.jsx +78 -13
- package/src/components/theme/Content/Sections/ExtendedToolGeographicMetadata.test.jsx +110 -11
- package/src/components/theme/Content/Sections/GeographicMetadata.jsx +10 -1
- package/src/components/theme/Content/Sections/geographicMetadataUtils.js +5 -1
- package/src/components/theme/Views/ExtendedToolView.jsx +10 -12
- package/src/components/theme/Views/ExtendedToolView.test.jsx +1 -2
- package/src/search/navigator_catalogue/facets.js +19 -30
- package/theme/globals/navigator.less +0 -8
- package/theme/globals/views.less +14 -0
|
@@ -62,13 +62,13 @@ msgid "Adaptation Sectors"
|
|
|
62
62
|
msgstr "Adaptasyon Sektörleri"
|
|
63
63
|
|
|
64
64
|
#. Default: "Adaptation Support Cycle Step"
|
|
65
|
-
#: search/navigator_catalogue/facets
|
|
66
65
|
#: search/navigator_guide/facets
|
|
67
66
|
msgid "Adaptation Support Cycle Step"
|
|
68
67
|
msgstr ""
|
|
69
68
|
|
|
70
69
|
#. Default: "Adaptation approaches"
|
|
71
70
|
#: components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters
|
|
71
|
+
#: search/navigator_catalogue/facets
|
|
72
72
|
msgid "Adaptation approaches"
|
|
73
73
|
msgstr "Adaptasyon yaklaşımları"
|
|
74
74
|
|
|
@@ -82,6 +82,11 @@ msgstr "Uyum seçeneği"
|
|
|
82
82
|
msgid "Adaptation options"
|
|
83
83
|
msgstr "Adaptasyon seçenekleri"
|
|
84
84
|
|
|
85
|
+
#. Default: "Adaptation policy cycle"
|
|
86
|
+
#: search/navigator_catalogue/facets
|
|
87
|
+
msgid "Adaptation policy cycle"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
85
90
|
#. Default: "Adaptation sectors"
|
|
86
91
|
#: components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters
|
|
87
92
|
#: components/manage/Blocks/CaseStudyExplorer/FeatureDisplay
|
|
@@ -140,6 +145,11 @@ msgstr "Tüm zamanlar"
|
|
|
140
145
|
msgid "At least two valid tools are required for comparison. Select tools from the Navigator Catalogue."
|
|
141
146
|
msgstr ""
|
|
142
147
|
|
|
148
|
+
#. Default: "Available"
|
|
149
|
+
#: components/theme/CompareTools/CompareToolsView
|
|
150
|
+
msgid "Available"
|
|
151
|
+
msgstr ""
|
|
152
|
+
|
|
143
153
|
#. Default: "Back"
|
|
144
154
|
#: components/Search/NavigatorGuide/NavigatorGuideContentView
|
|
145
155
|
msgid "Back"
|
|
@@ -156,6 +166,7 @@ msgid "Background information"
|
|
|
156
166
|
msgstr "Arka plan bilgisi"
|
|
157
167
|
|
|
158
168
|
#. Default: "Biogeographical regions:"
|
|
169
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
159
170
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
160
171
|
msgid "Biogeographical regions:"
|
|
161
172
|
msgstr "Biyocoğrafik bölgeler:"
|
|
@@ -220,6 +231,11 @@ msgstr "Kategori"
|
|
|
220
231
|
msgid "Challenges"
|
|
221
232
|
msgstr "Zorluklar"
|
|
222
233
|
|
|
234
|
+
#. Default: "Check Navigator Catalogue"
|
|
235
|
+
#: components/theme/Views/ExtendedToolView
|
|
236
|
+
msgid "Check Navigator Catalogue"
|
|
237
|
+
msgstr ""
|
|
238
|
+
|
|
223
239
|
#. Default: "Choose a file"
|
|
224
240
|
#: components/manage/Widgets/PromotionalImageWidget
|
|
225
241
|
msgid "Choose a file"
|
|
@@ -240,7 +256,14 @@ msgstr ""
|
|
|
240
256
|
msgid "Choose thematic map:"
|
|
241
257
|
msgstr "Tematik haritayı seçin:"
|
|
242
258
|
|
|
243
|
-
#. Default: "
|
|
259
|
+
#. Default: "Municipalities & other:"
|
|
260
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
261
|
+
#: components/theme/Content/Sections/GeographicMetadata
|
|
262
|
+
msgid "Cities:"
|
|
263
|
+
msgstr ""
|
|
264
|
+
|
|
265
|
+
#. Default: "Municipalities & other:"
|
|
266
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
244
267
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
245
268
|
msgid "City:"
|
|
246
269
|
msgstr "Şehir:"
|
|
@@ -350,6 +373,7 @@ msgid "Countries"
|
|
|
350
373
|
msgstr "Ülkeler"
|
|
351
374
|
|
|
352
375
|
#. Default: "Countries:"
|
|
376
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
353
377
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
354
378
|
msgid "Countries:"
|
|
355
379
|
msgstr "Ülkeler:"
|
|
@@ -510,6 +534,11 @@ msgstr "Finansman teşvik araçları"
|
|
|
510
534
|
msgid "Find the right tool"
|
|
511
535
|
msgstr ""
|
|
512
536
|
|
|
537
|
+
#. Default: "Focus areas"
|
|
538
|
+
#: search/navigator_catalogue/facets
|
|
539
|
+
msgid "Focus areas"
|
|
540
|
+
msgstr ""
|
|
541
|
+
|
|
513
542
|
#. Default: "For more search options"
|
|
514
543
|
#: index
|
|
515
544
|
msgid "For more search options"
|
|
@@ -647,6 +676,11 @@ msgstr "IPCC uyum seçenekleri kategorileri:"
|
|
|
647
676
|
msgid "If you have any further questions you can contact"
|
|
648
677
|
msgstr "Başka sorularınız varsa iletişime geçebilirsiniz"
|
|
649
678
|
|
|
679
|
+
#. Default: "Implementation level"
|
|
680
|
+
#: search/navigator_catalogue/facets
|
|
681
|
+
msgid "Implementation level"
|
|
682
|
+
msgstr ""
|
|
683
|
+
|
|
650
684
|
#. Default: "Implementation time"
|
|
651
685
|
#: components/theme/Views/AdaptationOptionView
|
|
652
686
|
#: components/theme/Views/CaseStudyView
|
|
@@ -811,11 +845,6 @@ msgstr "Yasal yönler"
|
|
|
811
845
|
msgid "License"
|
|
812
846
|
msgstr ""
|
|
813
847
|
|
|
814
|
-
#. Default: "License status"
|
|
815
|
-
#: search/navigator_catalogue/facets
|
|
816
|
-
msgid "License status"
|
|
817
|
-
msgstr ""
|
|
818
|
-
|
|
819
848
|
#. Default: "Lifetime"
|
|
820
849
|
#: components/theme/Views/AdaptationOptionView
|
|
821
850
|
#: components/theme/Views/CaseStudyView
|
|
@@ -848,6 +877,7 @@ msgid "Looking for more information?"
|
|
|
848
877
|
msgstr "Daha fazla bilgi mi arıyorsunuz?"
|
|
849
878
|
|
|
850
879
|
#. Default: "Macro-Transnational region:"
|
|
880
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
851
881
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
852
882
|
msgid "Macro-Transnational region:"
|
|
853
883
|
msgstr "Makro-Ulusötesi bölge:"
|
|
@@ -877,6 +907,12 @@ msgstr "Misyon aracı"
|
|
|
877
907
|
msgid "Most useful for"
|
|
878
908
|
msgstr "Şunun için en yararlısı:"
|
|
879
909
|
|
|
910
|
+
#. Default: "Municipalities & other:"
|
|
911
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
912
|
+
#: components/theme/Content/Sections/GeographicMetadata
|
|
913
|
+
msgid "Municipalities & other:"
|
|
914
|
+
msgstr ""
|
|
915
|
+
|
|
880
916
|
#. Default: "National HHAP"
|
|
881
917
|
#: components/manage/Blocks/CountryMapHeatIndex/Filter
|
|
882
918
|
msgid "National HHAP"
|
|
@@ -887,11 +923,6 @@ msgstr "Ulusal HHAP"
|
|
|
887
923
|
msgid "Nature based Solutions and Ecosystem based approaches"
|
|
888
924
|
msgstr "Doğa temelli çözümler ve ekosistem temelli yaklaşımlar"
|
|
889
925
|
|
|
890
|
-
#. Default: "Nature-based solution"
|
|
891
|
-
#: search/navigator_catalogue/facets
|
|
892
|
-
msgid "Nature-based solution"
|
|
893
|
-
msgstr ""
|
|
894
|
-
|
|
895
926
|
#. Default: "Navigate to this item"
|
|
896
927
|
#: components/manage/Workflow/WorkflowLinkIntegrityModal
|
|
897
928
|
msgid "Navigate to this item"
|
|
@@ -962,6 +993,11 @@ msgstr "Sonuç yok"
|
|
|
962
993
|
msgid "Non-EU Languages"
|
|
963
994
|
msgstr "AB Dışı Diller"
|
|
964
995
|
|
|
996
|
+
#. Default: "Not available"
|
|
997
|
+
#: components/theme/CompareTools/CompareToolsView
|
|
998
|
+
msgid "Not available"
|
|
999
|
+
msgstr ""
|
|
1000
|
+
|
|
965
1001
|
#. Default: "Objectives of the adaptation measure"
|
|
966
1002
|
#: components/theme/Views/CaseStudyView
|
|
967
1003
|
msgid "Objectives of the adaptation measure"
|
|
@@ -1226,7 +1262,6 @@ msgstr "Bölümler"
|
|
|
1226
1262
|
#. Default: "Sector"
|
|
1227
1263
|
#: components/manage/Blocks/FilterAceContent/FilterAceContentView
|
|
1228
1264
|
#: components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem
|
|
1229
|
-
#: components/theme/CompareTools/CompareToolsView
|
|
1230
1265
|
msgid "Sector"
|
|
1231
1266
|
msgstr "Sektör"
|
|
1232
1267
|
|
|
@@ -1341,6 +1376,7 @@ msgid "Step {current} of {total}"
|
|
|
1341
1376
|
msgstr ""
|
|
1342
1377
|
|
|
1343
1378
|
#. Default: "Sub Nationals:"
|
|
1379
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
1344
1380
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
1345
1381
|
msgid "Sub Nationals:"
|
|
1346
1382
|
msgstr "Alt Vatandaşlar:"
|
|
@@ -1452,16 +1488,6 @@ msgstr "Ulusötesi bölgeler"
|
|
|
1452
1488
|
msgid "Type"
|
|
1453
1489
|
msgstr ""
|
|
1454
1490
|
|
|
1455
|
-
#. Default: "Type of Data"
|
|
1456
|
-
#: search/navigator_catalogue/facets
|
|
1457
|
-
msgid "Type of Data"
|
|
1458
|
-
msgstr ""
|
|
1459
|
-
|
|
1460
|
-
#. Default: "Type of Outputs"
|
|
1461
|
-
#: search/navigator_catalogue/facets
|
|
1462
|
-
msgid "Type of Outputs"
|
|
1463
|
-
msgstr ""
|
|
1464
|
-
|
|
1465
1491
|
#. Default: "Type of item"
|
|
1466
1492
|
#: search/common
|
|
1467
1493
|
#: search/mission_all/facets-all
|
|
@@ -1469,7 +1495,9 @@ msgid "Type of item"
|
|
|
1469
1495
|
msgstr "Öğe türü"
|
|
1470
1496
|
|
|
1471
1497
|
#. Default: "Type of outputs"
|
|
1498
|
+
#: components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem
|
|
1472
1499
|
#: components/theme/Views/ExtendedToolView
|
|
1500
|
+
#: search/navigator_catalogue/facets
|
|
1473
1501
|
msgid "Type of outputs"
|
|
1474
1502
|
msgstr ""
|
|
1475
1503
|
|
|
@@ -1508,11 +1536,6 @@ msgstr ""
|
|
|
1508
1536
|
msgid "User Group"
|
|
1509
1537
|
msgstr ""
|
|
1510
1538
|
|
|
1511
|
-
#. Default: "User Groups"
|
|
1512
|
-
#: search/navigator_catalogue/facets
|
|
1513
|
-
msgid "User Groups"
|
|
1514
|
-
msgstr ""
|
|
1515
|
-
|
|
1516
1539
|
#. Default: "User requirements"
|
|
1517
1540
|
#: search/mission_tools/facets-tools
|
|
1518
1541
|
msgid "User requirements"
|
package/locales/volto.pot
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date: 2026-
|
|
4
|
+
"POT-Creation-Date: 2026-09-14T12:10:53.707Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
7
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
@@ -64,13 +64,13 @@ msgid "Adaptation Sectors"
|
|
|
64
64
|
msgstr ""
|
|
65
65
|
|
|
66
66
|
#. Default: "Adaptation Support Cycle Step"
|
|
67
|
-
#: search/navigator_catalogue/facets
|
|
68
67
|
#: search/navigator_guide/facets
|
|
69
68
|
msgid "Adaptation Support Cycle Step"
|
|
70
69
|
msgstr ""
|
|
71
70
|
|
|
72
71
|
#. Default: "Adaptation approaches"
|
|
73
72
|
#: components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters
|
|
73
|
+
#: search/navigator_catalogue/facets
|
|
74
74
|
msgid "Adaptation approaches"
|
|
75
75
|
msgstr ""
|
|
76
76
|
|
|
@@ -84,6 +84,11 @@ msgstr ""
|
|
|
84
84
|
msgid "Adaptation options"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
+
#. Default: "Adaptation policy cycle"
|
|
88
|
+
#: search/navigator_catalogue/facets
|
|
89
|
+
msgid "Adaptation policy cycle"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
87
92
|
#. Default: "Adaptation sectors"
|
|
88
93
|
#: components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters
|
|
89
94
|
#: components/manage/Blocks/CaseStudyExplorer/FeatureDisplay
|
|
@@ -142,6 +147,11 @@ msgstr ""
|
|
|
142
147
|
msgid "At least two valid tools are required for comparison. Select tools from the Navigator Catalogue."
|
|
143
148
|
msgstr ""
|
|
144
149
|
|
|
150
|
+
#. Default: "Available"
|
|
151
|
+
#: components/theme/CompareTools/CompareToolsView
|
|
152
|
+
msgid "Available"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
145
155
|
#. Default: "Back"
|
|
146
156
|
#: components/Search/NavigatorGuide/NavigatorGuideContentView
|
|
147
157
|
msgid "Back"
|
|
@@ -158,6 +168,7 @@ msgid "Background information"
|
|
|
158
168
|
msgstr ""
|
|
159
169
|
|
|
160
170
|
#. Default: "Biogeographical regions:"
|
|
171
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
161
172
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
162
173
|
msgid "Biogeographical regions:"
|
|
163
174
|
msgstr ""
|
|
@@ -222,6 +233,11 @@ msgstr ""
|
|
|
222
233
|
msgid "Challenges"
|
|
223
234
|
msgstr ""
|
|
224
235
|
|
|
236
|
+
#. Default: "Check Navigator Catalogue"
|
|
237
|
+
#: components/theme/Views/ExtendedToolView
|
|
238
|
+
msgid "Check Navigator Catalogue"
|
|
239
|
+
msgstr ""
|
|
240
|
+
|
|
225
241
|
#. Default: "Choose a file"
|
|
226
242
|
#: components/manage/Widgets/PromotionalImageWidget
|
|
227
243
|
msgid "Choose a file"
|
|
@@ -242,7 +258,14 @@ msgstr ""
|
|
|
242
258
|
msgid "Choose thematic map:"
|
|
243
259
|
msgstr ""
|
|
244
260
|
|
|
245
|
-
#. Default: "
|
|
261
|
+
#. Default: "Municipalities & other:"
|
|
262
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
263
|
+
#: components/theme/Content/Sections/GeographicMetadata
|
|
264
|
+
msgid "Cities:"
|
|
265
|
+
msgstr ""
|
|
266
|
+
|
|
267
|
+
#. Default: "Municipalities & other:"
|
|
268
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
246
269
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
247
270
|
msgid "City:"
|
|
248
271
|
msgstr ""
|
|
@@ -352,6 +375,7 @@ msgid "Countries"
|
|
|
352
375
|
msgstr ""
|
|
353
376
|
|
|
354
377
|
#. Default: "Countries:"
|
|
378
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
355
379
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
356
380
|
msgid "Countries:"
|
|
357
381
|
msgstr ""
|
|
@@ -512,6 +536,11 @@ msgstr ""
|
|
|
512
536
|
msgid "Find the right tool"
|
|
513
537
|
msgstr ""
|
|
514
538
|
|
|
539
|
+
#. Default: "Focus areas"
|
|
540
|
+
#: search/navigator_catalogue/facets
|
|
541
|
+
msgid "Focus areas"
|
|
542
|
+
msgstr ""
|
|
543
|
+
|
|
515
544
|
#. Default: "For more search options"
|
|
516
545
|
#: index
|
|
517
546
|
msgid "For more search options"
|
|
@@ -649,6 +678,11 @@ msgstr ""
|
|
|
649
678
|
msgid "If you have any further questions you can contact"
|
|
650
679
|
msgstr ""
|
|
651
680
|
|
|
681
|
+
#. Default: "Implementation level"
|
|
682
|
+
#: search/navigator_catalogue/facets
|
|
683
|
+
msgid "Implementation level"
|
|
684
|
+
msgstr ""
|
|
685
|
+
|
|
652
686
|
#. Default: "Implementation time"
|
|
653
687
|
#: components/theme/Views/AdaptationOptionView
|
|
654
688
|
#: components/theme/Views/CaseStudyView
|
|
@@ -813,11 +847,6 @@ msgstr ""
|
|
|
813
847
|
msgid "License"
|
|
814
848
|
msgstr ""
|
|
815
849
|
|
|
816
|
-
#. Default: "License status"
|
|
817
|
-
#: search/navigator_catalogue/facets
|
|
818
|
-
msgid "License status"
|
|
819
|
-
msgstr ""
|
|
820
|
-
|
|
821
850
|
#. Default: "Lifetime"
|
|
822
851
|
#: components/theme/Views/AdaptationOptionView
|
|
823
852
|
#: components/theme/Views/CaseStudyView
|
|
@@ -850,6 +879,7 @@ msgid "Looking for more information?"
|
|
|
850
879
|
msgstr ""
|
|
851
880
|
|
|
852
881
|
#. Default: "Macro-Transnational region:"
|
|
882
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
853
883
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
854
884
|
msgid "Macro-Transnational region:"
|
|
855
885
|
msgstr ""
|
|
@@ -879,6 +909,12 @@ msgstr ""
|
|
|
879
909
|
msgid "Most useful for"
|
|
880
910
|
msgstr ""
|
|
881
911
|
|
|
912
|
+
#. Default: "Municipalities & other:"
|
|
913
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
914
|
+
#: components/theme/Content/Sections/GeographicMetadata
|
|
915
|
+
msgid "Municipalities & other:"
|
|
916
|
+
msgstr ""
|
|
917
|
+
|
|
882
918
|
#. Default: "National HHAP"
|
|
883
919
|
#: components/manage/Blocks/CountryMapHeatIndex/Filter
|
|
884
920
|
msgid "National HHAP"
|
|
@@ -889,11 +925,6 @@ msgstr ""
|
|
|
889
925
|
msgid "Nature based Solutions and Ecosystem based approaches"
|
|
890
926
|
msgstr ""
|
|
891
927
|
|
|
892
|
-
#. Default: "Nature-based solution"
|
|
893
|
-
#: search/navigator_catalogue/facets
|
|
894
|
-
msgid "Nature-based solution"
|
|
895
|
-
msgstr ""
|
|
896
|
-
|
|
897
928
|
#. Default: "Navigate to this item"
|
|
898
929
|
#: components/manage/Workflow/WorkflowLinkIntegrityModal
|
|
899
930
|
msgid "Navigate to this item"
|
|
@@ -964,6 +995,11 @@ msgstr ""
|
|
|
964
995
|
msgid "Non-EU Languages"
|
|
965
996
|
msgstr ""
|
|
966
997
|
|
|
998
|
+
#. Default: "Not available"
|
|
999
|
+
#: components/theme/CompareTools/CompareToolsView
|
|
1000
|
+
msgid "Not available"
|
|
1001
|
+
msgstr ""
|
|
1002
|
+
|
|
967
1003
|
#. Default: "Objectives of the adaptation measure"
|
|
968
1004
|
#: components/theme/Views/CaseStudyView
|
|
969
1005
|
msgid "Objectives of the adaptation measure"
|
|
@@ -1228,7 +1264,6 @@ msgstr ""
|
|
|
1228
1264
|
#. Default: "Sector"
|
|
1229
1265
|
#: components/manage/Blocks/FilterAceContent/FilterAceContentView
|
|
1230
1266
|
#: components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem
|
|
1231
|
-
#: components/theme/CompareTools/CompareToolsView
|
|
1232
1267
|
msgid "Sector"
|
|
1233
1268
|
msgstr ""
|
|
1234
1269
|
|
|
@@ -1343,6 +1378,7 @@ msgid "Step {current} of {total}"
|
|
|
1343
1378
|
msgstr ""
|
|
1344
1379
|
|
|
1345
1380
|
#. Default: "Sub Nationals:"
|
|
1381
|
+
#: components/theme/Content/Sections/ExtendedToolGeographicMetadata
|
|
1346
1382
|
#: components/theme/Content/Sections/GeographicMetadata
|
|
1347
1383
|
msgid "Sub Nationals:"
|
|
1348
1384
|
msgstr ""
|
|
@@ -1454,16 +1490,6 @@ msgstr ""
|
|
|
1454
1490
|
msgid "Type"
|
|
1455
1491
|
msgstr ""
|
|
1456
1492
|
|
|
1457
|
-
#. Default: "Type of Data"
|
|
1458
|
-
#: search/navigator_catalogue/facets
|
|
1459
|
-
msgid "Type of Data"
|
|
1460
|
-
msgstr ""
|
|
1461
|
-
|
|
1462
|
-
#. Default: "Type of Outputs"
|
|
1463
|
-
#: search/navigator_catalogue/facets
|
|
1464
|
-
msgid "Type of Outputs"
|
|
1465
|
-
msgstr ""
|
|
1466
|
-
|
|
1467
1493
|
#. Default: "Type of item"
|
|
1468
1494
|
#: search/common
|
|
1469
1495
|
#: search/mission_all/facets-all
|
|
@@ -1471,7 +1497,9 @@ msgid "Type of item"
|
|
|
1471
1497
|
msgstr ""
|
|
1472
1498
|
|
|
1473
1499
|
#. Default: "Type of outputs"
|
|
1500
|
+
#: components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem
|
|
1474
1501
|
#: components/theme/Views/ExtendedToolView
|
|
1502
|
+
#: search/navigator_catalogue/facets
|
|
1475
1503
|
msgid "Type of outputs"
|
|
1476
1504
|
msgstr ""
|
|
1477
1505
|
|
|
@@ -1510,11 +1538,6 @@ msgstr ""
|
|
|
1510
1538
|
msgid "User Group"
|
|
1511
1539
|
msgstr ""
|
|
1512
1540
|
|
|
1513
|
-
#. Default: "User Groups"
|
|
1514
|
-
#: search/navigator_catalogue/facets
|
|
1515
|
-
msgid "User Groups"
|
|
1516
|
-
msgstr ""
|
|
1517
|
-
|
|
1518
1541
|
#. Default: "User requirements"
|
|
1519
1542
|
#: search/mission_tools/facets-tools
|
|
1520
1543
|
msgid "User requirements"
|
package/package.json
CHANGED
|
@@ -33,6 +33,10 @@ const messages = defineMessages({
|
|
|
33
33
|
id: 'Type',
|
|
34
34
|
defaultMessage: 'Type',
|
|
35
35
|
},
|
|
36
|
+
typeOfOutput: {
|
|
37
|
+
id: 'Type of outputs',
|
|
38
|
+
defaultMessage: 'Type of outputs',
|
|
39
|
+
},
|
|
36
40
|
compare: {
|
|
37
41
|
id: 'Compare',
|
|
38
42
|
defaultMessage: 'Compare',
|
|
@@ -117,7 +121,9 @@ const NavigatorCatalogueCardItem = (props) => {
|
|
|
117
121
|
const intl = useIntl();
|
|
118
122
|
const sectors = rawValueAsArray(result.cca_adaptation_sectors);
|
|
119
123
|
const hazards = rawValueAsArray(result.cca_climate_impacts);
|
|
120
|
-
const
|
|
124
|
+
const outputs = rawValueAsArray(result.cca_type_of_outputs);
|
|
125
|
+
|
|
126
|
+
const outputType = outputs
|
|
121
127
|
.map((value) => value?.title || value)
|
|
122
128
|
.filter(Boolean)
|
|
123
129
|
.join(', ');
|
|
@@ -181,19 +187,15 @@ const NavigatorCatalogueCardItem = (props) => {
|
|
|
181
187
|
<div className="catalogue-meta">
|
|
182
188
|
<CycleElements intl={intl} values={adaptationSupportCycleSteps} />
|
|
183
189
|
</div>
|
|
184
|
-
|
|
185
190
|
<div className="catalogue-meta license-type">
|
|
186
|
-
{
|
|
191
|
+
{outputType && (
|
|
187
192
|
<>
|
|
188
|
-
<span className="catalogue-
|
|
189
|
-
{intl.formatMessage(messages.
|
|
193
|
+
<span className="catalogue-output" title={outputType}>
|
|
194
|
+
{intl.formatMessage(messages.typeOfOutput)}: {outputType}
|
|
190
195
|
</span>
|
|
191
196
|
<span aria-hidden="true">·</span>
|
|
192
197
|
</>
|
|
193
198
|
)}
|
|
194
|
-
<span className="catalogue-type">
|
|
195
|
-
{intl.formatMessage(messages.type)}: Tool
|
|
196
|
-
</span>
|
|
197
199
|
</div>
|
|
198
200
|
|
|
199
201
|
<div className="catalogue-actions">
|
|
@@ -84,10 +84,11 @@ describe('NavigatorCatalogueCardItem', () => {
|
|
|
84
84
|
cca_climate_impacts: {
|
|
85
85
|
raw: ['Drought', 'Flooding', 'Heat', 'Wildfires'],
|
|
86
86
|
},
|
|
87
|
-
|
|
87
|
+
cca_type_of_outputs: {
|
|
88
88
|
raw: [
|
|
89
|
-
'
|
|
90
|
-
|
|
89
|
+
'Maps and graphs',
|
|
90
|
+
'Reports and decision support',
|
|
91
|
+
'Datasets and indicators',
|
|
91
92
|
],
|
|
92
93
|
},
|
|
93
94
|
adaptation_support_cycle_step: {
|
|
@@ -125,11 +126,12 @@ describe('NavigatorCatalogueCardItem', () => {
|
|
|
125
126
|
expect(screen.getByText('Step 1')).toBeInTheDocument();
|
|
126
127
|
expect(screen.queryByText('Step 4')).not.toBeInTheDocument();
|
|
127
128
|
expect(
|
|
128
|
-
screen.getByTitle(
|
|
129
|
+
screen.getByTitle(
|
|
130
|
+
'Maps and graphs, Reports and decision support, Datasets and indicators',
|
|
131
|
+
),
|
|
129
132
|
).toHaveTextContent(
|
|
130
|
-
'
|
|
133
|
+
'Type of outputs: Maps and graphs, Reports and decision support, Datasets and indicators',
|
|
131
134
|
);
|
|
132
|
-
expect(screen.getByText('Type: Tool')).toBeInTheDocument();
|
|
133
135
|
|
|
134
136
|
fireEvent.click(screen.getByLabelText('compare'));
|
|
135
137
|
expect(setSelected).toHaveBeenCalledWith(true);
|
|
@@ -1,14 +1,57 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useIntl, defineMessages } from 'react-intl';
|
|
2
2
|
import MetadataItemList from './MetadataItemList';
|
|
3
3
|
import { renderGeochar } from './geographicMetadataUtils';
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const messages = defineMessages({
|
|
6
|
+
'Macro-Transnational region:': {
|
|
7
|
+
id: 'Macro-Transnational region:',
|
|
8
|
+
defaultMessage: 'Macro-Transnational region:',
|
|
9
|
+
},
|
|
10
|
+
'Biogeographical regions:': {
|
|
11
|
+
id: 'Biogeographical regions:',
|
|
12
|
+
defaultMessage: 'Biogeographical regions:',
|
|
13
|
+
},
|
|
14
|
+
'Countries:': { id: 'Countries:', defaultMessage: 'Countries:' },
|
|
15
|
+
'Sub Nationals:': { id: 'Sub Nationals:', defaultMessage: 'Sub Nationals:' },
|
|
16
|
+
'Municipalities & other:': {
|
|
17
|
+
id: 'Municipalities & other:',
|
|
18
|
+
defaultMessage: 'Municipalities & other:',
|
|
19
|
+
},
|
|
20
|
+
'Cities:': { id: 'Cities:', defaultMessage: 'Municipalities & other:' },
|
|
21
|
+
'City:': { id: 'City:', defaultMessage: 'Municipalities & other:' },
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const specificSectionKeys = [
|
|
25
|
+
'countries',
|
|
26
|
+
'macrotrans',
|
|
27
|
+
'biotrans',
|
|
28
|
+
'subnational',
|
|
29
|
+
'city',
|
|
30
|
+
];
|
|
6
31
|
|
|
7
32
|
const getSections = (content) => {
|
|
8
33
|
const { geochars, spatial_layer, spatial_values } = content;
|
|
9
34
|
|
|
10
35
|
if (!geochars) {
|
|
11
|
-
|
|
36
|
+
if (spatial_values?.length) {
|
|
37
|
+
return [
|
|
38
|
+
{
|
|
39
|
+
key: 'spatial_values',
|
|
40
|
+
title: spatial_layer ? `${spatial_layer}:` : null,
|
|
41
|
+
value: spatial_values,
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
if (spatial_layer) {
|
|
46
|
+
return [
|
|
47
|
+
{
|
|
48
|
+
key: 'spatial_layer',
|
|
49
|
+
title: null,
|
|
50
|
+
value: [spatial_layer],
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
return [];
|
|
12
55
|
}
|
|
13
56
|
|
|
14
57
|
let parsedGeochars;
|
|
@@ -20,25 +63,47 @@ const getSections = (content) => {
|
|
|
20
63
|
|
|
21
64
|
const renderedSections = renderGeochar(parsedGeochars?.geoElements) || [];
|
|
22
65
|
|
|
23
|
-
|
|
66
|
+
const specificSections = specificSectionKeys
|
|
67
|
+
.map((key) => renderedSections.find((section) => section.key === key))
|
|
68
|
+
.filter((section) => section?.value?.length);
|
|
69
|
+
|
|
70
|
+
if (specificSections.length > 0) {
|
|
71
|
+
return specificSections;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const elementSection = renderedSections.find(
|
|
75
|
+
(section) => section.key === 'element',
|
|
76
|
+
);
|
|
77
|
+
return elementSection?.value?.length ? [elementSection] : [];
|
|
24
78
|
};
|
|
25
79
|
|
|
26
80
|
const ExtendedToolGeographicMetadata = ({ content = {} }) => {
|
|
27
|
-
const
|
|
81
|
+
const intl = useIntl();
|
|
82
|
+
const sections = getSections(content);
|
|
28
83
|
|
|
29
84
|
if (!sections.length) return null;
|
|
30
85
|
|
|
31
86
|
return (
|
|
32
87
|
<div className="extended-tool-geographic-metadata">
|
|
33
|
-
{sections.map((
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.
|
|
88
|
+
{sections.map((section) => (
|
|
89
|
+
<div
|
|
90
|
+
className="geographic-category"
|
|
91
|
+
key={
|
|
92
|
+
section.key ||
|
|
93
|
+
section.title ||
|
|
94
|
+
(section.value && section.value[0]) ||
|
|
95
|
+
'geo'
|
|
96
|
+
}
|
|
38
97
|
>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
98
|
+
{section.title && (
|
|
99
|
+
<div className="geographic-category-title">
|
|
100
|
+
{messages[section.title]
|
|
101
|
+
? intl.formatMessage(messages[section.title])
|
|
102
|
+
: section.title}
|
|
103
|
+
</div>
|
|
104
|
+
)}
|
|
105
|
+
<MetadataItemList asTags maxItems={3} value={section.value} />
|
|
106
|
+
</div>
|
|
42
107
|
))}
|
|
43
108
|
</div>
|
|
44
109
|
);
|