@ledvance/base 1.3.90 → 1.3.92
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/localazy.json +6 -1
- package/package.json +1 -1
- package/src/components/LdvPickerView.tsx +2 -2
- package/src/components/OsramFanAdjustView.tsx +6 -6
- package/src/i18n/strings.ts +305 -165
- package/translateKey.txt +5 -0
package/localazy.json
CHANGED
|
@@ -1237,7 +1237,12 @@
|
|
|
1237
1237
|
"MATCH:charttime_type2",
|
|
1238
1238
|
"MATCH:charttime_type3",
|
|
1239
1239
|
"MATCH:charttime_type4",
|
|
1240
|
-
"MATCH:power_chart_empty"
|
|
1240
|
+
"MATCH:power_chart_empty",
|
|
1241
|
+
"MATCH:timeschedule_own",
|
|
1242
|
+
"MATCH:timeschedule_on",
|
|
1243
|
+
"MATCH:timeschedule_off",
|
|
1244
|
+
"MATCH:ceiling_fan_tile_uvc_fan_mode_opt_3",
|
|
1245
|
+
"MATCH:ceiling_fan_mode_info_option_3_text"
|
|
1241
1246
|
],
|
|
1242
1247
|
"replacements": {
|
|
1243
1248
|
"REGEX:% %1\\$s.*?\\)%": "{0}",
|
package/package.json
CHANGED
|
@@ -49,8 +49,8 @@ const LdvPickerView = (props: LdvPickerViewProps) => {
|
|
|
49
49
|
.filter(it => it >= minHour)
|
|
50
50
|
.map(it => _.padStart(it.toString(), 2, '0')),
|
|
51
51
|
[minHour, maxHour])
|
|
52
|
-
const minutes = useMemo(() => _.times(maxMinute
|
|
53
|
-
.filter(it => it >= minMinute)
|
|
52
|
+
const minutes = useMemo(() => _.times(maxMinute)
|
|
53
|
+
.filter(it => it >= minMinute && it % minutesStep === 0)
|
|
54
54
|
.map(it => _.padStart(it.toString(), 2, '0')),
|
|
55
55
|
[minMinute, maxMinute, minutesStep])
|
|
56
56
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react"
|
|
2
|
-
import { View, Text, TouchableOpacity, Image } from
|
|
2
|
+
import { View, Text, TouchableOpacity, Image, ScrollView } from 'react-native'
|
|
3
3
|
import LdvSwitch from "./ldvSwitch"
|
|
4
4
|
import I18n from "@i18n"
|
|
5
5
|
import LdvSlider from "./ldvSlider"
|
|
@@ -51,7 +51,7 @@ const OsramFanAdjustView = (props: OsramFanAdjustProps) => {
|
|
|
51
51
|
onSlidingComplete={setFanSpeed}
|
|
52
52
|
/>
|
|
53
53
|
<Spacer />
|
|
54
|
-
<
|
|
54
|
+
<ScrollView style={{ marginHorizontal: cx(16) }}>
|
|
55
55
|
<View style={{ flexDirection: 'row', marginBottom: cx(2), alignItems: 'center' }}>
|
|
56
56
|
<Text style={{ marginRight: cx(5), color: props.theme?.global.fontColor }}>{I18n.getLang('ceiling_fan_tile_uvc_fan_mode')}</Text>
|
|
57
57
|
<TouchableOpacity onPress={() => Popup({
|
|
@@ -63,8 +63,8 @@ const OsramFanAdjustView = (props: OsramFanAdjustProps) => {
|
|
|
63
63
|
color: props.theme?.global.fontColor,
|
|
64
64
|
}}>{I18n.getLang('ceiling_fan_mode_info_description_text')}</Text>
|
|
65
65
|
<Spacer />
|
|
66
|
-
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('
|
|
67
|
-
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('
|
|
66
|
+
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('ceiling_fan_tile_uvc_fan_mode_opt_3')}</Text>
|
|
67
|
+
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('ceiling_fan_mode_info_option_3_text')}</Text>
|
|
68
68
|
<Spacer />
|
|
69
69
|
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('ceiling_fan_mode_info_option_2_headline')}</Text>
|
|
70
70
|
<Text style={{ color: props.theme?.global.fontColor }}>{I18n.getLang('ceiling_fan_mode_info_option_2_text')}</Text>
|
|
@@ -75,13 +75,13 @@ const OsramFanAdjustView = (props: OsramFanAdjustProps) => {
|
|
|
75
75
|
</View>
|
|
76
76
|
<Segmented
|
|
77
77
|
options={[
|
|
78
|
-
{ label: I18n.getLang('
|
|
78
|
+
{ label: I18n.getLang('ceiling_fan_tile_uvc_fan_mode_opt_3'), value: 'fresh' },
|
|
79
79
|
{ label: I18n.getLang('ceiling_fan_tile_uvc_fan_mode_opt_2'), value: 'nature' },
|
|
80
80
|
]}
|
|
81
81
|
value={fanMode}
|
|
82
82
|
onChange={setFanMode}
|
|
83
83
|
/>
|
|
84
|
-
</
|
|
84
|
+
</ScrollView>
|
|
85
85
|
<Spacer />
|
|
86
86
|
</>
|
|
87
87
|
)
|