@jjlmoya/utils-astronomy 1.41.0 → 1.43.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-astronomy",
3
- "version": "1.41.0",
3
+ "version": "1.43.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -36,7 +36,7 @@
36
36
  "postinstall": "node scripts/postinstall.mjs",
37
37
  "predev": "node scripts/postinstall.mjs",
38
38
  "prestart": "node scripts/postinstall.mjs",
39
- "prebuild": "node scripts/postinstall.mjs",
39
+ "prebuild": "node scripts/postinstall.mjs && node scripts/validate-icons.mjs",
40
40
  "qa": "npm run lint && npm run test && npm run build",
41
41
  "cf:dry-run": "npm run build && wrangler deploy --dry-run",
42
42
  "cf:preview": "npm run build && wrangler deploy --config wrangler.staging.jsonc",
@@ -0,0 +1,57 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { createRequire } from 'node:module';
4
+ import { readFileSync, readdirSync } from 'node:fs';
5
+ import { dirname, join, relative, resolve } from 'node:path';
6
+ import { fileURLToPath } from 'node:url';
7
+
8
+ const require = createRequire(import.meta.url);
9
+ const packageJsonPath = require.resolve('@iconify-json/mdi/package.json');
10
+ const packageRoot = dirname(packageJsonPath);
11
+ const iconSet = JSON.parse(readFileSync(join(packageRoot, 'icons.json'), 'utf8'));
12
+ const availableIcons = new Set([
13
+ ...Object.keys(iconSet.icons ?? {}),
14
+ ...Object.keys(iconSet.aliases ?? {}),
15
+ ]);
16
+
17
+ const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
18
+ const sourceRoot = resolve(repoRoot, 'src');
19
+ const extensions = new Set(['.astro', '.js', '.mjs', '.ts', '.tsx']);
20
+ const iconPattern = /\bmdi:([a-z0-9-]+)\b/g;
21
+ const failures = [];
22
+ let references = 0;
23
+
24
+ function walk(directory) {
25
+ const entries = readdirSync(directory, { withFileTypes: true });
26
+ for (const entry of entries) {
27
+ const path = join(directory, entry.name);
28
+ if (entry.isDirectory()) {
29
+ if (entry.name !== 'node_modules' && entry.name !== 'dist' && entry.name !== 'tests') {
30
+ walk(path);
31
+ }
32
+ continue;
33
+ }
34
+ if (!extensions.has(path.slice(path.lastIndexOf('.')))) continue;
35
+
36
+ const source = readFileSync(path, 'utf8');
37
+ for (const match of source.matchAll(iconPattern)) {
38
+ references += 1;
39
+ const iconName = match[1];
40
+ if (availableIcons.has(iconName)) continue;
41
+
42
+ const line = source.slice(0, match.index).split('\n').length;
43
+ failures.push(`${relative(repoRoot, path)}:${line} — mdi:${iconName}`);
44
+ }
45
+ }
46
+ }
47
+
48
+ walk(sourceRoot);
49
+
50
+ if (failures.length > 0) {
51
+ console.error('Invalid MDI icons found:');
52
+ for (const failure of failures) console.error(`- ${failure}`);
53
+ console.error(`Checked ${references} MDI icon references against @iconify-json/mdi.`);
54
+ process.exitCode = 1;
55
+ } else {
56
+ console.log(`MDI icon validation passed: ${references} references checked.`);
57
+ }
@@ -4,54 +4,55 @@ export const content: CategoryLocaleContent = {
4
4
  slug: 'hobbyastronomie',
5
5
  title: 'Astronomie Tools',
6
6
  description: 'Kostenlose Rechner und Simulatoren für Hobbyastronomen. Planen Sie Ihre Beobachtungen und Astrofotografie.',
7
- seo: [
8
- { type: 'title', text: 'Hobbyastronomie: Tools zur Erkundung des Universums', level: 2 },
9
- {
10
- type: 'paragraph',
11
- html: 'Die Hobbyastronomie ist eine der spannendsten Bürgerwissenschaften der Welt. Mit der richtigen Ausrüstung und den passenden Planungstools kann jeder Galaxien in Millionen Lichtjahren Entfernung erkunden, Nebel betrachten, in denen neue Sterne geboren werden, oder die Oberfläche der Planeten unseres Sonnensystems studieren. Diese Suite an <strong>kostenlosen Astronomie-Rechnern</strong> wurde entwickelt, um Ihr Erlebnis als Beobachter zu verbessern.',
12
- },
13
- {
14
- type: 'paragraph',
15
- html: 'Von der Bewertung der Himmelsqualität mit der Bortle-Skala bis hin zur präzisen Berechnung der optischen Auflösung Ihres Teleskops - jedes Tool nutzt von der internationalen Astronomie-Gemeinschaft validierte Formeln, damit jede Nacht unter den Sternen produktiv und unvergesslich wird.',
16
- },
17
- { type: 'title', text: 'Lichtverschmutzung: Der größte Feind des Astronomen', level: 2 },
18
- {
19
- type: 'paragraph',
20
- html: 'Wir leben in einer zunehmend beleuchteten Welt. Die <strong>Lichtverschmutzung</strong> wächst jährlich um 10 % und löscht den Nachthimmel für mehr als 80 % der Weltbevölkerung aus. Die Bortle-Skala mit ihren 9 Stufen ist der internationale Standard zur Quantifizierung dieses Verlusts. Unser Dunkelhimmel-Simulator ermöglicht es Ihnen, interaktiv zu visualisieren, wie künstliches Licht das Firmament verändert - vom absoluten Schwarz einer entlegenen Wüste bis zum bedrückenden Orange einer Metropole.',
21
- },
22
- { type: 'title', text: 'Ihr Teleskop: Die wahren Möglichkeiten verstehen', level: 2 },
23
- {
24
- type: 'paragraph',
25
- html: 'Der Markt ist voll von Teleskopen, die versprechen, "Saturn mit seinen Ringen" bei jeder Öffnung zu sehen. Die Realität ist, dass die <strong>Objektivöffnung</strong> der kritischste Parameter ist. Sie bestimmt, wie viel Licht gesammelt wird (Grenzgröße) und wie viele Details aufgelöst werden können (Auflösungsvermögen). Die Rechner für Reichweite und Auflösung in diesem Abschnitt liefern Ihnen konkrete Zahlen: Welche Objektkataloge in Ihrer Reichweite liegen und wie viele Details Sie auf Planetenoberflächen erwarten können.',
26
- },
27
- {
28
- type: 'list',
29
- items: [
30
- '<strong>Bortle-Skala:</strong> Bewerten Sie Ihre Himmelsqualität, bevor Sie zu einem Beobachtungsort reisen.',
31
- '<strong>Teleskop-Reichweite:</strong> Berechnen Sie die Grenzgröße Ihrer Ausrüstung basierend auf Öffnung und Himmelsbedingungen.',
32
- '<strong>500er-Regel / NPF:</strong> Bestimmen Sie die maximale Belichtungszeit für die Astrofotografie ohne Strichspuren.',
33
- '<strong>Optische Auflösung:</strong> Kennen Sie das Dawes- und Rayleigh-Limit Ihres Teleskops.',
34
- ],
35
- },
36
- {
37
- type: 'tip',
38
- title: 'Der erste Schritt: Kennen Sie Ihren Himmel',
39
- html: 'Bevor Sie in ein größeres Teleskop investieren, sollten Sie in Erwägung ziehen, an einen dunkleren Ort zu reisen. Ein 150-mm-Teleskop unter einem Bortle-3-Himmel übertrifft ein 300-mm-Instrument unter Bortle 7 bei weitem. Die Dunkelheit des Himmels multipliziert die Leistung jeder Ausrüstung.',
40
- },
41
- { type: 'title', text: 'Deep-Sky-Astrofotografie: Den Kosmos festhalten', level: 2 },
42
- {
43
- type: 'paragraph',
44
- html: 'Die Astrofotografie hat den Zugang zum Universum demokratisiert. Mit einer Standard-DSLR-Kamera und einem Weitwinkelobjektiv können Sie die Milchstraße in ihrer vollen Pracht einfangen. Mit einem Teleskop und einer äquatorialen Nachführung können Sie Nebel und Galaxien fotografieren, die das übertreffen, was die besten Observatorien vor wenigen Jahrzehnten sehen konnten. Der Schlüssel liegt in der <strong>Belichtungszeit</strong>: zu kurz und Sie verlieren schwache Details; zu lang und Sie erhalten Strichspuren durch die Erdrotation.',
45
- },
46
- {
47
- type: 'stats',
48
- columns: 2,
49
- items: [
50
- { label: 'Bortle-Skala', value: '9 Stufen', icon: 'mdi:weather-night' },
51
- { label: 'Grenzgröße', value: 'Berechenbar', icon: 'mdi:telescope' },
52
- { label: '500/NPF-Regel', value: 'Präzision', icon: 'mdi:timer-sand' },
53
- { label: 'Dawes-Kraft', value: 'Auflösung', icon: 'mdi:flare' },
54
- ],
55
- },
56
- ],
7
+ seo: [
8
+ { type: 'title', text: 'Hobbyastronomie: ein Leitfaden für jede Beobachtungsnacht', level: 2 },
9
+ {
10
+ type: 'paragraph',
11
+ html: '<p>Der Himmel verändert sich jede Nacht, und mit ihm verändert sich auch die Art, wie Sie beobachten. Diese Sammlung <strong>kostenloser Astronomie-Werkzeuge</strong> begleitet Sie von der ersten Frage bis zu den kleinen Anpassungen, die eine Beobachtungsnacht oder eine Nacht der Astrofotografie lohnender machen.</p>',
12
+ },
13
+ {
14
+ type: 'paragraph',
15
+ html: '<p>Beginnen Sie dort, wo Sie gerade stehen. Einsteiger finden klare Orientierung, erfahrene Beobachter können Vergrößerung, Auflösung und Reichweite vergleichen, und bei anspruchsvoller Ausrüstung helfen nützliche Zahlen bei der Planung und beim späteren Vergleich mit den Bedingungen vor Ort.</p>',
16
+ },
17
+ { type: 'title', text: 'Für Einsteiger: den Himmel verstehen, ohne sich zu verlieren', level: 2 },
18
+ {
19
+ type: 'paragraph',
20
+ html: '<p>Sie müssen keine Formeln auswendig lernen. Vergleichen Sie helle und dunkle Himmel mit der Bortle-Skala, sehen Sie, wie sich Vergrößerung und Gesichtsfeld mit dem Okular ändern, und schätzen Sie ein, welche Ziele zu Ihrem Teleskop passen. Auch den richtigen Zeitpunkt für einen Meteorstrom können Sie erkunden.</p>',
21
+ },
22
+ { type: 'title', text: 'Für erfahrene Beobachter: besser auswählen, was auf dem Plan steht', level: 2 },
23
+ {
24
+ type: 'paragraph',
25
+ html: '<p>Wenn Sie Ihre Ausrüstung kennen, geht es darum, wann und wie Sie ihr Ergebnis am besten anstreben. Bringen Sie Öffnung, Brennweite, Okular und Austrittspupille zusammen, vergleichen Sie Dawes und Rayleigh mit der Trennung eines Doppelsterns und wählen Sie ein Beobachtungsfenster, das zur Nacht passt.</p>',
26
+ },
27
+ {
28
+ type: 'list',
29
+ items: [
30
+ '<strong>Den Himmel lesen:</strong> Vergleichen Sie helle und dunkle Himmel vor der Wahl des Beobachtungsortes.',
31
+ '<strong>Die Ausrüstung verstehen:</strong> Nutzen Sie Öffnung, Grenzgröße, Auflösung und optische Grenzen für realistische Ziele.',
32
+ '<strong>Das Gesichtsfeld gestalten:</strong> Vergleichen Sie Vergrößerung, Austrittspupille und Gesichtsfeld vor dem Okularwechsel.',
33
+ '<strong>Den richtigen Moment wählen:</strong> Planen Sie Meteorströme und Beobachtungszeit nach den Bedingungen, die wirklich zählen.',
34
+ '<strong>Das Bild vorbereiten:</strong> Schätzen Sie eine erste Belichtungszeit und ordnen Sie die Aufnahmen für das spätere Stacking.',
35
+ ],
36
+ },
37
+ {
38
+ type: 'tip',
39
+ title: 'Das beste Instrument bleibt der Himmel über Ihnen',
40
+ html: '<p>Betrachten Sie jedes Ergebnis als Kompass, nicht als Versprechen. Atmosphäre, Fokus, Transparenz und Erfahrung verändern das, was Sie sehen. Der Vergleich mit Ihren Notizen zeigt, was zu Ihrer Ausrüstung und Ihrem Himmel passt.</p>',
41
+ },
42
+ { type: 'title', text: 'Für Profis: berechnen, vergleichen und anpassen', level: 2 },
43
+ {
44
+ type: 'paragraph',
45
+ html: '<p>Bei anspruchsvoller Ausrüstung, einer gemeinsamen Beobachtungsnacht oder einem Bild, das Sie gezielt wiederholen möchten, helfen diese Anhaltspunkte beim Abstimmen der Variablen. Nutzen Sie 500er-Regel und NPF als Ausgangspunkt, planen Sie Aufnahmen und Gesamtzeit für das Stacking und prüfen Sie danach Ecken, Histogramm und reale Bedingungen.</p>',
46
+ },
47
+ {
48
+ type: 'stats',
49
+ columns: 2,
50
+ items: [
51
+ { label: 'Bortle-Skala', value: '9 Stufen', icon: 'mdi:weather-night' },
52
+ { label: 'Grenzgröße', value: 'Berechenbar', icon: 'mdi:telescope' },
53
+ { label: '500/NPF-Referenz', value: 'Ausgangspunkt', icon: 'mdi:timer-sand' },
54
+ { label: 'Dawes-Kriterium', value: 'Auflösung', icon: 'mdi:flare' },
55
+ ],
56
+ },
57
+ ],
57
58
  };
