@jjlmoya/utils-nature 1.13.0 → 1.14.0
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/package.json +1 -1
- package/src/pages/[locale]/[slug].astro +32 -14
- package/src/tests/locale_completeness.test.ts +1 -31
- package/src/tests/shared-test-helpers.ts +56 -0
- package/src/tests/tool_exports.test.ts +34 -0
- package/src/tool/cricketThermometer/bibliography.ts +12 -0
- package/src/tool/cricketThermometer/i18n/de.ts +2 -14
- package/src/tool/cricketThermometer/i18n/en.ts +2 -14
- package/src/tool/cricketThermometer/i18n/es.ts +2 -14
- package/src/tool/cricketThermometer/i18n/fr.ts +2 -14
- package/src/tool/cricketThermometer/i18n/id.ts +2 -14
- package/src/tool/cricketThermometer/i18n/it.ts +2 -14
- package/src/tool/cricketThermometer/i18n/ja.ts +2 -14
- package/src/tool/cricketThermometer/i18n/ko.ts +2 -14
- package/src/tool/cricketThermometer/i18n/nl.ts +2 -14
- package/src/tool/cricketThermometer/i18n/pl.ts +2 -14
- package/src/tool/cricketThermometer/i18n/pt.ts +2 -14
- package/src/tool/cricketThermometer/i18n/ru.ts +2 -14
- package/src/tool/cricketThermometer/i18n/sv.ts +2 -14
- package/src/tool/cricketThermometer/i18n/tr.ts +2 -14
- package/src/tool/cricketThermometer/i18n/zh.ts +2 -14
- package/src/tool/cricketThermometer/seo.astro +1 -1
- package/src/tool/cricketThermometer/ui.ts +0 -2
- package/src/tool/digitalCarbon/bibliography.ts +8 -0
- package/src/tool/digitalCarbon/i18n/de.ts +2 -8
- package/src/tool/digitalCarbon/i18n/en.ts +2 -8
- package/src/tool/digitalCarbon/i18n/es.ts +2 -8
- package/src/tool/digitalCarbon/i18n/fr.ts +2 -8
- package/src/tool/digitalCarbon/i18n/id.ts +2 -8
- package/src/tool/digitalCarbon/i18n/it.ts +2 -8
- package/src/tool/digitalCarbon/i18n/ja.ts +2 -8
- package/src/tool/digitalCarbon/i18n/ko.ts +2 -8
- package/src/tool/digitalCarbon/i18n/nl.ts +2 -8
- package/src/tool/digitalCarbon/i18n/pl.ts +2 -8
- package/src/tool/digitalCarbon/i18n/pt.ts +2 -8
- package/src/tool/digitalCarbon/i18n/ru.ts +2 -8
- package/src/tool/digitalCarbon/i18n/sv.ts +2 -8
- package/src/tool/digitalCarbon/i18n/tr.ts +2 -8
- package/src/tool/digitalCarbon/i18n/zh.ts +2 -8
- package/src/tool/digitalCarbon/seo.astro +1 -1
- package/src/tool/rainHarvester/bibliography.ts +20 -0
- package/src/tool/rainHarvester/i18n/de.ts +2 -20
- package/src/tool/rainHarvester/i18n/en.ts +2 -20
- package/src/tool/rainHarvester/i18n/es.ts +2 -20
- package/src/tool/rainHarvester/i18n/fr.ts +2 -20
- package/src/tool/rainHarvester/i18n/id.ts +2 -20
- package/src/tool/rainHarvester/i18n/it.ts +2 -20
- package/src/tool/rainHarvester/i18n/ja.ts +2 -20
- package/src/tool/rainHarvester/i18n/ko.ts +2 -20
- package/src/tool/rainHarvester/i18n/nl.ts +2 -20
- package/src/tool/rainHarvester/i18n/pl.ts +2 -20
- package/src/tool/rainHarvester/i18n/pt.ts +2 -20
- package/src/tool/rainHarvester/i18n/ru.ts +2 -20
- package/src/tool/rainHarvester/i18n/sv.ts +2 -20
- package/src/tool/rainHarvester/i18n/tr.ts +2 -20
- package/src/tool/rainHarvester/i18n/zh.ts +2 -20
- package/src/tool/rainHarvester/seo.astro +1 -1
- package/src/tool/seedCalculator/bibliography.ts +16 -0
- package/src/tool/seedCalculator/i18n/de.ts +2 -18
- package/src/tool/seedCalculator/i18n/en.ts +2 -18
- package/src/tool/seedCalculator/i18n/es.ts +2 -18
- package/src/tool/seedCalculator/i18n/fr.ts +2 -18
- package/src/tool/seedCalculator/i18n/id.ts +2 -18
- package/src/tool/seedCalculator/i18n/it.ts +2 -18
- package/src/tool/seedCalculator/i18n/ja.ts +2 -18
- package/src/tool/seedCalculator/i18n/ko.ts +2 -18
- package/src/tool/seedCalculator/i18n/nl.ts +2 -18
- package/src/tool/seedCalculator/i18n/pl.ts +2 -18
- package/src/tool/seedCalculator/i18n/pt.ts +2 -18
- package/src/tool/seedCalculator/i18n/ru.ts +2 -18
- package/src/tool/seedCalculator/i18n/sv.ts +2 -18
- package/src/tool/seedCalculator/i18n/tr.ts +2 -18
- package/src/tool/seedCalculator/i18n/zh.ts +2 -18
- package/src/tool/seedCalculator/seo.astro +8 -2
- package/src/tool/seedCalculator/ui.ts +0 -2
- package/src/types.ts +0 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Questions Fréquentes',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Espagne',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Ministère de l\'Agriculture espagnol (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Espagne',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Haute population',
|
|
208
194
|
noteBeet: 'Semis superficiel critique',
|
|
209
195
|
noteRapeseed: 'Très petite graine',
|
|
210
|
-
faqTitle: 'Questions Fréquentes',
|
|
211
|
-
bibliographyTitle: 'Références Scientifiques',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Pertanyaan yang Sering Diajukan',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Spanyol',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Kementerian Pertanian Spanyol (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Spanyol',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Populasi tinggi',
|
|
208
194
|
noteBeet: 'Penaburan dangkal kritis',
|
|
209
195
|
noteRapeseed: 'Benih sangat kecil',
|
|
210
|
-
faqTitle: 'Pertanyaan yang Sering Diajukan',
|
|
211
|
-
bibliographyTitle: 'Referensi Ilmiah',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Domande Frequenti',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Spagna',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Ministero dell\'Agricoltura Spagnolo (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Spagna',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Alta popolazione',
|
|
208
194
|
noteBeet: 'Semina superficiale critica',
|
|
209
195
|
noteRapeseed: 'Seme molto piccolo',
|
|
210
|
-
faqTitle: 'Domande Frequenti',
|
|
211
|
-
bibliographyTitle: 'Riferimenti Scientifici',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'よくある質問',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS スペイン',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'スペイン農林水産省 (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara スペイン',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: '高個体数',
|
|
208
194
|
noteBeet: '浅播きが重要',
|
|
209
195
|
noteRapeseed: '非常に小さな種',
|
|
210
|
-
faqTitle: 'よくある質問',
|
|
211
|
-
bibliographyTitle: '科学的参考文献',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: '자주 묻는 질문',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS 스페인',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: '스페인 농림수산부 (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara 스페인',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: '높은 밀도',
|
|
208
194
|
noteBeet: '얕은 파종이 중요함',
|
|
209
195
|
noteRapeseed: '매우 작은 종자',
|
|
210
|
-
faqTitle: '자주 묻는 질문',
|
|
211
|
-
bibliographyTitle: '과학적 참고 문헌',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Veelgestelde vragen',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Spanje',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Spaans Ministerie van Landbouw (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Spanje',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Hoge populatie',
|
|
208
194
|
noteBeet: 'Kritisch ondiep zaaien',
|
|
209
195
|
noteRapeseed: 'Zeer klein zaad',
|
|
210
|
-
faqTitle: 'Veelgestelde vragen',
|
|
211
|
-
bibliographyTitle: 'Wetenschappelijke bronnen',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Często zadawane pytania',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Hiszpania',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Hiszpańskie Ministerstwo Rolnictwa (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Hiszpania',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Wysoka obsada',
|
|
208
194
|
noteBeet: 'Krytyczny płytki siew',
|
|
209
195
|
noteRapeseed: 'Bardzo małe nasiona',
|
|
210
|
-
faqTitle: 'Często zadawane pytania',
|
|
211
|
-
bibliographyTitle: 'Źródła Naukowe',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Perguntas Frequentes',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Espanha',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Ministério da Agricultura de Espanha (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Espanha',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Alta população',
|
|
208
194
|
noteBeet: 'Sementeira superficial crítica',
|
|
209
195
|
noteRapeseed: 'Semente muito pequena',
|
|
210
|
-
faqTitle: 'Perguntas Frequentes',
|
|
211
|
-
bibliographyTitle: 'Referências Científicas',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Часто задаваемые вопросы',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Испания',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Министерство сельского хозяйства Испании (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Испания',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Высокая норма высева',
|
|
208
194
|
noteBeet: 'Критичен мелкий посев',
|
|
209
195
|
noteRapeseed: 'Очень мелкие семена',
|
|
210
|
-
faqTitle: 'Часто задаваемые вопросы',
|
|
211
|
-
bibliographyTitle: 'Научные источники',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Vanliga frågor',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS Spanien',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'Spanska jordbruksministeriet (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara Spanien',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Hög population',
|
|
208
194
|
noteBeet: 'Kritiskt grund sådd',
|
|
209
195
|
noteRapeseed: 'Mycket litet frö',
|
|
210
|
-
faqTitle: 'Vanliga frågor',
|
|
211
|
-
bibliographyTitle: 'Vetenskapliga referenser',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: 'Sıkça Sorulan Sorular',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS İspanya',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'İspanya Tarım Bakanlığı (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara İspanya',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: 'Yüksek popülasyon',
|
|
208
194
|
noteBeet: 'Kritik sığ ekim',
|
|
209
195
|
noteRapeseed: 'Çok küçük tohum',
|
|
210
|
-
faqTitle: 'Sıkça Sorulan Sorular',
|
|
211
|
-
bibliographyTitle: 'Bilimsel Referanslar',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
2
3
|
import type { ToolLocaleContent } from '../../../types';
|
|
3
4
|
import type { SeedCalculatorUI } from '../ui';
|
|
4
5
|
|
|
@@ -87,23 +88,8 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
87
88
|
slug,
|
|
88
89
|
title,
|
|
89
90
|
description,
|
|
90
|
-
faqTitle: '常见问题',
|
|
91
91
|
faq: faqData,
|
|
92
|
-
|
|
93
|
-
bibliography: [
|
|
94
|
-
{
|
|
95
|
-
name: 'KWS 西班牙',
|
|
96
|
-
url: 'https://www.kws.com/es/es/',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: '西班牙农业部 (MAPA)',
|
|
100
|
-
url: 'https://www.mapa.gob.es/es/agricultura/temas/producciones-agricolas/cultivos-herbaceos/',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'Yara 西班牙',
|
|
104
|
-
url: 'https://www.yara.es/nutricion-vegetal/maiz/',
|
|
105
|
-
},
|
|
106
|
-
],
|
|
92
|
+
bibliography,
|
|
107
93
|
howTo: howToData,
|
|
108
94
|
schemas: [faqSchema, howToSchema, appSchema],
|
|
109
95
|
seo: [
|
|
@@ -207,7 +193,5 @@ export const content: ToolLocaleContent<SeedCalculatorUI> = {
|
|
|
207
193
|
noteSoy: '高密度植株',
|
|
208
194
|
noteBeet: '关键浅播作业',
|
|
209
195
|
noteRapeseed: '种子极其细小',
|
|
210
|
-
faqTitle: '常见问题',
|
|
211
|
-
bibliographyTitle: '科学参考文献',
|
|
212
196
|
},
|
|
213
197
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
import { SEORenderer } from '@jjlmoya/utils-shared';
|
|
3
3
|
import { seedCalculator } from './index';
|
|
4
|
+
import type { KnownLocale } from '../../types';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
locale?: KnownLocale;
|
|
8
|
+
}
|
|
4
9
|
|
|
5
10
|
const { locale = 'es' } = Astro.props;
|
|
6
|
-
const content = await seedCalculator.i18n[locale
|
|
11
|
+
const content = await seedCalculator.i18n[locale]?.();
|
|
7
12
|
if (!content) return null;
|
|
8
13
|
---
|
|
9
|
-
|
|
14
|
+
|
|
15
|
+
{content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
|
package/src/types.ts
CHANGED
|
@@ -29,9 +29,7 @@ export interface ToolLocaleContent<TUI extends Record<string, string> = Record<s
|
|
|
29
29
|
description: string;
|
|
30
30
|
ui: TUI;
|
|
31
31
|
seo: SEOSection[];
|
|
32
|
-
faqTitle?: string;
|
|
33
32
|
faq: FAQItem[];
|
|
34
|
-
bibliographyTitle?: string;
|
|
35
33
|
bibliography: BibliographyEntry[];
|
|
36
34
|
howTo: HowToStep[];
|
|
37
35
|
schemas: WithContext<Thing>[];
|