@ledvance/base 1.3.50 → 1.3.52
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 +44 -1
- package/package.json +1 -1
- package/src/api/nativeEventEmitter.ts +1 -0
- package/src/components/PressActionView.tsx +8 -7
- package/src/components/SocketItem.tsx +1 -1
- package/src/i18n/strings.ts +1450 -262
- package/src/models/modules/NativePropsSlice.tsx +8 -0
- package/src/res/index.ts +4 -0
- package/translateKey.txt +44 -1
package/localazy.json
CHANGED
|
@@ -1083,7 +1083,50 @@
|
|
|
1083
1083
|
"MATCH:timer_switch2_active_timer_field_description_on_text",
|
|
1084
1084
|
"MATCH:timer_switch_active_timer_field_description_off_text",
|
|
1085
1085
|
"MATCH:timer_switch1_active_timer_field_description_off_text",
|
|
1086
|
-
"MATCH:timer_switch2_active_timer_field_description_off_text"
|
|
1086
|
+
"MATCH:timer_switch2_active_timer_field_description_off_text",
|
|
1087
|
+
"MATCH:switch_active_timer_field_small_off_text",
|
|
1088
|
+
"MATCH:switch1_active_timer_field_small_off_text",
|
|
1089
|
+
"MATCH:switch2_active_timer_field_small_off_text",
|
|
1090
|
+
"MATCH:switch_active_timer_field_small_on_text",
|
|
1091
|
+
"MATCH:switch1_active_timer_field_small_on_text",
|
|
1092
|
+
"MATCH:switch2_active_timer_field_small_on_text",
|
|
1093
|
+
"MATCH:curtain_control_title",
|
|
1094
|
+
"MATCH:curtain_control_headline_text",
|
|
1095
|
+
"MATCH:curtain_summary_action_txt_1",
|
|
1096
|
+
"MATCH:curtain_summary_action_txt_2",
|
|
1097
|
+
"MATCH:curtain_motor_steering",
|
|
1098
|
+
"MATCH:curtain_motor_steering_tip",
|
|
1099
|
+
"MATCH:curtain_motor_steering1",
|
|
1100
|
+
"MATCH:curtain_motor_steering1_description",
|
|
1101
|
+
"MATCH:curtain_motor_steering2",
|
|
1102
|
+
"MATCH:curtain_motor_steering2_description",
|
|
1103
|
+
"MATCH:curation_calibration_nextbtn_text",
|
|
1104
|
+
"MATCH:curation_calibration_callibrate_btn_text",
|
|
1105
|
+
"MATCH:curtain_intelligent_calibration",
|
|
1106
|
+
"MATCH:curtain_intelligent_calibration_step1",
|
|
1107
|
+
"MATCH:curtain_intelligent_calibration_step2",
|
|
1108
|
+
"MATCH:curtain_fast_calibration",
|
|
1109
|
+
"MATCH:curtain_fast_calibration_step1",
|
|
1110
|
+
"MATCH:curtain_fast_calibration_step2",
|
|
1111
|
+
"MATCH:curtain_fast_toast_text",
|
|
1112
|
+
"MATCH:curtain_calibration_success_text",
|
|
1113
|
+
"MATCH:curtain_calibration_failed_text",
|
|
1114
|
+
"MATCH:curtain_calibration_progress_text",
|
|
1115
|
+
"MATCH:curtain_calibration_tryagin_text",
|
|
1116
|
+
"MATCH:switchname_1channel",
|
|
1117
|
+
"MATCH:switchname_2channel",
|
|
1118
|
+
"MATCH:switchname_4channel",
|
|
1119
|
+
"MATCH:switch_4channelfunctions1",
|
|
1120
|
+
"MATCH:switch_4channelfunctions2",
|
|
1121
|
+
"MATCH:switch_4channelfunctions3",
|
|
1122
|
+
"MATCH:switch_4channelfunctions4",
|
|
1123
|
+
"MATCH:switch_singlepress",
|
|
1124
|
+
"MATCH:switch_doublepress",
|
|
1125
|
+
"MATCH:switch_longpress",
|
|
1126
|
+
"MATCH:switch_4channels1setting",
|
|
1127
|
+
"MATCH:switch_4channels2setting",
|
|
1128
|
+
"MATCH:switch_4channels3setting",
|
|
1129
|
+
"MATCH:switch_4channels4setting"
|
|
1087
1130
|
],
|
|
1088
1131
|
"replacements": {
|
|
1089
1132
|
"REGEX:% %1\\$s.*?\\)%": "{0}",
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import Spacer from './Spacer';
|
|
|
6
6
|
import ThemeType from '../config/themeType';
|
|
7
7
|
import {useNavigation} from '@react-navigation/core';
|
|
8
8
|
import {NativeApi} from "../api/native";
|
|
9
|
+
import I18n from "../i18n/index";
|
|
9
10
|
|
|
10
11
|
const cx = Utils.RatioUtils.convertX;
|
|
11
12
|
const {withTheme} = Utils.ThemeUtils;
|
|
@@ -57,34 +58,34 @@ const PressActionView = (props: PressActionProps) => {
|
|
|
57
58
|
if (props.channel === 1) {
|
|
58
59
|
data = [
|
|
59
60
|
{
|
|
60
|
-
title: '
|
|
61
|
+
title: I18n.getLang('switch_singlepress'), onPress: () => toRoutinesPage(PressType.Single)
|
|
61
62
|
},
|
|
62
63
|
{
|
|
63
|
-
title: '
|
|
64
|
+
title: I18n.getLang('switch_doublepress'), onPress: () => toRoutinesPage(PressType.Double)
|
|
64
65
|
},
|
|
65
66
|
{
|
|
66
|
-
title: '
|
|
67
|
+
title: I18n.getLang('switch_longpress'), onPress: () => toRoutinesPage(PressType.Long)
|
|
67
68
|
},
|
|
68
69
|
]
|
|
69
70
|
} else {
|
|
70
71
|
data = [
|
|
71
72
|
{
|
|
72
|
-
title: '
|
|
73
|
+
title: I18n.getLang('switch_4channelfunctions1'),
|
|
73
74
|
onPress: () => toSettingPage(0)
|
|
74
75
|
},
|
|
75
76
|
{
|
|
76
|
-
title: '
|
|
77
|
+
title: I18n.getLang('switch_4channelfunctions2'),
|
|
77
78
|
onPress: () => toSettingPage(1)
|
|
78
79
|
},
|
|
79
80
|
]
|
|
80
81
|
if (props.channel === 4) {
|
|
81
82
|
data = data.concat(
|
|
82
83
|
{
|
|
83
|
-
title: '
|
|
84
|
+
title: I18n.getLang('switch_4channelfunctions3'),
|
|
84
85
|
onPress: () => toSettingPage(2)
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
|
-
title: '
|
|
88
|
+
title: I18n.getLang('switch_4channelfunctions4'),
|
|
88
89
|
onPress: () => toSettingPage(3)
|
|
89
90
|
}
|
|
90
91
|
)
|