@@ -5,43 +5,44 @@ export const content: CategoryLocaleContent = {
5
5
  title: 'Astronomy Tools',
6
6
  description: 'Free calculators and simulators for amateur astronomers. Plan your observation sessions and astrophotography.',
7
7
  seo: [
8
- { type: 'title', text: 'Amateur Astronomy: Tools to Explore the Universe', level: 2 },
8
+ { type: 'title', text: 'Amateur astronomy: a guide for every observing night', level: 2 },
9
9
  {
10
10
  type: 'paragraph',
11
- html: 'Amateur astronomy is one of the most exciting citizen sciences in the world. With the right equipment and the correct planning tools, anyone can explore galaxies millions of light-years away, contemplate nebulae where new stars are born, or study the surface of planets in our solar system. This suite of <strong>free astronomical calculators</strong> is designed to elevate your experience as an observer.',
11
+ html: '<p>The sky changes every night, and the way you observe it changes with it. This collection of <strong>free astronomy tools</strong> helps you move from the first question, what can I see from here, to the small adjustments that make an observing session or an astrophotography night more rewarding. Use it to understand your choices, not to take the mystery out of the sky.</p>',
12
12
  },
13
13
  {
14
14
  type: 'paragraph',
15
- html: 'From evaluating sky quality with the Bortle scale to calculating the optical resolution of your telescope, each tool explains the formula it uses so that you can plan an observation session with realistic expectations.',
15
+ html: '<p>Start wherever you are. Beginners get clear references for finding their way around the sky. Experienced observers can compare magnification, resolution and reach. Anyone preparing images or working with a demanding setup gets useful numbers for planning a session and then comparing the plan with what happened in the field.</p>',
16
16
  },
17
- { type: 'title', text: 'Light Pollution: The Astronomer\'s Number One Enemy', level: 2 },
17
+ { type: 'title', text: 'For beginners: understand the sky without getting lost', level: 2 },
18
18
  {
19
19
  type: 'paragraph',
20
- html: 'We live in an increasingly illuminated world. <strong>Light pollution</strong> grows at a rate of 10% per year and erases the night sky for more than 80% of the world\'s population. The Bortle scale, with its 9 levels, is the international standard for quantifying this loss. Our dark sky simulator lets you interactively visualize how artificial light transforms the firmament, from the absolute black of a remote desert to the oppressive orange of a metropolis.',
20
+ html: '<p>You do not need to memorise formulas to enjoy your first night. Compare dark and bright skies with the Bortle scale, see how an eyepiece changes magnification and field of view, and estimate which targets are a sensible match for your telescope. You can also check when a meteor shower is worth watching, so your first plan starts with a reason to look up.</p>',
21
21
  },
22
- { type: 'title', text: 'Your Telescope: Understanding its Real Capabilities', level: 2 },
22
+ { type: 'title', text: 'For experienced observers: choose what to observe', level: 2 },
23
23
  {
24
24
  type: 'paragraph',
25
- html: 'The market is full of telescopes that promise to "see Saturn with its rings" with any aperture. The reality is that the <strong>objective aperture</strong> is the most critical parameter. It determines how much light it collects (limiting magnitude) and how much detail it can resolve (resolving power). The reach and resolution calculators in this section give you concrete numbers: which object catalogs are within your reach and how much detail you can expect on planetary surfaces.',
25
+ html: '<p>Once you know your equipment, the useful question is not only what it can do, but when and how to ask it for that result. Relate aperture, focal length, eyepiece and exit pupil. Put Dawes and Rayleigh limits beside the separation of a double star. Use limiting magnitude as a reference for reachable targets and choose an observing window that fits the night. The goal is a session with a clear purpose, not a longer checklist.</p>',
26
26
  },
27
27
  {
28
28
  type: 'list',
29
29
  items: [
30
- '<strong>Bortle Scale:</strong> Evaluate your sky quality before traveling to an observation site.',
31
- '<strong>Telescope Reach:</strong> Calculate the limiting magnitude of your equipment based on aperture and sky conditions.',
32
- '<strong>500 Rule / NPF:</strong> Determine maximum exposure time for astrophotography without star trails.',
33
- '<strong>Optical Resolution:</strong> Know the Dawes and Rayleigh limit of your telescope.',
30
+ '<strong>Read the sky:</strong> Compare dark and bright skies to understand what the Bortle scale changes before choosing a site.',
31
+ '<strong>Know your equipment:</strong> Use aperture, limiting magnitude, resolution and optical limits to set realistic targets.',
32
+ '<strong>Shape the view:</strong> Compare magnification, exit pupil and field of view before switching eyepieces.',
33
+ '<strong>Choose the moment:</strong> Plan meteor shower windows and observing time around the conditions that matter.',
34
+ '<strong>Prepare the image:</strong> Estimate a starting exposure and organise stacked frames when photographing from a fixed setup.',
34
35
  ],
35
36
  },
36
37
  {
37
38
  type: 'tip',
38
- title: 'The First Step: Know Your Sky',
39
- html: 'Before investing in a larger telescope, consider traveling to a darker sky. A 150mm telescope under a Bortle 3 sky far outperforms a 300mm instrument under a Bortle 7. Sky darkness multiplies the performance of any equipment.',
39
+ title: 'The best instrument is still the sky above you',
40
+ html: '<p>Use every result as a compass, not a promise. Atmosphere, focus, transparency and experience change what you will see. Comparing a prediction with your field notes is one of the best ways to learn what works for your equipment and your sky.</p>',
40
41
  },
41
- { type: 'title', text: 'Deep Sky Astrophotography: Capture the Cosmos', level: 2 },
42
+ { type: 'title', text: 'For professionals: calculate, compare and adjust', level: 2 },
42
43
  {
43
44
  type: 'paragraph',
44
- html: 'Astrophotography has democratized access to the universe. With a standard DSLR camera and a wide-angle lens, you can capture the Milky Way in its splendor. With a telescope and an equatorial tracker, you can photograph nebulae and galaxies that surpass what the best observatories could see just decades ago. The key is in the <strong>exposure time</strong>: too short and you lose faint details; too long and you get star trails from Earth\'s rotation.',
45
+ html: '<p>When you work with an advanced setup, prepare an outing for several people or want to repeat an image with intent, these references help you coordinate the variables. Use the 500 rule and NPF as a starting point for exposure, plan the number of frames and total time for stacking, and compare reach, resolution and eyepiece choices before you commit to a target. Then check the corners, histogram and real conditions before refining the next attempt.</p>',
45
46
  },
46
47
  {
47
48
  type: 'stats',
@@ -5,44 +5,44 @@ export const content: CategoryLocaleContent = {
5
5
  title: 'Herramientas de Astronomía',
6
6
  description: 'Calculadoras y simuladores gratuitos para astrónomos aficionados. Planifica tus sesiones de observación y astrofotografía.',
7
7
  seo: [
8
- { type: 'title', text: 'Astronomía amateur: prepara la noche antes de salir', level: 2 },
8
+ { type: 'title', text: 'Astronomía amateur: una guía para cada noche de observación', level: 2 },
9
9
  {
10
10
  type: 'paragraph',
11
- html: 'La astronomía amateur no empieza cuando pegas el ojo al ocular. Empieza al mirar el cielo que tendrás, elegir qué quieres observar y comprobar qué puede hacer tu equipo. Estas <strong>herramientas astronómicas gratuitas</strong> convierten esa preparación en decisiones concretas: cuánto ampliar, qué detalle esperar y cuánto tiempo puedes exponer sin dibujar trazas con las estrellas.',
11
+ html: '<p>El cielo cambia cada noche, y tu forma de observar también. Esta colección de <strong>herramientas astronómicas gratuitas</strong> te acompaña desde la primera pregunta, qué puedo ver desde aquí, hasta los pequeños ajustes que hacen más interesante una sesión de observación o una noche de astrofotografía. Úsala para entender tus decisiones, no para quitarle misterio al cielo.</p>',
12
12
  },
13
13
  {
14
14
  type: 'paragraph',
15
- html: 'No prometen un cielo perfecto ni sustituyen la experiencia. Te ayudan a llegar con menos dudas, aprovechar mejor una ventana de observación y entender por qué una noche funciona, o por qué conviene dejar el telescopio en casa y esperar a otra.',
15
+ html: '<p>Puedes entrar por donde estés. Si estás empezando, encontrarás referencias sencillas para orientarte. Si ya tienes horas de ocular, podrás contrastar aumentos, resolución y alcance. Y si preparas imágenes o trabajas con un equipo más exigente, tendrás números con los que organizar la sesión y después comparar el plan con lo que ocurrió de verdad en el campo.</p>',
16
16
  },
17
- { type: 'title', text: 'Primero, averigua qué cielo tienes', level: 2 },
17
+ { type: 'title', text: 'Para el que empieza: entender el cielo sin perderse', level: 2 },
18
18
  {
19
19
  type: 'paragraph',
20
- html: 'La <strong>escala de Bortle</strong> pone nombre a algo que cualquier observador reconoce: la diferencia entre un cielo lavado por las farolas y uno donde la Vía Láctea vuelve a aparecer. El simulador de cielo oscuro recorre sus nueve niveles para que compares escenarios y sepas si la siguiente mejora está en el telescopio o en encontrar un lugar más oscuro.',
20
+ html: '<p>No necesitas memorizar fórmulas para disfrutar de tu primera noche. Compara cielos oscuros y brillantes con la escala de Bortle, descubre cómo cambian el aumento y el campo al elegir ocular, y estima qué objetivos encajan con tu telescopio. También puedes comprobar cuándo merece la pena salir a ver una lluvia de meteoros, para que tu primer plan empiece con una buena razón para mirar arriba.</p>',
21
21
  },
22
- { type: 'title', text: 'Después, mide lo que puede darte el equipo', level: 2 },
22
+ { type: 'title', text: 'Para el que sabe: elegir mejor qué observar', level: 2 },
23
23
  {
24
24
  type: 'paragraph',
25
- html: 'La apertura importa, pero no trabaja sola. La <strong>magnitud límite</strong> estima hasta dónde puede llegar tu telescopio; la resolución de Dawes y Rayleigh ayuda a entender cuándo dos estrellas están demasiado juntas para separarlas. El resultado nunca vence a la atmósfera, al enfoque ni a la turbulencia: sirve para poner expectativas realistas y observar con más criterio.',
25
+ html: '<p>Cuando ya conoces tu equipo, la pregunta deja de ser solo qué puede hacer y pasa a ser cuándo y cómo conviene pedirle ese resultado. Relaciona apertura, focal, ocular y pupila de salida. Pon los límites de Dawes y Rayleigh junto a la separación de una estrella doble. Usa la magnitud límite como referencia para elegir objetivos y busca una ventana de observación que encaje con la noche. La meta es salir con un propósito claro, no con una lista más larga.</p>',
26
26
  },
27
27
  {
28
28
  type: 'list',
29
29
  items: [
30
- '<strong>Cielo oscuro:</strong> Recorre la escala de Bortle y descubre cuánto cambia una misma noche con menos contaminación lumínica.',
31
- '<strong>Magnitud límite:</strong> Calcula una referencia del alcance visual de tu telescopio a partir de su apertura.',
32
- '<strong>Resolución:</strong> Usa Dawes y Rayleigh para saber cuándo un sistema doble puede empezar a separarse.',
33
- '<strong>Oculares:</strong> Relaciona aumento, pupila de salida y campo real antes de cambiar de ocular.',
34
- '<strong>Astrofotografía:</strong> Ajusta la exposición, la regla de los 500 o NPF y el apilado para mantener estrellas puntuales.',
30
+ '<strong>Lee el cielo:</strong> Compara cielos oscuros y brillantes para entender qué cambia con la escala de Bortle antes de elegir dónde observar.',
31
+ '<strong>Conoce tu equipo:</strong> Usa apertura, magnitud límite, resolución y límites ópticos para fijar objetivos razonables.',
32
+ '<strong>Construye el encuadre:</strong> Compara aumento, pupila de salida y campo visual antes de cambiar de ocular.',
33
+ '<strong>Elige el momento:</strong> Planifica ventanas de lluvias de meteoros y tiempos de observación según las condiciones que importan.',
34
+ '<strong>Prepara la imagen:</strong> Estima una exposición inicial y organiza las tomas que vas a apilar cuando fotografíes con el equipo fijo.',
35
35
  ],
36
36
  },
37
37
  {
38
38
  type: 'tip',
39
- title: 'La mejora que no se compra con más apertura',
40
- html: 'Antes de cambiar de telescopio, prueba el mismo objeto bajo un cielo más oscuro. Pasar de un entorno Bortle 7 a uno Bortle 3 puede revelar contraste, estrellas y estructuras que no faltaban en tu equipo: faltaba oscuridad.',
39
+ title: 'La mejor herramienta sigue siendo mirar el cielo',
40
+ html: '<p>Usa cada resultado como una brújula, no como una promesa. La atmósfera, el enfoque, la transparencia y la experiencia cambian lo que verás. Comparar una predicción con tus notas de campo es una de las mejores formas de aprender qué funciona en tu equipo y en tu cielo.</p>',
41
41
  },
42
- { type: 'title', text: 'Si haces fotos, calcula antes de disparar', level: 2 },
42
+ { type: 'title', text: 'Para el profesional: calcular, contrastar y ajustar', level: 2 },
43
43
  {
44
44
  type: 'paragraph',
45
- html: 'En una toma fija, la rotación terrestre termina convirtiendo las estrellas en trazas. La regla de los 500 y la NPF ofrecen un tiempo de exposición inicial según la focal y la cámara; el apilado suma señal sin pedirle todo a una sola imagen. Son referencias, no leyes: revisa las esquinas, mira el histograma y ajusta en el campo.',
45
+ html: '<p>Si trabajas con un equipo avanzado, preparas una salida para varias personas o quieres repetir una toma con intención, estas referencias te ayudan a coordinar variables. Usa la regla de los 500 y la NPF como punto de partida para la exposición, reparte número de tomas y tiempo total para apilar, y compara alcance, resolución y oculares antes de fijar el objetivo. Después toca revisar esquinas, histograma y condiciones reales para afinar el siguiente intento.</p>',
46
46
  },
47
47
  {
48
48
  type: 'stats',
@@ -1,58 +1,58 @@
1
- import type { CategoryLocaleContent } from '../../types';
2
-
3
- export const content: CategoryLocaleContent = {
4
- slug: 'astronomie',
5
- title: 'Outils d\'Astronomie',
6
- description: 'Calculatrices et simulateurs gratuits pour les astronomes amateurs. Planifiez vos sessions d\'observation et d\'astrophotographie.',
7
- seo: [
8
- { type: 'title', text: 'Astronomie Amateur: Outils pour Explorer l\'Univers', level: 2 },
9
- {
10
- type: 'paragraph',
11
- html: 'L\'astronomie amateur est l\'une des sciences citoyennes les plus passionnantes au monde. Avec le bon équipement et les bons outils de planification, n\'importe qui peut explorer des galaxies à des millions d\'années-lumière, contempler des nébuleuses naissent de nouvelles étoiles ou étudier la surface des planètes de notre système solaire. Cette suite de <strong>calculatrices astronomiques gratuites</strong> est conçue pour élever votre expérience en tant qu\'observateur.',
12
- },
13
- {
14
- type: 'paragraph',
15
- html: 'De l\'évaluation de la qualité de votre ciel avec l\'échelle de Bortle au calcul précis de la résolution optique de votre télescope, chaque outil explique la formule utilisée pour vous aider à préparer une session d\'observation avec des attentes réalistes.',
16
- },
17
- { type: 'title', text: 'La Pollution Lumineuse: L\'Ennemi Numéro Un de l\'Astronome', level: 2 },
18
- {
19
- type: 'paragraph',
20
- html: 'Nous vivons dans un monde de plus en plus éclairé. La <strong>pollution lumineuse</strong> croît à un rythme de 10% par an et efface le ciel nocturne pour plus de 80% de la population mondiale. L\'échelle de Bortle, avec ses 9 niveaux, est le standard international pour quantifier cette perte. Notre simulateur de ciel sombre vous permet de visualiser interactivement comment la lumière artificielle transforme le firmament, du noir absolu d\'un désert isolé à l\'orange oppressant d\'une métropole.',
21
- },
22
- { type: 'title', text: 'Votre Télescope: Comprendre ses Capacités Réelles', level: 2 },
23
- {
24
- type: 'paragraph',
25
- html: 'Le marché est plein de télescopes qui promettent de "voir Saturne avec ses anneaux" avec n\'importe quelle ouverture. La réalité est que <strong>l\'ouverture de l\'objectif</strong> est le paramètre le plus critique. Elle détermine la quantité de lumière collectée (magnitude limite) et la quantité de détails qu\'elle peut résoudre. Les calculatrices de portée et de résolution de cette section vous donnent des chiffres concrets.',
26
- },
27
- {
28
- type: 'list',
29
- items: [
30
- '<strong>Échelle de Bortle:</strong> Évaluez la qualité de votre ciel avant de vous déplacer sur un site d\'observation.',
31
- '<strong>Portée du Télescope:</strong> Calculez la magnitude limite de votre équipement en fonction de l\'ouverture et du ciel.',
32
- '<strong>Règle des 500 / NPF:</strong> Déterminez le temps d\'exposition maximum pour l\'astrophotographie sans traînées d\'étoiles.',
33
- '<strong>Résolution Optique:</strong> Connaissez la limite de Dawes et de Rayleigh de votre télescope.',
34
- ],
35
- },
36
- {
37
- type: 'tip',
38
- title: 'La Première Étape: Connaître votre Ciel',
39
- html: 'Avant d\'investir dans un télescope plus grand, envisagez de vous déplacer sous un ciel plus sombre. Un télescope de 150mm sous un ciel Bortle 3 surpasse largement un instrument de 300mm sous un Bortle 7. L\'obscurité du ciel multiplie les performances de tout équipement.',
40
- },
41
- { type: 'title', text: 'Astrophotographie du Ciel Profond: Capturez le Cosmos', level: 2 },
42
- {
43
- type: 'paragraph',
44
- html: 'L\'astrophotographie a démocratisé l\'accès à l\'univers. Avec un appareil photo DSLR standard et un objectif grand-angle, vous pouvez capturer la Voie Lactée dans toute sa splendeur. Avec un télescope et un suiveur équatorial, vous pouvez photographier des nébuleuses et des galaxies dépassant ce que les meilleurs observatoires pouvaient voir il y a quelques décennies. La clé est dans le <strong>temps d\'exposition</strong>: trop court et vous perdez des détails faibles; trop long et vous obtenez des traînées d\'étoiles.',
45
- },
46
- {
47
- type: 'stats',
48
- columns: 2,
49
- items: [
50
- { label: 'Échelle Bortle', value: '9 Niveaux', icon: 'mdi:weather-night' },
51
- { label: 'Magnitude Limite', value: 'Calculable', icon: 'mdi:telescope' },
52
- { label: 'Règle 500/NPF', value: 'Précision', icon: 'mdi:timer-sand' },
53
- { label: 'Pouvoir Dawes', value: 'Résolution', icon: 'mdi:flare' },
54
- ],
55
- },
56
- ],
57
- };
58
-
1
+ import type { CategoryLocaleContent } from '../../types';
2
+
3
+ export const content: CategoryLocaleContent = {
4
+ slug: 'astronomie',
5
+ title: 'Outils d\'Astronomie',
6
+ description: 'Calculatrices et simulateurs gratuits pour les astronomes amateurs. Planifiez vos sessions d\'observation et d\'astrophotographie.',
7
+ seo: [
8
+ { type: 'title', text: 'Astronomie amateur: un guide pour chaque nuit d\'observation', level: 2 },
9
+ {
10
+ type: 'paragraph',
11
+ html: '<p>Le ciel change chaque nuit, et votre façon de l\'observer change avec lui. Cette collection d\'<strong>outils astronomiques gratuits</strong> vous accompagne de la première question aux petits réglages qui rendent une session d\'observation ou une nuit d\'astrophotographie plus intéressante.</p>',
12
+ },
13
+ {
14
+ type: 'paragraph',
15
+ html: '<p>Commencez vous en êtes. Les débutants trouvent des repères simples, les observateurs expérimentés peuvent comparer grossissement, résolution et portée, et les équipements exigeants disposent de chiffres utiles pour préparer la session puis la comparer aux conditions du terrain.</p>',
16
+ },
17
+ { type: 'title', text: 'Pour débuter: comprendre le ciel sans se perdre', level: 2 },
18
+ {
19
+ type: 'paragraph',
20
+ html: '<p>Vous n\'avez pas besoin de mémoriser des formules. Comparez les ciels clairs et sombres avec l\'échelle de Bortle, voyez comment le grossissement et le champ changent avec l\'oculaire, puis estimez quels objets correspondent à votre télescope. Vous pouvez aussi choisir le bon moment pour une pluie de météores.</p>',
21
+ },
22
+ { type: 'title', text: 'Pour l\'observateur expérimenté: choisir quoi observer', level: 2 },
23
+ {
24
+ type: 'paragraph',
25
+ html: '<p>Quand vous connaissez votre matériel, la question devient celle du bon moment et de la bonne méthode. Mettez en relation ouverture, focale, oculaire et pupille de sortie, comparez Dawes et Rayleigh avec la séparation d\'une étoile double, puis choisissez une fenêtre adaptée à la nuit.</p>',
26
+ },
27
+ {
28
+ type: 'list',
29
+ items: [
30
+ '<strong>Lire le ciel :</strong> Comparez ciels clairs et sombres avant de choisir un lieu d\'observation.',
31
+ '<strong>Connaître son matériel :</strong> Utilisez ouverture, magnitude limite, résolution et limites optiques pour fixer des objectifs réalistes.',
32
+ '<strong>Composer le champ :</strong> Comparez grossissement, pupille de sortie et champ visuel avant de changer d\'oculaire.',
33
+ '<strong>Choisir le moment :</strong> Planifiez les pluies de météores et le temps d\'observation selon les conditions qui comptent.',
34
+ '<strong>Préparer l\'image :</strong> Estimez une première exposition et organisez les prises destinées à l\'empilement.',
35
+ ],
36
+ },
37
+ {
38
+ type: 'tip',
39
+ title: 'Le meilleur instrument reste le ciel dans le ciel',
40
+ html: '<p>Considérez chaque résultat comme une boussole, pas comme une promesse. Atmosphère, mise au point, transparence et expérience changent ce que vous verrez. Vos notes de terrain vous diront ce qui convient à votre matériel.</p>',
41
+ },
42
+ { type: 'title', text: 'Pour les professionnels: calculer, comparer et ajuster', level: 2 },
43
+ {
44
+ type: 'paragraph',
45
+ html: '<p>Avec un équipement avancé, une sortie à préparer pour plusieurs personnes ou une image à reproduire, ces repères aident à coordonner les variables. Utilisez 500 et NPF comme point de départ, répartissez les prises et le temps d\'empilement, puis vérifiez les coins, l\'histogramme et les conditions réelles.</p>',
46
+ },
47
+ {
48
+ type: 'stats',
49
+ columns: 2,
50
+ items: [
51
+ { label: 'Échelle de Bortle', value: '9 niveaux', icon: 'mdi:weather-night' },
52
+ { label: 'Magnitude limite', value: 'Calculable', icon: 'mdi:telescope' },
53
+ { label: 'Repère 500/NPF', value: 'Point de départ', icon: 'mdi:timer-sand' },
54
+ { label: 'Critère de Dawes', value: 'Résolution', icon: 'mdi:flare' },
55
+ ],
56
+ },
57
+ ],
58
+ };
@@ -5,52 +5,53 @@ export const content: CategoryLocaleContent = {
5
5
  title: 'Alat Astronomi',
6
6
  description: 'Kalkulator dan simulator gratis untuk astronom amatir. Rencanakan sesi observasi dan astrofotografi Anda.',
7
7
  seo: [
8
- { type: 'title', text: 'Astronomi Amatir: Alat untuk Menjelajahi Alam Semesta', level: 2 },
8
+ { type: 'title', text: 'Astronomi amatir: panduan untuk setiap malam pengamatan', level: 2 },
9
9
  {
10
10
  type: 'paragraph',
11
- html: 'Astronomi amatir adalah salah satu sains warga yang paling menarik di dunia. Dengan peralatan yang tepat dan alat perencanaan yang benar, siapa pun dapat menjelajahi galaksi yang jaraknya jutaan tahun cahaya, memandangi nebula tempat bintang-bintang baru lahir, atau mempelajari permukaan planet di tata surya kita. Rangkaian <strong>kalkulator astronomi gratis</strong> ini dirancang untuk meningkatkan pengalaman Anda sebagai pengamat.',
11
+ html: '<p>Langit berubah setiap malam, begitu juga cara Anda mengamatinya. Kumpulan <strong>alat astronomi gratis</strong> ini menemani Anda dari pertanyaan pertama hingga penyesuaian kecil yang membuat sesi pengamatan atau malam astrofotografi lebih menarik.</p>',
12
12
  },
13
13
  {
14
14
  type: 'paragraph',
15
- html: 'Dari mengevaluasi kualitas langit dengan skala Bortle hingga menghitung resolusi optik teleskop Anda secara tepat, setiap alat menerapkan formula yang divalidasi oleh komunitas astronomi internasional sehingga setiap malam yang Anda habiskan di bawah bintang-bintang menjadi produktif dan berkesan.',
15
+ html: '<p>Mulailah dari tahap Anda sekarang. Pemula mendapat panduan yang jelas, pengamat berpengalaman dapat membandingkan pembesaran, resolusi, dan jangkauan, sementara peralatan yang lebih menuntut mendapat angka untuk merencanakan sesi dan membandingkannya dengan kondisi lapangan.</p>',
16
16
  },
17
- { type: 'title', text: 'Polusi Cahaya: Musuh Nomor Satu Astronom', level: 2 },
17
+ { type: 'title', text: 'Untuk pemula: memahami langit tanpa tersesat', level: 2 },
18
18
  {
19
19
  type: 'paragraph',
20
- html: 'Kita hidup di dunia yang semakin terang. <strong>Polusi cahaya</strong> tumbuh sebesar 10% per tahun dan menghapus langit malam bagi lebih dari 80% populasi dunia. Skala Bortle, dengan 9 tingkatannya, adalah standar internasional untuk mengukur kehilangan ini. Simulator langit gelap kami memungkinkan Anda memvisualisasikan secara interaktif bagaimana cahaya buatan mengubah cakrawala, dari hitam pekat gurun terpencil hingga warna oranye kota metropolitan yang menyesakkan.',
20
+ html: '<p>Anda tidak perlu menghafal rumus. Bandingkan langit terang dan gelap dengan skala Bortle, lihat perubahan pembesaran dan bidang pandang saat memilih eyepiece, lalu perkirakan sasaran yang sesuai dengan teleskop Anda. Anda juga dapat memilih waktu yang baik untuk mengamati hujan meteor.</p>',
21
21
  },
22
- { type: 'title', text: 'Teleskop Anda: Memahami Kemampuan Sebenarnya', level: 2 },
22
+ { type: 'title', text: 'Untuk pengamat berpengalaman: memilih apa yang akan diamati', level: 2 },
23
23
  {
24
24
  type: 'paragraph',
25
- html: 'Pasar penuh dengan teleskop yang menjanjikan bisa "melihat Saturnus dengan cincinnya" dengan bukaan apa pun. Kenyataannya adalah <strong>bukaan objektif</strong> adalah parameter yang paling kritis. Bukaan ini menentukan seberapa banyak cahaya yang dikumpulkan (magnitudo batas) dan seberapa banyak detail yang dapat dipisahkan (daya urai). Kalkulator jangkauan dan resolusi di bagian ini memberi Anda angka konkret: katalog objek mana yang berada dalam jangkauan Anda dan seberapa banyak detail yang dapat Anda harapkan pada permukaan planet.',
25
+ html: '<p>Saat Anda mengenal peralatan sendiri, pertanyaannya adalah kapan dan bagaimana mendapatkan hasil terbaik. Hubungkan bukaan, panjang fokus, eyepiece, dan pupil keluar, bandingkan batas Dawes dan Rayleigh dengan jarak bintang ganda, lalu pilih waktu pengamatan yang sesuai.</p>',
26
26
  },
27
27
  {
28
28
  type: 'list',
29
29
  items: [
30
- '<strong>Skala Bortle:</strong> Evaluasi kualitas langit Anda sebelum pergi ke lokasi observasi.',
31
- '<strong>Jangkauan Teleskop:</strong> Hitung magnitudo batas peralatan Anda berdasarkan bukaan dan kondisi langit.',
32
- '<strong>Aturan 500 / NPF:</strong> Tentukan waktu eksposur maksimal untuk astrofotografi tanpa jejak bintang.',
33
- '<strong>Resolusi Optik:</strong> Ketahui batas Dawes dan Rayleigh teleskop Anda.',
30
+ '<strong>Membaca langit:</strong> Bandingkan langit terang dan gelap sebelum memilih lokasi pengamatan.',
31
+ '<strong>Mengenal peralatan:</strong> Gunakan bukaan, magnitudo batas, resolusi, dan batas optik untuk sasaran yang masuk akal.',
32
+ '<strong>Menyusun bidang pandang:</strong> Bandingkan pembesaran, pupil keluar, dan bidang pandang sebelum mengganti eyepiece.',
33
+ '<strong>Memilih waktu:</strong> Rencanakan hujan meteor dan durasi pengamatan sesuai kondisi yang penting.',
34
+ '<strong>Menyiapkan gambar:</strong> Perkirakan eksposur awal dan atur frame yang akan ditumpuk.',
34
35
  ],
35
36
  },
36
37
  {
37
38
  type: 'tip',
38
- title: 'Langkah Pertama: Kenali Langit Anda',
39
- html: 'Sebelum berinvestasi pada teleskop yang lebih besar, pertimbangkan untuk pergi ke langit yang lebih gelap. Teleskop 150mm di bawah langit Bortle 3 jauh mengungguli instrumen 300mm di bawah Bortle 7. Kegelapan langit melipatgandakan performa peralatan apa pun.',
39
+ title: 'Instrumen terbaik tetap langit di atas Anda',
40
+ html: '<p>Anggap setiap hasil sebagai kompas, bukan janji. Atmosfer, fokus, kejernihan, dan pengalaman mengubah apa yang terlihat. Catatan lapangan membantu menemukan cara yang cocok untuk peralatan dan langit Anda.</p>',
40
41
  },
41
- { type: 'title', text: 'Astrofotografi Deep Sky: Menangkap Kosmos', level: 2 },
42
+ { type: 'title', text: 'Untuk profesional: hitung, bandingkan, dan sesuaikan', level: 2 },
42
43
  {
43
44
  type: 'paragraph',
44
- html: 'Astrofotografi telah mendemokratisasi akses ke alam semesta. Dengan kamera DSLR standar dan lensa sudut lebar, Anda dapat menangkap Bimasakti dalam segala kemegahannya. Dengan teleskop dan tracker khatulistiwa, Anda dapat memotret nebula dan galaksi yang melampaui apa yang bisa dilihat oleh observatorium terbaik beberapa dekade lalu. Kuncinya ada pada <strong>waktu eksposur</strong>: terlalu pendek dan Anda kehilangan detail redup; terlalu lama dan Anda mendapatkan jejak bintang karena rotasi Bumi.',
45
+ html: '<p>Untuk peralatan canggih, kegiatan bersama, atau gambar yang ingin diulang dengan tujuan jelas, acuan ini membantu menyelaraskan variabel. Gunakan aturan 500 dan NPF sebagai awal, rencanakan frame dan waktu stacking, lalu periksa sudut gambar, histogram, dan kondisi nyata.</p>',
45
46
  },
46
47
  {
47
48
  type: 'stats',
48
49
  columns: 2,
49
50
  items: [
50
- { label: 'Skala Bortle', value: '9 Tingkat', icon: 'mdi:weather-night' },
51
- { label: 'Magnitudo Batas', value: 'Dapat Dihitung', icon: 'mdi:telescope' },
52
- { label: 'Aturan 500/NPF', value: 'Presisi', icon: 'mdi:timer-sand' },
53
- { label: 'Daya Dawes', value: 'Resolusi', icon: 'mdi:flare' },
51
+ { label: 'Skala Bortle', value: '9 tingkat', icon: 'mdi:weather-night' },
52
+ { label: 'Magnitudo batas', value: 'Dapat dihitung', icon: 'mdi:telescope' },
53
+ { label: 'Acuan 500/NPF', value: 'Titik awal', icon: 'mdi:timer-sand' },
54
+ { label: 'Kriteria Dawes', value: 'Resolusi', icon: 'mdi:flare' },
54
55
  ],
55
56
  },
56
57
  ],