@jjlmoya/utils-home 1.16.0 → 1.17.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.
Files changed (125) hide show
  1. package/package.json +1 -1
  2. package/src/pages/[locale]/[slug].astro +28 -12
  3. package/src/tests/locale_completeness.test.ts +2 -20
  4. package/src/tests/shared-test-helpers.ts +56 -0
  5. package/src/tests/tool_exports.test.ts +34 -0
  6. package/src/tool/dewPointCalculator/bibliography.ts +10 -0
  7. package/src/tool/dewPointCalculator/i18n/de.ts +2 -12
  8. package/src/tool/dewPointCalculator/i18n/en.ts +2 -12
  9. package/src/tool/dewPointCalculator/i18n/es.ts +2 -12
  10. package/src/tool/dewPointCalculator/i18n/fr.ts +2 -12
  11. package/src/tool/dewPointCalculator/i18n/id.ts +2 -12
  12. package/src/tool/dewPointCalculator/i18n/it.ts +2 -12
  13. package/src/tool/dewPointCalculator/i18n/ja.ts +2 -12
  14. package/src/tool/dewPointCalculator/i18n/ko.ts +2 -12
  15. package/src/tool/dewPointCalculator/i18n/nl.ts +2 -12
  16. package/src/tool/dewPointCalculator/i18n/pl.ts +2 -12
  17. package/src/tool/dewPointCalculator/i18n/pt.ts +2 -12
  18. package/src/tool/dewPointCalculator/i18n/ru.ts +2 -12
  19. package/src/tool/dewPointCalculator/i18n/sv.ts +2 -12
  20. package/src/tool/dewPointCalculator/i18n/tr.ts +2 -12
  21. package/src/tool/dewPointCalculator/i18n/zh.ts +2 -12
  22. package/src/tool/dewPointCalculator/seo.astro +2 -1
  23. package/src/tool/heatingComparator/bibliography.ts +14 -0
  24. package/src/tool/heatingComparator/i18n/de.ts +2 -16
  25. package/src/tool/heatingComparator/i18n/en.ts +2 -12
  26. package/src/tool/heatingComparator/i18n/es.ts +2 -16
  27. package/src/tool/heatingComparator/i18n/fr.ts +2 -12
  28. package/src/tool/heatingComparator/i18n/id.ts +2 -16
  29. package/src/tool/heatingComparator/i18n/it.ts +2 -16
  30. package/src/tool/heatingComparator/i18n/ja.ts +296 -310
  31. package/src/tool/heatingComparator/i18n/ko.ts +296 -306
  32. package/src/tool/heatingComparator/i18n/nl.ts +2 -16
  33. package/src/tool/heatingComparator/i18n/pl.ts +2 -16
  34. package/src/tool/heatingComparator/i18n/pt.ts +2 -16
  35. package/src/tool/heatingComparator/i18n/ru.ts +2 -12
  36. package/src/tool/heatingComparator/i18n/sv.ts +2 -16
  37. package/src/tool/heatingComparator/i18n/tr.ts +2 -16
  38. package/src/tool/heatingComparator/i18n/zh.ts +296 -306
  39. package/src/tool/heatingComparator/seo.astro +3 -3
  40. package/src/tool/ledSavingCalculator/bibliography.ts +14 -0
  41. package/src/tool/ledSavingCalculator/i18n/de.ts +2 -12
  42. package/src/tool/ledSavingCalculator/i18n/en.ts +2 -16
  43. package/src/tool/ledSavingCalculator/i18n/es.ts +2 -16
  44. package/src/tool/ledSavingCalculator/i18n/fr.ts +2 -16
  45. package/src/tool/ledSavingCalculator/i18n/id.ts +2 -12
  46. package/src/tool/ledSavingCalculator/i18n/it.ts +2 -12
  47. package/src/tool/ledSavingCalculator/i18n/ja.ts +2 -12
  48. package/src/tool/ledSavingCalculator/i18n/ko.ts +2 -12
  49. package/src/tool/ledSavingCalculator/i18n/nl.ts +2 -12
  50. package/src/tool/ledSavingCalculator/i18n/pl.ts +2 -12
  51. package/src/tool/ledSavingCalculator/i18n/pt.ts +2 -12
  52. package/src/tool/ledSavingCalculator/i18n/ru.ts +2 -12
  53. package/src/tool/ledSavingCalculator/i18n/sv.ts +2 -12
  54. package/src/tool/ledSavingCalculator/i18n/tr.ts +2 -12
  55. package/src/tool/ledSavingCalculator/i18n/zh.ts +2 -12
  56. package/src/tool/ledSavingCalculator/seo.astro +2 -1
  57. package/src/tool/projectorCalculator/bibliography.ts +5 -0
  58. package/src/tool/projectorCalculator/i18n/de.ts +2 -6
  59. package/src/tool/projectorCalculator/i18n/en.ts +2 -7
  60. package/src/tool/projectorCalculator/i18n/es.ts +2 -7
  61. package/src/tool/projectorCalculator/i18n/fr.ts +2 -7
  62. package/src/tool/projectorCalculator/i18n/id.ts +2 -7
  63. package/src/tool/projectorCalculator/i18n/it.ts +2 -6
  64. package/src/tool/projectorCalculator/i18n/ja.ts +175 -179
  65. package/src/tool/projectorCalculator/i18n/ko.ts +175 -179
  66. package/src/tool/projectorCalculator/i18n/nl.ts +2 -6
  67. package/src/tool/projectorCalculator/i18n/pl.ts +2 -6
  68. package/src/tool/projectorCalculator/i18n/pt.ts +2 -6
  69. package/src/tool/projectorCalculator/i18n/ru.ts +2 -6
  70. package/src/tool/projectorCalculator/i18n/sv.ts +2 -6
  71. package/src/tool/projectorCalculator/i18n/tr.ts +2 -6
  72. package/src/tool/projectorCalculator/i18n/zh.ts +175 -179
  73. package/src/tool/projectorCalculator/seo.astro +2 -1
  74. package/src/tool/qrGenerator/bibliography.ts +14 -0
  75. package/src/tool/qrGenerator/i18n/de.ts +192 -202
  76. package/src/tool/qrGenerator/i18n/en.ts +2 -16
  77. package/src/tool/qrGenerator/i18n/es.ts +2 -16
  78. package/src/tool/qrGenerator/i18n/fr.ts +2 -16
  79. package/src/tool/qrGenerator/i18n/id.ts +146 -150
  80. package/src/tool/qrGenerator/i18n/it.ts +169 -173
  81. package/src/tool/qrGenerator/i18n/ja.ts +146 -150
  82. package/src/tool/qrGenerator/i18n/ko.ts +146 -150
  83. package/src/tool/qrGenerator/i18n/nl.ts +146 -150
  84. package/src/tool/qrGenerator/i18n/pl.ts +146 -150
  85. package/src/tool/qrGenerator/i18n/pt.ts +146 -150
  86. package/src/tool/qrGenerator/i18n/ru.ts +146 -150
  87. package/src/tool/qrGenerator/i18n/sv.ts +146 -150
  88. package/src/tool/qrGenerator/i18n/tr.ts +146 -150
  89. package/src/tool/qrGenerator/i18n/zh.ts +146 -150
  90. package/src/tool/qrGenerator/seo.astro +2 -1
  91. package/src/tool/solarCalculator/bibliography.ts +5 -0
  92. package/src/tool/solarCalculator/i18n/de.ts +141 -145
  93. package/src/tool/solarCalculator/i18n/en.ts +2 -7
  94. package/src/tool/solarCalculator/i18n/es.ts +2 -7
  95. package/src/tool/solarCalculator/i18n/fr.ts +2 -7
  96. package/src/tool/solarCalculator/i18n/id.ts +2 -6
  97. package/src/tool/solarCalculator/i18n/it.ts +2 -6
  98. package/src/tool/solarCalculator/i18n/ja.ts +121 -125
  99. package/src/tool/solarCalculator/i18n/ko.ts +116 -120
  100. package/src/tool/solarCalculator/i18n/nl.ts +2 -5
  101. package/src/tool/solarCalculator/i18n/pl.ts +2 -6
  102. package/src/tool/solarCalculator/i18n/pt.ts +2 -6
  103. package/src/tool/solarCalculator/i18n/ru.ts +2 -5
  104. package/src/tool/solarCalculator/i18n/sv.ts +2 -5
  105. package/src/tool/solarCalculator/i18n/tr.ts +2 -5
  106. package/src/tool/solarCalculator/i18n/zh.ts +116 -120
  107. package/src/tool/solarCalculator/seo.astro +2 -1
  108. package/src/tool/tariffComparator/bibliography.ts +7 -0
  109. package/src/tool/tariffComparator/i18n/de.ts +129 -132
  110. package/src/tool/tariffComparator/i18n/en.ts +2 -9
  111. package/src/tool/tariffComparator/i18n/es.ts +2 -9
  112. package/src/tool/tariffComparator/i18n/fr.ts +2 -9
  113. package/src/tool/tariffComparator/i18n/id.ts +2 -5
  114. package/src/tool/tariffComparator/i18n/it.ts +2 -5
  115. package/src/tool/tariffComparator/i18n/ja.ts +129 -132
  116. package/src/tool/tariffComparator/i18n/ko.ts +129 -132
  117. package/src/tool/tariffComparator/i18n/nl.ts +2 -5
  118. package/src/tool/tariffComparator/i18n/pl.ts +2 -5
  119. package/src/tool/tariffComparator/i18n/pt.ts +2 -5
  120. package/src/tool/tariffComparator/i18n/ru.ts +2 -5
  121. package/src/tool/tariffComparator/i18n/sv.ts +2 -5
  122. package/src/tool/tariffComparator/i18n/tr.ts +2 -5
  123. package/src/tool/tariffComparator/i18n/zh.ts +129 -132
  124. package/src/tool/tariffComparator/seo.astro +2 -1
  125. package/src/types.ts +0 -2
