@jjlmoya/utils-nature 1.2.0 → 1.4.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 (59) hide show
  1. package/package.json +2 -1
  2. package/src/index.ts +4 -4
  3. package/src/tests/i18n_coverage.test.ts +36 -0
  4. package/src/tests/slug_uniqueness.test.ts +81 -0
  5. package/src/tests/tool_validation.test.ts +1 -2
  6. package/src/tool/cricketThermometer/i18n/de.ts +181 -0
  7. package/src/tool/cricketThermometer/i18n/id.ts +181 -0
  8. package/src/tool/cricketThermometer/i18n/it.ts +181 -0
  9. package/src/tool/cricketThermometer/i18n/ja.ts +181 -0
  10. package/src/tool/cricketThermometer/i18n/ko.ts +181 -0
  11. package/src/tool/cricketThermometer/i18n/nl.ts +181 -0
  12. package/src/tool/cricketThermometer/i18n/pl.ts +181 -0
  13. package/src/tool/cricketThermometer/i18n/pt.ts +181 -0
  14. package/src/tool/cricketThermometer/i18n/ru.ts +181 -0
  15. package/src/tool/cricketThermometer/i18n/sv.ts +181 -0
  16. package/src/tool/cricketThermometer/i18n/tr.ts +181 -0
  17. package/src/tool/cricketThermometer/i18n/zh.ts +181 -0
  18. package/src/tool/cricketThermometer/index.ts +15 -7
  19. package/src/tool/digitalCarbon/i18n/de.ts +235 -0
  20. package/src/tool/digitalCarbon/i18n/id.ts +235 -0
  21. package/src/tool/digitalCarbon/i18n/it.ts +235 -0
  22. package/src/tool/digitalCarbon/i18n/ja.ts +235 -0
  23. package/src/tool/digitalCarbon/i18n/ko.ts +235 -0
  24. package/src/tool/digitalCarbon/i18n/nl.ts +235 -0
  25. package/src/tool/digitalCarbon/i18n/pl.ts +235 -0
  26. package/src/tool/digitalCarbon/i18n/pt.ts +235 -0
  27. package/src/tool/digitalCarbon/i18n/ru.ts +235 -0
  28. package/src/tool/digitalCarbon/i18n/sv.ts +235 -0
  29. package/src/tool/digitalCarbon/i18n/tr.ts +235 -0
  30. package/src/tool/digitalCarbon/i18n/zh.ts +235 -0
  31. package/src/tool/digitalCarbon/index.ts +15 -7
  32. package/src/tool/digitalCarbon/seo.astro +4 -3
  33. package/src/tool/rainHarvester/i18n/de.ts +185 -0
  34. package/src/tool/rainHarvester/i18n/id.ts +185 -0
  35. package/src/tool/rainHarvester/i18n/it.ts +185 -0
  36. package/src/tool/rainHarvester/i18n/ja.ts +185 -0
  37. package/src/tool/rainHarvester/i18n/ko.ts +185 -0
  38. package/src/tool/rainHarvester/i18n/nl.ts +185 -0
  39. package/src/tool/rainHarvester/i18n/pl.ts +185 -0
  40. package/src/tool/rainHarvester/i18n/pt.ts +185 -0
  41. package/src/tool/rainHarvester/i18n/ru.ts +185 -0
  42. package/src/tool/rainHarvester/i18n/sv.ts +185 -0
  43. package/src/tool/rainHarvester/i18n/tr.ts +185 -0
  44. package/src/tool/rainHarvester/i18n/zh.ts +185 -0
  45. package/src/tool/rainHarvester/index.ts +15 -7
  46. package/src/tool/rainHarvester/seo.astro +4 -3
  47. package/src/tool/seedCalculator/i18n/de.ts +213 -0
  48. package/src/tool/seedCalculator/i18n/id.ts +213 -0
  49. package/src/tool/seedCalculator/i18n/it.ts +213 -0
  50. package/src/tool/seedCalculator/i18n/ja.ts +213 -0
  51. package/src/tool/seedCalculator/i18n/ko.ts +213 -0
  52. package/src/tool/seedCalculator/i18n/nl.ts +213 -0
  53. package/src/tool/seedCalculator/i18n/pl.ts +213 -0
  54. package/src/tool/seedCalculator/i18n/pt.ts +213 -0
  55. package/src/tool/seedCalculator/i18n/ru.ts +213 -0
  56. package/src/tool/seedCalculator/i18n/sv.ts +213 -0
  57. package/src/tool/seedCalculator/i18n/tr.ts +213 -0
  58. package/src/tool/seedCalculator/i18n/zh.ts +213 -0
  59. package/src/tool/seedCalculator/index.ts +15 -7
