@jjlmoya/utils-science 1.50.0 → 1.52.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 +2 -2
- package/src/category/i18n/es.ts +3 -4
- package/src/category/i18n/fr.ts +2 -2
- package/src/category/i18n/it.ts +2 -2
- package/src/category/i18n/pt.ts +2 -2
- package/src/category/index.ts +25 -25
- package/src/components/PreviewNavSidebar.astro +1 -1
- package/src/components/PreviewToolbar.astro +1 -1
- package/src/data.ts +1 -1
- package/src/env.d.ts +1 -1
- package/src/layouts/PreviewLayout.astro +1 -1
- package/src/pages/index.astro +1 -1
- package/src/tests/bibliography_wellformed_export.test.ts +46 -0
- package/src/tests/category_seo_quality.test.ts +76 -0
- package/src/tests/faq_count.test.ts +19 -19
- package/src/tests/i18n_coverage.test.ts +36 -36
- package/src/tests/mocks/astro_mock.js +1 -1
- package/src/tests/no_h1_in_components.test.ts +1 -1
- package/src/tests/script_density.test.ts +94 -94
- package/src/tests/seo_length.test.ts +24 -24
- package/src/tests/seo_parity.test.ts +5 -5
- package/src/tests/seo_translation_completeness.test.ts +76 -0
- package/src/tests/seo_wellformed_export.test.ts +65 -0
- package/src/tests/spanish_leakage.test.ts +175 -153
- package/src/tool/asteroid-impact/component.astro +251 -251
- package/src/tool/asteroid-impact/helpers.ts +17 -17
- package/src/tool/asteroid-impact/i18n/de.ts +2 -2
- package/src/tool/asteroid-impact/i18n/en.ts +2 -2
- package/src/tool/asteroid-impact/i18n/es.ts +2 -2
- package/src/tool/asteroid-impact/i18n/fr.ts +2 -2
- package/src/tool/asteroid-impact/i18n/id.ts +2 -2
- package/src/tool/asteroid-impact/i18n/it.ts +2 -2
- package/src/tool/asteroid-impact/i18n/ja.ts +2 -2
- package/src/tool/asteroid-impact/i18n/ko.ts +2 -2
- package/src/tool/asteroid-impact/i18n/nl.ts +2 -2
- package/src/tool/asteroid-impact/i18n/pl.ts +2 -2
- package/src/tool/asteroid-impact/i18n/pt.ts +2 -2
- package/src/tool/asteroid-impact/i18n/ru.ts +2 -2
- package/src/tool/asteroid-impact/i18n/sv.ts +2 -2
- package/src/tool/asteroid-impact/i18n/tr.ts +2 -2
- package/src/tool/asteroid-impact/i18n/zh.ts +2 -2
- package/src/tool/asteroid-impact/script.ts +262 -262
- package/src/tool/asteroid-impact/seo.astro +15 -15
- package/src/tool/asteroid-impact/ui.ts +69 -69
- package/src/tool/black-hole-event-horizon-simulator/i18n/de.ts +249 -241
- package/src/tool/black-hole-event-horizon-simulator/i18n/fr.ts +252 -247
- package/src/tool/black-hole-event-horizon-simulator/i18n/id.ts +259 -259
- package/src/tool/black-hole-event-horizon-simulator/i18n/it.ts +255 -252
- package/src/tool/black-hole-event-horizon-simulator/i18n/ja.ts +254 -252
- package/src/tool/black-hole-event-horizon-simulator/i18n/ko.ts +258 -258
- package/src/tool/black-hole-event-horizon-simulator/i18n/nl.ts +256 -252
- package/src/tool/black-hole-event-horizon-simulator/i18n/pl.ts +258 -258
- package/src/tool/black-hole-event-horizon-simulator/i18n/pt.ts +256 -252
- package/src/tool/black-hole-event-horizon-simulator/i18n/ru.ts +258 -258
- package/src/tool/black-hole-event-horizon-simulator/i18n/sv.ts +257 -252
- package/src/tool/black-hole-event-horizon-simulator/i18n/tr.ts +256 -251
- package/src/tool/black-hole-event-horizon-simulator/i18n/zh.ts +261 -252
- package/src/tool/cellular-renewal/component.astro +126 -126
- package/src/tool/cellular-renewal/i18n/de.ts +1 -1
- package/src/tool/cellular-renewal/i18n/en.ts +1 -1
- package/src/tool/cellular-renewal/i18n/es.ts +1 -1
- package/src/tool/cellular-renewal/i18n/fr.ts +1 -1
- package/src/tool/cellular-renewal/i18n/id.ts +1 -1
- package/src/tool/cellular-renewal/i18n/it.ts +1 -1
- package/src/tool/cellular-renewal/i18n/ja.ts +1 -1
- package/src/tool/cellular-renewal/i18n/ko.ts +1 -1
- package/src/tool/cellular-renewal/i18n/nl.ts +1 -1
- package/src/tool/cellular-renewal/i18n/pl.ts +1 -1
- package/src/tool/cellular-renewal/i18n/pt.ts +1 -1
- package/src/tool/cellular-renewal/i18n/ru.ts +1 -1
- package/src/tool/cellular-renewal/i18n/sv.ts +1 -1
- package/src/tool/cellular-renewal/i18n/tr.ts +1 -1
- package/src/tool/cellular-renewal/i18n/zh.ts +1 -1
- package/src/tool/cellular-renewal/seo.astro +15 -15
- package/src/tool/colony-counter/i18n/de.ts +1 -1
- package/src/tool/colony-counter/i18n/en.ts +1 -1
- package/src/tool/colony-counter/i18n/es.ts +1 -1
- package/src/tool/colony-counter/i18n/fr.ts +1 -1
- package/src/tool/colony-counter/i18n/id.ts +1 -1
- package/src/tool/colony-counter/i18n/it.ts +1 -1
- package/src/tool/colony-counter/i18n/ja.ts +1 -1
- package/src/tool/colony-counter/i18n/ko.ts +1 -1
- package/src/tool/colony-counter/i18n/nl.ts +1 -1
- package/src/tool/colony-counter/i18n/pl.ts +1 -1
- package/src/tool/colony-counter/i18n/pt.ts +1 -1
- package/src/tool/colony-counter/i18n/ru.ts +1 -1
- package/src/tool/colony-counter/i18n/sv.ts +1 -1
- package/src/tool/colony-counter/i18n/tr.ts +1 -1
- package/src/tool/colony-counter/i18n/zh.ts +1 -1
- package/src/tool/colony-counter/seo.astro +15 -15
- package/src/tool/conway-life-rule-lab/component.astro +1 -1
- package/src/tool/conway-life-rule-lab/i18n/de.ts +145 -141
- package/src/tool/conway-life-rule-lab/i18n/es.ts +146 -142
- package/src/tool/conway-life-rule-lab/i18n/fr.ts +146 -142
- package/src/tool/conway-life-rule-lab/i18n/id.ts +146 -145
- package/src/tool/conway-life-rule-lab/i18n/it.ts +146 -145
- package/src/tool/conway-life-rule-lab/i18n/ja.ts +146 -145
- package/src/tool/conway-life-rule-lab/i18n/ko.ts +146 -145
- package/src/tool/conway-life-rule-lab/i18n/nl.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/pl.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/pt.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/ru.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/sv.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/tr.ts +147 -145
- package/src/tool/conway-life-rule-lab/i18n/zh.ts +147 -145
- package/src/tool/conway-life-rule-lab/logic/LifeLabRuntime.ts +2 -2
- package/src/tool/cosmic-inflation/i18n/ru.ts +105 -105
- package/src/tool/crystal-lattice-structure-finder/i18n/de.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/en.ts +1 -1
- package/src/tool/crystal-lattice-structure-finder/i18n/es.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/fr.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/id.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/it.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/ja.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/ko.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/nl.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/pl.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/pt.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/ru.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/sv.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/tr.ts +217 -217
- package/src/tool/crystal-lattice-structure-finder/i18n/zh.ts +217 -217
- package/src/tool/double-slit-decoherence/i18n/de.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/fr.ts +180 -180
- package/src/tool/double-slit-decoherence/i18n/id.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/it.ts +180 -180
- package/src/tool/double-slit-decoherence/i18n/ja.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/ko.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/nl.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/pl.ts +181 -181
- package/src/tool/double-slit-decoherence/i18n/pt.ts +178 -174
- package/src/tool/double-slit-decoherence/i18n/ru.ts +180 -180
- package/src/tool/double-slit-decoherence/i18n/sv.ts +176 -172
- package/src/tool/double-slit-decoherence/i18n/tr.ts +180 -180
- package/src/tool/double-slit-decoherence/i18n/zh.ts +181 -181
- package/src/tool/dyson-sphere-energy-capture/component.astro +253 -253
- package/src/tool/dyson-sphere-energy-capture/i18n/de.ts +194 -194
- package/src/tool/dyson-sphere-energy-capture/i18n/en.ts +6 -6
- package/src/tool/dyson-sphere-energy-capture/i18n/es.ts +6 -6
- package/src/tool/dyson-sphere-energy-capture/i18n/fr.ts +194 -194
- package/src/tool/dyson-sphere-energy-capture/i18n/id.ts +195 -195
- package/src/tool/dyson-sphere-energy-capture/i18n/it.ts +194 -194
- package/src/tool/dyson-sphere-energy-capture/i18n/ja.ts +194 -190
- package/src/tool/dyson-sphere-energy-capture/i18n/ko.ts +194 -193
- package/src/tool/dyson-sphere-energy-capture/i18n/nl.ts +197 -197
- package/src/tool/dyson-sphere-energy-capture/i18n/pl.ts +168 -166
- package/src/tool/dyson-sphere-energy-capture/i18n/pt.ts +194 -193
- package/src/tool/dyson-sphere-energy-capture/i18n/ru.ts +195 -193
- package/src/tool/dyson-sphere-energy-capture/i18n/sv.ts +195 -193
- package/src/tool/dyson-sphere-energy-capture/i18n/tr.ts +168 -166
- package/src/tool/dyson-sphere-energy-capture/i18n/zh.ts +194 -193
- package/src/tool/epidemic-sir-simulator/i18n/de.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/es.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/fr.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/it.ts +346 -346
- package/src/tool/epidemic-sir-simulator/i18n/nl.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/ru.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/sv.ts +347 -347
- package/src/tool/epidemic-sir-simulator/i18n/zh.ts +347 -347
- package/src/tool/exoplanet-biosignature-detector/i18n/de.ts +186 -186
- package/src/tool/exoplanet-biosignature-detector/i18n/en.ts +195 -195
- package/src/tool/exoplanet-biosignature-detector/i18n/es.ts +194 -194
- package/src/tool/exoplanet-biosignature-detector/i18n/fr.ts +183 -183
- package/src/tool/exoplanet-biosignature-detector/i18n/id.ts +193 -193
- package/src/tool/exoplanet-biosignature-detector/i18n/it.ts +194 -194
- package/src/tool/exoplanet-biosignature-detector/i18n/ja.ts +194 -194
- package/src/tool/exoplanet-biosignature-detector/i18n/ko.ts +194 -194
- package/src/tool/exoplanet-biosignature-detector/i18n/nl.ts +194 -194
- package/src/tool/exoplanet-biosignature-detector/i18n/pl.ts +144 -144
- package/src/tool/exoplanet-biosignature-detector/i18n/pt.ts +146 -146
- package/src/tool/exoplanet-biosignature-detector/i18n/ru.ts +143 -143
- package/src/tool/exoplanet-biosignature-detector/i18n/sv.ts +144 -144
- package/src/tool/exoplanet-biosignature-detector/i18n/tr.ts +145 -145
- package/src/tool/exoplanet-biosignature-detector/i18n/zh.ts +194 -194
- package/src/tool/global-albedo-snowball-simulator/component.astro +1 -1
- package/src/tool/global-albedo-snowball-simulator/i18n/de.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/fr.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/id.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/it.ts +87 -87
- package/src/tool/global-albedo-snowball-simulator/i18n/ja.ts +87 -87
- package/src/tool/global-albedo-snowball-simulator/i18n/ko.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/nl.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/pl.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/pt.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/ru.ts +165 -161
- package/src/tool/global-albedo-snowball-simulator/i18n/sv.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/tr.ts +169 -169
- package/src/tool/global-albedo-snowball-simulator/i18n/zh.ts +169 -169
- package/src/tool/lorenz-attractor/i18n/de.ts +144 -143
- package/src/tool/lorenz-attractor/i18n/fr.ts +144 -144
- package/src/tool/lorenz-attractor/i18n/id.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/it.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/ja.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/ko.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/nl.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/pl.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/pt.ts +142 -141
- package/src/tool/lorenz-attractor/i18n/ru.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/sv.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/tr.ts +149 -149
- package/src/tool/lorenz-attractor/i18n/zh.ts +149 -149
- package/src/tool/mandelbrot-fractal/i18n/de.ts +158 -158
- package/src/tool/mandelbrot-fractal/i18n/fr.ts +158 -158
- package/src/tool/mandelbrot-fractal/i18n/id.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/it.ts +155 -151
- package/src/tool/mandelbrot-fractal/i18n/ja.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/ko.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/nl.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/pl.ts +157 -153
- package/src/tool/mandelbrot-fractal/i18n/pt.ts +158 -158
- package/src/tool/mandelbrot-fractal/i18n/ru.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/sv.ts +159 -150
- package/src/tool/mandelbrot-fractal/i18n/tr.ts +159 -159
- package/src/tool/mandelbrot-fractal/i18n/zh.ts +159 -159
- package/src/tool/microwave-detector/component.astro +238 -238
- package/src/tool/microwave-detector/i18n/de.ts +1 -1
- package/src/tool/microwave-detector/i18n/en.ts +1 -1
- package/src/tool/microwave-detector/i18n/es.ts +1 -1
- package/src/tool/microwave-detector/i18n/fr.ts +1 -1
- package/src/tool/microwave-detector/i18n/id.ts +1 -1
- package/src/tool/microwave-detector/i18n/it.ts +1 -1
- package/src/tool/microwave-detector/i18n/ja.ts +1 -1
- package/src/tool/microwave-detector/i18n/ko.ts +1 -1
- package/src/tool/microwave-detector/i18n/nl.ts +1 -1
- package/src/tool/microwave-detector/i18n/pl.ts +1 -1
- package/src/tool/microwave-detector/i18n/pt.ts +1 -1
- package/src/tool/microwave-detector/i18n/ru.ts +1 -1
- package/src/tool/microwave-detector/i18n/sv.ts +1 -1
- package/src/tool/microwave-detector/i18n/tr.ts +1 -1
- package/src/tool/microwave-detector/i18n/zh.ts +1 -1
- package/src/tool/microwave-detector/seo.astro +15 -15
- package/src/tool/natural-selection-drift/component.astro +135 -135
- package/src/tool/natural-selection-drift/i18n/de.ts +164 -160
- package/src/tool/natural-selection-drift/i18n/fr.ts +204 -204
- package/src/tool/natural-selection-drift/i18n/id.ts +156 -154
- package/src/tool/natural-selection-drift/i18n/it.ts +197 -193
- package/src/tool/natural-selection-drift/i18n/ja.ts +155 -154
- package/src/tool/natural-selection-drift/i18n/ko.ts +155 -154
- package/src/tool/natural-selection-drift/i18n/nl.ts +164 -163
- package/src/tool/natural-selection-drift/i18n/pl.ts +168 -166
- package/src/tool/natural-selection-drift/i18n/pt.ts +200 -195
- package/src/tool/natural-selection-drift/i18n/ru.ts +186 -184
- package/src/tool/natural-selection-drift/i18n/sv.ts +157 -154
- package/src/tool/natural-selection-drift/i18n/tr.ts +186 -184
- package/src/tool/natural-selection-drift/i18n/zh.ts +160 -154
- package/src/tool/natural-selection-drift/natural-selection-drift.css +563 -563
- package/src/tool/phase-diagram-critical-points/i18n/de.ts +178 -178
- package/src/tool/phase-diagram-critical-points/i18n/fr.ts +178 -178
- package/src/tool/phase-diagram-critical-points/i18n/id.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/it.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/ja.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/ko.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/nl.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/pl.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/pt.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/ru.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/sv.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/tr.ts +179 -179
- package/src/tool/phase-diagram-critical-points/i18n/zh.ts +179 -179
- package/src/tool/planet-atmosphere-survival/i18n/de.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/fr.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/id.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/it.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/ja.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/ko.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/nl.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/pl.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/pt.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/ru.ts +227 -223
- package/src/tool/planet-atmosphere-survival/i18n/sv.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/tr.ts +255 -255
- package/src/tool/planet-atmosphere-survival/i18n/zh.ts +255 -255
- package/src/tool/radioactive-decay/i18n/de.ts +168 -164
- package/src/tool/radioactive-decay/i18n/fr.ts +76 -75
- package/src/tool/radioactive-decay/i18n/id.ts +169 -165
- package/src/tool/radioactive-decay/i18n/it.ts +76 -74
- package/src/tool/radioactive-decay/i18n/ja.ts +168 -167
- package/src/tool/radioactive-decay/i18n/ko.ts +168 -167
- package/src/tool/radioactive-decay/i18n/nl.ts +170 -168
- package/src/tool/radioactive-decay/i18n/pl.ts +170 -168
- package/src/tool/radioactive-decay/i18n/pt.ts +169 -167
- package/src/tool/radioactive-decay/i18n/ru.ts +170 -168
- package/src/tool/radioactive-decay/i18n/sv.ts +170 -168
- package/src/tool/radioactive-decay/i18n/tr.ts +171 -168
- package/src/tool/radioactive-decay/i18n/zh.ts +171 -167
- package/src/tool/roche-limit-satellite-disruption/i18n/de.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/fr.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/id.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/it.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/ja.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/ko.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/nl.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/pl.ts +237 -229
- package/src/tool/roche-limit-satellite-disruption/i18n/pt.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/ru.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/sv.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/tr.ts +241 -241
- package/src/tool/roche-limit-satellite-disruption/i18n/zh.ts +241 -241
- package/src/tool/simulation-probability/component.astro +138 -138
- package/src/tool/simulation-probability/i18n/de.ts +1 -1
- package/src/tool/simulation-probability/i18n/en.ts +1 -1
- package/src/tool/simulation-probability/i18n/es.ts +1 -1
- package/src/tool/simulation-probability/i18n/fr.ts +1 -1
- package/src/tool/simulation-probability/i18n/id.ts +1 -1
- package/src/tool/simulation-probability/i18n/it.ts +1 -1
- package/src/tool/simulation-probability/i18n/ja.ts +1 -1
- package/src/tool/simulation-probability/i18n/ko.ts +1 -1
- package/src/tool/simulation-probability/i18n/nl.ts +1 -1
- package/src/tool/simulation-probability/i18n/pl.ts +1 -1
- package/src/tool/simulation-probability/i18n/pt.ts +1 -1
- package/src/tool/simulation-probability/i18n/ru.ts +1 -1
- package/src/tool/simulation-probability/i18n/sv.ts +1 -1
- package/src/tool/simulation-probability/i18n/tr.ts +1 -1
- package/src/tool/simulation-probability/i18n/zh.ts +1 -1
- package/src/tool/simulation-probability/seo.astro +15 -15
- package/src/tool/stellar-habitability-zone/i18n/ru.ts +189 -189
- package/src/tool/temperature-timeline/i18n/de.ts +2 -1
- package/src/tool/temperature-timeline/i18n/fr.ts +177 -177
- package/src/tool/temperature-timeline/i18n/it.ts +142 -141
- package/src/tool/temperature-timeline/i18n/pt.ts +3 -1
- package/src/tool/temperature-timeline/i18n/ru.ts +116 -114
- package/src/tool/three-body-problem/app.ts +4 -4
- package/src/tool/three-body-problem/component.astro +6 -6
- package/src/tool/twin-paradox-visualizer/i18n/de.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/es.ts +165 -165
- package/src/tool/twin-paradox-visualizer/i18n/fr.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/id.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/it.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/ja.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/ko.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/nl.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/pl.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/pt.ts +164 -160
- package/src/tool/twin-paradox-visualizer/i18n/ru.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/sv.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/tr.ts +168 -168
- package/src/tool/twin-paradox-visualizer/i18n/zh.ts +168 -168
- package/src/types.ts +1 -1
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
import { bibliography } from '../bibliography';
|
|
2
|
-
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
-
|
|
4
|
-
const slug = 'twin-paradox-visualizer';
|
|
5
|
-
const title = '双生子悖论可视化器: 狭义相对论的时间膨胀';
|
|
6
|
-
const description = '直观展示狭义相对论如何让高速旅行的双胞胎比留在地球上的那个更年轻地返回。';
|
|
7
|
-
|
|
8
|
-
const howTo = [
|
|
9
|
-
{
|
|
10
|
-
name: '设置飞船速度',
|
|
11
|
-
text: '使用速度滑块选择光速的百分比,观察洛伦兹因子如何增加。',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
name: '选择地球参考系的任务时长',
|
|
15
|
-
text: '调整留在参考系中的双胞胎在整个往返旅程中度过的年数。',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: '比较时钟和世界线',
|
|
19
|
-
text: '读取年龄差、飞船经过时间、地球参考系距离以及标志着旅行双胞胎变换惯性系的弯曲世界线。',
|
|
20
|
-
},
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
const faq = [
|
|
24
|
-
{
|
|
25
|
-
question: '狭义相对论中的双生子悖论是什么?',
|
|
26
|
-
answer: '双生子悖论是一个思想实验,其中一个双胞胎以相对论速度在太空旅行,后来返回地球时比留在家里的双胞胎更年轻。它感觉上是悖论,因为一开始每个双胞胎都可以描述对方在运动,但旅行双胞胎在折返时改变了惯性系,因此通过时空的两条路径并不对称。',
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
question: '为什么旅行双胞胎衰老得更慢?',
|
|
30
|
-
answer: '在狭义相对论中,经过的固有时取决于通过时空的路径。相对于惯性观测者以速度v运动的时钟,其走时慢了一个洛伦兹因子gamma。旅行者在去程和返程中积累的固有时比留在地球上的双胞胎少。',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
question: '加速度是导致年龄差异的原因吗?',
|
|
34
|
-
answer: '加速度很重要,因为它让旅行者能够反转方向并与地球重逢,但年龄差是根据完整的时空路径计算的,而不仅仅是加速度。即使折返非常短暂,旅行路径仍然会比地球路径包含更少的固有时。',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
question: '洛伦兹因子gamma是什么意思?',
|
|
38
|
-
answer: '洛伦兹因子gamma等于1除以1减去v平方除以c平方的平方根。它告诉你惯性系之间的时间间隔、长度和能量有多大差异。在日常速度下,gamma几乎为1,但在接近光速时会急剧上升。',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
question: '这种效应能在现实生活中测量到吗?',
|
|
42
|
-
answer: '能。时间膨胀已经通过快速粒子、飞机上的原子钟、卫星定位系统和粒子加速器测量过。双生子悖论使用了一个极端的旅行故事,但其背后的时钟效应是现代物理学中经常验证的一部分。',
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
|
|
46
|
-
export const content: ToolLocaleContent = {
|
|
47
|
-
slug,
|
|
48
|
-
title,
|
|
49
|
-
description,
|
|
50
|
-
ui: {
|
|
51
|
-
visualTitle: '双生子悖论时空可视化',
|
|
52
|
-
controlsTitle: '双生子悖论控制',
|
|
53
|
-
worldlineLabel: '地球双胞胎与旅行双胞胎的世界线图',
|
|
54
|
-
earthTwin: '地球双胞胎年龄',
|
|
55
|
-
travelingTwin: '旅行者年龄',
|
|
56
|
-
presetCruise: '巡航',
|
|
57
|
-
presetRelativistic: '相对论性',
|
|
58
|
-
presetExtreme: '极端',
|
|
59
|
-
velocityLabel: '飞船速度',
|
|
60
|
-
earthYearsLabel: '地球经过时间',
|
|
61
|
-
ageGapLabel: '重逢时年龄差',
|
|
62
|
-
gammaLabel: '洛伦兹因子',
|
|
63
|
-
shipTimeLabel: '旅行者固有时',
|
|
64
|
-
distanceLabel: '折返距离',
|
|
65
|
-
yearsUnit: '年',
|
|
66
|
-
yearsShortUnit: '年',
|
|
67
|
-
},
|
|
68
|
-
seo: [
|
|
69
|
-
{
|
|
70
|
-
type: 'title',
|
|
71
|
-
text: '狭义相对论双生子悖论计算器',
|
|
72
|
-
level: 2,
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'paragraph',
|
|
76
|
-
html: '双生子悖论可视化器将狭义相对论中最著名的思想之一转化为交互式时空图。将飞船速度设为光速的一个百分比,选择地球上经过多少年,计算器就会算出洛伦兹因子、旅行者固有时、重逢时的年龄差以及到折返点的距离。视觉布局将地球时钟与飞船时钟分开,使得不对称性显而易见,而不是隐藏在公式之中。',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
type: 'title',
|
|
80
|
-
text: '计算原理',
|
|
81
|
-
level: 3,
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
type: 'paragraph',
|
|
85
|
-
html: '核心量是洛伦兹因子: gamma = 1 / sqrt(1 - v^2 / c^2)。对于恒定巡航速度的简单往返旅程,旅行者经历的时间等于地球参考系任务时长除以gamma。这两个时长之差就是双胞胎重逢时的年龄差。该工具还显示地球参考系中的折返距离,等于总地球时间的一半乘以以光年每年为单位的飞船速度。',
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
type: 'table',
|
|
89
|
-
headers: ['速度', '洛伦兹因子', '旅行者时钟速率', '物理意义'],
|
|
90
|
-
rows: [
|
|
91
|
-
['0.50c', '1.155', '地球速率的86.6%', '显著但适度的相对论效应。'],
|
|
92
|
-
['0.86c', '1.960', '地球速率的51.0%', '旅行者在巡航期间衰老速度大约减半。'],
|
|
93
|
-
['0.98c', '5.025', '地球速率的19.9%', '极端的时间膨胀主导了任务结果。'],
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
type: 'title',
|
|
98
|
-
text: '为什么情况不对称',
|
|
99
|
-
level: 3,
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
type: 'paragraph',
|
|
103
|
-
html: '乍一看,每个双胞胎都可以说对方在运动,这使得结果看似矛盾。解决之道在于,地球双胞胎大致保持在一个惯性系中,而旅行双胞胎则离开、反转方向并返回。这种惯性系的改变给旅行者带来了通过时空的不同路径。本工具绘制的世界线在折返事件处弯曲,而地球双胞胎的世界线保持笔直。',
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
type: 'title',
|
|
107
|
-
text: '如何阅读世界线图',
|
|
108
|
-
level: 3,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
type: 'paragraph',
|
|
112
|
-
html: '世界线是一个物体通过时空而非仅仅通过空间的图谱。在本可视化器中,垂直的地球线代表留在家中的双胞胎。倾斜的红色路径代表离开地球并返回的旅行者。增加速度会使旅行者路径的倾斜更加明显,并减少飞船时钟上积累的固有时。',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
type: 'list',
|
|
116
|
-
items: [
|
|
117
|
-
'<strong>年龄差:</strong> 重逢时旅行者年轻了多少。',
|
|
118
|
-
'<strong>洛伦兹因子:</strong> 将地球参考系时间与旅行者固有时联系起来的倍数。',
|
|
119
|
-
'<strong>旅行者固有时:</strong> 飞船时钟测量的实际经过时间。',
|
|
120
|
-
'<strong>折返距离:</strong> 旅行者反转航向前在地球参考系中的向外距离。',
|
|
121
|
-
],
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
type: 'title',
|
|
125
|
-
text: '时间膨胀的实际证据',
|
|
126
|
-
level: 3,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
type: 'paragraph',
|
|
130
|
-
html: '双生子悖论是一个简洁的思想实验,但时间膨胀并非推测。上层大气中产生的缪子之所以能存活足够长的时间到达地面,是因为从地球视角看,它们运动的时钟变慢了。飞机上的原子钟实验和精密卫星导航也需要相对论修正。本可视化器背后的数学原理与现代GPS系统使用的时间基础设施是相同的。',
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
faq,
|
|
134
|
-
bibliography,
|
|
135
|
-
howTo,
|
|
136
|
-
schemas: [
|
|
137
|
-
{
|
|
138
|
-
'@context': 'https://schema.org',
|
|
139
|
-
'@type': 'SoftwareApplication',
|
|
140
|
-
name: title,
|
|
141
|
-
description,
|
|
142
|
-
applicationCategory: 'ScientificApplication',
|
|
143
|
-
operatingSystem: 'Any',
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
'@context': 'https://schema.org',
|
|
147
|
-
'@type': 'FAQPage',
|
|
148
|
-
mainEntity: faq.map((item) => ({
|
|
149
|
-
'@type': 'Question',
|
|
150
|
-
name: item.question,
|
|
151
|
-
acceptedAnswer: {
|
|
152
|
-
'@type': 'Answer',
|
|
153
|
-
text: item.answer,
|
|
154
|
-
},
|
|
155
|
-
})),
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
'@context': 'https://schema.org',
|
|
159
|
-
'@type': 'HowTo',
|
|
160
|
-
name: title,
|
|
161
|
-
step: howTo.map((step) => ({
|
|
162
|
-
'@type': 'HowToStep',
|
|
163
|
-
name: step.name,
|
|
164
|
-
text: step.text,
|
|
165
|
-
})),
|
|
166
|
-
},
|
|
167
|
-
],
|
|
168
|
-
};
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
2
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
3
|
+
|
|
4
|
+
const slug = 'twin-paradox-visualizer';
|
|
5
|
+
const title = '双生子悖论可视化器: 狭义相对论的时间膨胀';
|
|
6
|
+
const description = '直观展示狭义相对论如何让高速旅行的双胞胎比留在地球上的那个更年轻地返回。';
|
|
7
|
+
|
|
8
|
+
const howTo = [
|
|
9
|
+
{
|
|
10
|
+
name: '设置飞船速度',
|
|
11
|
+
text: '使用速度滑块选择光速的百分比,观察洛伦兹因子如何增加。',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: '选择地球参考系的任务时长',
|
|
15
|
+
text: '调整留在参考系中的双胞胎在整个往返旅程中度过的年数。',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: '比较时钟和世界线',
|
|
19
|
+
text: '读取年龄差、飞船经过时间、地球参考系距离以及标志着旅行双胞胎变换惯性系的弯曲世界线。',
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
const faq = [
|
|
24
|
+
{
|
|
25
|
+
question: '狭义相对论中的双生子悖论是什么?',
|
|
26
|
+
answer: '双生子悖论是一个思想实验,其中一个双胞胎以相对论速度在太空旅行,后来返回地球时比留在家里的双胞胎更年轻。它感觉上是悖论,因为一开始每个双胞胎都可以描述对方在运动,但旅行双胞胎在折返时改变了惯性系,因此通过时空的两条路径并不对称。',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
question: '为什么旅行双胞胎衰老得更慢?',
|
|
30
|
+
answer: '在狭义相对论中,经过的固有时取决于通过时空的路径。相对于惯性观测者以速度v运动的时钟,其走时慢了一个洛伦兹因子gamma。旅行者在去程和返程中积累的固有时比留在地球上的双胞胎少。',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
question: '加速度是导致年龄差异的原因吗?',
|
|
34
|
+
answer: '加速度很重要,因为它让旅行者能够反转方向并与地球重逢,但年龄差是根据完整的时空路径计算的,而不仅仅是加速度。即使折返非常短暂,旅行路径仍然会比地球路径包含更少的固有时。',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
question: '洛伦兹因子gamma是什么意思?',
|
|
38
|
+
answer: '洛伦兹因子gamma等于1除以1减去v平方除以c平方的平方根。它告诉你惯性系之间的时间间隔、长度和能量有多大差异。在日常速度下,gamma几乎为1,但在接近光速时会急剧上升。',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
question: '这种效应能在现实生活中测量到吗?',
|
|
42
|
+
answer: '能。时间膨胀已经通过快速粒子、飞机上的原子钟、卫星定位系统和粒子加速器测量过。双生子悖论使用了一个极端的旅行故事,但其背后的时钟效应是现代物理学中经常验证的一部分。',
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
export const content: ToolLocaleContent = {
|
|
47
|
+
slug,
|
|
48
|
+
title,
|
|
49
|
+
description,
|
|
50
|
+
ui: {
|
|
51
|
+
visualTitle: '双生子悖论时空可视化',
|
|
52
|
+
controlsTitle: '双生子悖论控制',
|
|
53
|
+
worldlineLabel: '地球双胞胎与旅行双胞胎的世界线图',
|
|
54
|
+
earthTwin: '地球双胞胎年龄',
|
|
55
|
+
travelingTwin: '旅行者年龄',
|
|
56
|
+
presetCruise: '巡航',
|
|
57
|
+
presetRelativistic: '相对论性',
|
|
58
|
+
presetExtreme: '极端',
|
|
59
|
+
velocityLabel: '飞船速度',
|
|
60
|
+
earthYearsLabel: '地球经过时间',
|
|
61
|
+
ageGapLabel: '重逢时年龄差',
|
|
62
|
+
gammaLabel: '洛伦兹因子',
|
|
63
|
+
shipTimeLabel: '旅行者固有时',
|
|
64
|
+
distanceLabel: '折返距离',
|
|
65
|
+
yearsUnit: '年',
|
|
66
|
+
yearsShortUnit: '年',
|
|
67
|
+
},
|
|
68
|
+
seo: [
|
|
69
|
+
{
|
|
70
|
+
type: 'title',
|
|
71
|
+
text: '狭义相对论双生子悖论计算器',
|
|
72
|
+
level: 2,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: 'paragraph',
|
|
76
|
+
html: '双生子悖论可视化器将狭义相对论中最著名的思想之一转化为交互式时空图。将飞船速度设为光速的一个百分比,选择地球上经过多少年,计算器就会算出洛伦兹因子、旅行者固有时、重逢时的年龄差以及到折返点的距离。视觉布局将地球时钟与飞船时钟分开,使得不对称性显而易见,而不是隐藏在公式之中。',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: 'title',
|
|
80
|
+
text: '计算原理',
|
|
81
|
+
level: 3,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: 'paragraph',
|
|
85
|
+
html: '核心量是洛伦兹因子: gamma = 1 / sqrt(1 - v^2 / c^2)。对于恒定巡航速度的简单往返旅程,旅行者经历的时间等于地球参考系任务时长除以gamma。这两个时长之差就是双胞胎重逢时的年龄差。该工具还显示地球参考系中的折返距离,等于总地球时间的一半乘以以光年每年为单位的飞船速度。',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: 'table',
|
|
89
|
+
headers: ['速度', '洛伦兹因子', '旅行者时钟速率', '物理意义'],
|
|
90
|
+
rows: [
|
|
91
|
+
['0.50c', '1.155', '地球速率的86.6%', '显著但适度的相对论效应。'],
|
|
92
|
+
['0.86c', '1.960', '地球速率的51.0%', '旅行者在巡航期间衰老速度大约减半。'],
|
|
93
|
+
['0.98c', '5.025', '地球速率的19.9%', '极端的时间膨胀主导了任务结果。'],
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
type: 'title',
|
|
98
|
+
text: '为什么情况不对称',
|
|
99
|
+
level: 3,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: 'paragraph',
|
|
103
|
+
html: '乍一看,每个双胞胎都可以说对方在运动,这使得结果看似矛盾。解决之道在于,地球双胞胎大致保持在一个惯性系中,而旅行双胞胎则离开、反转方向并返回。这种惯性系的改变给旅行者带来了通过时空的不同路径。本工具绘制的世界线在折返事件处弯曲,而地球双胞胎的世界线保持笔直。',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'title',
|
|
107
|
+
text: '如何阅读世界线图',
|
|
108
|
+
level: 3,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'paragraph',
|
|
112
|
+
html: '世界线是一个物体通过时空而非仅仅通过空间的图谱。在本可视化器中,垂直的地球线代表留在家中的双胞胎。倾斜的红色路径代表离开地球并返回的旅行者。增加速度会使旅行者路径的倾斜更加明显,并减少飞船时钟上积累的固有时。',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'list',
|
|
116
|
+
items: [
|
|
117
|
+
'<strong>年龄差:</strong> 重逢时旅行者年轻了多少。',
|
|
118
|
+
'<strong>洛伦兹因子:</strong> 将地球参考系时间与旅行者固有时联系起来的倍数。',
|
|
119
|
+
'<strong>旅行者固有时:</strong> 飞船时钟测量的实际经过时间。',
|
|
120
|
+
'<strong>折返距离:</strong> 旅行者反转航向前在地球参考系中的向外距离。',
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: 'title',
|
|
125
|
+
text: '时间膨胀的实际证据',
|
|
126
|
+
level: 3,
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'paragraph',
|
|
130
|
+
html: '双生子悖论是一个简洁的思想实验,但时间膨胀并非推测。上层大气中产生的缪子之所以能存活足够长的时间到达地面,是因为从地球视角看,它们运动的时钟变慢了。飞机上的原子钟实验和精密卫星导航也需要相对论修正。本可视化器背后的数学原理与现代GPS系统使用的时间基础设施是相同的。',
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
faq,
|
|
134
|
+
bibliography,
|
|
135
|
+
howTo,
|
|
136
|
+
schemas: [
|
|
137
|
+
{
|
|
138
|
+
'@context': 'https://schema.org',
|
|
139
|
+
'@type': 'SoftwareApplication',
|
|
140
|
+
name: title,
|
|
141
|
+
description,
|
|
142
|
+
applicationCategory: 'ScientificApplication',
|
|
143
|
+
operatingSystem: 'Any',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
'@context': 'https://schema.org',
|
|
147
|
+
'@type': 'FAQPage',
|
|
148
|
+
mainEntity: faq.map((item) => ({
|
|
149
|
+
'@type': 'Question',
|
|
150
|
+
name: item.question,
|
|
151
|
+
acceptedAnswer: {
|
|
152
|
+
'@type': 'Answer',
|
|
153
|
+
text: item.answer,
|
|
154
|
+
},
|
|
155
|
+
})),
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
'@context': 'https://schema.org',
|
|
159
|
+
'@type': 'HowTo',
|
|
160
|
+
name: title,
|
|
161
|
+
step: howTo.map((step) => ({
|
|
162
|
+
'@type': 'HowToStep',
|
|
163
|
+
name: step.name,
|
|
164
|
+
text: step.text,
|
|
165
|
+
})),
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
};
|
package/src/types.ts
CHANGED