@@ -0,0 +1,14 @@
1
+ export const bibliography = [
2
+ {
3
+ name: 'IDAE: Guía de Bombas de Calor y Aerotermia',
4
+ url: 'https://www.idae.es/sites/default/files/documentos/publicaciones_idae/Guias_IDAE_La_Bomba_de_calor_2023_V11.pdf',
5
+ },
6
+ {
7
+ name: 'Portal del Consumidor: Precios de la Energía (CNMC)',
8
+ url: 'https://comparador.cnmc.gob.es/',
9
+ },
10
+ {
11
+ name: 'UNE: Eficiencia Energética en Edificios',
12
+ url: 'https://www.une.org/encuentra-tu-norma/busca-tu-norma/norma?c=N0060747',
13
+ },
14
+ ];
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'heizungs-vergleich-gas-vs-waermepumpe';
6
7
  const title = 'Heizungsvergleich: Gas vs. Wärmepumpe vs. Klimaanlage';
@@ -77,23 +78,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
77
78
  slug,
78
79
  title,
79
80
  description,
80
- faqTitle: 'Häufig gestellte Fragen',
81
81
  faq: faqData,
82
- bibliographyTitle: 'Literaturverzeichnis',
83
- bibliography: [
84
- {
85
- name: 'Verband der deutschen Heizungsindustrie',
86
- url: 'https://www.vdzev.de/',
87
- },
88
- {
89
- name: 'Verbraucherzentrale: Heizungsvergleich',
90
- url: 'https://www.verbraucherzentrale.de/wissen/energie/heizen-und-warmwasser/welche-heizung-fuer-ihr-haus-welche-moeglichkeiten-gibt-es-13009',
91
- },
92
- {
93
- name: 'Bundesamt für Wirtschaft und Ausfuhrkontrolle (BAFA): Förderung',
94
- url: 'https://www.bafa.de/DE/Energie/Energieeffizienz/Waermentz/waermentz_node.html',
95
- },
96
- ],
82
+ bibliography,
97
83
  howTo: howToData,
