aboutsummaryrefslogtreecommitdiff
path: root/src/i18n/en.ts
diff options
context:
space:
mode:
authorvictor2026-10-24 15:57:01 +0200
committervictor2026-10-24 15:57:01 +0200
commit4533910bce394e7a0ee6debfc05ca1221ee51899 (patch)
tree73aaa5b2c7a48dbf226e6b81d499ba1a8ecc33a1 /src/i18n/en.ts
parentTilføj dansk (diff)
download3D-Electrophysics-4533910bce394e7a0ee6debfc05ca1221ee51899.tar.gz
3D-Electrophysics-4533910bce394e7a0ee6debfc05ca1221ee51899.zip
Astra!ny-start
Diffstat (limited to 'src/i18n/en.ts')
-rw-r--r--src/i18n/en.ts101
1 files changed, 101 insertions, 0 deletions
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
new file mode 100644
index 0000000..ff8d1b2
--- /dev/null
+++ b/src/i18n/en.ts
@@ -0,0 +1,101 @@
+export const en = {
+ 'app.title': 'Fieldwork · Electric flux and charge',
+ 'app.brand': 'fieldwork',
+ 'app.tagline': 'An electrophysics lab',
+ 'app.skip': 'Skip to the experiment',
+ 'app.navigation': 'Main navigation',
+ 'app.experiment': 'Experiment',
+ 'app.principle': 'The physics',
+ 'app.module': 'MODEL {number}',
+ 'app.footer': 'A little curiosity. A clearer understanding.',
+ 'app.footerNote': 'Electrophysics / Interactive learning',
+ 'app.loadError': 'The model could not be loaded. Reload the page to try again.',
+ 'app.reload': 'Reload page',
+ 'flux.eyebrow': 'ELECTRICITY, MADE VISIBLE',
+ 'flux.title': 'Electric flux and charge',
+ 'flux.subtitle': 'Move a charge. Reshape its surroundings. Discover what really determines electric flux.',
+ 'flux.topic': 'Gauss’s law',
+ 'flux.live': 'INTERACTIVE 3D MODEL',
+ 'flux.sceneTitle': 'One charge. One closed surface.',
+ 'flux.sceneLabel': '3D electric flux model. Drag to orbit and scroll to zoom. When focused, use arrow keys to orbit, plus or minus to zoom, and Home to reset the view.',
+ 'flux.sceneHint': 'Drag to orbit · Scroll to zoom',
+ 'flux.keyboardHint': 'Keyboard: arrows to orbit · + / − to zoom · Home to reset',
+ 'flux.resetView': 'Reset view',
+ 'flux.frontView': 'Front view',
+ 'flux.topView': 'Top view',
+ 'flux.cameraViews': 'Camera views',
+ 'flux.legend.positive': 'Positive field',
+ 'flux.legend.negative': 'Negative field',
+ 'flux.legend.zero': 'No electric field',
+ 'flux.legend.surface': 'Gaussian surface',
+ 'flux.legend.normal': 'Outward normal',
+ 'flux.marker': 'q = {value}',
+ 'flux.status.inside': 'Charge inside',
+ 'flux.status.outside': 'Charge outside',
+ 'flux.status.boundary': 'Charge on surface',
+ 'flux.status.neutral': 'Zero charge',
+ 'flux.controls': 'Make it your experiment',
+ 'flux.controlsHint': 'Change one thing. Watch what follows.',
+ 'flux.charge': 'Charge',
+ 'flux.position': 'Charge position',
+ 'flux.positionHint': 'Move along the x-axis through the surface.',
+ 'flux.surface': 'Gaussian surface',
+ 'flux.sphere': 'Sphere',
+ 'flux.cube': 'Cube',
+ 'flux.radius': 'Surface radius',
+ 'flux.halfSide': 'Half side length',
+ 'flux.surfaceHint': 'An imaginary boundary, not a physical shell.',
+ 'flux.layers': 'Visible layers',
+ 'flux.fieldLines': 'Electric field lines',
+ 'flux.surfaceLayer': 'Gaussian surface',
+ 'flux.normals': 'Surface normals',
+ 'flux.reset': 'Reset experiment',
+ 'flux.presets': 'Start with a scenario',
+ 'flux.preset.positive': 'Positive charge',
+ 'flux.preset.negative': 'Negative charge',
+ 'flux.preset.outside': 'Outside the surface',
+ 'flux.preset.custom': 'Custom experiment',
+ 'flux.readings': 'Live measurements',
+ 'flux.enclosed': 'Enclosed charge',
+ 'flux.area': 'Surface area',
+ 'flux.netFlux': 'Net electric flux',
+ 'flux.exact': 'Calculated from Gauss’s law',
+ 'flux.undefined': 'Undefined',
+ 'flux.result.insidePositive': 'More leaves than enters.',
+ 'flux.result.insideNegative': 'More enters than leaves.',
+ 'flux.result.outside': 'What enters also leaves.',
+ 'flux.result.neutral': 'No charge. No field. No flux.',
+ 'flux.result.boundary': 'The charge is on the boundary.',
+ 'flux.explanation.insidePositive': 'The surface encloses a positive charge, so the net flux is outward. Change the surface size: the total flux stays the same while the charge remains inside.',
+ 'flux.explanation.insideNegative': 'The surface encloses a negative charge, so the net flux is inward. The negative sign tells you the direction relative to the outward surface normal.',
+ 'flux.explanation.outside': 'The electric field is still present, but the enclosed charge is zero. Every field line that enters the closed surface also exits it, giving zero net flux.',
+ 'flux.explanation.neutral': 'With the source charge set to zero, this model has no electric field anywhere. The flux through the closed surface is also zero.',
+ 'flux.explanation.boundary': 'An ideal point charge on the surface makes the field singular there. Move the charge slightly inside or outside to get a well-defined enclosed charge and flux.',
+ 'flux.summary': '{status}. Enclosed charge: {charge}. Net electric flux: {flux}.',
+ 'flux.webglError': 'The 3D view needs WebGL 2. Try a browser with hardware acceleration enabled. The controls, calculations, and explanations still work.',
+ 'flux.webglLost': 'The 3D graphics connection was lost. Reload the page to restore it. Calculations still work.',
+ 'flux.physicsEyebrow': 'FROM THE MODEL TO THE IDEA',
+ 'flux.physicsTitle': 'A surface tells a story.',
+ 'flux.physicsSubtitle': 'Flux measures how much electric field passes through a surface. Here is how to read it.',
+ 'flux.lesson.one.number': '01',
+ 'flux.lesson.one.title': 'Direction matters',
+ 'flux.lesson.one.body': 'A small patch has an area vector perpendicular to it. Field pointing with this normal gives positive flux; field pointing against it gives negative flux. A tangent field contributes zero.',
+ 'flux.lesson.two.number': '02',
+ 'flux.lesson.two.title': 'Add up the whole surface',
+ 'flux.lesson.two.body': 'For a closed surface, every area vector points outward. Add the signed contributions from all its patches to find the net flux. A zero total does not mean the field is zero.',
+ 'flux.lesson.three.number': '03',
+ 'flux.lesson.three.title': 'Only what is inside counts',
+ 'flux.lesson.three.body': 'Gauss’s law connects that total to the enclosed charge. Size and shape can change the field across the surface, but they cannot change the total flux while the same charge stays enclosed.',
+ 'flux.try': 'TRY IT',
+ 'flux.tryText': 'Make the surface larger. Does the net flux change?',
+ 'flux.assumptions.title': 'About this model',
+ 'flux.assumptions.body': 'One stationary ideal point charge in vacuum; no other charges or materials. The surface is imaginary and centered at the origin. One scene unit represents one metre. The charge marker has a visible size only so you can find it; membership uses its center. Field lines are illustrative samples and arrow lengths do not measure field strength. The displayed total uses the exact Gauss’s-law result, not a count of the drawn lines.',
+ 'flux.reference': 'Based on the course reference: Electric flux and charge, sections 3.2–3.4.',
+ 'flux.constant': 'Vacuum permittivity: ε₀ = {value} F/m.',
+ 'units.charge': '{value} nC',
+ 'units.distance': '{value} m',
+ 'units.area': '{value} m²',
+ 'units.flux': '{value} N·m²/C',
+} as const;
+
+export type MessageKey = keyof typeof en;