Files
sfhorizont/wasm/frontend/src/i18n/locales/en.js
T

209 lines
10 KiB
JavaScript
Raw Normal View History

2026-10-24 13:20:55 +02:00
// English: the source language and the fallback for every other locale.
// Plural messages are objects keyed by Intl.PluralRules category.
export default {
// Native tab bar (sent to the app shell)
'tab.sites': 'Sites',
'tab.new': 'New survey',
'tab.settings': 'Settings',
// Compass points: axis labels and coordinate hemispheres
'compass.n': 'N',
'compass.e': 'E',
'compass.s': 'S',
'compass.w': 'W',
'common.back': 'Back',
'common.startCamera': 'Start camera',
'common.startingCamera': 'Starting camera…',
'common.noLocation': 'No location',
'app.engineError': 'Could not load the engine: {error}',
2026-10-25 07:11:03 +01:00
'app.crashed': 'Something went wrong.',
'app.reload': 'Reload',
2026-10-24 13:20:55 +02:00
// Welcome
'welcome.tagline': 'Trace the trees and rooftops around your telescope',
'welcome.formats': 'NINA .HRZ · STELLARIUM LANDSCAPE',
2026-10-25 07:11:03 +01:00
'welcome.daylight': 'Survey in daylight',
2026-10-24 13:20:55 +02:00
'welcome.start': 'Get started',
'welcome.sceneLabel': 'Night garden with a house, trees and a telescope under a starry sky; a dashed amber line traces the horizon over the rooftops and treetops',
// Sites
'sites.subtitle': 'Artificial horizons for NINA & Stellarium',
'sites.settings': 'Settings',
'sites.count': 'Sites · {count}',
'sites.emptyTitle': 'No sites yet',
2026-10-25 07:11:03 +01:00
'sites.emptyHint': 'Stand where your telescope stands and start a survey in daylight.',
2026-10-24 13:20:55 +02:00
'sites.emptyHintApp': 'Tap “{tab}” below, or import a NINA .hrz with the button above.',
'sites.newSurvey': 'New horizon survey',
'sites.import': 'Import existing .hrz',
'sites.importError': 'Could not read {file}: {error}',
'sites.inProgress': 'In progress',
'sites.noHorizon': 'No horizon yet',
'sites.covered': '{deg}° of 360° covered',
'sites.continue': 'Continue survey',
'sites.imported': 'Imported .hrz',
'sites.framesFull': { one: '{count} frame · full 360°', other: '{count} frames · full 360°' },
'sites.framesPartial': { one: '{count} frame · {deg}° covered', other: '{count} frames · {deg}° covered' },
'sites.defaultName': 'Site {n}',
'sites.importedName': 'Imported horizon',
// Setup
'setup.title': 'New survey',
'setup.siteName': 'Site name',
'setup.locating': 'Finding location…',
'setup.locationHint': 'Written into the Stellarium landscape',
'setup.altitudeUnknown': 'Altitude unknown',
'setup.elevation': '{m} m',
'setup.gps': 'GPS ±{m} m',
'setup.refresh': 'Refresh',
'setup.noGeo': 'No location service in this browser',
'setup.geoUnavailable': 'Location unavailable',
'setup.northTitle': 'North from compass',
'setup.northHint': 'Declination is not applied yet: correct north with the offset in Review',
'setup.howTo': 'How to capture',
2026-10-25 07:11:03 +01:00
'setup.daylightTitle': 'Survey in daylight',
'setup.daylightHint': 'The app finds the edge between bright sky and dark trees or roofs. In the dark there is no edge to find: survey by day or at dusk.',
2026-10-24 13:20:55 +02:00
'setup.skyNotNeeded': 'sky not needed',
'setup.illustration': 'Turn once around in place, holding the phone upright; only a band around the horizon is photographed',
'setup.step1': 'Stand where the telescope stands.',
'setup.step2': 'Hold the phone upright, tilted slightly above the horizon.',
'setup.step3': 'Turn once around slowly. Frames are taken automatically.',
'setup.start': 'Start capture',
'setup.sensorsError': 'Motion sensors are not available: {error}',
'setup.cameraError': 'Camera: {error}',
// Capture
'capture.openError': 'Could not open the survey: {error}',
'capture.saveError': 'Could not save: {error}',
'capture.close': 'Close survey',
'capture.undo': 'Retake last frame',
'capture.frameOf': 'frame {n} of {total}',
'capture.allFrames': 'all {count} frames',
'capture.progress': 'Panorama progress around 360 degrees',
'capture.heading': 'HEADING',
'capture.tilt': 'TILT',
'capture.covers': 'COVERS',
'capture.autoOn': 'Auto on',
'capture.autoOff': 'Auto off',
'capture.shutter': 'Take frame',
'capture.finish': 'Finish',
'capture.topTouch': 'Obstruction reaches the frame top at {az}°',
'capture.addHigher': 'Add higher shot',
'capture.hint.compass': 'Waiting for the compass…',
'capture.hint.done': 'All frames taken. Tap Finish.',
'capture.hint.higher': 'Higher shot: line up the dot',
'capture.hint.turnRight': 'Turn right until the dot is in the circle',
'capture.hint.turnLeft': 'Turn left until the dot is in the circle',
'capture.hint.manual': 'Line up the dot, then tap the shutter',
'capture.hint.tiltUp': 'Tilt the phone up a little',
'capture.hint.tiltDown': 'Tilt the phone down a little',
'capture.hint.hold': 'Hold still…',
'capture.hint.tap': 'Tap the shutter',
'capture.err.noHeading': 'No compass heading yet',
'capture.err.cameraNotReady': 'Camera not ready',
'capture.err.encode': 'Could not encode the panorama',
'camera.err.https': 'The camera needs HTTPS (or localhost).',
'camera.err.noApi': 'This browser has no camera access.',
'camera.err.noPicture': 'The camera started but sends no picture.',
// Review
'review.title': 'Review horizon',
'review.imported': 'Imported from .hrz',
'review.stitchedFull': { one: '{count} frame stitched · full 360°', other: '{count} frames stitched · full 360°' },
'review.stitchedPartial': { one: '{count} frame stitched · {deg}° of 360°', other: '{count} frames stitched · {deg}° of 360°' },
'review.delete': 'Delete site',
'review.deleteConfirm': 'Delete site?',
'review.tabNina': 'NINA horizon',
'review.tabPano': 'Panorama',
'review.detecting': 'Detecting the sky edge…',
'review.noHorizon': 'No horizon yet: capture some frames first.',
'review.legendEdge': 'Detected sky edge',
'review.legendHrz': 'Written to .hrz',
'review.chartLabel': 'Horizon profile: obstruction altitude by azimuth, with the safety margin dashed',
'review.margin': 'Safety margin',
'review.marginHint': 'Keeps NINA targets clear of tree tips and compass error',
'review.toolAuto': 'Auto edge',
'review.toolSky': 'Paint sky',
'review.toolGround': 'Paint ground',
'review.edits': { one: '{count} edit', other: '{count} edits' },
'review.undoEdit': 'Undo last',
'review.clearEdits': 'Back to auto edge',
'review.transparentSky': 'Transparent sky in Stellarium',
'review.dragHint': 'Drag to look around',
'review.paintHint': 'Paint with your finger',
'review.zoomLabel': 'Zoomed panorama: checkered area is transparent sky, the line is the detected edge',
'review.overviewLabel': 'Whole 360 degree panorama with the zoomed part outlined',
'review.north': 'North offset',
'review.northHint': 'Applies to .hrz and panorama',
'review.rotateLeft': 'Rotate 0.5 degrees left',
'review.rotateRight': 'Rotate 0.5 degrees right',
'review.export': 'Export',
// Export
'export.title': 'Export',
'export.back': 'Back to review',
'export.summary': '{name} · margin {margin}° · north offset {north}°',
'export.ninaTitle': 'NINA custom horizon',
'export.ninaSub': 'Sky edge + safety margin as azimuth / altitude pairs, for target altitude limits',
'export.panoTitle': 'Stellarium panorama',
'export.panoSub': 'Spherical landscape: 360° photo band with transparent sky, 8192 × 2048 PNG',
'export.polyTitle': 'Stellarium outline only',
'export.polySub': 'Polygonal landscape: just the horizon line, no photo',
'export.panoUnavailable': 'Needs a photo survey (not available for imported horizons)',
'export.panoGaps': 'Not all 360° is photographed: gaps are filled dark',
'export.preview': 'Preview',
'export.loading': 'Loading…',
'export.lines': { one: '{count} line · azimuth altitude, {margin}° margin', other: '{count} lines · azimuth altitude, {margin}° margin' },
'export.help': 'NINA: Options › General › Astrometry › Custom Horizon. Stellarium: install the .zip under Sky and viewing options › Landscape › Add/remove landscapes.',
'export.rendering': 'Rendering panorama…',
'export.preparing': 'Preparing…',
'export.sharing': 'Sharing…',
'export.saving': 'Saving…',
'export.save': 'Save',
'export.share': { one: 'Share {count} file', other: 'Share {count} files' },
// Save / share results
'files.downloaded': { one: 'Downloaded {name}', other: 'Downloaded {count} files' },
'files.savedAndroid': { one: 'Saved to Downloads: {name}', other: 'Saved {count} files to Downloads' },
'files.savedIos': { one: 'Saved to Files › SkyContour: {name}', other: 'Saved {count} files to Files › SkyContour' },
'files.shared': 'Shared',
'files.shareCancelled': 'Share cancelled',
'files.shareUnsupported': 'This browser cannot share files, so they were downloaded instead.',
// Settings
'settings.title': 'Settings',
'settings.camera': 'Camera',
'settings.fov': 'Field of view',
'settings.fovValue': '{fov}° across the frame',
'settings.fovAssumed': 'Not calibrated: about {fov}° is assumed',
'settings.narrower': 'Narrower',
'settings.wider': 'Wider',
'settings.calibrate': 'Calibrate with the camera',
'settings.reset': 'Reset',
'settings.fovHint': 'The field of view places each photo in the panorama. Calibrate once per phone: turn slowly while the app compares two overlapping views.',
'settings.author': 'Author for Stellarium files',
'settings.authorPlaceholder': 'Your name',
'settings.language': 'Language',
'settings.systemLanguage': 'System default ({name})',
'settings.about': '{app} · horizons for NINA and Stellarium',
// FOV calibration
'calib.title': 'Field of view',
'calib.intro': 'Point at distant detail (trees, roofs), then tap Start and turn slowly sideways.',
'calib.turn': 'Turn the phone slowly to the side ⟷',
'calib.turnAuto': 'Turn the phone slowly to the side ⟷ (finishes by itself)',
'calib.newRef': 'New reference taken: keep turning slowly ⟷',
'calib.noMatch': 'No match: turn slower and aim at distant detail',
'calib.almost': 'Almost there: values still vary, keep turning slowly',
'calib.measuring': 'Measuring… keep turning slowly',
'calib.waiting': 'Waiting for camera and compass…',
'calib.done': 'Done: field of view {fov}° saved.',
'calib.doneButton': 'Done',
'calib.restart': 'Restart measurement',
'calib.start': 'Start',
}