@jjlmoya/utils-nautical 1.14.0 → 1.16.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 +28 -12
- 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/endurance/bibliography.astro +1 -1
- package/src/tool/endurance/bibliography.ts +12 -0
- package/src/tool/endurance/entry.ts +2 -2
- package/src/tool/endurance/i18n/de.ts +1 -13
- package/src/tool/endurance/i18n/en.ts +1 -12
- package/src/tool/endurance/i18n/es.ts +1 -13
- package/src/tool/endurance/i18n/fr.ts +1 -13
- package/src/tool/endurance/i18n/id.ts +1 -13
- package/src/tool/endurance/i18n/it.ts +1 -13
- package/src/tool/endurance/i18n/ja.ts +1 -13
- package/src/tool/endurance/i18n/ko.ts +1 -13
- package/src/tool/endurance/i18n/nl.ts +1 -13
- package/src/tool/endurance/i18n/pl.ts +1 -13
- package/src/tool/endurance/i18n/pt.ts +1 -13
- package/src/tool/endurance/i18n/ru.ts +1 -13
- package/src/tool/endurance/i18n/sv.ts +1 -13
- package/src/tool/endurance/i18n/tr.ts +1 -13
- package/src/tool/endurance/i18n/zh.ts +1 -13
- package/src/tool/endurance/nautical-endurance-calculator.css +1 -1
- package/src/tool/endurance/seo.astro +2 -42
- package/src/tool/nauticalConverter/bibliography.astro +1 -1
- package/src/tool/nauticalConverter/bibliography.ts +12 -0
- package/src/tool/nauticalConverter/entry.ts +2 -2
- package/src/tool/nauticalConverter/i18n/de.ts +1 -13
- package/src/tool/nauticalConverter/i18n/en.ts +1 -13
- package/src/tool/nauticalConverter/i18n/es.ts +1 -13
- package/src/tool/nauticalConverter/i18n/fr.ts +1 -13
- package/src/tool/nauticalConverter/i18n/id.ts +1 -13
- package/src/tool/nauticalConverter/i18n/it.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ja.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ko.ts +1 -13
- package/src/tool/nauticalConverter/i18n/nl.ts +1 -13
- package/src/tool/nauticalConverter/i18n/pl.ts +1 -13
- package/src/tool/nauticalConverter/i18n/pt.ts +1 -13
- package/src/tool/nauticalConverter/i18n/ru.ts +1 -13
- package/src/tool/nauticalConverter/i18n/sv.ts +1 -13
- package/src/tool/nauticalConverter/i18n/tr.ts +1 -13
- package/src/tool/nauticalConverter/i18n/zh.ts +1 -13
- package/src/tool/nauticalConverter/nautical-units-converter.css +1 -1
- package/src/tool/nauticalConverter/seo.astro +2 -39
- package/src/tool/sailArea/bibliography.astro +1 -1
- package/src/tool/sailArea/bibliography.ts +16 -0
- package/src/tool/sailArea/entry.ts +2 -2
- package/src/tool/sailArea/i18n/de.ts +1 -17
- package/src/tool/sailArea/i18n/en.ts +1 -17
- package/src/tool/sailArea/i18n/es.ts +1 -17
- package/src/tool/sailArea/i18n/fr.ts +1 -17
- package/src/tool/sailArea/i18n/id.ts +1 -17
- package/src/tool/sailArea/i18n/it.ts +1 -17
- package/src/tool/sailArea/i18n/ja.ts +1 -17
- package/src/tool/sailArea/i18n/ko.ts +1 -17
- package/src/tool/sailArea/i18n/nl.ts +1 -17
- package/src/tool/sailArea/i18n/pl.ts +1 -17
- package/src/tool/sailArea/i18n/pt.ts +1 -17
- package/src/tool/sailArea/i18n/ru.ts +1 -17
- package/src/tool/sailArea/i18n/sv.ts +1 -17
- package/src/tool/sailArea/i18n/tr.ts +1 -17
- package/src/tool/sailArea/i18n/zh.ts +1 -17
- package/src/tool/sailArea/sail-area-calculator.css +2 -2
- package/src/tool/sailArea/seo.astro +2 -39
- package/src/tool/speedConverter/bibliography.astro +1 -1
- package/src/tool/speedConverter/bibliography.ts +12 -0
- package/src/tool/speedConverter/entry.ts +2 -2
- package/src/tool/speedConverter/i18n/de.ts +1 -13
- package/src/tool/speedConverter/i18n/en.ts +1 -13
- package/src/tool/speedConverter/i18n/es.ts +1 -13
- package/src/tool/speedConverter/i18n/fr.ts +1 -13
- package/src/tool/speedConverter/i18n/id.ts +1 -13
- package/src/tool/speedConverter/i18n/it.ts +1 -13
- package/src/tool/speedConverter/i18n/ja.ts +1 -13
- package/src/tool/speedConverter/i18n/ko.ts +1 -13
- package/src/tool/speedConverter/i18n/nl.ts +1 -13
- package/src/tool/speedConverter/i18n/pl.ts +1 -13
- package/src/tool/speedConverter/i18n/pt.ts +1 -13
- package/src/tool/speedConverter/i18n/ru.ts +1 -13
- package/src/tool/speedConverter/i18n/sv.ts +1 -13
- package/src/tool/speedConverter/i18n/tr.ts +1 -13
- package/src/tool/speedConverter/i18n/zh.ts +1 -13
- package/src/tool/speedConverter/nautical-speed-converter.css +1 -1
- package/src/tool/speedConverter/seo.astro +2 -30
- package/src/tool/tideCalculator/bibliography.astro +1 -1
- package/src/tool/tideCalculator/bibliography.ts +12 -0
- package/src/tool/tideCalculator/entry.ts +2 -2
- package/src/tool/tideCalculator/i18n/de.ts +1 -13
- package/src/tool/tideCalculator/i18n/en.ts +1 -13
- package/src/tool/tideCalculator/i18n/es.ts +1 -13
- package/src/tool/tideCalculator/i18n/fr.ts +1 -13
- package/src/tool/tideCalculator/i18n/id.ts +1 -13
- package/src/tool/tideCalculator/i18n/it.ts +1 -13
- package/src/tool/tideCalculator/i18n/ja.ts +1 -13
- package/src/tool/tideCalculator/i18n/ko.ts +1 -13
- package/src/tool/tideCalculator/i18n/nl.ts +1 -13
- package/src/tool/tideCalculator/i18n/pl.ts +1 -13
- package/src/tool/tideCalculator/i18n/pt.ts +1 -13
- package/src/tool/tideCalculator/i18n/ru.ts +1 -13
- package/src/tool/tideCalculator/i18n/sv.ts +1 -13
- package/src/tool/tideCalculator/i18n/tr.ts +1 -13
- package/src/tool/tideCalculator/i18n/zh.ts +1 -13
- package/src/tool/tideCalculator/seo.astro +2 -48
- package/src/tool/tideCalculator/tide-height-calculator.css +4 -4
- package/src/tool/underKeel/bibliography.astro +1 -1
- package/src/tool/underKeel/bibliography.ts +12 -0
- package/src/tool/underKeel/entry.ts +2 -2
- package/src/tool/underKeel/i18n/de.ts +1 -13
- package/src/tool/underKeel/i18n/en.ts +1 -13
- package/src/tool/underKeel/i18n/es.ts +1 -13
- package/src/tool/underKeel/i18n/fr.ts +1 -13
- package/src/tool/underKeel/i18n/id.ts +2 -14
- package/src/tool/underKeel/i18n/it.ts +2 -14
- package/src/tool/underKeel/i18n/ja.ts +2 -14
- package/src/tool/underKeel/i18n/ko.ts +2 -14
- package/src/tool/underKeel/i18n/nl.ts +2 -14
- package/src/tool/underKeel/i18n/pl.ts +2 -14
- package/src/tool/underKeel/i18n/pt.ts +2 -14
- package/src/tool/underKeel/i18n/ru.ts +2 -14
- package/src/tool/underKeel/i18n/sv.ts +2 -14
- package/src/tool/underKeel/i18n/tr.ts +2 -14
- package/src/tool/underKeel/i18n/zh.ts +2 -14
- package/src/tool/underKeel/seo.astro +2 -33
- package/src/tool/underKeel/under-keel-clearance-calculator.css +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Paso desde las:',
|
|
23
24
|
statusUntilLabel: 'Paso hasta las:',
|
|
24
25
|
bottomLabel: 'FONDO',
|
|
25
|
-
faqTitle: 'Preguntas Frecuentes',
|
|
26
|
-
bibliographyTitle: 'Referencias',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Nautica de Recreo',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tablas de Mareas',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Passage a partir de :',
|
|
23
24
|
statusUntilLabel: "Passage jusqu'a :",
|
|
24
25
|
bottomLabel: 'FOND',
|
|
25
|
-
faqTitle: 'Questions Frequentes',
|
|
26
|
-
bibliographyTitle: 'Bibliographie',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Navigation de Plaisance',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tables des Marees',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Lintasan dari:',
|
|
23
24
|
statusUntilLabel: 'Lintasan hingga:',
|
|
24
25
|
bottomLabel: 'DASAR LAUT',
|
|
25
|
-
faqTitle: 'Pertanyaan yang Sering Diajukan',
|
|
26
|
-
bibliographyTitle: 'Bibliografi',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -112,7 +100,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
112
100
|
html: 'Untuk menggunakan kalkulator ruang bebas di bawah lunas secara profesional, Anda perlu mengetahui dua detail teknis tentang kapal Anda dan satu keputusan pribadi:',
|
|
113
101
|
},
|
|
114
102
|
{
|
|
115
|
-
type: '
|
|
103
|
+
type: 'glossary',
|
|
116
104
|
items: [
|
|
117
105
|
{ term: 'Draf beban maksimum', definition: 'Kedalaman yang dicapai oleh titik terendah kapal (lunas) saat terisi penuh.' },
|
|
118
106
|
{ term: 'Sounding peta', definition: 'Angka pada peta navigasi untuk titik yang ingin Anda lintasi. Jika digarisbawahi, titik tersebut mengering pada Chart Datum.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Transito dalle:',
|
|
23
24
|
statusUntilLabel: 'Transito fino alle:',
|
|
24
25
|
bottomLabel: 'FONDALE',
|
|
25
|
-
faqTitle: 'Domande Frequenti',
|
|
26
|
-
bibliographyTitle: 'Bibliografia',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Pescaggio massimo a carico', definition: 'La profondità raggiunta dal punto più basso della barca (la chiglia) a pieno carico.' },
|
|
114
102
|
{ term: 'Profondità della carta', definition: 'Il numero sulla carta nautica per il punto che desideri attraversare.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: '航行開始:',
|
|
23
24
|
statusUntilLabel: '航行終了:',
|
|
24
25
|
bottomLabel: '海底部',
|
|
25
|
-
faqTitle: 'よくある質問',
|
|
26
|
-
bibliographyTitle: '参考文献',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: '最大積載喫水', definition: '満載状態で船の最低部(キール)が達する深さ。' },
|
|
114
102
|
{ term: '海図水深', definition: '通過したい地点の海図上の数字。下線付きの場合、基本水準面では干出します。' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: '통과 시작:',
|
|
23
24
|
statusUntilLabel: '통과 종료:',
|
|
24
25
|
bottomLabel: '바닥면',
|
|
25
|
-
faqTitle: '자주 묻는 질문',
|
|
26
|
-
bibliographyTitle: '참고 문헌',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: '최대 적재 흘수', definition: '만재 상태에서 선박의 최하단(용골)이 잠기는 깊이.' },
|
|
114
102
|
{ term: '해도 수심', definition: '해당 지점의 해도상 수치. 밑줄이 그어져 있다면 기본 수준면에서 노출되는 지점입니다.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Vaarvenster vanaf:',
|
|
23
24
|
statusUntilLabel: 'Vaarvenster tot:',
|
|
24
25
|
bottomLabel: 'BODEM',
|
|
25
|
-
faqTitle: 'Veelgestelde Vragen',
|
|
26
|
-
bibliographyTitle: 'Bibliografie',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Maximale beladen diepgang', definition: 'De diepte die het laagste punt van de boot (de kiel) bereikt bij volledige belading.' },
|
|
114
102
|
{ term: 'Kaartdiepte', definition: 'Het getal op de zeekaart voor het punt dat u wilt oversteken.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Przejście od:',
|
|
23
24
|
statusUntilLabel: 'Przejście do:',
|
|
24
25
|
bottomLabel: 'DNO',
|
|
25
|
-
faqTitle: 'Często zadawane pytania',
|
|
26
|
-
bibliographyTitle: 'Bibliografia',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Maksymalne zanurzenie pod ładunkiem', definition: 'Głębokość osiągana przez najniższy punkt łodzi (stępkę) przy pełnym obciążeniu.' },
|
|
114
102
|
{ term: 'Głębokość z mapy', definition: 'Liczba na mapie morskiej dla punktu, który chcesz pokonać. Jeśli podkreślona, punkt osycha przy Zero Mapy.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Travessia de:',
|
|
23
24
|
statusUntilLabel: 'Travessia até:',
|
|
24
25
|
bottomLabel: 'FUNDO',
|
|
25
|
-
faqTitle: 'Perguntas Frequentes',
|
|
26
|
-
bibliographyTitle: 'Bibliografia',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Calado máximo carregado', definition: 'A profundidade atingida pelo ponto mais baixo do barco (a quilha) em plena carga.' },
|
|
114
102
|
{ term: 'Profundidade da carta', definition: 'O número na carta náutica para o ponto que deseja cruzar. Se sublinhado, o ponto seca no Zero Hidrográfico.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Проход возможен с:',
|
|
23
24
|
statusUntilLabel: 'Проход возможен до:',
|
|
24
25
|
bottomLabel: 'ДНО',
|
|
25
|
-
faqTitle: 'Часто задаваемые вопросы',
|
|
26
|
-
bibliographyTitle: 'Библиография',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Максимальная осадка в грузу', definition: 'Глубина, которой достигает самая нижняя точка судна (киль) при полной загрузке.' },
|
|
114
102
|
{ term: 'Глубина по карте', definition: 'Число на карте для точки, в которой вы хотите пройти.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Passage från:',
|
|
23
24
|
statusUntilLabel: 'Passage till:',
|
|
24
25
|
bottomLabel: 'BOTTEN',
|
|
25
|
-
faqTitle: 'Vanliga frågor',
|
|
26
|
-
bibliographyTitle: 'Bibliografi',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Maximalt lastat djupgående', definition: 'Det djup som nås av båtens lägsta punkt (kölen) vid full last.' },
|
|
114
102
|
{ term: 'Sjökortsdjup', definition: 'Siffran i sjökortet för den punkt du vill korsa. Om understruken är punkten torr vid sjökortsplan.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: 'Geçiş başlangıcı:',
|
|
23
24
|
statusUntilLabel: 'Geçiş bitişi:',
|
|
24
25
|
bottomLabel: 'DENİZ TABANI',
|
|
25
|
-
faqTitle: 'Sıkça Sorulan Sorular',
|
|
26
|
-
bibliographyTitle: 'Kaynakça',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: 'Maksimum yüklü draft:', definition: 'Tam yüklü teknenin en alt noktasının (omurga) ulaştığı derinlik.' },
|
|
114
102
|
{ term: 'Harita derinliği:', definition: 'Harita üzerindeki derinlik rakamı. Altı çiziliyse Harita Düzleminde kurur.' },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
|
|
2
3
|
import type { UnderKeelUI, UnderKeelLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -22,8 +23,6 @@ const ui: UnderKeelUI = {
|
|
|
22
23
|
statusFromLabel: '通行开始时间:',
|
|
23
24
|
statusUntilLabel: '通行结束时间:',
|
|
24
25
|
bottomLabel: '海床',
|
|
25
|
-
faqTitle: '常见问题',
|
|
26
|
-
bibliographyTitle: '参考文献统计',
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
const faq: UnderKeelLocaleContent['faq'] = [
|
|
@@ -72,17 +71,6 @@ const howTo: UnderKeelLocaleContent['howTo'] = [
|
|
|
72
71
|
},
|
|
73
72
|
];
|
|
74
73
|
|
|
75
|
-
const bibliography: UnderKeelLocaleContent['bibliography'] = [
|
|
76
|
-
{
|
|
77
|
-
name: 'Ministerio de Transportes - Recreational Boating',
|
|
78
|
-
url: 'https://www.mitma.gob.es/marina-mercante/nautica-de-recreo/',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: 'Portos de Galicia - Tide Tables',
|
|
82
|
-
url: 'https://portosdegalicia.gal/es/taboa-de-mareas',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
|
|
86
74
|
const seo: UnderKeelLocaleContent['seo'] = [
|
|
87
75
|
{
|
|
88
76
|
type: 'title',
|
|
@@ -108,7 +96,7 @@ const seo: UnderKeelLocaleContent['seo'] = [
|
|
|
108
96
|
level: 3,
|
|
109
97
|
},
|
|
110
98
|
{
|
|
111
|
-
type: '
|
|
99
|
+
type: 'glossary',
|
|
112
100
|
items: [
|
|
113
101
|
{ term: '最大负载吃水:', definition: '船只最低点(龙骨)在满载时达到的深度。' },
|
|
114
102
|
{ term: '海图深度:', definition: '航海图上您想要穿过的点的数字。如果有下划线,则该点在海图基准面时会干出。' },
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
import {
|
|
3
|
-
SEOTitle,
|
|
4
|
-
SEOTable,
|
|
5
|
-
SEOTip,
|
|
6
|
-
SEOGlossary,
|
|
7
|
-
SEOArticle,
|
|
8
|
-
} from '@jjlmoya/utils-shared';
|
|
2
|
+
import { SEORenderer } from '@jjlmoya/utils-shared';
|
|
9
3
|
import { underKeel } from './index';
|
|
10
4
|
import type { KnownLocale } from '../../types';
|
|
11
5
|
|
|
@@ -16,31 +10,6 @@ interface Props {
|
|
|
16
10
|
const { locale = 'es' } = Astro.props;
|
|
17
11
|
const content = await underKeel.i18n[locale]?.();
|
|
18
12
|
if (!content) return null;
|
|
19
|
-
|
|
20
|
-
const { seo } = content;
|
|
21
13
|
---
|
|
22
14
|
|
|
23
|
-
<
|
|
24
|
-
{seo.map((section: any) => {
|
|
25
|
-
switch (section.type) {
|
|
26
|
-
case 'title':
|
|
27
|
-
return <SEOTitle title={section.text} level={section.level || 2} />;
|
|
28
|
-
case 'paragraph':
|
|
29
|
-
return <p set:html={section.html} />;
|
|
30
|
-
case 'tip':
|
|
31
|
-
return <SEOTip title={section.title}><Fragment set:html={section.html} /></SEOTip>;
|
|
32
|
-
case 'table':
|
|
33
|
-
return (
|
|
34
|
-
<SEOTable headers={section.headers}>
|
|
35
|
-
{section.rows.map((row: string[]) => (
|
|
36
|
-
<tr>{row.map((cell: string) => <td set:html={cell} />)}</tr>
|
|
37
|
-
))}
|
|
38
|
-
</SEOTable>
|
|
39
|
-
);
|
|
40
|
-
case 'glossary':
|
|
41
|
-
return <SEOGlossary items={section.items} />;
|
|
42
|
-
default:
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
})}
|
|
46
|
-
</SEOArticle>
|
|
15
|
+
{content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
|