Skip to content

Commit f80868a

Browse files
committed
fix: Connect Device screen
1 parent d27282e commit f80868a

18 files changed

+916
-117
lines changed

lib/l10n/app_en.arb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
"deviceConnected": "Device Connected Successfully",
8787
"noDeviceFound": "No USB Device Found",
8888
"stepsToConnectTitle": "Steps to connect the PSLab Device",
89-
"step1ConnectMicroUsb": "1. Connect a micro USB(Mini B) to PSLab",
90-
"step2ConnectOtg": "2. Connect the other end of the micro USB cable to a OTG",
89+
"step1ConnectMicroUsb": "1. Connect an appropriate USB cable to PSLab: Type-C for PSLab V6, Micro-USB (Mini-B) for PSLab V5",
90+
"step2ConnectOtg": "2. Connect the other end of the micro USB cable to an OTG",
9191
"step3ConnectPhone": "3. Connect the OTG to the phone",
9292
"bluetoothWifiConnection": "Connect using Bluetooth or Wi-Fi",
9393
"bluetooth": "Bluetooth",

lib/l10n/app_localizations.dart

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -645,13 +645,13 @@ abstract class AppLocalizations {
645645
/// No description provided for @step1ConnectMicroUsb.
646646
///
647647
/// In en, this message translates to:
648-
/// **'1. Connect a micro USB(Mini B) to PSLab'**
648+
/// **'1. Connect an appropriate USB cable to PSLab: Type-C for PSLab V6, Micro-USB (Mini-B) for PSLab V5'**
649649
String get step1ConnectMicroUsb;
650650

651651
/// No description provided for @step2ConnectOtg.
652652
///
653653
/// In en, this message translates to:
654-
/// **'2. Connect the other end of the micro USB cable to a OTG'**
654+
/// **'2. Connect the other end of the micro USB cable to an OTG'**
655655
String get step2ConnectOtg;
656656

657657
/// No description provided for @step3ConnectPhone.
@@ -2796,6 +2796,36 @@ abstract class AppLocalizations {
27962796
/// **'Data'**
27972797
String get data;
27982798

2799+
/// No description provided for @configure.
2800+
///
2801+
/// In en, this message translates to:
2802+
/// **'Configure'**
2803+
String get configure;
2804+
2805+
/// No description provided for @setGain.
2806+
///
2807+
/// In en, this message translates to:
2808+
/// **'Set Gain'**
2809+
String get setGain;
2810+
2811+
/// No description provided for @setChannel.
2812+
///
2813+
/// In en, this message translates to:
2814+
/// **'Set Channel'**
2815+
String get setChannel;
2816+
2817+
/// No description provided for @setRate.
2818+
///
2819+
/// In en, this message translates to:
2820+
/// **'Set Rate'**
2821+
String get setRate;
2822+
2823+
/// No description provided for @millivolts.
2824+
///
2825+
/// In en, this message translates to:
2826+
/// **'mV'**
2827+
String get millivolts;
2828+
27992829
/// No description provided for @experiments.
28002830
///
28012831
/// In en, this message translates to:
@@ -2952,36 +2982,6 @@ abstract class AppLocalizations {
29522982
/// **'Mode'**
29532983
String get mode;
29542984

2955-
/// No description provided for @configure.
2956-
///
2957-
/// In en, this message translates to:
2958-
/// **'Configure'**
2959-
String get configure;
2960-
2961-
/// No description provided for @setGain.
2962-
///
2963-
/// In en, this message translates to:
2964-
/// **'Set Gain'**
2965-
String get setGain;
2966-
2967-
/// No description provided for @setChannel.
2968-
///
2969-
/// In en, this message translates to:
2970-
/// **'Set Channel'**
2971-
String get setChannel;
2972-
2973-
/// No description provided for @setRate.
2974-
///
2975-
/// In en, this message translates to:
2976-
/// **'Set Rate'**
2977-
String get setRate;
2978-
2979-
/// No description provided for @millivolts.
2980-
///
2981-
/// In en, this message translates to:
2982-
/// **'mV'**
2983-
String get millivolts;
2984-
29852985
/// No description provided for @proximity.
29862986
///
29872987
/// In en, this message translates to:

lib/l10n/app_localizations_de.dart

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,12 @@ class AppLocalizationsDe extends AppLocalizations {
293293
String get stepsToConnectTitle => 'Steps to connect the PSLab Device';
294294

295295
@override
296-
String get step1ConnectMicroUsb => '1. Connect a micro USB(Mini B) to PSLab';
296+
String get step1ConnectMicroUsb =>
297+
'1. Connect an appropriate USB cable to PSLab: Type-C for PSLab V6, Micro-USB (Mini-B) for PSLab V5';
297298

298299
@override
299300
String get step2ConnectOtg =>
300-
'2. Connect the other end of the micro USB cable to a OTG';
301+
'2. Connect the other end of the micro USB cable to an OTG';
301302

302303
@override
303304
String get step3ConnectPhone => '3. Connect the OTG to the phone';
@@ -1445,6 +1446,24 @@ class AppLocalizationsDe extends AppLocalizations {
14451446
@override
14461447
String get estimated => 'Estimated';
14471448

1449+
@override
1450+
String get data => 'Data';
1451+
1452+
@override
1453+
String get configure => 'Configure';
1454+
1455+
@override
1456+
String get setGain => 'Set Gain';
1457+
1458+
@override
1459+
String get setChannel => 'Set Channel';
1460+
1461+
@override
1462+
String get setRate => 'Set Rate';
1463+
1464+
@override
1465+
String get millivolts => 'mV';
1466+
14481467
@override
14491468
String get experiments => 'Experiments';
14501469

@@ -1528,9 +1547,6 @@ class AppLocalizationsDe extends AppLocalizations {
15281547
@override
15291548
String get mode => 'Mode';
15301549

1531-
@override
1532-
String get configure => 'Configure';
1533-
15341550
@override
15351551
String get proximity => 'Proximity';
15361552

@@ -1552,4 +1568,48 @@ class AppLocalizationsDe extends AppLocalizations {
15521568
@override
15531569
String get legacyFirmwareAlertMessage =>
15541570
'We have detected that your PSLab device is running legacy firmware. Please note that support for this firmware has ended. For the best experience and continued support, please update your device to the latest firmware version.';
1571+
1572+
@override
1573+
String get holdPositionForPressure =>
1574+
'Hold position steady for stable pressure reading';
1575+
1576+
@override
1577+
String get moveToHigherAltitude => 'Move to a higher altitude or floor';
1578+
1579+
@override
1580+
String get moveToLowerAltitude => 'Move to a lower altitude or floor';
1581+
1582+
@override
1583+
String get pressureVsAltitude => 'Pressure vs Altitude';
1584+
1585+
@override
1586+
String get pressureVsAltitudeDesc =>
1587+
'Observe how atmospheric pressure changes with altitude';
1588+
1589+
@override
1590+
String get barometerExperimentSetUpContent =>
1591+
'Ensure your device has a working barometer sensor, or connect a BMP180 sensor using PSLab to complete the experiment.';
1592+
1593+
@override
1594+
String get barometerExperimentPreparationContent =>
1595+
'Start the experiment in a stable position. Pressure decreases as altitude increases, and pressure increases as altitude decreases.';
1596+
1597+
@override
1598+
String get barometerExperimentInstructionContent =>
1599+
'Follow the on-screen instructions to move between different altitudes. The experiment will automatically detect pressure changes.';
1600+
1601+
@override
1602+
String get playbackStarted => 'Playback started';
1603+
1604+
@override
1605+
String get playback => 'Playback';
1606+
1607+
@override
1608+
String get stopPlayback => 'Stop Playback';
1609+
1610+
@override
1611+
String get resumePlayback => 'Resume Playback';
1612+
1613+
@override
1614+
String get pausePlayback => 'Pause Playback';
15551615
}

lib/l10n/app_localizations_en.dart

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,12 @@ class AppLocalizationsEn extends AppLocalizations {
293293
String get stepsToConnectTitle => 'Steps to connect the PSLab Device';
294294

295295
@override
296-
String get step1ConnectMicroUsb => '1. Connect a micro USB(Mini B) to PSLab';
296+
String get step1ConnectMicroUsb =>
297+
'1. Connect an appropriate USB cable to PSLab: Type-C for PSLab V6, Micro-USB (Mini-B) for PSLab V5';
297298

298299
@override
299300
String get step2ConnectOtg =>
300-
'2. Connect the other end of the micro USB cable to a OTG';
301+
'2. Connect the other end of the micro USB cable to an OTG';
301302

302303
@override
303304
String get step3ConnectPhone => '3. Connect the OTG to the phone';
@@ -1448,6 +1449,22 @@ class AppLocalizationsEn extends AppLocalizations {
14481449
@override
14491450
String get data => 'Data';
14501451

1452+
@override
1453+
String get configure => 'Configure';
1454+
1455+
@override
1456+
String get setGain => 'Set Gain';
1457+
1458+
@override
1459+
String get setChannel => 'Set Channel';
1460+
1461+
@override
1462+
String get setRate => 'Set Rate';
1463+
1464+
@override
1465+
String get millivolts => 'mV';
1466+
1467+
@override
14511468
String get experiments => 'Experiments';
14521469

14531470
@override
@@ -1531,20 +1548,6 @@ class AppLocalizationsEn extends AppLocalizations {
15311548
String get mode => 'Mode';
15321549

15331550
@override
1534-
String get configure => 'Configure';
1535-
1536-
@override
1537-
String get setGain => 'Set Gain';
1538-
1539-
@override
1540-
String get setChannel => 'Set Channel';
1541-
1542-
@override
1543-
String get setRate => 'Set Rate';
1544-
1545-
@override
1546-
String get millivolts => 'mV';
1547-
15481551
String get proximity => 'Proximity';
15491552

15501553
@override
@@ -1595,6 +1598,7 @@ class AppLocalizationsEn extends AppLocalizations {
15951598
String get barometerExperimentInstructionContent =>
15961599
'Follow the on-screen instructions to move between different altitudes. The experiment will automatically detect pressure changes.';
15971600

1601+
@override
15981602
String get playbackStarted => 'Playback started';
15991603

16001604
@override

lib/l10n/app_localizations_es.dart

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,12 @@ class AppLocalizationsEs extends AppLocalizations {
293293
String get stepsToConnectTitle => 'Steps to connect the PSLab Device';
294294

295295
@override
296-
String get step1ConnectMicroUsb => '1. Connect a micro USB(Mini B) to PSLab';
296+
String get step1ConnectMicroUsb =>
297+
'1. Connect an appropriate USB cable to PSLab: Type-C for PSLab V6, Micro-USB (Mini-B) for PSLab V5';
297298

298299
@override
299300
String get step2ConnectOtg =>
300-
'2. Connect the other end of the micro USB cable to a OTG';
301+
'2. Connect the other end of the micro USB cable to an OTG';
301302

302303
@override
303304
String get step3ConnectPhone => '3. Connect the OTG to the phone';
@@ -1445,6 +1446,24 @@ class AppLocalizationsEs extends AppLocalizations {
14451446
@override
14461447
String get estimated => 'Estimated';
14471448

1449+
@override
1450+
String get data => 'Data';
1451+
1452+
@override
1453+
String get configure => 'Configure';
1454+
1455+
@override
1456+
String get setGain => 'Set Gain';
1457+
1458+
@override
1459+
String get setChannel => 'Set Channel';
1460+
1461+
@override
1462+
String get setRate => 'Set Rate';
1463+
1464+
@override
1465+
String get millivolts => 'mV';
1466+
14481467
@override
14491468
String get experiments => 'Experiments';
14501469

@@ -1528,9 +1547,6 @@ class AppLocalizationsEs extends AppLocalizations {
15281547
@override
15291548
String get mode => 'Mode';
15301549

1531-
@override
1532-
String get configure => 'Configure';
1533-
15341550
@override
15351551
String get proximity => 'Proximity';
15361552

@@ -1552,4 +1568,48 @@ class AppLocalizationsEs extends AppLocalizations {
15521568
@override
15531569
String get legacyFirmwareAlertMessage =>
15541570
'We have detected that your PSLab device is running legacy firmware. Please note that support for this firmware has ended. For the best experience and continued support, please update your device to the latest firmware version.';
1571+
1572+
@override
1573+
String get holdPositionForPressure =>
1574+
'Hold position steady for stable pressure reading';
1575+
1576+
@override
1577+
String get moveToHigherAltitude => 'Move to a higher altitude or floor';
1578+
1579+
@override
1580+
String get moveToLowerAltitude => 'Move to a lower altitude or floor';
1581+
1582+
@override
1583+
String get pressureVsAltitude => 'Pressure vs Altitude';
1584+
1585+
@override
1586+
String get pressureVsAltitudeDesc =>
1587+
'Observe how atmospheric pressure changes with altitude';
1588+
1589+
@override
1590+
String get barometerExperimentSetUpContent =>
1591+
'Ensure your device has a working barometer sensor, or connect a BMP180 sensor using PSLab to complete the experiment.';
1592+
1593+
@override
1594+
String get barometerExperimentPreparationContent =>
1595+
'Start the experiment in a stable position. Pressure decreases as altitude increases, and pressure increases as altitude decreases.';
1596+
1597+
@override
1598+
String get barometerExperimentInstructionContent =>
1599+
'Follow the on-screen instructions to move between different altitudes. The experiment will automatically detect pressure changes.';
1600+
1601+
@override
1602+
String get playbackStarted => 'Playback started';
1603+
1604+
@override
1605+
String get playback => 'Playback';
1606+
1607+
@override
1608+
String get stopPlayback => 'Stop Playback';
1609+
1610+
@override
1611+
String get resumePlayback => 'Resume Playback';
1612+
1613+
@override
1614+
String get pausePlayback => 'Pause Playback';
15551615
}

0 commit comments

Comments
 (0)