@@ -0,0 +1,181 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { CricketThermometerUI } from '../ui';
4
+
5
+ const slug = 'termometro-a-grillo';
6
+ const title = 'Termometro a Grillo – Calcolatore della Temperatura via Legge di Dolbear';
7
+ const description =
8
+ 'Senza termometro? Ascolta i grilli. Calcola la temperatura esatta contando i friniti con il nostro calcolatore basato sulla Legge di Dolbear.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'Cos\'è la Legge di Dolbear?',
13
+ answer:
14
+ 'Formulata nel 1897 da Amos Dolbear, è un\'osservazione scientifica che ha scoperto una correlazione lineare tra la frequenza del frinito dei grilli e la temperatura dell\'aria ambiente.',
15
+ },
16
+ {
17
+ question: 'Perché i grilli friniscono più velocemente con il caldo?',
18
+ answer:
19
+ 'I grilli sono animali a sangue freddo (ectotermi). La velocità dei loro processi metabolici e delle contrazioni muscolari dipende dalla temperatura esterna; più fa caldo, più energia hanno per emettere suoni rapidamente.',
20
+ },
21
+ {
22
+ question: 'Questa misurazione è accurata?',
23
+ answer:
24
+ 'È sorprendentemente accurata per specie come il grillo degli alberi (Oecanthus fultoni), con un margine di errore di circa 0,5°C se contato correttamente. Tuttavia, fattori come l\'umidità o il vento possono alterare il risultato.',
25
+ },
26
+ {
27
+ question: 'Quale grillo dovrei usare per il calcolo?',
28
+ answer:
29
+ 'La formula originale si basa sul grillo degli alberi. Per il comune grillo campestre, la relazione è simile ma la frequenza tende ad essere leggermente più lenta.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ {
35
+ name: 'Trova un grillo solitario',
36
+ text: 'Trova un luogo silenzioso di notte dove puoi sentire chiaramente il frinito di un singolo grillo per evitare di confondere i ritmi.',
37
+ },
38
+ {
39
+ name: 'Conta i friniti per 15 secondi',
40
+ text: 'Usa un cronometro e conta quante stridulazioni emette l\'insetto in esattamente 15 secondi.',
41
+ },
42
+ {
43
+ name: 'Inserisci il valore',
44
+ text: 'Tocca il pulsante TAP a ritmo con i friniti per alcuni secondi in modo che il calcolatore calcoli automaticamente i BPM.',
45
+ },
46
+ {
47
+ name: 'Verifica la temperatura',
48
+ text: 'Il sistema applicherà la formula T(°C) = 10 + (N - 40) / 7 per darti una stima del calore ambientale in gradi Celsius.',
49
+ },
50
+ ];
51
+
52
+ const faqSchema: WithContext<FAQPage> = {
53
+ '@context': 'https://schema.org',
54
+ '@type': 'FAQPage',
55
+ mainEntity: faqData.map((item) => ({
56
+ '@type': 'Question',
57
+ name: item.question,
58
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
59
+ })),
60
+ };
61
+
62
+ const howToSchema: WithContext<HowToThing> = {
63
+ '@context': 'https://schema.org',
64
+ '@type': 'HowTo',
65
+ name: title,
66
+ description,
67
+ step: howToData.map((step, i) => ({
68
+ '@type': 'HowToStep',
69
+ position: i + 1,
70
+ name: step.name,
71
+ text: step.text,
72
+ })),
73
+ };
74
+
75
+ const appSchema: WithContext<SoftwareApplication> = {
76
+ '@context': 'https://schema.org',
77
+ '@type': 'SoftwareApplication',
78
+ name: title,
79
+ description,
80
+ applicationCategory: 'UtilityApplication',
81
+ operatingSystem: 'All',
82
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
83
+ inLanguage: 'it',
84
+ };
85
+
86
+ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
+ slug,
88
+ title,
89
+ description,
90
+ faqTitle: 'Domande Frequenti',
91
+ faq: faqData,
92
+ bibliographyTitle: 'Riferimenti Scientifici',
93
+ bibliography: [
94
+ {
95
+ name: 'The American Naturalist - The Cricket as a Thermometer',
96
+ url: 'https://www.jstor.org/stable/2453256',
97
+ },
98
+ {
99
+ name: 'Wikipedia - Dolbear\'s Law',
100
+ url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
+ },
102
+ ],
103
+ howTo: howToData,
104
+ schemas: [faqSchema, howToSchema, appSchema],
105
+ seo: [
106
+ {
107
+ type: 'title',
108
+ text: 'Guida Completa: Come usare la Legge di Dolbear per Calcolare la Temperatura',
109
+ level: 2,
110
+ },
111
+ {
112
+ type: 'paragraph',
113
+ html: 'Sapevi che puoi conoscere la temperatura esatta solo ascoltando la natura? Nel 1897, il fisico Amos Dolbear scoprì una precisa relazione matematica tra la frequenza dei friniti dei grilli e il calore ambientale. Questo strumento digitalizza quella scoperta per trasformare il tuo telefono in un termometro naturale.',
114
+ },
115
+ {
116
+ type: 'tip',
117
+ title: 'Perché i grilli cantano?',
118
+ html: '<p>Il "canto" del grillo, o <strong>stridulazione</strong>, è in realtà un richiamo d\'accoppiamento. I maschi sfregano le ali (non le zampe) tra loro per creare questo suono. Sorprendentemente, essendo animali a sangue freddo (ectotermi), la velocità di questo sfregamento dipende direttamente dall\'energia termica dell\'aria.</p>',
119
+ },
120
+ {
121
+ type: 'title',
122
+ text: 'La Scienza: Ectotermia e Metabolismo',
123
+ level: 3,
124
+ },
125
+ {
126
+ type: 'paragraph',
127
+ html: 'A differenza dei mammiferi, che mantengono una temperatura corporea costante, gli insetti dipendono dal calore esterno. Le loro reazioni biochimiche seguono l\'<strong>Equazione di Arrhenius</strong>: più calore c\'è, più veloce è la reazione.',
128
+ },
129
+ {
130
+ type: 'paragraph',
131
+ html: 'Ciò significa che affinché i muscoli del grillo si contraggano e sfreghino le ali, hanno bisogno di reazioni enzimatiche. Se fa freddo, queste reazioni sono lente e il frinito è pigro. Se fa caldo, il metabolismo accelera e il canto diventa un trillo frenetico.',
132
+ },
133
+ {
134
+ type: 'title',
135
+ text: 'La Formula di Dolbear',
136
+ level: 3,
137
+ },
138
+ {
139
+ type: 'paragraph',
140
+ html: 'Sebbene esistano variazioni per specie diverse, la formula più famosa è quella per il grillo degli alberi (<em>Oecanthus fultoni</em>). Per ottenere la temperatura in gradi Celsius:',
141
+ },
142
+ {
143
+ type: 'code',
144
+ code: 'T(°C) = 10 + (N - 40) / 7\n\nDove N = numero di friniti al minuto.',
145
+ ariaLabel: 'Formula di Dolbear per calcolare la temperatura dai friniti dei grilli',
146
+ },
147
+ {
148
+ type: 'paragraph',
149
+ html: 'Il nostro strumento lo fa automaticamente: misura il tempo tra i tuoi tocchi, calcola i friniti al minuto (BPM) e applica la formula all\'istante.',
150
+ },
151
+ {
152
+ type: 'title',
153
+ text: 'Fatti Affascinanti',
154
+ level: 3,
155
+ },
156
+ {
157
+ type: 'list',
158
+ items: [
159
+ '<strong>Termometri dell\'Amore:</strong> Alcune teorie suggeriscono che le femmine preferiscano i maschi che cantano alla frequenza "corretta" per la temperatura attuale, poiché indica che il maschio è sano e ha un metabolismo forte.',
160
+ '<strong>Limite del Freddo:</strong> Sotto i 10°C (50°F), la maggior parte dei grilli smette di cantare perché il loro metabolismo è troppo lento per sostenere lo sforzo muscolare.',
161
+ '<strong>Sincronizzazione:</strong> Nelle notti calde, migliaia di grilli possono sincronizzare i loro friniti, creando un impressionante effetto sonoro a "onda".',
162
+ ],
163
+ },
164
+ {
165
+ type: 'tip',
166
+ title: 'Nota sull\'Accuratezza',
167
+ html: '<p>L\'accuratezza dipende dalla specie di grillo. Questo strumento è calibrato per il grillo campestre comune e il grillo degli alberi. Fattori come l\'umidità o il vento possono alterare il risultato di ±0,5°C.</p>',
168
+ },
169
+ ],
170
+ ui: {
171
+ labelWaiting: 'In attesa...',
172
+ labelTapping: 'Continua a toccare...',
173
+ tapInstruction: 'Ogni volta che senti un frinito',
174
+ btnReset: 'Reset',
175
+ btnSoundOn: 'Suono: On',
176
+ btnSoundOff: 'Suono: Off',
177
+ unitChirpsMin: 'friniti/min',
178
+ faqTitle: 'Domande Frequenti',
179
+ bibliographyTitle: 'Riferimenti Scientifici',
180
+ },
181
+ };
@@ -0,0 +1,181 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { CricketThermometerUI } from '../ui';
4
+
5
+ const slug = 'cricket-thermometer';
6
+ const title = 'コオロギ温度計 – ドルベアの法則による温度計算機';
7
+ const description =
8
+ '温度計がない?そんな時はコオロギの声を聞きましょう。ドルベアの法則に基づき、鳴き声を数えるだけで正確な温度を算出します。';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'ドルベアの法則とは何ですか?',
13
+ answer:
14
+ '1897年にエイモス・ドルベアによって定式化された、コオロギの鳴き声の頻度と周囲の気温との間に線形相関があることを発見した科学的観察結果です。',
15
+ },
16
+ {
17
+ question: 'なぜ暑いとコオロギは速く鳴くのですか?',
18
+ answer:
19
+ 'コオロギは変温動物(外温動物)です。代謝プロセスや筋肉の収縮速度は外部温度に依存するため、気温が高いほど、素早く音を出すためのエネルギーが活発になります。',
20
+ },
21
+ {
22
+ question: 'この測定は正確ですか?',
23
+ answer:
24
+ 'キンヒバリ(スノー・ツリー・クリケット)などの種では驚くほど正確で、正しく数えれば誤差は約0.5℃以内です。ただし、湿度や風などの要因により結果が変動する場合があります。',
25
+ },
26
+ {
27
+ question: '計算にはどのコオロギを使えばよいですか?',
28
+ answer:
29
+ '元の公式はキンヒバリに基づいています。一般的なエンマコオロギでも同様の相関が見られますが、鳴く速さはわずかに遅くなる傾向があります。',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ {
35
+ name: '一匹のコオロギを見つける',
36
+ text: 'リズムが混ざらないよう、一匹のコオロギの鳴き声がはっきりと聞こえる静かな場所を夜に見つけます。',
37
+ },
38
+ {
39
+ name: '15秒間の鳴き声を数える',
40
+ text: 'ストップウォッチを使い、15秒間にコオロギが何回鳴いた(発音した)かを数えます。',
41
+ },
42
+ {
43
+ name: '値を入力する',
44
+ text: 'コオロギの鳴き声に合わせて「TAP」ボタンを数秒間タップすると、計算機が自動的にBPMを算出します。',
45
+ },
46
+ {
47
+ name: '温度を確認する',
48
+ text: 'システムが「T(℃) = 10 + (N - 40) / 7」の公式を適用し、推定温度を摂氏で表示します。',
49
+ },
50
+ ];
51
+
52
+ const faqSchema: WithContext<FAQPage> = {
53
+ '@context': 'https://schema.org',
54
+ '@type': 'FAQPage',
55
+ mainEntity: faqData.map((item) => ({
56
+ '@type': 'Question',
57
+ name: item.question,
58
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
59
+ })),
60
+ };
61
+
62
+ const howToSchema: WithContext<HowToThing> = {
63
+ '@context': 'https://schema.org',
64
+ '@type': 'HowTo',
65
+ name: title,
66
+ description,
67
+ step: howToData.map((step, i) => ({
68
+ '@type': 'HowToStep',
69
+ position: i + 1,
70
+ name: step.name,
71
+ text: step.text,
72
+ })),
73
+ };
74
+
75
+ const appSchema: WithContext<SoftwareApplication> = {
76
+ '@context': 'https://schema.org',
77
+ '@type': 'SoftwareApplication',
78
+ name: title,
79
+ description,
80
+ applicationCategory: 'UtilityApplication',
81
+ operatingSystem: 'All',
82
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
83
+ inLanguage: 'ja',
84
+ };
85
+
86
+ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
+ slug,
88
+ title,
89
+ description,
90
+ faqTitle: 'よくある質問',
91
+ faq: faqData,
92
+ bibliographyTitle: '科学的参考文献',
93
+ bibliography: [
94
+ {
95
+ name: 'The American Naturalist - The Cricket as a Thermometer',
96
+ url: 'https://www.jstor.org/stable/2453256',
97
+ },
98
+ {
99
+ name: 'Wikipedia - Dolbear\'s Law',
100
+ url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
+ },
102
+ ],
103
+ howTo: howToData,
104
+ schemas: [faqSchema, howToSchema, appSchema],
105
+ seo: [
106
+ {
107
+ type: 'title',
108
+ text: '完全ガイド:ドルベアの法則を使って温度を計算する方法',
109
+ level: 2,
110
+ },
111
+ {
112
+ type: 'paragraph',
113
+ html: '自然の音を聞くだけで正確な温度が分かることをご存知ですか?1897年、物理学者のエイモス・ドルベアは、コオロギが鳴く頻度と周囲の温度との間に正確な数学的関係があることを発見しました。このツールはその発見をデジタル化し、あなたのスマートフォンを「天然の温度計」に変身させます。',
114
+ },
115
+ {
116
+ type: 'tip',
117
+ title: 'なぜコオロギは鳴くの?',
118
+ html: '<p>コオロギの「歌」、つまり<strong>発音</strong>は、実は求愛行動です。オスは羽(足ではありません)をこすり合わせてこの音を作ります。興味深いことに、彼らは変温動物(外温動物)であるため、このこすり合わせる速度は空気の熱エネルギーに直接依存しているのです。</p>',
119
+ },
120
+ {
121
+ type: 'title',
122
+ text: '科学の裏側:外温性と代謝',
123
+ level: 3,
124
+ },
125
+ {
126
+ type: 'paragraph',
127
+ html: '体温を一定に保つ哺乳類とは異なり、昆虫は外部の熱に依存しています。彼らの生化学反応は<strong>アレニウスの式</strong>に従います。つまり、熱が加わるほど反応が速くなるのです。',
128
+ },
129
+ {
130
+ type: 'paragraph',
131
+ html: 'これは、コオロギの筋肉が収縮して羽をこするためには酵素反応が必要であることを意味します。寒いとこれらの反応は遅くなり、鳴き声は鈍くなります。暖かいと代謝が加速し、歌は激しいトリルのようになります。',
132
+ },
133
+ {
134
+ type: 'title',
135
+ text: 'ドルベアの公式',
136
+ level: 3,
137
+ },
138
+ {
139
+ type: 'paragraph',
140
+ html: '種によって多少の変動はありますが、最も有名な公式はキンヒバリ(<em>Oecanthus fultoni</em>)のものです。摂氏で温度を算出するには:',
141
+ },
142
+ {
143
+ type: 'code',
144
+ code: 'T(°C) = 10 + (N - 40) / 7\n\nN = 1分間あたりの鳴き声の数',
145
+ ariaLabel: 'コオロギの鳴き声から温度を算出するドルベアの法則',
146
+ },
147
+ {
148
+ type: 'paragraph',
149
+ html: '当ツールはこれを自動で行います。あなたがタップする間隔を測定し、1分間あたりの鳴き声の数(BPM)を計算して、瞬時に公式を適用します。',
150
+ },
151
+ {
152
+ type: 'title',
153
+ text: '驚きの事実',
154
+ level: 3,
155
+ },
156
+ {
157
+ type: 'list',
158
+ items: [
159
+ '<strong>恋の温度計:</strong> メスは、現在の温度に対して「正しい」周波数で歌うオスを好むという説があります。これは、そのオスが健康的で強い代謝を持っていることを示しているからです。',
160
+ '<strong>寒さの限界:</strong> 10℃(50°F)を下回ると、ほとんどのコオロギは筋肉を動かすための代謝が追いつかなくなるため、鳴くのをやめてしまいます。',
161
+ '<strong>シンクロニシティ:</strong> 暖かい夜には、何千匹ものコオロギが同時に鳴き声を同期させ、印象的な「波」のような音響効果を生み出すことがあります。',
162
+ ],
163
+ },
164
+ {
165
+ type: 'tip',
166
+ title: '精度に関する注意',
167
+ html: '<p>精度はコオロギの種類によって異なります。このツールは一般的なエンマコオロギやキンヒバリ向けに調整されています。湿度や風などの要因により、±0.5℃程度の誤差が生じる場合があります。</p>',
168
+ },
169
+ ],
170
+ ui: {
171
+ labelWaiting: '待機中...',
172
+ labelTapping: 'タップを続けてください...',
173
+ tapInstruction: '鳴き声が聞こえるたびにタップ',
174
+ btnReset: 'リセット',
175
+ btnSoundOn: 'サウンド:ON',
176
+ btnSoundOff: 'サウンド:OFF',
177
+ unitChirpsMin: '回/分',
178
+ faqTitle: 'よくある質問',
179
+ bibliographyTitle: '科学的参考文献',
180
+ },
181
+ };
@@ -0,0 +1,181 @@
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { CricketThermometerUI } from '../ui';
4
+
5
+ const slug = 'cricket-thermometer';
6
+ const title = '귀뚜라미 온도계 – 돌베어 법칙 온도 계산기';
7
+ const description =
8
+ '온도계가 없으신가요? 귀뚜라미 소리에 귀를 기울여 보세요. 돌베어 법칙 계산기를 사용하여 귀뚜라미 울음소리 횟수로 정확한 온도를 계산할 수 있습니다.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: '돌베어 법칙(Dolbear\'s Law)이란 무엇인가요?',
13
+ answer:
14
+ '1897년 에이머스 돌베어(Amos Dolbear)가 정식화한 것으로, 귀뚜라미의 울음소리 빈도와 주변 기온 사이에 선형 상관관계가 있음을 발견한 과학적 관찰 결과입니다.',
15
+ },
16
+ {
17
+ question: '왜 더울 때 귀뚜라미가 더 빨리 우나요?',
18
+ answer:
19
+ '귀뚜라미는 변온 동물(외온 동물)입니다. 대사 과정과 근육 수축 속도가 외부 온도에 의존하기 때문에, 날씨가 따뜻할수록 소리를 빠르게 내기 위한 에너지가 더 많아집니다.',
20
+ },
21
+ {
22
+ question: '이 측정 방식은 정확한가요?',
23
+ answer:
24
+ '스노우 트리 귀뚜라미(Oecanthus fultoni)와 같은 종의 경우 놀라울 정도로 정확하며, 올바르게 계산했을 때 오차 범위는 약 0.5°C입니다. 다만 습도나 바람과 같은 요인이 결과에 영향을 줄 수 있습니다.',
25
+ },
26
+ {
27
+ question: '계산을 위해 어떤 귀뚜라미를 활용해야 하나요?',
28
+ answer:
29
+ '원래 공식은 스노우 트리 귀뚜라미를 기준으로 합니다. 일반적인 현장 귀뚜라미의 경우 관계는 유사하지만 울음 속도가 약간 더 느린 경향이 있습니다.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ {
35
+ name: '한 마리의 귀뚜라미 찾기',
36
+ text: '밤에 리듬이 섞이지 않도록 한 마리의 귀뚜라미 소리만 명확하게 들리는 조용한 장소를 찾습니다.',
37
+ },
38
+ {
39
+ name: '15초 동안 울음소리 횟수 세기',
40
+ text: '스톱워치를 사용하여 곤충이 정확히 15초 동안 몇 번 소리를 내는지 세어 봅니다.',
41
+ },
42
+ {
43
+ name: '값 입력하기',
44
+ text: '울음소리 리듬에 맞춰 몇 초 동안 TAP 버튼을 두드리면 계산기가 자동으로 BPM을 계산합니다.',
45
+ },
46
+ {
47
+ name: '온도 확인하기',
48
+ text: '시스템이 T(°C) = 10 + (N - 40) / 7 공식을 적용하여 섭씨 온도의 추정치를 제공합니다.',
49
+ },
50
+ ];
51
+
52
+ const faqSchema: WithContext<FAQPage> = {
53
+ '@context': 'https://schema.org',
54
+ '@type': 'FAQPage',
55
+ mainEntity: faqData.map((item) => ({
56
+ '@type': 'Question',
57
+ name: item.question,
58
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
59
+ })),
60
+ };
61
+
62
+ const howToSchema: WithContext<HowToThing> = {
63
+ '@context': 'https://schema.org',
64
+ '@type': 'HowTo',
65
+ name: title,
66
+ description,
67
+ step: howToData.map((step, i) => ({
68
+ '@type': 'HowToStep',
69
+ position: i + 1,
70
+ name: step.name,
71
+ text: step.text,
72
+ })),
73
+ };
74
+
75
+ const appSchema: WithContext<SoftwareApplication> = {
76
+ '@context': 'https://schema.org',
77
+ '@type': 'SoftwareApplication',
78
+ name: title,
79
+ description,
80
+ applicationCategory: 'UtilityApplication',
81
+ operatingSystem: 'All',
82
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
83
+ inLanguage: 'ko',
84
+ };
85
+
86
+ export const content: ToolLocaleContent<CricketThermometerUI> = {
87
+ slug,
88
+ title,
89
+ description,
90
+ faqTitle: '자주 묻는 질문',
91
+ faq: faqData,
92
+ bibliographyTitle: '과학적 참고 문헌',
93
+ bibliography: [
94
+ {
95
+ name: 'The American Naturalist - The Cricket as a Thermometer',
96
+ url: 'https://www.jstor.org/stable/2453256',
97
+ },
98
+ {
99
+ name: 'Wikipedia - Dolbear\'s Law',
100
+ url: 'https://en.wikipedia.org/wiki/Dolbear%27s_law',
101
+ },
102
+ ],
103
+ howTo: howToData,
104
+ schemas: [faqSchema, howToSchema, appSchema],
105
+ seo: [
106
+ {
107
+ type: 'title',
108
+ text: '완벽 가이드: 돌베어 법칙을 사용하여 온도를 계산하는 방법',
109
+ level: 2,
110
+ },
111
+ {
112
+ type: 'paragraph',
113
+ html: '자연의 소리를 듣는 것만으로도 정확한 온도를 알 수 있다는 사실을 알고 계셨나요? 1897년 물리학자 에이머스 돌베어는 귀뚜라미 울음소리 빈도와 주변 기온 사이에 정밀한 수학적 관계가 있음을 발견했습니다. 이 도구는 그 발견을 디지털화하여 여러분의 휴대폰을 천연 온도계로 바꾸어 줍니다.',
114
+ },
115
+ {
116
+ type: 'tip',
117
+ title: '귀뚜라미는 왜 노래하나요?',
118
+ html: '<p>귀뚜라미의 "노래" 또는 <strong>마찰 발음</strong>은 사실 구애의 신호입니다. 수컷은 날개(다리가 아님)를 서로 비벼서 이 소리를 만듭니다. 흥미롭게도 귀뚜라미는 변온 동물(외온 동물)이기에, 이 비비는 속도는 공기의 열 에너지에 직접적으로 의존하게 됩니다.</p>',
119
+ },
120
+ {
121
+ type: 'title',
122
+ text: '과학: 외온성과 대사',
123
+ level: 3,
124
+ },
125
+ {
126
+ type: 'paragraph',
127
+ html: '체온을 일정하게 유지하는 포유류와 달리 곤충은 외부 열에 의존합니다. 이들의 생화학적 반응은 <strong>아레니우스 방정식(Arrhenius Equation)</strong>을 따릅니다. 즉, 열이 더 많을수록 반응이 더 빨라집니다.',
128
+ },
129
+ {
130
+ type: 'paragraph',
131
+ html: '이것은 귀뚜라미의 근육이 수축하고 날개를 비비기 위해 효소 반응이 필요함을 의미합니다. 날씨가 추우면 이러한 반응이 느려지고 울음소리가 둔해집니다. 날씨가 따뜻하면 대사가 빨라지고 노래는 광적인 떨림으로 변합니다.',
132
+ },
133
+ {
134
+ type: 'title',
135
+ text: '돌베어 공식',
136
+ level: 3,
137
+ },
138
+ {
139
+ type: 'paragraph',
140
+ html: '종에 따라 차이가 있을 수 있지만, 가장 유명한 공식은 스노우 트리 귀뚜라미(<em>Oecanthus fultoni</em>)를 위한 공식입니다. 섭씨 온도를 구하는 방법은 다음과 같습니다.',
141
+ },
142
+ {
143
+ type: 'code',
144
+ code: 'T(°C) = 10 + (N - 40) / 7\n\nN = 분당 울음소리 횟수',
145
+ ariaLabel: '귀뚜라미 울음소리로 온도를 계산하는 돌베어 법칙',
146
+ },
147
+ {
148
+ type: 'paragraph',
149
+ html: '저희 도구는 이 과정을 자동으로 수행합니다. 사용자가 탭하는 간격을 측정하고 분당 울음소리 횟수(BPM)를 계산하여 즉시 공식을 적용합니다.',
150
+ },
151
+ {
152
+ type: 'title',
153
+ text: '흥미로운 사실들',
154
+ level: 3,
155
+ },
156
+ {
157
+ type: 'list',
158
+ items: [
159
+ '<strong>사랑의 온도계:</strong> 일부 이론에 따르면 암컷은 현재 온도에 맞는 "정확한" 빈도로 노래하는 수컷을 선호합니다. 이는 수컷이 건강하고 신진대사가 활발하다는 것을 나타내기 때문입니다.',
160
+ '<strong>추위 한계:</strong> 10°C(50°F) 미만에서는 대부분의 귀뚜라미가 노래를 멈춥니다. 대사 속도가 근육 활동을 유지하기에 너무 느려지기 때문입니다.',
161
+ '<strong>동기화:</strong> 따뜻한 밤에는 수천 마리의 귀뚜라미가 울음소리를 동기화하여 인상적인 "파동" 음향 효과를 만들어낼 수 있습니다.',
162
+ ],
163
+ },
164
+ {
165
+ type: 'tip',
166
+ title: '정확도 참고',
167
+ html: '<p>정확도는 귀뚜라미 종에 따라 다릅니다. 이 도구는 일반적인 현장 귀뚜라미와 트리 귀뚜라미에 맞게 보정되었습니다. 습도나 바람과 같은 요인으로 인해 결과가 ±0.5°C 정도 차이 날 수 있습니다.</p>',
168
+ },
169
+ ],
170
+ ui: {
171
+ labelWaiting: '대기 중...',
172
+ labelTapping: '계속 두드리세요...',
173
+ tapInstruction: '울음소리가 들릴 때마다',
174
+ btnReset: '초기화',
175
+ btnSoundOn: '소리: 켜짐',
176
+ btnSoundOff: '소리: 꺼짐',
177
+ unitChirpsMin: '회/분',
178
+ faqTitle: '자주 묻는 질문',
179
+ bibliographyTitle: '과학적 참고 문헌',
180
+ },
181
+ };