@eeacms/volto-cca-policy 0.3.111 → 0.3.113
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 +27 -0
- package/locales/bg/LC_MESSAGES/volto.po +91 -48
- package/locales/cs/LC_MESSAGES/volto.po +91 -48
- package/locales/da/LC_MESSAGES/volto.po +90 -47
- package/locales/de/LC_MESSAGES/volto.po +90 -47
- package/locales/el/LC_MESSAGES/volto.po +91 -48
- package/locales/en/LC_MESSAGES/volto.po +89 -46
- package/locales/es/LC_MESSAGES/volto.po +91 -48
- package/locales/et/LC_MESSAGES/volto.po +90 -47
- package/locales/fi/LC_MESSAGES/volto.po +91 -48
- package/locales/fr/LC_MESSAGES/volto.po +90 -47
- package/locales/ga/LC_MESSAGES/volto.po +90 -47
- package/locales/hr/LC_MESSAGES/volto.po +90 -47
- package/locales/hu/LC_MESSAGES/volto.po +91 -48
- package/locales/is/LC_MESSAGES/volto.po +90 -47
- package/locales/it/LC_MESSAGES/volto.po +91 -48
- package/locales/lt/LC_MESSAGES/volto.po +90 -47
- package/locales/lv/LC_MESSAGES/volto.po +90 -47
- package/locales/mt/LC_MESSAGES/volto.po +91 -48
- package/locales/nl/LC_MESSAGES/volto.po +90 -47
- package/locales/nn/LC_MESSAGES/volto.po +90 -47
- package/locales/pl/LC_MESSAGES/volto.po +90 -47
- package/locales/pt/LC_MESSAGES/volto.po +90 -47
- package/locales/ro/LC_MESSAGES/volto.po +91 -48
- package/locales/sk/LC_MESSAGES/volto.po +91 -48
- package/locales/sl/LC_MESSAGES/volto.po +91 -48
- package/locales/sv/LC_MESSAGES/volto.po +90 -47
- package/locales/tr/LC_MESSAGES/volto.po +90 -47
- package/locales/volto.pot +90 -47
- package/package.json +1 -1
- package/src/components/theme/Widgets/ImageWidget.jsx +24 -5
- package/src/messages.js +69 -0
- package/theme/globals/site.overrides +11 -1
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-04-08T07:55:34.629Z\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"
|
|
@@ -19,6 +19,7 @@ msgid "A background document for the event is available"
|
|
|
19
19
|
msgstr ""
|
|
20
20
|
|
|
21
21
|
#. Default: "Adaptation Approaches"
|
|
22
|
+
#: components/manage/Blocks/FilterAceContent/FilterAceContentView
|
|
22
23
|
#: search/cca/facets
|
|
23
24
|
#: search/health_observatory/facets-health
|
|
24
25
|
#: search/mission_all/facets-all
|
|
@@ -32,7 +33,7 @@ msgid "Adaptation Approaches:"
|
|
|
32
33
|
msgstr ""
|
|
33
34
|
|
|
34
35
|
#. Default: "Adaptation Details"
|
|
35
|
-
#:
|
|
36
|
+
#: messages
|
|
36
37
|
msgid "Adaptation Details"
|
|
37
38
|
msgstr ""
|
|
38
39
|
|
|
@@ -53,7 +54,7 @@ msgid "Adaptation approaches"
|
|
|
53
54
|
msgstr ""
|
|
54
55
|
|
|
55
56
|
#. Default: "Adaptation option"
|
|
56
|
-
#: messages
|
|
57
|
+
#: messages
|
|
57
58
|
msgid "Adaptation option"
|
|
58
59
|
msgstr ""
|
|
59
60
|
|
|
@@ -69,11 +70,15 @@ msgid "Adaptation sectors"
|
|
|
69
70
|
msgstr ""
|
|
70
71
|
|
|
71
72
|
#. Default: "Additional Details"
|
|
72
|
-
#: components/theme/Views/AdaptationOptionView
|
|
73
73
|
#: components/theme/Views/CaseStudyView
|
|
74
74
|
msgid "Additional Details"
|
|
75
75
|
msgstr ""
|
|
76
76
|
|
|
77
|
+
#. Default: "Advantages"
|
|
78
|
+
#: components/theme/Views/AdaptationOptionView
|
|
79
|
+
msgid "Advantages"
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
77
82
|
#. Default: "Agenda and supporting documents"
|
|
78
83
|
#: components/theme/Views/CcaEventView
|
|
79
84
|
msgid "Agenda and supporting documents"
|
|
@@ -95,13 +100,16 @@ msgid "Biogeographical regions:"
|
|
|
95
100
|
msgstr ""
|
|
96
101
|
|
|
97
102
|
#. Default: "Blue options"
|
|
98
|
-
#: messages copy
|
|
99
103
|
#: messages
|
|
100
104
|
msgid "Blue options"
|
|
101
105
|
msgstr ""
|
|
102
106
|
|
|
107
|
+
#. Default: "Browse the site, drop an image, or use a URL"
|
|
108
|
+
#: components/theme/Widgets/ImageWidget
|
|
109
|
+
msgid "Browse the site, drop an image, or type a URL"
|
|
110
|
+
msgstr ""
|
|
111
|
+
|
|
103
112
|
#. Default: "Capacity building empowering and lifestyle practices"
|
|
104
|
-
#: messages copy
|
|
105
113
|
#: messages
|
|
106
114
|
msgid "Capacity building empowering and lifestyle practices"
|
|
107
115
|
msgstr ""
|
|
@@ -127,7 +135,7 @@ msgid "Case studies related to this option:"
|
|
|
127
135
|
msgstr ""
|
|
128
136
|
|
|
129
137
|
#. Default: "Case study"
|
|
130
|
-
#: messages
|
|
138
|
+
#: messages
|
|
131
139
|
msgid "Case study"
|
|
132
140
|
msgstr ""
|
|
133
141
|
|
|
@@ -210,7 +218,6 @@ msgid "Contributor:"
|
|
|
210
218
|
msgstr ""
|
|
211
219
|
|
|
212
220
|
#. Default: "Coordination cooperation and networks"
|
|
213
|
-
#: messages copy
|
|
214
221
|
#: messages
|
|
215
222
|
msgid "Coordination cooperation and networks"
|
|
216
223
|
msgstr ""
|
|
@@ -249,10 +256,16 @@ msgid "Date of release:"
|
|
|
249
256
|
msgstr ""
|
|
250
257
|
|
|
251
258
|
#. Default: "Description"
|
|
259
|
+
#: components/theme/Views/AdaptationOptionView
|
|
252
260
|
#: helpers/Utils
|
|
253
261
|
msgid "Description"
|
|
254
262
|
msgstr ""
|
|
255
263
|
|
|
264
|
+
#. Default: "Disadvantages"
|
|
265
|
+
#: components/theme/Views/AdaptationOptionView
|
|
266
|
+
msgid "Disadvantages"
|
|
267
|
+
msgstr ""
|
|
268
|
+
|
|
256
269
|
#. Default: "Disclaimer"
|
|
257
270
|
#: components/theme/Views/C3SIndicatorView
|
|
258
271
|
msgid "Disclaimer"
|
|
@@ -324,7 +337,6 @@ msgid "Eastern Parnership Members and Energy Community Contracting Parties"
|
|
|
324
337
|
msgstr ""
|
|
325
338
|
|
|
326
339
|
#. Default: "Economic and Finance"
|
|
327
|
-
#: messages copy
|
|
328
340
|
#: messages
|
|
329
341
|
msgid "Economic and Finance"
|
|
330
342
|
msgstr ""
|
|
@@ -334,6 +346,11 @@ msgstr ""
|
|
|
334
346
|
msgid "Eligible to receive funding"
|
|
335
347
|
msgstr ""
|
|
336
348
|
|
|
349
|
+
#. Default: "Event"
|
|
350
|
+
#: messages
|
|
351
|
+
msgid "Event"
|
|
352
|
+
msgstr ""
|
|
353
|
+
|
|
337
354
|
#. Default: "Exit fullscreen"
|
|
338
355
|
#: components/theme/Views/C3SIndicatorView
|
|
339
356
|
msgid "Exit fullscreen"
|
|
@@ -345,7 +362,6 @@ msgid "Explore more on Climate-ADAPT"
|
|
|
345
362
|
msgstr ""
|
|
346
363
|
|
|
347
364
|
#. Default: "Financing incentive instruments"
|
|
348
|
-
#: messages copy
|
|
349
365
|
#: messages
|
|
350
366
|
msgid "Financing incentive instruments"
|
|
351
367
|
msgstr ""
|
|
@@ -373,7 +389,7 @@ msgid "Funding Programme:"
|
|
|
373
389
|
msgstr ""
|
|
374
390
|
|
|
375
391
|
#. Default: "Funding oportunity"
|
|
376
|
-
#: messages
|
|
392
|
+
#: messages
|
|
377
393
|
msgid "Funding oportunity"
|
|
378
394
|
msgstr ""
|
|
379
395
|
|
|
@@ -398,7 +414,6 @@ msgid "Go to advanced search"
|
|
|
398
414
|
msgstr ""
|
|
399
415
|
|
|
400
416
|
#. Default: "Governance and Institutional"
|
|
401
|
-
#: messages copy
|
|
402
417
|
#: messages
|
|
403
418
|
msgid "Governance and Institutional"
|
|
404
419
|
msgstr ""
|
|
@@ -409,19 +424,17 @@ msgid "Governance level:"
|
|
|
409
424
|
msgstr ""
|
|
410
425
|
|
|
411
426
|
#. Default: "Green options"
|
|
412
|
-
#: messages copy
|
|
413
427
|
#: messages
|
|
414
428
|
msgid "Green options"
|
|
415
429
|
msgstr ""
|
|
416
430
|
|
|
417
431
|
#. Default: "Grey options"
|
|
418
|
-
#: messages copy
|
|
419
432
|
#: messages
|
|
420
433
|
msgid "Grey options"
|
|
421
434
|
msgstr ""
|
|
422
435
|
|
|
423
436
|
#. Default: "Guidance"
|
|
424
|
-
#: messages
|
|
437
|
+
#: messages
|
|
425
438
|
msgid "Guidance"
|
|
426
439
|
msgstr ""
|
|
427
440
|
|
|
@@ -436,7 +449,6 @@ msgid "Hazard Type"
|
|
|
436
449
|
msgstr ""
|
|
437
450
|
|
|
438
451
|
#. Default: "Health Impacts"
|
|
439
|
-
#: messages copy
|
|
440
452
|
#: messages
|
|
441
453
|
msgid "Health Impacts"
|
|
442
454
|
msgstr ""
|
|
@@ -466,11 +478,6 @@ msgstr ""
|
|
|
466
478
|
msgid "IPCC adaptation options categories:"
|
|
467
479
|
msgstr ""
|
|
468
480
|
|
|
469
|
-
#. Default: "IPCC categories"
|
|
470
|
-
#: components/theme/Views/AdaptationOptionView
|
|
471
|
-
msgid "IPCC categories"
|
|
472
|
-
msgstr ""
|
|
473
|
-
|
|
474
481
|
#. Default: "If you have any further questions you can contact"
|
|
475
482
|
#: components/theme/Views/CcaEventView
|
|
476
483
|
msgid "If you have any further questions you can contact"
|
|
@@ -493,7 +500,7 @@ msgid "Include archived content"
|
|
|
493
500
|
msgstr ""
|
|
494
501
|
|
|
495
502
|
#. Default: "Indicator"
|
|
496
|
-
#: messages
|
|
503
|
+
#: messages
|
|
497
504
|
msgid "Indicator"
|
|
498
505
|
msgstr ""
|
|
499
506
|
|
|
@@ -508,18 +515,16 @@ msgid "Info"
|
|
|
508
515
|
msgstr ""
|
|
509
516
|
|
|
510
517
|
#. Default: "Information and awareness raising"
|
|
511
|
-
#: messages copy
|
|
512
518
|
#: messages
|
|
513
519
|
msgid "Information and awareness raising"
|
|
514
520
|
msgstr ""
|
|
515
521
|
|
|
516
522
|
#. Default: "Information portal"
|
|
517
|
-
#: messages
|
|
523
|
+
#: messages
|
|
518
524
|
msgid "Information portal"
|
|
519
525
|
msgstr ""
|
|
520
526
|
|
|
521
527
|
#. Default: "Insurance and risk sharing instruments"
|
|
522
|
-
#: messages copy
|
|
523
528
|
#: messages
|
|
524
529
|
msgid "Insurance and risk sharing instruments"
|
|
525
530
|
msgstr ""
|
|
@@ -540,6 +545,11 @@ msgstr ""
|
|
|
540
545
|
msgid "Key Type Measure"
|
|
541
546
|
msgstr ""
|
|
542
547
|
|
|
548
|
+
#. Default: "Key Type Measures (KTMs) are a common approach for grouping and classifying climate change adaptation actions and measures, supporting harmonized reporting, comparability, and systematic analysis across adaptation policies and governance levels."
|
|
549
|
+
#: helpers/ContentMetadata
|
|
550
|
+
msgid "Key Type Measures (KTMs) are a common approach for grouping and classifying climate change adaptation actions and measures, supporting harmonized reporting, comparability, and systematic analysis across adaptation policies and governance levels."
|
|
551
|
+
msgstr ""
|
|
552
|
+
|
|
543
553
|
#. Default: "Key Type Measures:"
|
|
544
554
|
#: helpers/ContentMetadata
|
|
545
555
|
msgid "Key Type Measures:"
|
|
@@ -561,7 +571,6 @@ msgid "Keywords:"
|
|
|
561
571
|
msgstr ""
|
|
562
572
|
|
|
563
573
|
#. Default: "Knowledge and behavioural change"
|
|
564
|
-
#: messages copy
|
|
565
574
|
#: messages
|
|
566
575
|
msgid "Knowledge and behavioural change"
|
|
567
576
|
msgstr ""
|
|
@@ -649,18 +658,17 @@ msgid "Macro-Transnational region:"
|
|
|
649
658
|
msgstr ""
|
|
650
659
|
|
|
651
660
|
#. Default: "Management and planning"
|
|
652
|
-
#: messages copy
|
|
653
661
|
#: messages
|
|
654
662
|
msgid "Management and planning"
|
|
655
663
|
msgstr ""
|
|
656
664
|
|
|
657
665
|
#. Default: "Mission story"
|
|
658
|
-
#: messages
|
|
666
|
+
#: messages
|
|
659
667
|
msgid "Mission story"
|
|
660
668
|
msgstr ""
|
|
661
669
|
|
|
662
670
|
#. Default: "Mission tool"
|
|
663
|
-
#: messages
|
|
671
|
+
#: messages
|
|
664
672
|
msgid "Mission tool"
|
|
665
673
|
msgstr ""
|
|
666
674
|
|
|
@@ -675,7 +683,6 @@ msgid "National HHAP"
|
|
|
675
683
|
msgstr ""
|
|
676
684
|
|
|
677
685
|
#. Default: "Nature based Solutions and Ecosystem based approaches"
|
|
678
|
-
#: messages copy
|
|
679
686
|
#: messages
|
|
680
687
|
msgid "Nature based Solutions and Ecosystem based approaches"
|
|
681
688
|
msgstr ""
|
|
@@ -686,7 +693,7 @@ msgid "New"
|
|
|
686
693
|
msgstr ""
|
|
687
694
|
|
|
688
695
|
#. Default: "News"
|
|
689
|
-
#: messages
|
|
696
|
+
#: messages
|
|
690
697
|
msgid "News"
|
|
691
698
|
msgstr ""
|
|
692
699
|
|
|
@@ -726,7 +733,7 @@ msgid "Observatory partner"
|
|
|
726
733
|
msgstr ""
|
|
727
734
|
|
|
728
735
|
#. Default: "Organisation"
|
|
729
|
-
#: messages
|
|
736
|
+
#: messages
|
|
730
737
|
msgid "Organisation"
|
|
731
738
|
msgstr ""
|
|
732
739
|
|
|
@@ -756,13 +763,11 @@ msgid "Partners"
|
|
|
756
763
|
msgstr ""
|
|
757
764
|
|
|
758
765
|
#. Default: "Physical and technological"
|
|
759
|
-
#: messages copy
|
|
760
766
|
#: messages
|
|
761
767
|
msgid "Physical and technological"
|
|
762
768
|
msgstr ""
|
|
763
769
|
|
|
764
770
|
#. Default: "Policy Instruments"
|
|
765
|
-
#: messages copy
|
|
766
771
|
#: messages
|
|
767
772
|
msgid "Policy Instruments"
|
|
768
773
|
msgstr ""
|
|
@@ -818,20 +823,24 @@ msgstr ""
|
|
|
818
823
|
msgid "RAST step(s) of relevance"
|
|
819
824
|
msgstr ""
|
|
820
825
|
|
|
826
|
+
#. Default: "Read the full text of the adaptation option"
|
|
827
|
+
#: components/theme/Views/AdaptationOptionView
|
|
828
|
+
msgid "Read the full text of the adaptation option"
|
|
829
|
+
msgstr ""
|
|
830
|
+
|
|
821
831
|
#. Default: "Reference Information"
|
|
822
832
|
#: components/theme/Views/CaseStudyView
|
|
823
833
|
msgid "Reference Information"
|
|
824
834
|
msgstr ""
|
|
825
835
|
|
|
826
836
|
#. Default: "Reference information"
|
|
827
|
-
#: components/theme/Views/AdaptationOptionView
|
|
828
837
|
#: helpers/Utils
|
|
829
838
|
msgid "Reference information"
|
|
830
839
|
msgstr ""
|
|
831
840
|
|
|
832
841
|
#. Default: "References"
|
|
842
|
+
#: components/theme/Views/AdaptationOptionView
|
|
833
843
|
#: components/theme/Views/CaseStudyView
|
|
834
|
-
#: helpers/Utils
|
|
835
844
|
msgid "References"
|
|
836
845
|
msgstr ""
|
|
837
846
|
|
|
@@ -845,6 +854,11 @@ msgstr ""
|
|
|
845
854
|
msgid "Regions"
|
|
846
855
|
msgstr ""
|
|
847
856
|
|
|
857
|
+
#. Default: "Related Resources"
|
|
858
|
+
#: components/theme/Views/AdaptationOptionView
|
|
859
|
+
msgid "Related Resources"
|
|
860
|
+
msgstr ""
|
|
861
|
+
|
|
848
862
|
#. Default: "Related content:"
|
|
849
863
|
#: helpers/Utils
|
|
850
864
|
msgid "Related content:"
|
|
@@ -855,33 +869,40 @@ msgstr ""
|
|
|
855
869
|
msgid "Related documents and presentations"
|
|
856
870
|
msgstr ""
|
|
857
871
|
|
|
872
|
+
#. Default: "Relevant EU policies"
|
|
873
|
+
#: components/theme/Views/AdaptationOptionView
|
|
874
|
+
msgid "Relevant EU policies"
|
|
875
|
+
msgstr ""
|
|
876
|
+
|
|
877
|
+
#. Default: "Relevant synergies with mitigation"
|
|
878
|
+
#: components/theme/Views/AdaptationOptionView
|
|
879
|
+
msgid "Relevant synergies with mitigation"
|
|
880
|
+
msgstr ""
|
|
881
|
+
|
|
858
882
|
#. Default: "Replace existing file"
|
|
859
883
|
#: components/theme/Widgets/PromotionalImageWidget
|
|
860
884
|
msgid "Replace existing file"
|
|
861
885
|
msgstr ""
|
|
862
886
|
|
|
863
887
|
#. Default: "Research and knowledge project"
|
|
864
|
-
#: messages
|
|
888
|
+
#: messages
|
|
865
889
|
msgid "Research and knowledge project"
|
|
866
890
|
msgstr ""
|
|
867
891
|
|
|
868
892
|
#. Default: "Search the Climate-ADAPT database"
|
|
869
893
|
#: index
|
|
870
|
-
#: messages copy
|
|
871
894
|
#: messages
|
|
872
895
|
msgid "Search the Climate-ADAPT database"
|
|
873
896
|
msgstr ""
|
|
874
897
|
|
|
875
898
|
#. Default: "Search the EU Mission on Adaptation"
|
|
876
899
|
#: index
|
|
877
|
-
#: messages copy
|
|
878
900
|
#: messages
|
|
879
901
|
msgid "Search the EU Mission on Adaptation"
|
|
880
902
|
msgstr ""
|
|
881
903
|
|
|
882
904
|
#. Default: "Search the Observatory Resource Catalogue..."
|
|
883
905
|
#: index
|
|
884
|
-
#: messages copy
|
|
885
906
|
#: messages
|
|
886
907
|
msgid "Search the Observatory Resource Catalogue..."
|
|
887
908
|
msgstr ""
|
|
@@ -939,7 +960,6 @@ msgid "Solutions"
|
|
|
939
960
|
msgstr ""
|
|
940
961
|
|
|
941
962
|
#. Default: "Source"
|
|
942
|
-
#: components/theme/Views/AdaptationOptionView
|
|
943
963
|
#: components/theme/Views/CaseStudyView
|
|
944
964
|
#: helpers/Utils
|
|
945
965
|
msgid "Source"
|
|
@@ -979,7 +999,6 @@ msgid "Success and limiting factors"
|
|
|
979
999
|
msgstr ""
|
|
980
1000
|
|
|
981
1001
|
#. Default: "Technological options"
|
|
982
|
-
#: messages copy
|
|
983
1002
|
#: messages
|
|
984
1003
|
msgid "Technological options"
|
|
985
1004
|
msgstr ""
|
|
@@ -1010,7 +1029,7 @@ msgid "This object has been archived because its content is outdated. You can st
|
|
|
1010
1029
|
msgstr ""
|
|
1011
1030
|
|
|
1012
1031
|
#. Default: "Tool"
|
|
1013
|
-
#: messages
|
|
1032
|
+
#: messages
|
|
1014
1033
|
msgid "Tool"
|
|
1015
1034
|
msgstr ""
|
|
1016
1035
|
|
|
@@ -1032,7 +1051,6 @@ msgid "Type of item"
|
|
|
1032
1051
|
msgstr ""
|
|
1033
1052
|
|
|
1034
1053
|
#. Default: "Types"
|
|
1035
|
-
#: messages copy
|
|
1036
1054
|
#: messages
|
|
1037
1055
|
msgid "Types"
|
|
1038
1056
|
msgstr ""
|
|
@@ -1042,6 +1060,11 @@ msgstr ""
|
|
|
1042
1060
|
msgid "Updating notes"
|
|
1043
1061
|
msgstr ""
|
|
1044
1062
|
|
|
1063
|
+
#. Default: "Uploading image"
|
|
1064
|
+
#: components/theme/Widgets/ImageWidget
|
|
1065
|
+
msgid "Uploading image"
|
|
1066
|
+
msgstr ""
|
|
1067
|
+
|
|
1045
1068
|
#. Default: "User requirements"
|
|
1046
1069
|
#: search/mission_tools/facets-tools
|
|
1047
1070
|
msgid "User requirements"
|
|
@@ -1053,7 +1076,7 @@ msgid "Video"
|
|
|
1053
1076
|
msgstr ""
|
|
1054
1077
|
|
|
1055
1078
|
#. Default: "Videos and podcasts"
|
|
1056
|
-
#: messages
|
|
1079
|
+
#: messages
|
|
1057
1080
|
msgid "Videos and podcasts"
|
|
1058
1081
|
msgstr ""
|
|
1059
1082
|
|
|
@@ -1073,17 +1096,17 @@ msgid "Web"
|
|
|
1073
1096
|
msgstr ""
|
|
1074
1097
|
|
|
1075
1098
|
#. Default: "Webpage"
|
|
1076
|
-
#: messages
|
|
1099
|
+
#: messages
|
|
1077
1100
|
msgid "Webpage"
|
|
1078
1101
|
msgstr ""
|
|
1079
1102
|
|
|
1080
1103
|
#. Default: "Websites"
|
|
1081
|
-
#: components/theme/Views/AdaptationOptionView
|
|
1082
1104
|
#: components/theme/Views/CaseStudyView
|
|
1083
1105
|
msgid "Websites"
|
|
1084
1106
|
msgstr ""
|
|
1085
1107
|
|
|
1086
1108
|
#. Default: "Websites:"
|
|
1109
|
+
#: components/theme/Views/AdaptationOptionView
|
|
1087
1110
|
#: helpers/Utils
|
|
1088
1111
|
msgid "Websites:"
|
|
1089
1112
|
msgstr ""
|
|
@@ -1128,7 +1151,27 @@ msgstr ""
|
|
|
1128
1151
|
msgid "exclusion_of_liability.title"
|
|
1129
1152
|
msgstr ""
|
|
1130
1153
|
|
|
1154
|
+
#. Default: "Could not import the selected image."
|
|
1155
|
+
#: components/theme/Widgets/ImageWidget
|
|
1156
|
+
msgid "imageImportFailed"
|
|
1157
|
+
msgstr ""
|
|
1158
|
+
|
|
1159
|
+
#. Default: "Enter a URL to an image"
|
|
1160
|
+
#: components/theme/Widgets/ImageWidget
|
|
1161
|
+
msgid "linkAnImage"
|
|
1162
|
+
msgstr ""
|
|
1163
|
+
|
|
1131
1164
|
#. Default: "Officially reported governmental information is only available in English"
|
|
1132
1165
|
#: components/manage/Blocks/CountryProfileDetail/View
|
|
1133
1166
|
msgid "officiallyInEnglish"
|
|
1134
1167
|
msgstr ""
|
|
1168
|
+
|
|
1169
|
+
#. Default: "Pick an existing image"
|
|
1170
|
+
#: components/theme/Widgets/ImageWidget
|
|
1171
|
+
msgid "pickAnImage"
|
|
1172
|
+
msgstr ""
|
|
1173
|
+
|
|
1174
|
+
#. Default: "Upload an image from your computer"
|
|
1175
|
+
#: components/theme/Widgets/ImageWidget
|
|
1176
|
+
msgid "uploadAnImage"
|
|
1177
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { useLocation } from 'react-router-dom';
|
|
|
5
5
|
import loadable from '@loadable/component';
|
|
6
6
|
import useLinkEditor from '@plone/volto/components/manage/AnchorPlugin/useLinkEditor';
|
|
7
7
|
import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrowser';
|
|
8
|
+
import NativeImageWidget from '@plone/volto/components/manage/Widgets/ImageWidget';
|
|
8
9
|
|
|
9
10
|
import {
|
|
10
11
|
flattenToAppURL,
|
|
@@ -482,10 +483,28 @@ const UnconnectedImageInput = (props) => {
|
|
|
482
483
|
|
|
483
484
|
export const ImageInput = withObjectBrowser(UnconnectedImageInput);
|
|
484
485
|
|
|
485
|
-
const ImageUploadWidget = (props) =>
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
)
|
|
486
|
+
const ImageUploadWidget = (props) => {
|
|
487
|
+
if (props.block && props.widget === 'attachedimage') {
|
|
488
|
+
let sanitizedProps = { ...props };
|
|
489
|
+
if (typeof props.value === 'object' && props.value !== null) {
|
|
490
|
+
if (props.value.download) {
|
|
491
|
+
// Plone image metadata object -> extract base URL
|
|
492
|
+
sanitizedProps.value = props.value.download.split('/@@images/')[0];
|
|
493
|
+
} else if (props.value['@id']) {
|
|
494
|
+
// Linked object reference
|
|
495
|
+
sanitizedProps.value = props.value['@id'];
|
|
496
|
+
} else {
|
|
497
|
+
// Base64 dict payload -> clear to prevent crash
|
|
498
|
+
sanitizedProps.value = '';
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
return <NativeImageWidget {...sanitizedProps} />;
|
|
502
|
+
}
|
|
503
|
+
return (
|
|
504
|
+
<FormFieldWrapper {...props} className="image-upload-widget">
|
|
505
|
+
<ImageInput {...props} />
|
|
506
|
+
</FormFieldWrapper>
|
|
507
|
+
);
|
|
508
|
+
};
|
|
490
509
|
|
|
491
510
|
export default ImageUploadWidget;
|
package/src/messages.js
CHANGED
|
@@ -12,6 +12,75 @@ const messages = defineMessages({
|
|
|
12
12
|
id: 'Search the EU Mission on Adaptation',
|
|
13
13
|
defaultMessage: 'Search the EU Mission on Adaptation',
|
|
14
14
|
},
|
|
15
|
+
// rest of site
|
|
16
|
+
phNews: {
|
|
17
|
+
id: 'News',
|
|
18
|
+
defaultMessage: 'News',
|
|
19
|
+
},
|
|
20
|
+
phOrganisation: {
|
|
21
|
+
id: 'Organisation',
|
|
22
|
+
defaultMessage: 'Organisation',
|
|
23
|
+
},
|
|
24
|
+
phTool: {
|
|
25
|
+
id: 'Tool',
|
|
26
|
+
defaultMessage: 'Tool',
|
|
27
|
+
},
|
|
28
|
+
phIndicator: {
|
|
29
|
+
id: 'Indicator',
|
|
30
|
+
defaultMessage: 'Indicator',
|
|
31
|
+
},
|
|
32
|
+
phMissionStory: {
|
|
33
|
+
id: 'Mission story',
|
|
34
|
+
defaultMessage: 'Mission story',
|
|
35
|
+
},
|
|
36
|
+
phAdaptationOption: {
|
|
37
|
+
id: 'Adaptation option',
|
|
38
|
+
defaultMessage: 'Adaptation option',
|
|
39
|
+
},
|
|
40
|
+
phVideosAndPodcasts: {
|
|
41
|
+
id: 'Videos and podcasts',
|
|
42
|
+
defaultMessage: 'Videos and podcasts',
|
|
43
|
+
},
|
|
44
|
+
phMissionTool: {
|
|
45
|
+
id: 'Mission tool',
|
|
46
|
+
defaultMessage: 'Mission tool',
|
|
47
|
+
},
|
|
48
|
+
phCaseStudy: {
|
|
49
|
+
id: 'Case study',
|
|
50
|
+
defaultMessage: 'Case study',
|
|
51
|
+
},
|
|
52
|
+
phGuidance: {
|
|
53
|
+
id: 'Guidance',
|
|
54
|
+
defaultMessage: 'Guidance',
|
|
55
|
+
},
|
|
56
|
+
phInformationPortal: {
|
|
57
|
+
id: 'Information portal',
|
|
58
|
+
defaultMessage: 'Information portal',
|
|
59
|
+
},
|
|
60
|
+
phFundingOportunity: {
|
|
61
|
+
id: 'Funding oportunity',
|
|
62
|
+
defaultMessage: 'Funding oportunity',
|
|
63
|
+
},
|
|
64
|
+
phProjectsAces: {
|
|
65
|
+
id: 'Research and knowledge project',
|
|
66
|
+
defaultMessage: 'Research and knowledge project',
|
|
67
|
+
},
|
|
68
|
+
phWebapge: {
|
|
69
|
+
id: 'Webpage',
|
|
70
|
+
defaultMessage: 'Webpage',
|
|
71
|
+
},
|
|
72
|
+
phAdapDetails: {
|
|
73
|
+
id: 'Adaptation Details',
|
|
74
|
+
defaultMessage: 'Adaptation Details',
|
|
75
|
+
},
|
|
76
|
+
phEvent: {
|
|
77
|
+
id: 'Event',
|
|
78
|
+
defaultMessage: 'Event',
|
|
79
|
+
},
|
|
80
|
+
phResearchAndKnowledgeProject: {
|
|
81
|
+
id: 'Research and knowledge project',
|
|
82
|
+
defaultMessage: 'Research and knowledge project',
|
|
83
|
+
},
|
|
15
84
|
});
|
|
16
85
|
|
|
17
86
|
export const messagesList = defineMessages({
|
|
@@ -411,10 +411,20 @@ iframe {
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
.image-upload-widget {
|
|
414
|
+
div.image-upload-widget {
|
|
415
415
|
.help {
|
|
416
416
|
text-align: left;
|
|
417
417
|
}
|
|
418
|
+
|
|
419
|
+
.image-upload-widget-image {
|
|
420
|
+
max-width: 200px !important;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.image-upload-widget-toolbar {
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 5px;
|
|
426
|
+
right: 5px;
|
|
427
|
+
}
|
|
418
428
|
}
|
|
419
429
|
|
|
420
430
|
.info-section {
|