Skip to content

Commit 3124fca

Browse files
authored
refactor: using natural casing in translations (#2804)
1 parent 6592393 commit 3124fca

13 files changed

+118
-115
lines changed

lib/l10n/app_en.arb

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"@@locale": "en",
3-
"oscilloscope": "OSCILLOSCOPE",
4-
"multimeter": "MULTIMETER",
5-
"logicAnalyzer": "LOGIC ANALYZER",
6-
"sensors": "SENSORS",
7-
"waveGenerator": "WAVE GENERATOR",
8-
"powerSource": "POWER SOURCE",
9-
"luxMeter": "LUX METER",
10-
"accelerometer": "ACCELEROMETER",
11-
"barometer": "BAROMETER",
12-
"compass": "COMPASS",
13-
"gyroscope": "GYROSCOPE",
14-
"thermometer": "THERMOMETER",
15-
"roboticArm": "ROBOTIC ARM",
16-
"gasSensor": "GAS SENSOR",
17-
"dustSensor": "DUST SENSOR",
18-
"soundMeter": "SOUND METER",
3+
"oscilloscope": "Oscilloscope",
4+
"multimeter": "Multimeter",
5+
"logicAnalyzer": "Logic Analyzer",
6+
"sensors": "Sensors",
7+
"waveGenerator": "Wave Generator",
8+
"powerSource": "Power Source",
9+
"luxMeter": "Lux Meter",
10+
"accelerometer": "Accelerometer",
11+
"barometer": "Barometer",
12+
"compass": "Compass",
13+
"gyroscope": "Gyroscope",
14+
"thermometer": "Thermometer",
15+
"roboticArm": "Robotic Arm",
16+
"gasSensor": "Gas Sensor",
17+
"dustSensor": "Dust Sensor",
18+
"soundMeter": "Sound Meter",
1919
"oscilloscopeDesc": "Allows observation of varying signal voltages",
2020
"multimeterDesc": "Measure voltage, current, resistance and capacitance",
2121
"logicAnalyzerDesc": "Captures and displays signals from digital systems",
@@ -73,8 +73,8 @@
7373
"step2ConnectOtg": "2. Connect the other end of the micro USB cable to a OTG",
7474
"step3ConnectPhone": "3. Connect the OTG to the phone",
7575
"bluetoothWifiConnection": "Connect using Bluetooth or Wi-Fi",
76-
"bluetooth": "BLUETOOTH",
77-
"wifi": "WIFI",
76+
"bluetooth": "Bluetooth",
77+
"wifi": "Wi-Fi",
7878
"whatIsPslab": "What is PSLab Device?",
7979
"pslabUrl": "https://pslab.io",
8080
"logicAnalyzerTitle": "Logic Analyzer",
@@ -89,24 +89,24 @@
8989
"channelLA2": "LA2",
9090
"channelLA3": "LA3",
9191
"channelLA4": "LA4",
92-
"analysisOptionEveryEdge": "EVERY EDGE",
93-
"analysisOptionEveryFallingEdge": "EVERY FALLING EDGE",
94-
"analysisOptionEveryRisingEdge": "EVERY RISING EDGE",
95-
"analysisOptionEveryFourthRisingEdge": "EVERY FOURTH RISING EDGE",
96-
"analysisOptionDisabled": "DISABLED",
92+
"analysisOptionEveryEdge": "Every Edge",
93+
"analysisOptionEveryFallingEdge": "Every Falling Edge",
94+
"analysisOptionEveryRisingEdge": "Every Rising Edge",
95+
"analysisOptionEveryFourthRisingEdge": "Every Fourth Rising Edge",
96+
"analysisOptionDisabled": "Disabled",
9797
"powerSourceTitle": "Power Source",
9898
"pinPV1": "PV1",
9999
"pinPV2": "PV2",
100100
"pinPV3": "PV3",
101101
"pinPCS": "PCS",
102-
"analyze": "ANALYZE",
102+
"analyze": "Analyze",
103103
"settings": "Settings",
104104
"autoStart": "Auto Start",
105105
"autoStartText": "Auto start app when PSLab device is connected",
106106
"export": "Export Data Format",
107107
"txtFormat": "TXT Format",
108108
"csvFormat": "CSV Format",
109-
"cancel": "CANCEL",
109+
"cancel": "Cancel",
110110
"currentFormat": "Current format is ",
111111
"aboutUs": "About Us",
112112
"pslabDescription": "The goal of PSLab is to create an Open Source hardware device (open on all layers) that can be used for experiments by teachers, students and citizen scientists. Our tiny pocket lab provides an array of sensors for doing science and engineering experiments. It provides functions of numerous measurement devices including an oscilloscope, a waveform generator, a frequency generator, a frequency counter, a programmable voltage, current source and as a data logger.",
@@ -235,8 +235,8 @@
235235
"pwmWaveForm": "PWM Waveform",
236236
"close": "Close",
237237
"timeMillisecond": "Time (ms)",
238-
"low": "LOW",
239-
"high": "HIGH",
238+
"low": "Low",
239+
"high": "High",
240240
"clearTimelineTitle": "Clear Timeline?",
241241
"clearTimelineConfirmation": "Are you sure you want to clear the timeline?",
242242
"avgAngleLabel": "Avg Angle",

lib/l10n/app_localizations.dart

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -97,97 +97,97 @@ abstract class AppLocalizations {
9797
/// No description provided for @oscilloscope.
9898
///
9999
/// In en, this message translates to:
100-
/// **'OSCILLOSCOPE'**
100+
/// **'Oscilloscope'**
101101
String get oscilloscope;
102102

103103
/// No description provided for @multimeter.
104104
///
105105
/// In en, this message translates to:
106-
/// **'MULTIMETER'**
106+
/// **'Multimeter'**
107107
String get multimeter;
108108

109109
/// No description provided for @logicAnalyzer.
110110
///
111111
/// In en, this message translates to:
112-
/// **'LOGIC ANALYZER'**
112+
/// **'Logic Analyzer'**
113113
String get logicAnalyzer;
114114

115115
/// No description provided for @sensors.
116116
///
117117
/// In en, this message translates to:
118-
/// **'SENSORS'**
118+
/// **'Sensors'**
119119
String get sensors;
120120

121121
/// No description provided for @waveGenerator.
122122
///
123123
/// In en, this message translates to:
124-
/// **'WAVE GENERATOR'**
124+
/// **'Wave Generator'**
125125
String get waveGenerator;
126126

127127
/// No description provided for @powerSource.
128128
///
129129
/// In en, this message translates to:
130-
/// **'POWER SOURCE'**
130+
/// **'Power Source'**
131131
String get powerSource;
132132

133133
/// No description provided for @luxMeter.
134134
///
135135
/// In en, this message translates to:
136-
/// **'LUX METER'**
136+
/// **'Lux Meter'**
137137
String get luxMeter;
138138

139139
/// No description provided for @accelerometer.
140140
///
141141
/// In en, this message translates to:
142-
/// **'ACCELEROMETER'**
142+
/// **'Accelerometer'**
143143
String get accelerometer;
144144

145145
/// No description provided for @barometer.
146146
///
147147
/// In en, this message translates to:
148-
/// **'BAROMETER'**
148+
/// **'Barometer'**
149149
String get barometer;
150150

151151
/// No description provided for @compass.
152152
///
153153
/// In en, this message translates to:
154-
/// **'COMPASS'**
154+
/// **'Compass'**
155155
String get compass;
156156

157157
/// No description provided for @gyroscope.
158158
///
159159
/// In en, this message translates to:
160-
/// **'GYROSCOPE'**
160+
/// **'Gyroscope'**
161161
String get gyroscope;
162162

163163
/// No description provided for @thermometer.
164164
///
165165
/// In en, this message translates to:
166-
/// **'THERMOMETER'**
166+
/// **'Thermometer'**
167167
String get thermometer;
168168

169169
/// No description provided for @roboticArm.
170170
///
171171
/// In en, this message translates to:
172-
/// **'ROBOTIC ARM'**
172+
/// **'Robotic Arm'**
173173
String get roboticArm;
174174

175175
/// No description provided for @gasSensor.
176176
///
177177
/// In en, this message translates to:
178-
/// **'GAS SENSOR'**
178+
/// **'Gas Sensor'**
179179
String get gasSensor;
180180

181181
/// No description provided for @dustSensor.
182182
///
183183
/// In en, this message translates to:
184-
/// **'DUST SENSOR'**
184+
/// **'Dust Sensor'**
185185
String get dustSensor;
186186

187187
/// No description provided for @soundMeter.
188188
///
189189
/// In en, this message translates to:
190-
/// **'SOUND METER'**
190+
/// **'Sound Meter'**
191191
String get soundMeter;
192192

193193
/// No description provided for @oscilloscopeDesc.
@@ -535,13 +535,13 @@ abstract class AppLocalizations {
535535
/// No description provided for @bluetooth.
536536
///
537537
/// In en, this message translates to:
538-
/// **'BLUETOOTH'**
538+
/// **'Bluetooth'**
539539
String get bluetooth;
540540

541541
/// No description provided for @wifi.
542542
///
543543
/// In en, this message translates to:
544-
/// **'WIFI'**
544+
/// **'Wi-Fi'**
545545
String get wifi;
546546

547547
/// No description provided for @whatIsPslab.
@@ -631,31 +631,31 @@ abstract class AppLocalizations {
631631
/// No description provided for @analysisOptionEveryEdge.
632632
///
633633
/// In en, this message translates to:
634-
/// **'EVERY EDGE'**
634+
/// **'Every Edge'**
635635
String get analysisOptionEveryEdge;
636636

637637
/// No description provided for @analysisOptionEveryFallingEdge.
638638
///
639639
/// In en, this message translates to:
640-
/// **'EVERY FALLING EDGE'**
640+
/// **'Every Falling Edge'**
641641
String get analysisOptionEveryFallingEdge;
642642

643643
/// No description provided for @analysisOptionEveryRisingEdge.
644644
///
645645
/// In en, this message translates to:
646-
/// **'EVERY RISING EDGE'**
646+
/// **'Every Rising Edge'**
647647
String get analysisOptionEveryRisingEdge;
648648

649649
/// No description provided for @analysisOptionEveryFourthRisingEdge.
650650
///
651651
/// In en, this message translates to:
652-
/// **'EVERY FOURTH RISING EDGE'**
652+
/// **'Every Fourth Rising Edge'**
653653
String get analysisOptionEveryFourthRisingEdge;
654654

655655
/// No description provided for @analysisOptionDisabled.
656656
///
657657
/// In en, this message translates to:
658-
/// **'DISABLED'**
658+
/// **'Disabled'**
659659
String get analysisOptionDisabled;
660660

661661
/// No description provided for @powerSourceTitle.
@@ -691,7 +691,7 @@ abstract class AppLocalizations {
691691
/// No description provided for @analyze.
692692
///
693693
/// In en, this message translates to:
694-
/// **'ANALYZE'**
694+
/// **'Analyze'**
695695
String get analyze;
696696

697697
/// No description provided for @settings.
@@ -733,7 +733,7 @@ abstract class AppLocalizations {
733733
/// No description provided for @cancel.
734734
///
735735
/// In en, this message translates to:
736-
/// **'CANCEL'**
736+
/// **'Cancel'**
737737
String get cancel;
738738

739739
/// No description provided for @currentFormat.
@@ -1507,13 +1507,13 @@ abstract class AppLocalizations {
15071507
/// No description provided for @low.
15081508
///
15091509
/// In en, this message translates to:
1510-
/// **'LOW'**
1510+
/// **'Low'**
15111511
String get low;
15121512

15131513
/// No description provided for @high.
15141514
///
15151515
/// In en, this message translates to:
1516-
/// **'HIGH'**
1516+
/// **'High'**
15171517
String get high;
15181518

15191519
/// No description provided for @clearTimelineTitle.

0 commit comments

Comments
 (0)