@jjlmoya/utils-nautical 1.5.0 → 1.7.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 +72 -71
- package/src/tests/i18n_coverage.test.ts +36 -0
- package/src/tests/locale_completeness.test.ts +42 -0
- package/src/tests/no_h1_in_components.test.ts +48 -0
- package/src/tests/schemas_fulfillment.test.ts +23 -0
- package/src/tests/slug_uniqueness.test.ts +81 -0
- package/src/tests/title_quality.test.ts +55 -0
- package/src/tool/endurance/component.astro +340 -1
- package/src/tool/endurance/i18n/de.ts +249 -0
- package/src/tool/endurance/i18n/id.ts +249 -0
- package/src/tool/endurance/i18n/it.ts +249 -0
- package/src/tool/endurance/i18n/ja.ts +249 -0
- package/src/tool/endurance/i18n/ko.ts +249 -0
- package/src/tool/endurance/i18n/nl.ts +249 -0
- package/src/tool/endurance/i18n/pl.ts +249 -0
- package/src/tool/endurance/i18n/pt.ts +249 -0
- package/src/tool/endurance/i18n/ru.ts +249 -0
- package/src/tool/endurance/i18n/sv.ts +249 -0
- package/src/tool/endurance/i18n/tr.ts +249 -0
- package/src/tool/endurance/i18n/zh.ts +249 -0
- package/src/tool/endurance/index.ts +12 -0
- package/src/tool/nauticalConverter/component.astro +208 -1
- package/src/tool/nauticalConverter/i18n/de.ts +239 -0
- package/src/tool/nauticalConverter/i18n/id.ts +239 -0
- package/src/tool/nauticalConverter/i18n/it.ts +239 -0
- package/src/tool/nauticalConverter/i18n/ja.ts +239 -0
- package/src/tool/nauticalConverter/i18n/ko.ts +239 -0
- package/src/tool/nauticalConverter/i18n/nl.ts +239 -0
- package/src/tool/nauticalConverter/i18n/pl.ts +239 -0
- package/src/tool/nauticalConverter/i18n/pt.ts +239 -0
- package/src/tool/nauticalConverter/i18n/ru.ts +239 -0
- package/src/tool/nauticalConverter/i18n/sv.ts +239 -0
- package/src/tool/nauticalConverter/i18n/tr.ts +239 -0
- package/src/tool/nauticalConverter/i18n/zh.ts +239 -0
- package/src/tool/nauticalConverter/index.ts +12 -0
- package/src/tool/sailArea/component.astro +355 -2
- package/src/tool/sailArea/i18n/de.ts +275 -0
- package/src/tool/sailArea/i18n/id.ts +275 -0
- package/src/tool/sailArea/i18n/it.ts +275 -0
- package/src/tool/sailArea/i18n/ja.ts +275 -0
- package/src/tool/sailArea/i18n/ko.ts +275 -0
- package/src/tool/sailArea/i18n/nl.ts +275 -0
- package/src/tool/sailArea/i18n/pl.ts +275 -0
- package/src/tool/sailArea/i18n/pt.ts +275 -0
- package/src/tool/sailArea/i18n/ru.ts +275 -0
- package/src/tool/sailArea/i18n/sv.ts +275 -0
- package/src/tool/sailArea/i18n/tr.ts +275 -0
- package/src/tool/sailArea/i18n/zh.ts +275 -0
- package/src/tool/sailArea/index.ts +12 -0
- package/src/tool/speedConverter/component.astro +242 -1
- package/src/tool/speedConverter/i18n/de.ts +271 -0
- package/src/tool/speedConverter/i18n/id.ts +271 -0
- package/src/tool/speedConverter/i18n/it.ts +271 -0
- package/src/tool/speedConverter/i18n/ja.ts +271 -0
- package/src/tool/speedConverter/i18n/ko.ts +271 -0
- package/src/tool/speedConverter/i18n/nl.ts +271 -0
- package/src/tool/speedConverter/i18n/pl.ts +271 -0
- package/src/tool/speedConverter/i18n/pt.ts +271 -0
- package/src/tool/speedConverter/i18n/ru.ts +194 -0
- package/src/tool/speedConverter/i18n/sv.ts +271 -0
- package/src/tool/speedConverter/i18n/tr.ts +225 -0
- package/src/tool/speedConverter/i18n/zh.ts +271 -0
- package/src/tool/speedConverter/index.ts +12 -0
- package/src/tool/tideCalculator/component.astro +313 -1
- package/src/tool/tideCalculator/i18n/de.ts +203 -0
- package/src/tool/tideCalculator/i18n/id.ts +203 -0
- package/src/tool/tideCalculator/i18n/it.ts +203 -0
- package/src/tool/tideCalculator/i18n/ja.ts +203 -0
- package/src/tool/tideCalculator/i18n/ko.ts +203 -0
- package/src/tool/tideCalculator/i18n/nl.ts +203 -0
- package/src/tool/tideCalculator/i18n/pl.ts +203 -0
- package/src/tool/tideCalculator/i18n/pt.ts +203 -0
- package/src/tool/tideCalculator/i18n/ru.ts +203 -0
- package/src/tool/tideCalculator/i18n/sv.ts +203 -0
- package/src/tool/tideCalculator/i18n/tr.ts +203 -0
- package/src/tool/tideCalculator/i18n/zh.ts +203 -0
- package/src/tool/tideCalculator/index.ts +12 -0
- package/src/tool/underKeel/component.astro +321 -1
- package/src/tool/underKeel/i18n/de.ts +189 -0
- package/src/tool/underKeel/i18n/en.ts +2 -2
- package/src/tool/underKeel/i18n/fr.ts +2 -2
- package/src/tool/underKeel/i18n/id.ts +189 -0
- package/src/tool/underKeel/i18n/it.ts +176 -0
- package/src/tool/underKeel/i18n/ja.ts +185 -0
- package/src/tool/underKeel/i18n/ko.ts +185 -0
- package/src/tool/underKeel/i18n/nl.ts +176 -0
- package/src/tool/underKeel/i18n/pl.ts +176 -0
- package/src/tool/underKeel/i18n/pt.ts +176 -0
- package/src/tool/underKeel/i18n/ru.ts +176 -0
- package/src/tool/underKeel/i18n/sv.ts +176 -0
- package/src/tool/underKeel/i18n/tr.ts +185 -0
- package/src/tool/underKeel/i18n/zh.ts +185 -0
- package/src/tool/underKeel/index.ts +12 -0
- package/src/tool/endurance/style.css +0 -337
- package/src/tool/nauticalConverter/style.css +0 -205
- package/src/tool/sailArea/style.css +0 -351
- package/src/tool/speedConverter/style.css +0 -239
- package/src/tool/tideCalculator/style.css +0 -310
- package/src/tool/underKeel/style.css +0 -318
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { NauticalConverterUI, NauticalConverterLocaleContent } from '../index';
|
|
3
|
+
|
|
4
|
+
const slug = 'convertitore-unita-it';
|
|
5
|
+
const title = 'Convertitore di Unità Nautiche';
|
|
6
|
+
const description =
|
|
7
|
+
'Converti miglia nautiche, nodi, braccia e pressione atmosferica. Include la scala Beaufort interattiva per la velocità del vento.';
|
|
8
|
+
|
|
9
|
+
const ui: NauticalConverterUI = {
|
|
10
|
+
distanceCategoryLabel: 'Distanza',
|
|
11
|
+
speedCategoryLabel: 'Velocità',
|
|
12
|
+
depthCategoryLabel: 'Profondità',
|
|
13
|
+
pressureCategoryLabel: 'Pressione',
|
|
14
|
+
nmLabel: 'Miglio Nautico (nm)',
|
|
15
|
+
kmLabel: 'Chilometro (km)',
|
|
16
|
+
miLabel: 'Miglio Terrestre (mi)',
|
|
17
|
+
cableLabel: 'Cavo (Cable)',
|
|
18
|
+
knLabel: 'Nodo (kn)',
|
|
19
|
+
kmhLabel: 'km/h',
|
|
20
|
+
msLabel: 'm/s',
|
|
21
|
+
mphLabel: 'mph',
|
|
22
|
+
brozaLabel: 'Braccio',
|
|
23
|
+
mLabel: 'Metro (m)',
|
|
24
|
+
ftLabel: 'Piede (ft)',
|
|
25
|
+
mbarLabel: 'Millibar (mbar)',
|
|
26
|
+
mmhgLabel: 'mmHg',
|
|
27
|
+
inhgLabel: 'inHg',
|
|
28
|
+
atmLabel: 'Atmosfera (atm)',
|
|
29
|
+
windSeaLabel: 'Stato del mare',
|
|
30
|
+
forceLabel: 'Forza',
|
|
31
|
+
effectLabel: 'Effetto',
|
|
32
|
+
copyLabel: 'Copia valore',
|
|
33
|
+
faqTitle: 'Domande Frequenti',
|
|
34
|
+
bibliographyTitle: 'Bibliografia',
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const faq: NauticalConverterLocaleContent['faq'] = [
|
|
38
|
+
{
|
|
39
|
+
question: 'Quanti chilometri ci sono in un miglio nautico?',
|
|
40
|
+
answer: 'Un miglio nautico equivale esattamente a 1,852 chilometri, ovvero 1852 metri. Questa misura corrisponde a un minuto d\'arco di latitudine sulla superficie terrestre.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
question: 'Qual è la differenza tra un nodo e un chilometro orario?',
|
|
44
|
+
answer: 'Un nodo equivale a 1,852 km/h, poiché un nodo è un miglio nautico all\'ora. Per convertire i nodi in km/h basta moltiplicare per 1,852.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
question: 'Perché in mare si usano le miglia nautiche invece dei chilometri?',
|
|
48
|
+
answer: 'Perché un miglio nautico corrisponde a un minuto d\'arco di latitudine, il che semplifica enormemente i calcoli di navigazione con carta e bussola. Una variazione di un minuto d\'arco di latitudine equivale esattamente a un miglio nautico.',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
question: 'Cos\'è la scala Beaufort?',
|
|
52
|
+
answer: 'È una scala empirica che mette in relazione la velocità del vento con gli effetti osservabili sul mare. Va da 0 (calma) a 12 (uragano) ed è essenziale per la navigazione costiera e d\'altura.',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
question: 'Quale unità di pressione si usa nella meteorologia marina?',
|
|
56
|
+
answer: 'La meteorologia marina usa principalmente il millibar (mbar) o il suo equivalente hectopascal (hPa). La pressione atmosferica normale a livello del mare è di 1013,25 mbar.',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
question: 'Quanti piedi ci sono in un braccio?',
|
|
60
|
+
answer: 'Un braccio equivale esattamente a 6 piedi, cioè 1,8288 metri. Viene usato principalmente nei paesi anglosassoni per esprimere le profondità sulle vecchie carte nautiche.',
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
|
|
64
|
+
const howTo: NauticalConverterLocaleContent['howTo'] = [
|
|
65
|
+
{
|
|
66
|
+
name: 'Seleziona la categoria di conversione',
|
|
67
|
+
text: 'Clicca su una delle quattro schede: Distanza, Velocità, Profondità o Pressione a seconda della grandezza che vuoi convertire.',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Inserisci il valore in qualsiasi campo',
|
|
71
|
+
text: 'Digita il numero nell\'unità che conosci. Tutte le altre unità si aggiorneranno automaticamente in tempo reale.',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'Consulta la scala Beaufort (velocità)',
|
|
75
|
+
text: 'Quando inserisci una velocità nella scheda Velocità, apparirà una scheda che mostra la forza Beaufort corrispondente e lo stato del mare previsto.',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Copia il risultato',
|
|
79
|
+
text: 'Usa il pulsante di copia accanto a qualsiasi campo per copiare il valore negli appunti.',
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
const bibliography: NauticalConverterLocaleContent['bibliography'] = [
|
|
84
|
+
{
|
|
85
|
+
name: 'Instituto Hidrografico de la Marina',
|
|
86
|
+
url: 'https://armada.defensa.gob.es/ihm/',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'NOAA - National Weather Service',
|
|
90
|
+
url: 'https://www.weather.gov/mfl/beaufort',
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
|
|
94
|
+
const seo: NauticalConverterLocaleContent['seo'] = [
|
|
95
|
+
{
|
|
96
|
+
type: 'title',
|
|
97
|
+
text: 'L\'importanza della precisione nelle unità nautiche',
|
|
98
|
+
level: 2,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'paragraph',
|
|
102
|
+
html: 'Navigare in mare richiede un linguaggio proprio, un sistema di misurazione raffinato in secoli di esplorazione marittima. Le unità nautiche non sono una bizzarria storica, ma strumenti matematicamente coerenti allineati con la geometria della Terra e le esigenze pratiche del navigatore.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'paragraph',
|
|
106
|
+
html: 'A differenza della terraferma, dove un errore di pochi metri raramente ha conseguenze gravi, in mare una conversione sbagliata può significare la differenza tra ancorare in acque sicure o incagliarsi in una secca. La precisione nelle unità non è una questione accademica: è navigazione.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: 'paragraph',
|
|
110
|
+
html: 'Quando ci allontaniamo dalla costa, la mancanza di riferimenti visivi rende la posizione calcolata l\'unica realtà su cui possiamo agire. Sapere come convertire accuratamente tra miglia nautiche, chilometri, nodi e metri non è opzionale per il navigatore responsabile.',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
type: 'title',
|
|
114
|
+
text: 'Perché si usano le miglia nautiche invece dei chilometri?',
|
|
115
|
+
level: 3,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'paragraph',
|
|
119
|
+
html: 'La risposta risiede nella forma stessa della Terra. Un <strong>miglio nautico</strong> equivale esattamente a un minuto d\'arco di latitudine sulla superficie terrestre, cioè 1852 metri. Questa corrispondenza diretta tra misura angolare e distanza lineare è la chiave del suo uso universale nella navigazione.',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'paragraph',
|
|
123
|
+
html: 'Usando questa unità, una variazione di un minuto d\'arco di latitudine su una carta nautica corrisponde sempre esattamente a un miglio nautico percorso. Ciò semplifica enormemente i calcoli di posizione, velocità e tempo di arrivo senza necessità di ulteriori fattori di conversione.',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'title',
|
|
127
|
+
text: 'Velocità in mare: Il nodo',
|
|
128
|
+
level: 3,
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: 'paragraph',
|
|
132
|
+
html: 'Il <strong>nodo</strong> è l\'unità di velocità equivalente a un miglio nautico all\'ora. Il suo nome deriva dalla vecchia tecnica di misurare la velocità lanciando in acqua un pezzo di legno legato a una corda con nodi a distanza regolare e contando quanti nodi passavano tra le dita in un tempo fisso.',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'paragraph',
|
|
136
|
+
html: 'Oggi, nonostante l\'uso di satelliti GPS e sofisticati sistemi elettronici, il nodo rimane l\'unità standard nell\'aviazione internazionale e nella navigazione marittima. Un nodo equivale a 1,852 km/h o 0,514 m/s.',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: 'title',
|
|
140
|
+
text: 'Profondità e ancoraggio: Braccia, Metri e Piedi',
|
|
141
|
+
level: 3,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
type: 'paragraph',
|
|
145
|
+
html: 'Nel mondo nautico, la profondità non è una semplice statistica: è la differenza tra un ancoraggio sicuro e un incaglio. Storicamente, il <strong>braccio</strong> (1,8288 metri o esattamente 6 piedi) era l\'unità predominante per misurare le profondità nel mondo anglosassone.',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'paragraph',
|
|
149
|
+
html: 'Tuttavia, la globalizzazione e la tecnologia hanno introdotto l\'uso costante dei metri sulla maggior parte delle carte e degli ecoscandagli moderni. Il navigatore moderno deve sentirsi a proprio agio nel muoversi tra braccia, metri e piedi, specialmente quando consulta vecchie carte nautiche o strumenti calibrati in unità imperiali.',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'title',
|
|
153
|
+
text: 'Meteorologia e pressione atmosferica',
|
|
154
|
+
level: 3,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'paragraph',
|
|
158
|
+
html: 'Per un comandante, il barometro è l\'oracolo del tempo. La pressione atmosferica, misurata in <strong>millibar</strong> (mbar), è l\'indicatore più affidabile di imminenti cambiamenti meteorologici. Una rapida caduta della pressione annuncia l\'arrivo di venti forti e maltempo.',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'paragraph',
|
|
162
|
+
html: 'Comprendere le variazioni di pressione è vitale per ogni navigatore. La pressione atmosferica normale a livello del mare è di 1013,25 mbar (un\'atmosfera). Valori più alti indicano tempo stabile, mentre valori più bassi, specialmente se cadono rapidamente, segnalano l\'avvicinarsi di sistemi di bassa pressione potenzialmente pericolosi.',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
type: 'title',
|
|
166
|
+
text: 'Scale di vento e mare: Da Beaufort a Douglas',
|
|
167
|
+
level: 3,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: 'paragraph',
|
|
171
|
+
html: 'La velocità del vento in nodi è un numero che prende vita quando associato alla <strong>scala Beaufort</strong>. Sviluppata dall\'ammiraglio britannico Francis Beaufort nel 1805, questa scala empirica mette in relazione la velocità del vento con gli effetti osservabili sia sulla superficie del mare che sulla terraferma.',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: 'list',
|
|
175
|
+
items: [
|
|
176
|
+
'<strong>Forza 0-3 (0-10 kn):</strong> Condizioni di navigazione tranquille, ideali per l\'apprendimento o uscite in famiglia.',
|
|
177
|
+
'<strong>Forza 4-5 (11-21 kn):</strong> Vento ideale per la vela su yacht, con onde moderate e creste bianche.',
|
|
178
|
+
'<strong>Forza 6-7 (22-33 kn):</strong> Condizioni da fresco a quasi burrasca. Esperienza e terzaroli raccomandati.',
|
|
179
|
+
'<strong>Forza 8+ (oltre 34 kn):</strong> Burrasca. Solo per navigatori esperti con imbarcazioni adeguate.',
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
type: 'paragraph',
|
|
184
|
+
html: 'Allo stesso modo, la scala Douglas classifica lo stato del mare in gradi da 0 (quasi calmo) a 9 (fenomenale), permettendo al navigatore di anticipare le condizioni oltre l\'orizzonte sulla base dei bollettini meteo.',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: 'tip',
|
|
188
|
+
title: 'Consiglio di Sicurezza',
|
|
189
|
+
html: 'Quando usi questo convertitore per pianificare un viaggio, tieni sempre presente che le condizioni reali possono differire dalle previsioni. Consulta i bollettini meteorologici ufficiali e non sottovalutare mai la capacità del mare di cambiare rapidamente.',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
type: 'title',
|
|
193
|
+
text: 'Pianificazione offline e mobilità',
|
|
194
|
+
level: 3,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'paragraph',
|
|
198
|
+
html: 'Questo strumento è progettato per funzionare senza connessione internet una volta caricato nel browser, rendendolo ideale per l\'uso a bordo dove la connettività può essere limitata. Tutte le conversioni sono calcolate localmente sul dispositivo, senza inviare alcun dato a un server.',
|
|
199
|
+
},
|
|
200
|
+
];
|
|
201
|
+
|
|
202
|
+
const schemas: NauticalConverterLocaleContent['schemas'] = [
|
|
203
|
+
{
|
|
204
|
+
'@context': 'https://schema.org',
|
|
205
|
+
'@type': 'SoftwareApplication',
|
|
206
|
+
name: title,
|
|
207
|
+
description,
|
|
208
|
+
applicationCategory: 'UtilityApplication',
|
|
209
|
+
operatingSystem: 'Web',
|
|
210
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
211
|
+
} as WithContext<SoftwareApplication>,
|
|
212
|
+
{
|
|
213
|
+
'@context': 'https://schema.org',
|
|
214
|
+
'@type': 'FAQPage',
|
|
215
|
+
mainEntity: faq.map((item) => ({
|
|
216
|
+
'@type': 'Question',
|
|
217
|
+
name: item.question,
|
|
218
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
219
|
+
})),
|
|
220
|
+
} as WithContext<FAQPage>,
|
|
221
|
+
{
|
|
222
|
+
'@context': 'https://schema.org',
|
|
223
|
+
'@type': 'HowTo',
|
|
224
|
+
name: `Come usare: ${title}`,
|
|
225
|
+
step: howTo.map((s) => ({ '@type': 'HowToStep', name: s.name, text: s.text })),
|
|
226
|
+
} as WithContext<HowTo>,
|
|
227
|
+
];
|
|
228
|
+
|
|
229
|
+
export const content: NauticalConverterLocaleContent = {
|
|
230
|
+
slug,
|
|
231
|
+
title,
|
|
232
|
+
description,
|
|
233
|
+
ui,
|
|
234
|
+
seo,
|
|
235
|
+
faq,
|
|
236
|
+
bibliography,
|
|
237
|
+
howTo,
|
|
238
|
+
schemas,
|
|
239
|
+
};
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
|
+
import type { NauticalConverterUI, NauticalConverterLocaleContent } from '../index';
|
|
3
|
+
|
|
4
|
+
const slug = 'nautical-units-converter';
|
|
5
|
+
const title = '航用単位換算ツール';
|
|
6
|
+
const description =
|
|
7
|
+
'海里、ノット、ファゾム、気圧を換算します。風速に対応するインタラクティブなビューフォート風力階級を含みます。';
|
|
8
|
+
|
|
9
|
+
const ui: NauticalConverterUI = {
|
|
10
|
+
distanceCategoryLabel: '距離',
|
|
11
|
+
speedCategoryLabel: '速度',
|
|
12
|
+
depthCategoryLabel: '水深',
|
|
13
|
+
pressureCategoryLabel: '気圧',
|
|
14
|
+
nmLabel: '海里 (nm)',
|
|
15
|
+
kmLabel: 'キロメートル (km)',
|
|
16
|
+
miLabel: 'マイル (mi)',
|
|
17
|
+
cableLabel: 'ケーブル',
|
|
18
|
+
knLabel: 'ノット (kn)',
|
|
19
|
+
kmhLabel: 'km/h',
|
|
20
|
+
msLabel: 'm/s',
|
|
21
|
+
mphLabel: 'mph',
|
|
22
|
+
brozaLabel: 'ファゾム',
|
|
23
|
+
mLabel: 'メートル (m)',
|
|
24
|
+
ftLabel: 'フィート (ft)',
|
|
25
|
+
mbarLabel: 'ミリバール (mbar)',
|
|
26
|
+
mmhgLabel: 'mmHg',
|
|
27
|
+
inhgLabel: 'inHg',
|
|
28
|
+
atmLabel: '気圧 (atm)',
|
|
29
|
+
windSeaLabel: '海の状態',
|
|
30
|
+
forceLabel: '風力',
|
|
31
|
+
effectLabel: '影響',
|
|
32
|
+
copyLabel: '値をコピー',
|
|
33
|
+
faqTitle: 'よくある質問',
|
|
34
|
+
bibliographyTitle: '参考文献',
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const faq: NauticalConverterLocaleContent['faq'] = [
|
|
38
|
+
{
|
|
39
|
+
question: '1海里は何キロメートルですか?',
|
|
40
|
+
answer: '1海里は正確に1.852キロメートル(1,852メートル)です。この測定値は、地球表面上の緯度1分(1/60度)に相当します。',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
question: 'ノットと時速キロメートルの違いは何ですか?',
|
|
44
|
+
answer: '1ノットは1海里/時に相当するため、1.852 km/hになります。ノットをkm/hに換算するには、単に1.852を掛けてください。',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
question: 'なぜ海の上ではキロメートルではなく海里が使われるのですか?',
|
|
48
|
+
answer: '海里は緯度1分に相当するため、海図とコンパスを用いた航法計算が大幅に簡素化されるからです。緯度1分の変化は、正確に1海里の移動に相当します。',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
question: 'ビューフォート風力階級とは何ですか?',
|
|
52
|
+
answer: '風速を海面の観察可能な状態に関連付けた経験的な尺度です。0(平穏)から12(台風/ハリケーン)までの段階があり、沿岸および遠洋航海に不可欠です。',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
question: '海洋気象ではどのような気圧単位が使われますか?',
|
|
56
|
+
answer: '海洋気象では、主にミリバール(mbar)またはその同等単位のヘクトパスカル(hPa)が使用されます。海面における標準大気圧は1013.25 mbarです。',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
question: '1ファゾムは何フィートですか?',
|
|
60
|
+
answer: '1ファゾムは正確に6フィート、つまり1.8288メートルです。主に英語圏で、古い海図の水深を表すために使用されています。',
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
|
|
64
|
+
const howTo: NauticalConverterLocaleContent['howTo'] = [
|
|
65
|
+
{
|
|
66
|
+
name: '換算カテゴリーを選択する',
|
|
67
|
+
text: '換算したい量に応じて、距離、速度、水深、気圧の4つのタブのいずれかをクリックします。',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: '任意のフィールドに値を入力する',
|
|
71
|
+
text: 'わかっている単位の数値を入力します。他のすべての単位がリアルタイムで自動的に更新されます。',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'ビューフォート階級を参照する(速度)',
|
|
75
|
+
text: '「速度」タブで速度を入力すると、対応するビューフォート風力階級と予想される海の状態を示すカードが表示されます。',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: '結果をコピーする',
|
|
79
|
+
text: '任意のスロットの横にあるコピーボタンを使用して、値をクリップボードにコピーします。',
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
const bibliography: NauticalConverterLocaleContent['bibliography'] = [
|
|
84
|
+
{
|
|
85
|
+
name: 'Instituto Hidrografico de la Marina',
|
|
86
|
+
url: 'https://armada.defensa.gob.es/ihm/',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'NOAA - National Weather Service',
|
|
90
|
+
url: 'https://www.weather.gov/mfl/beaufort',
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
|
|
94
|
+
const seo: NauticalConverterLocaleContent['seo'] = [
|
|
95
|
+
{
|
|
96
|
+
type: 'title',
|
|
97
|
+
text: '航用単位における精度の重要性',
|
|
98
|
+
level: 2,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'paragraph',
|
|
102
|
+
html: '海を航行するには独自の言語、つまり何世紀にもわたる海洋探索を通じて洗練されてきた計測システムが必要です。航用単位は歴史的な奇癖ではなく、地球の幾何学と航海者の実用的なニーズに整合した、数学的に一貫性のあるツールです。',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'paragraph',
|
|
106
|
+
html: '数メートルの誤差が深刻な結果を招くことが稀な陸上とは異なり、海上での誤った換算は、安全な投錨か浅瀬への座礁かの分かれ目になる可能性があります。単位の精度は学術的な問題ではなく、航海そのものです。',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: 'paragraph',
|
|
110
|
+
html: '海岸から離れると、視覚的な基準がなくなるため、計算された位置が行動できる唯一の現実となります。海里、キロメートル、ノット、メートルの間を正確に換算する方法を知ることは、責任ある航海者にとって必須のスキルです。',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
type: 'title',
|
|
114
|
+
text: 'なぜキロメートルではなく海里を使うのか?',
|
|
115
|
+
level: 3,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'paragraph',
|
|
119
|
+
html: 'その答えは地球そのものの形にあります。1<strong>海里</strong>は正確に地球表面上の緯度1分に相当し、1852メートルです。角度測定と線形距離のこの直接的な対応が、航法における世界共通の使用の鍵となっています。',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'paragraph',
|
|
123
|
+
html: 'この単位を使用すると、海図上の緯度1分の変化は、航行した正確に1海里に常に相当します。これにより、追加の換算係数を必要とせず、位置、速度、到着時間の計算が非常に簡単になります。',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'title',
|
|
127
|
+
text: '海上の速度:ノット',
|
|
128
|
+
level: 3,
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: 'paragraph',
|
|
132
|
+
html: '<strong>ノット</strong>は、1時間に1海里進む速度の単位です。その名前は、一定の間隔で結び目(ノット)を作ったロープに結びつけた木片を水中に投げ込み、一定時間に指の間をいくつ結び目が通り過ぎたかを数えて速度を測った古い技術に由来します。',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'paragraph',
|
|
136
|
+
html: '今日ではGPS衛星や高度な電子システムを使用していますが、ノットは依然として国際航空および海上航行の標準単位です。1ノットは1.852 km/hまたは0.514 m/sに相当します。',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: 'title',
|
|
140
|
+
text: '水深と投錨:ファゾム、メートル、フィート',
|
|
141
|
+
level: 3,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
type: 'paragraph',
|
|
145
|
+
html: '航海の世界では、水深は単なる統計ではありません。安全な投錨か座礁かの違いを意味します。歴史的に、英語圏では水深を測る主な単位として<strong>ファゾム</strong>(1.8288メートル、または正確に6フィート)が使われてきました。',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'paragraph',
|
|
149
|
+
html: 'しかし、グローバル化と技術革新により、現代の海図や魚群探知機の多くではメートルが常に使用されるようになりました。現代の航海者は、特に古い海図やヤード・ポンド法で校正された計器を参照する場合、ファゾム、メートル、フィートの間を自在に使い分ける必要があります。',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'title',
|
|
153
|
+
text: '気象と大気圧',
|
|
154
|
+
level: 3,
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'paragraph',
|
|
158
|
+
html: '船長にとって、気圧計は天気の神託です。<strong>ミリバール</strong>(mbar)で測定される大気圧は、差し迫った天候の変化を示す最も信頼できる指標です。気圧の急速な低下は、強風と悪天候の到来を告げています。',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'paragraph',
|
|
162
|
+
html: '気圧の変化を理解することは、あらゆる航海者にとって死活的に重要です。海面における標準大気圧は1013.25 mbar(1気圧)です。これより高い値は天候の安定を示し、低い値、特に急速に低下している場合は、潜在的に危険な低気圧システムの接近を警告しています。',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
type: 'title',
|
|
166
|
+
text: '風と海の尺度:ビューフォートからダグラスまで',
|
|
167
|
+
level: 3,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: 'paragraph',
|
|
171
|
+
html: 'ノット単位の風速は、<strong>ビューフォート風力階級</strong>と関連付けられることで実感を伴うようになります。1805年にイギリスのフランシス・ビューフォート提督によって開発されたこの経験的な尺度は、風速を海面や陸上の両方で観察可能な影響に関連付けています。',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: 'list',
|
|
175
|
+
items: [
|
|
176
|
+
'<strong>風力0-3 (0-10 kn):</strong> 穏やかな航行条件。初心者や家族での外出に理想的。',
|
|
177
|
+
'<strong>風力4-5 (11-21 kn):</strong> ヨットにとって理想的な帆走風。適度な波と白波。',
|
|
178
|
+
'<strong>風力6-7 (22-33 kn):</strong> 強風から雄風。経験と縮帆(リーフィング)が推奨される。',
|
|
179
|
+
'<strong>風力8+ (34 kn以上):</strong> 疾風・嵐。適切な船体を持つ経験豊富な航海者のみ。',
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
type: 'paragraph',
|
|
184
|
+
html: '同様に、ダグラス海況階級は海の状態を0(鏡面のよう)から9(驚異的)までの段階に分類しており、航海者は天気予報に基づいて水平線の向こうの状況を予測することができます。',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: 'tip',
|
|
188
|
+
title: '安全上のヒント',
|
|
189
|
+
html: 'この換算ツールを使用して航海を計画する際は、実際の状況が予測と異なる場合があることを常に念頭に置いてください。公式の天気予報を確認し、海が急速に変化する可能性を決して過小評価しないでください。',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
type: 'title',
|
|
193
|
+
text: 'オフライン計画とモビリティ',
|
|
194
|
+
level: 3,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'paragraph',
|
|
198
|
+
html: 'このツールは、一度ブラウザに読み込まれるとインターネット接続なしで動作するように設計されており、接続が制限される可能性のある船上での使用に最適です。すべての換算はデバイス上でローカルに計算され、サーバーにデータが送信されることはありません。',
|
|
199
|
+
},
|
|
200
|
+
];
|
|
201
|
+
|
|
202
|
+
const schemas: NauticalConverterLocaleContent['schemas'] = [
|
|
203
|
+
{
|
|
204
|
+
'@context': 'https://schema.org',
|
|
205
|
+
'@type': 'SoftwareApplication',
|
|
206
|
+
name: title,
|
|
207
|
+
description,
|
|
208
|
+
applicationCategory: 'UtilityApplication',
|
|
209
|
+
operatingSystem: 'Web',
|
|
210
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
|
|
211
|
+
} as WithContext<SoftwareApplication>,
|
|
212
|
+
{
|
|
213
|
+
'@context': 'https://schema.org',
|
|
214
|
+
'@type': 'FAQPage',
|
|
215
|
+
mainEntity: faq.map((item) => ({
|
|
216
|
+
'@type': 'Question',
|
|
217
|
+
name: item.question,
|
|
218
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
219
|
+
})),
|
|
220
|
+
} as WithContext<FAQPage>,
|
|
221
|
+
{
|
|
222
|
+
'@context': 'https://schema.org',
|
|
223
|
+
'@type': 'HowTo',
|
|
224
|
+
name: `使い方: ${title}`,
|
|
225
|
+
step: howTo.map((s) => ({ '@type': 'HowToStep', name: s.name, text: s.text })),
|
|
226
|
+
} as WithContext<HowTo>,
|
|
227
|
+
];
|
|
228
|
+
|
|
229
|
+
export const content: NauticalConverterLocaleContent = {
|
|
230
|
+
slug,
|
|
231
|
+
title,
|
|
232
|
+
description,
|
|
233
|
+
ui,
|
|
234
|
+
seo,
|
|
235
|
+
faq,
|
|
236
|
+
bibliography,
|
|
237
|
+
howTo,
|
|
238
|
+
schemas,
|
|
239
|
+
};
|