@wandelbots/wandelbots-js-react-components 2.27.1-pr.feature-add-cycle-timer.368.c18c8bd → 2.27.1-pr.feature-add-cycle-timer.368.5bd2083
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.
- package/dist/components/CycleTimer.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CycleTimer.tsx +3 -4
- package/src/i18n/locales/de/translations.json +1 -2
- package/src/i18n/locales/en/translations.json +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "2.27.1-pr.feature-add-cycle-timer.368.
|
|
3
|
+
"version": "2.27.1-pr.feature-add-cycle-timer.368.5bd2083",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -189,8 +189,8 @@ export const CycleTimer = externalizeComponent(
|
|
|
189
189
|
{compact
|
|
190
190
|
? // Compact mode: show only remaining time
|
|
191
191
|
formatTime(remainingTime)
|
|
192
|
-
: // Full mode: show "remaining / total min." format
|
|
193
|
-
`${formatTime(remainingTime)} / ${
|
|
192
|
+
: // Full mode: show "remaining / of total min." format
|
|
193
|
+
`${formatTime(remainingTime)} / ${t("CycleTimer.OfTime.lb", { time: formatTime(maxTime) })}`}
|
|
194
194
|
</Typography>
|
|
195
195
|
</Box>
|
|
196
196
|
)
|
|
@@ -281,8 +281,7 @@ export const CycleTimer = externalizeComponent(
|
|
|
281
281
|
color: theme.palette.text.secondary,
|
|
282
282
|
}}
|
|
283
283
|
>
|
|
284
|
-
{t("CycleTimer.
|
|
285
|
-
{t("CycleTimer.Min.lb")}
|
|
284
|
+
{t("CycleTimer.OfTime.lb", { time: formatTime(maxTime) })}
|
|
286
285
|
</Typography>
|
|
287
286
|
</Box>
|
|
288
287
|
</Box>
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Jogging.Cartesian.bt": "Cartesian",
|
|
46
46
|
"Jogging.Joints.bt": "Joints",
|
|
47
47
|
"Jogging.Velocity.bt": "Velocity",
|
|
48
|
-
"CycleTimer.RemainingTime.lb": "remaining
|
|
49
|
-
"CycleTimer.
|
|
50
|
-
"CycleTimer.Min.lb": "min."
|
|
48
|
+
"CycleTimer.RemainingTime.lb": "Time remaining",
|
|
49
|
+
"CycleTimer.OfTime.lb": "of {{time}} min."
|
|
51
50
|
}
|