98
84
  schemas: [faqSchema, howToSchema, appSchema],
99
85
  seo: [
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'heating-consumption-comparator';
6
7
  const title = 'Gas vs. Heat Pump vs. AC: Savings & Consumption Comparator';
@@ -82,19 +83,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
82
83
  slug,
83
84
  title,
84
85
  description,
85
- faqTitle: 'Frequently Asked Questions',
86
86
  faq: faqData,
87
- bibliographyTitle: 'Bibliography',
88
- bibliography: [
89
- {
90
- name: 'IEA: The Future of Heat Pumps',
91
- url: 'https://www.iea.org/reports/the-future-of-heat-pumps',
92
- },
93
- {
94
- name: 'Energy Saving Trust: Air Source Heat Pumps',
95
- url: 'https://energysavingtrust.org.uk/advice/air-source-heat-pumps/',
96
- },
97
- ],
87
+ bibliography,
98
88
  howTo: howToData,
99
89
  schemas: [faqSchema, howToSchema, appSchema],
100
90
  seo: [
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'comparador-consumo-gas-aerotermia-aire';
6
7
  const title = 'Comparador Gas vs. Aerotermia vs. Aire: Ahorro y Consumo';
@@ -82,23 +83,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
82
83
  slug,
83
84
  title,
84
85
  description,
85
- faqTitle: 'Preguntas Frecuentes',
86
86
  faq: faqData,
87
- bibliographyTitle: 'Bibliografía',
88
- bibliography: [
89
- {
90
- name: 'IDAE: Guía de Bombas de Calor y Aerotermia',
91
- url: 'https://www.idae.es/sites/default/files/documentos/publicaciones_idae/Guias_IDAE_La_Bomba_de_calor_2023_V11.pdf',
92
- },
93
- {
94
- name: 'Portal del Consumidor: Precios de la Energía (CNMC)',
95
- url: 'https://comparador.cnmc.gob.es/',
96
- },
97
- {
98
- name: 'UNE: Eficiencia Energética en Edificios',
99
- url: 'https://www.une.org/encuentra-tu-norma/busca-tu-norma/norma?c=N0060747',
100
- },
101
- ],
87
+ bibliography,
102
88
  howTo: howToData,
103
89
  schemas: [faqSchema, howToSchema, appSchema],
104
90
  seo: [
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'comparateur-consommation-chauffage';
6
7
  const title = 'Comparateur Gaz vs. Aérothermie vs. Air: Économies et Consommation';
@@ -82,19 +83,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
82
83
  slug,
83
84
  title,
84
85
  description,
85
- faqTitle: 'Questions Fréquentes',
86
86
  faq: faqData,
87
- bibliographyTitle: 'Bibliographie',
88
- bibliography: [
89
- {
90
- name: 'ADEME: La pompe à chaleur',
91
- url: 'https://librairie.ademe.fr/chaleur-climatisation-et-ventilation/1429-pompe-a-chaleur.html',
92
- },
93
- {
94
- name: 'Service-Public: Chauffage et climatisation',
95
- url: 'https://www.service-public.fr/particuliers/vosdroits/F1710',
96
- },
97
- ],
87
+ bibliography,
98
88
  howTo: howToData,
99
89
  schemas: [faqSchema, howToSchema, appSchema],
100
90
  seo: [
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'perbandingan-pemanas-gas-pompa-panas-aircond';
6
7
  const title = 'Perbandingan Gas vs. Pompa Panas vs. AC: Hemat & Konsumsi';
@@ -77,23 +78,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
77
78
  slug,
78
79
  title,
79
80
  description,
80
- faqTitle: 'Pertanyaan Umum',
81
81
  faq: faqData,
82
- bibliographyTitle: 'Daftar Pustaka',
83
- bibliography: [
84
- {
85
- name: 'IEA: Masa Depan Pompa Panas',
86
- url: 'https://www.iea.org/reports/the-future-of-heat-pumps',
87
- },
88
- {
89
- name: 'Energy Saving Trust: Panduan Pompa Panas',
90
- url: 'https://energysavingtrust.org.uk/advice/air-source-heat-pumps/',
91
- },
92
- {
93
- name: 'Pusat Data dan Teknologi Informasi ESDM',
94
- url: 'https://www.esdm.go.id/',
95
- },
96
- ],
82
+ bibliography,
97
83
  howTo: howToData,
98
84
  schemas: [faqSchema, howToSchema, appSchema],
99
85
  seo: [
@@ -1,6 +1,7 @@
1
1
  import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import type { ToolLocaleContent } from '../../../types';
3
3
  import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
4
5
 
5
6
  const slug = 'confronto-riscaldamento-gas-pompa-calore-aria';
6
7
  const title = 'Confronto Gas vs. Pompa di Calore vs. Aria Condizionata';
@@ -77,23 +78,8 @@ export const content: ToolLocaleContent<HeatingComparatorUI> = {
77
78
  slug,
78
79
  title,
79
80
  description,
80
- faqTitle: 'Domande Frequenti',
81
81
  faq: faqData,
82
- bibliographyTitle: 'Bibliografia e Fonti',
83
- bibliography: [
84
- {
85
- name: 'ENEA: Guida alle Pompe di Calore',
86
- url: 'https://www.enea.it/it/seguici/le-guide-per-l-efficienza-energetica',
87
- },
88
- {
89
- name: 'ARERA: Portale Offerte Luce e Gas',
90
- url: 'https://www.ilportaleofferte.it/',
91
- },
92
- {
93
- name: 'GSE: Incentivi per la riqualificazione energetica',
94
- url: 'https://www.gse.it/servizi-per-te/efficienza-energetica',
95
- },
96
- ],
82
+ bibliography,
97
83
  howTo: howToData,
98
84
  schemas: [faqSchema, howToSchema, appSchema],
99
85
  seo: [