@robotical/webapp-types 3.23.27 → 3.24.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marty-web-app",
3
- "version": "3.23.27",
3
+ "version": "3.24.0",
4
4
  "private": true,
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -10,11 +10,13 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
10
10
  import i18n from 'i18next';
11
11
  import { initReactI18next } from 'react-i18next';
12
12
  import Logger from './services/logger/Logger';
13
+ import colourDiagnosticsEnglish from './screens/configuration/marty/Diagnostics/ColourSensorDiagnostics/messages';
13
14
  var SHOW_LOGS = true;
14
15
  var TAG = "i18n";
15
16
  var resources = {
16
17
  "en": {
17
18
  "translation": {
19
+ "colour_diagnostics": colourDiagnosticsEnglish,
18
20
  "activities": {
19
21
  "adventure_story_subtitle": "We'll make an interactive narrative adventure!",
20
22
  "adventure_story_title": "13. Adventure Story",
@@ -0,0 +1,34 @@
1
+ declare const colourDiagnosticsEnglish: {
2
+ title: string;
3
+ instructions: string;
4
+ sessionId: string;
5
+ copyId: string;
6
+ copied: string;
7
+ sensor: string;
8
+ selectSensor: string;
9
+ connect: string;
10
+ green: string;
11
+ purple: string;
12
+ yellow: string;
13
+ blue: string;
14
+ red: string;
15
+ prompt: string;
16
+ result: string;
17
+ waiting: string;
18
+ capture: string;
19
+ capturing: string;
20
+ uploading: string;
21
+ saved: string;
22
+ complete: string;
23
+ retry: string;
24
+ download: string;
25
+ newSession: string;
26
+ storageWarning: string;
27
+ sensorDisconnected: string;
28
+ staleReading: string;
29
+ invalidReading: string;
30
+ backgrounded: string;
31
+ uploadDenied: string;
32
+ uploadFailed: string;
33
+ };
34
+ export default colourDiagnosticsEnglish;
@@ -0,0 +1,30 @@
1
+ var colourDiagnosticsEnglish = {
2
+ title: "Colour sensor diagnostics",
3
+ instructions: "Rest Marty's sensor flat on each card and keep the lighting steady. Hold still for the two-second snapshot.",
4
+ sessionId: "Session ID",
5
+ copyId: "Copy ID",
6
+ copied: "Copied",
7
+ sensor: "Colour sensor",
8
+ selectSensor: "Select a sensor",
9
+ connect: "Connect and verify Marty with a colour sensor attached to begin.",
10
+ green: "green", purple: "purple", yellow: "yellow", blue: "blue", red: "red",
11
+ prompt: "Place the selected sensor on the {{colour}} card.",
12
+ result: "Blocks interpretation: {{result}}",
13
+ waiting: "Select a sensor and wait for fresh readings.",
14
+ capture: "Take {{colour}} snapshot",
15
+ capturing: "Capturing… Hold still",
16
+ uploading: "Uploading…",
17
+ saved: "{{saved}} snapshots uploaded · {{pending}} waiting to upload",
18
+ complete: "All five cards captured. You can take more snapshots of any card.",
19
+ retry: "Retry uploads",
20
+ download: "Download data",
21
+ newSession: "New session",
22
+ storageWarning: "This browser cannot keep a local backup. Download the data before closing this page.",
23
+ sensorDisconnected: "The selected sensor disconnected. Reconnect Marty and select the sensor again.",
24
+ staleReading: "Waiting for fresh sensor data. Keep Marty connected and try again.",
25
+ invalidReading: "The sensor reading is incomplete. Wait for fresh data and try again.",
26
+ backgrounded: "Keep this window visible during the snapshot and try again.",
27
+ uploadDenied: "Firebase denied the upload. Your snapshot is kept locally. Check database write access.",
28
+ uploadFailed: "Upload failed. Your snapshot is kept locally. Check your connection and retry the upload.",
29
+ };
30
+ export default colourDiagnosticsEnglish;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/webapp-types",
3
- "version": "3.23.27",
3
+ "version": "3.24.0",
4
4
  "description": "Type definitions for the Application Manager",
5
5
  "main": "dist/application-manager.d.ts",
6
6
  "types": "dist/application-manager.d.ts",