@ledvance/base 1.2.86 → 1.2.87

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.2.86",
7
+ "version": "1.2.87",
8
8
  "scripts": {
9
9
  "prepublishOnly": "python update-localazy.py"
10
10
  },
@@ -0,0 +1,87 @@
1
+ import React from 'react';
2
+ import Card from '@ledvance/base/src/components/Card';
3
+ import { Battery, Utils } from 'tuya-panel-kit';
4
+ import { View, Text, StyleSheet } from 'react-native';
5
+ import I18n from '@ledvance/base/src/i18n';
6
+ import Spacer from '@ledvance/base/src/components/Spacer';
7
+
8
+ const cx = Utils.RatioUtils.convertX;
9
+ type BatteryProps = {
10
+ batteryState: string;
11
+ };
12
+
13
+ enum BatteryState {
14
+ Low = 'low',
15
+ Middle = 'middle',
16
+ High = 'high',
17
+ }
18
+
19
+ const batteryLevels = {
20
+ [BatteryState.High]: 100,
21
+ [BatteryState.Middle]: 60,
22
+ [BatteryState.Low]: 30,
23
+ };
24
+
25
+ const getBatteryDisplayName = (value: string): string => {
26
+ switch (value) {
27
+ case BatteryState.High:
28
+ return I18n.getLang('contact_sensor_battery_state1');
29
+ case BatteryState.Middle:
30
+ return I18n.getLang('contact_sensor_battery_state2');
31
+ case BatteryState.Low:
32
+ default:
33
+ return I18n.getLang('contact_sensor_battery_state3');
34
+ }
35
+ };
36
+
37
+ export default function BatteryStateView(props: BatteryProps) {
38
+ const { batteryState } = props;
39
+ const calcColor = (_, highColor, middleColor, lowColor) => {
40
+ switch (batteryState) {
41
+ case BatteryState.High:
42
+ return highColor;
43
+ case BatteryState.Middle:
44
+ return middleColor;
45
+ default:
46
+ return lowColor;
47
+ }
48
+ };
49
+
50
+ const battery = batteryLevels[batteryState];
51
+ return (
52
+ <Card
53
+ style={{ marginHorizontal: cx(24) }}
54
+ containerStyle={{ flexDirection: 'row', alignItems: 'center' }}
55
+ >
56
+ <Text style={styles.title}>{I18n.getLang('motion_detector_battery__state4')}</Text>
57
+ <Spacer height={0} style={{ flex: 1 }} />
58
+ <View style={styles.batteryRotate}>
59
+ <Battery value={battery} onCalcColor={calcColor} size={cx(30)} middleColor="#999999" />
60
+ </View>
61
+ <Text style={styles.content}>{getBatteryDisplayName(batteryState)}</Text>
62
+ </Card>
63
+ );
64
+ }
65
+
66
+ const styles = StyleSheet.create({
67
+ title: {
68
+ marginStart: cx(16),
69
+ marginVertical: cx(18),
70
+ color: '#000',
71
+ fontSize: cx(16),
72
+ fontFamily: 'helvetica_neue_lt_std_bd',
73
+ },
74
+
75
+ batteryRotate: {
76
+ transform: [{ rotate: '90deg' }],
77
+ position: 'relative',
78
+ right: cx(30),
79
+ },
80
+
81
+ content: {
82
+ marginEnd: cx(16),
83
+ color: '#000',
84
+ fontSize: cx(14),
85
+ fontFamily: 'helvetica_neue_lt_std_roman',
86
+ },
87
+ });
@@ -14,17 +14,22 @@ interface Prop {
14
14
  enable: boolean
15
15
  setEnable: (enable: boolean) => void
16
16
  showSwitch?:boolean
17
+ description?: string
17
18
  }
18
19
 
19
20
  const LdvSwitch = (props: Prop) => {
20
- const {title, color, colorAlpha, enable, setEnable, showSwitch = true} = props
21
+ const {title, color, colorAlpha, enable, description, setEnable, showSwitch = true} = props
21
22
  return (
22
- <View style={styles.titleBGView}>
23
- <Text style={{...styles.title, color: props.theme.global.fontColor}}>{title}</Text>
24
- <View style={[styles.colorBlock, {backgroundColor: color, opacity: colorAlpha}]}/>
25
- <Spacer style={{flex: 1}} height={0} width={0}/>
26
- {showSwitch && <SwitchButton value={enable} onValueChange={setEnable}/>}
27
- </View>
23
+ <View style={styles.titleBGView}>
24
+ <View style={{flexDirection: 'column', flex: 1}}>
25
+ <View style={{flexDirection: 'row', alignItems: 'center'}}>
26
+ <Text style={{...styles.title, color: props.theme.global.fontColor}}>{title}</Text>
27
+ <View style={[styles.colorBlock, {backgroundColor: color, opacity: colorAlpha}]}/>
28
+ </View>
29
+ {description && <Text style={{color: props.theme.global.fontColor}}>{description}</Text>}
30
+ </View>
31
+ {showSwitch && <SwitchButton value={enable} onValueChange={setEnable}/>}
32
+ </View>
28
33
  )
29
34
  }
30
35
 
@@ -33,6 +38,7 @@ const styles = StyleSheet.create({
33
38
  flexDirection: 'row',
34
39
  alignItems: 'center',
35
40
  paddingHorizontal: cx(16),
41
+ paddingVertical: cx(16),
36
42
  },
37
43
  colorBlock: {
38
44
  width: cx(20),
@@ -44,8 +50,7 @@ const styles = StyleSheet.create({
44
50
  fontSize: cx(16),
45
51
  // fontFamily: 'helvetica_neue_lt_std_bd',
46
52
  fontWeight: 'bold',
47
- paddingVertical: cx(16),
48
- maxWidth: cx(220)
53
+ maxWidth: cx(220),
49
54
  },
50
55
  })
51
56
 
@@ -4229,7 +4229,7 @@ export default {
4229
4229
  "camera_settings_recording_mode_firstbox_topic1": "Udløst af bevægelse",
4230
4230
  "camera_settings_recording_mode_firstbox_topic1_description": "Optager kun, hvis der registreres en bevægelse",
4231
4231
  "camera_settings_recording_mode_firstbox_topic2": "Fortsat",
4232
- "camera_settings_recording_mode_firstbox_topic2_description": "Vil altid optage",
4232
+ "camera_settings_recording_mode_firstbox_topic2_description": "Vil altid optage, uanset en bevægelse",
4233
4233
  "camera_settings_recording_mode_question_note": "Bemærk, at du skal aktivere notifikationer for bevægelsesregistrering for at kunne optage videoer.",
4234
4234
  "camera_settings_recording_mode_question_topic": "Er du sikker på, du vil aktivere bevægelsesudløste optagelser?",
4235
4235
  "camera_settings_sd_storage_firstbox_note": "Når loop-optagelse er aktiveret, overskrives ældre videoer, hvis SD-kortet er fuldt.",
@@ -5031,7 +5031,7 @@ export default {
5031
5031
  "camera_feature_5_headline": "Aufnahmen",
5032
5032
  "camera_human_body_filtering": "Filterung des menschlichen Körpers",
5033
5033
  "camera_human_private_mode": "Privatmodus",
5034
- "camera_local_recording": "Local Recording",
5034
+ "camera_local_recording": "Lokale Aufnahme",
5035
5035
  "camera_mic_two_way_talking": "Anrufen…",
5036
5036
  "camera_net_err": "Die Geräteverbindung ist unterbrochen. Bitte überprüfe das Gerät und sein Netzwerk",
5037
5037
  "camera_private_mode_sleep": "Gerät im Ruhemodus",
@@ -5063,7 +5063,7 @@ export default {
5063
5063
  "camera_settings_talk_mode_firstbox_option2_topic": "Beidseitige Kommunikation",
5064
5064
  "camera_settings_talk_mode_secondtopic": "Die Sprache kann von der Umgebung beeinflusst werden. Je nach Situation empfehlen wir entweder ein- oder beidseitige-Kommunikation.",
5065
5065
  "camera_settings_talk_mode_topic": "Gesprächsmodus",
5066
- "camera_status_indicator": "Status indicator",
5066
+ "camera_status_indicator": "Statusanzeige",
5067
5067
  "camera_tile_camera_button_label_photo": "Foto aufnehmen",
5068
5068
  "camera_tile_camera_button_label_video": "Video aufzeichnen",
5069
5069
  "camera_tile_camera_headline": "Kamera",
@@ -5871,7 +5871,7 @@ export default {
5871
5871
  "camera_settings_recording_mode_firstbox_topic1": "Ενεργοποίηση με κίνηση",
5872
5872
  "camera_settings_recording_mode_firstbox_topic1_description": "Θα εγγραφεί μόνο εάν εντοπιστεί κίνηση",
5873
5873
  "camera_settings_recording_mode_firstbox_topic2": "Συνεχής",
5874
- "camera_settings_recording_mode_firstbox_topic2_description": "Θα καταγράφει πάντα",
5874
+ "camera_settings_recording_mode_firstbox_topic2_description": "Θα καταγράφει πάντα, ανεξάρτητα από μια κίνηση",
5875
5875
  "camera_settings_recording_mode_question_note": "Σημειώστε ότι πρέπει να ενεργοποιήσετε τις ειδοποιήσεις για ανίχνευση κίνησης για να μπορείτε να εγγράψετε βίντεο.",
5876
5876
  "camera_settings_recording_mode_question_topic": "Θέλετε πραγματικά να ενεργοποιήσετε την εγγραφή που ενεργοποιείται από την κίνηση;",
5877
5877
  "camera_settings_sd_storage_firstbox_note": "Όταν ενεργοποιείται η συνεχής εγγραφή, τα παλαιότερα βίντεο αντικαθίστανται, εάν η κάρτα SD είναι πλήρης.",
@@ -6232,8 +6232,8 @@ export default {
6232
6232
  "flag_deletepopup": "Θέλετε πραγματικά να διαγράψετε τη σημαία;",
6233
6233
  "flag_edittheflag": "Επεξεργασία της σημαίας",
6234
6234
  "flag_leverkusen": "Λεβερκούζεν",
6235
- "flag_resetbutton": "Do you want to reset your flag data?",
6236
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
6235
+ "flag_resetbutton": "Θέλετε να αρχικοποιήσετε τα δεδομένα σημαίας σας;",
6236
+ "flag_resetdescription": "Σημειώστε ότι όλες οι προσαρμοσμένες σημαίες θα αρχικοποιηθούν.",
6237
6237
  "flashing_fs_toggle_state1": "Γρήγορα",
6238
6238
  "flashing_fs_toggle_state2": "Αργά",
6239
6239
  "generation_data_description_text": "δείχνει την παραγόμενη ενέργεια",
@@ -7513,7 +7513,7 @@ export default {
7513
7513
  "camera_settings_recording_mode_firstbox_topic1": "Käivitub liikumise tuvastamisel",
7514
7514
  "camera_settings_recording_mode_firstbox_topic1_description": "Salvestab ainult siis, kui tuvastatakse liikumine",
7515
7515
  "camera_settings_recording_mode_firstbox_topic2": "Pidev",
7516
- "camera_settings_recording_mode_firstbox_topic2_description": "Salvestab alati",
7516
+ "camera_settings_recording_mode_firstbox_topic2_description": "Salvestab alati, olenemata liikumisest",
7517
7517
  "camera_settings_recording_mode_question_note": "Pane tähele, et videote salvestamiseks pead esmalt aktiveerima liikumise tuvastamise märguanded.",
7518
7518
  "camera_settings_recording_mode_question_topic": "Kas soovid tõesti aktiveerida liikumise tuvastamisel käivituva salvestamise?",
7519
7519
  "camera_settings_sd_storage_firstbox_note": "Kui silmussalvestuse funktsioon on aktiveeritud ja SD-kaart saab täis, kirjutatakse vanemad videofailid üle.",
@@ -8334,7 +8334,7 @@ export default {
8334
8334
  "camera_settings_recording_mode_firstbox_topic1": "Liikkeen käynnistämä",
8335
8335
  "camera_settings_recording_mode_firstbox_topic1_description": "Tallentaa vain, jos liike havaitaan",
8336
8336
  "camera_settings_recording_mode_firstbox_topic2": "Jatkuva",
8337
- "camera_settings_recording_mode_firstbox_topic2_description": "Tallentaa aina",
8337
+ "camera_settings_recording_mode_firstbox_topic2_description": "Tallentaa aina, liikkeestä riippumatta",
8338
8338
  "camera_settings_recording_mode_question_note": "Huomaa, että sinun on aktivoitava liiketunnistuksen ilmoitukset voidaksesi tallentaa videoita.",
8339
8339
  "camera_settings_recording_mode_question_topic": "Haluatko todella aktivoida liikkeen käynnistämän tallennuksen?",
8340
8340
  "camera_settings_sd_storage_firstbox_note": "Kun silmukkatallennus on aktivoitu, vanhemmat videot korvataan, jos SD-kortti on täynnä.",
@@ -8347,7 +8347,7 @@ export default {
8347
8347
  "camera_settings_talk_mode_firstbox_option2_topic": "Kaksisuuntainen viestintä",
8348
8348
  "camera_settings_talk_mode_secondtopic": "Ympäristö voi vaikuttaa puheeseen. Tilanteesta riippuen suosittelemme joko yksi- tai kaksisuuntaista viestintää.",
8349
8349
  "camera_settings_talk_mode_topic": "Puhetila",
8350
- "camera_status_indicator": "Status indicator",
8350
+ "camera_status_indicator": "Tilan ilmaisin",
8351
8351
  "camera_tile_camera_button_label_photo": "Ota kuva",
8352
8352
  "camera_tile_camera_button_label_video": "Tallenna video",
8353
8353
  "camera_tile_camera_headline": "Kamera",
@@ -8695,8 +8695,8 @@ export default {
8695
8695
  "flag_deletepopup": "Haluatko todella poistaa lipun?",
8696
8696
  "flag_edittheflag": "Muokkaa lippua",
8697
8697
  "flag_leverkusen": "Bayer Leverkusen",
8698
- "flag_resetbutton": "Do you want to reset your flag data?",
8699
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
8698
+ "flag_resetbutton": "Haluatko nollata lipputietosi?",
8699
+ "flag_resetdescription": "Huomaa, että kaikki mukautetut liput nollataan.",
8700
8700
  "flashing_fs_toggle_state1": "Nopea animaatio",
8701
8701
  "flashing_fs_toggle_state2": "Hidas animaatio",
8702
8702
  "generation_data_description_text": "näyttää tuotetun energian",
@@ -9155,7 +9155,7 @@ export default {
9155
9155
  "camera_settings_recording_mode_firstbox_topic1": "Déclenché par le mouvement",
9156
9156
  "camera_settings_recording_mode_firstbox_topic1_description": "N'enregistrera que si un mouvement est détecté",
9157
9157
  "camera_settings_recording_mode_firstbox_topic2": "Continu",
9158
- "camera_settings_recording_mode_firstbox_topic2_description": "Enregistrera toujours",
9158
+ "camera_settings_recording_mode_firstbox_topic2_description": "Il enregistrera toujours, quel que soit le mouvement",
9159
9159
  "camera_settings_recording_mode_question_note": "Notez que vous devez activer les notifications de détection de mouvement pour pouvoir enregistrer des vidéos.",
9160
9160
  "camera_settings_recording_mode_question_topic": "Voulez-vous vraiment activer l'enregistrement déclenché par le mouvement ?",
9161
9161
  "camera_settings_sd_storage_firstbox_note": "Lorsque l'enregistrement en boucle est activé, les anciennes vidéos sont remplacées si la carte SD est pleine.",
@@ -9168,7 +9168,7 @@ export default {
9168
9168
  "camera_settings_talk_mode_firstbox_option2_topic": "Communication bidirectionnelle",
9169
9169
  "camera_settings_talk_mode_secondtopic": "La parole peut être influencée par l'environnement. Selon la situation, nous recommandons une communication unidirectionnelle ou bidirectionnelle.",
9170
9170
  "camera_settings_talk_mode_topic": "Mode conversation",
9171
- "camera_status_indicator": "Status indicator",
9171
+ "camera_status_indicator": "Indicateur d'état",
9172
9172
  "camera_tile_camera_button_label_photo": "Prendre une photo",
9173
9173
  "camera_tile_camera_button_label_video": "Enregistrer une vidéo",
9174
9174
  "camera_tile_camera_headline": "Caméra",
@@ -9976,7 +9976,7 @@ export default {
9976
9976
  "camera_settings_recording_mode_firstbox_topic1": "Pokreće se pokretom",
9977
9977
  "camera_settings_recording_mode_firstbox_topic1_description": "Snimat će samo ako se detektira pokret",
9978
9978
  "camera_settings_recording_mode_firstbox_topic2": "Neprekidno",
9979
- "camera_settings_recording_mode_firstbox_topic2_description": "Uvijek će snimati",
9979
+ "camera_settings_recording_mode_firstbox_topic2_description": "Uvijek će snimati, bez obzira na pokret",
9980
9980
  "camera_settings_recording_mode_question_note": "Imajte na umu da morate aktivirati obavijesti za detekciju pokreta kako biste mogli snimati videozapise.",
9981
9981
  "camera_settings_recording_mode_question_topic": "Želite li stvarno aktivirati snimanje pokrenuto pokretom?",
9982
9982
  "camera_settings_sd_storage_firstbox_note": "Kada je aktivirano snimanje u petlji, stariji video zapisi prepisuju se kada je SD kartica puna.",
@@ -9989,7 +9989,7 @@ export default {
9989
9989
  "camera_settings_talk_mode_firstbox_option2_topic": "Dvosmjerna komunikacija",
9990
9990
  "camera_settings_talk_mode_secondtopic": "Na govor može utjecati okolina. Ovisno o situaciji, preporučamo jednosmjernu ili dvosmjernu komunikaciju.",
9991
9991
  "camera_settings_talk_mode_topic": "Način rada s razgovorom",
9992
- "camera_status_indicator": "Status indicator",
9992
+ "camera_status_indicator": "Pokazatelj statusa",
9993
9993
  "camera_tile_camera_button_label_photo": "Snimi fotografiju",
9994
9994
  "camera_tile_camera_button_label_video": "Snimi videozapis",
9995
9995
  "camera_tile_camera_headline": "Kamera",
@@ -10337,8 +10337,8 @@ export default {
10337
10337
  "flag_deletepopup": "Želite li zaista izbrisati zastavicu?",
10338
10338
  "flag_edittheflag": "Uređivanje zastavice",
10339
10339
  "flag_leverkusen": "Bayer Leverkusen",
10340
- "flag_resetbutton": "Do you want to reset your flag data?",
10341
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
10340
+ "flag_resetbutton": "Želite li poništiti svoje podatke o zastavici?",
10341
+ "flag_resetdescription": "Imajte na umu da će sve prilagođene zastavice biti poništene.",
10342
10342
  "flashing_fs_toggle_state1": "Brzi bljesak",
10343
10343
  "flashing_fs_toggle_state2": "Spori bljesak",
10344
10344
  "generation_data_description_text": "pokazuje proizvedenu energiju",
@@ -10776,8 +10776,8 @@ export default {
10776
10776
  "camera_feature_1_headline": "Riasztósziréna",
10777
10777
  "camera_feature_2_headline": "Mikrofon",
10778
10778
  "camera_feature_5_headline": "Felvételek",
10779
- "camera_human_body_filtering": "Human Body Filtering",
10780
- "camera_human_private_mode": "Private mode",
10779
+ "camera_human_body_filtering": "Emberi test szűrése",
10780
+ "camera_human_private_mode": "Privát mód",
10781
10781
  "camera_local_recording": "Local Recording",
10782
10782
  "camera_mic_two_way_talking": "Hívás...",
10783
10783
  "camera_net_err": "Az eszközkapcsolat megszakad, kérjük, ellenőrizze az eszközt és annak hálózatát",
@@ -10797,7 +10797,7 @@ export default {
10797
10797
  "camera_settings_recording_mode_firstbox_topic1": "Mozgásérzékelő bekapcsolt",
10798
10798
  "camera_settings_recording_mode_firstbox_topic1_description": "Csak akkor rögzít, ha mozgást észlel",
10799
10799
  "camera_settings_recording_mode_firstbox_topic2": "Folyamatos",
10800
- "camera_settings_recording_mode_firstbox_topic2_description": "Mindig rögzít",
10800
+ "camera_settings_recording_mode_firstbox_topic2_description": "Mozgástól függetlenül mindig rögzít",
10801
10801
  "camera_settings_recording_mode_question_note": "Ne feledje, hogy a videók rögzítéséhez aktiválnia kell a mozgásérzékelésre vonatkozó értesítéseket.",
10802
10802
  "camera_settings_recording_mode_question_topic": "Biztosan aktiválja a mozgás által kiváltott felvételt?",
10803
10803
  "camera_settings_sd_storage_firstbox_note": "Ha folyamatos felvételt választ akkor a régebbi videók felülíródnak, ha az SD-kártya megtelik.",
@@ -10810,7 +10810,7 @@ export default {
10810
10810
  "camera_settings_talk_mode_firstbox_option2_topic": "Kétirányú kommunikáció",
10811
10811
  "camera_settings_talk_mode_secondtopic": "A beszédet befolyásolhatja a környezet. A helyzettől függően egyirányú vagy kétirányú kommunikációt javasolunk.",
10812
10812
  "camera_settings_talk_mode_topic": "Beszélgetési mód",
10813
- "camera_status_indicator": "Status indicator",
10813
+ "camera_status_indicator": "Állapotjelző",
10814
10814
  "camera_tile_camera_button_label_photo": "Kép készítése",
10815
10815
  "camera_tile_camera_button_label_video": "Videó rögzítése",
10816
10816
  "camera_tile_camera_headline": "Kamera",
@@ -11044,14 +11044,14 @@ export default {
11044
11044
  "country_VE": "Venezuela",
11045
11045
  "country_VN": "Vietnám",
11046
11046
  "country_ZA": "Dél-Afrika",
11047
- "country_cu": "Cuba",
11047
+ "country_cu": "Kuba",
11048
11048
  "country_england": "Anglia",
11049
- "country_gb": "Great Britain",
11050
- "country_ir": "Iran",
11049
+ "country_gb": "Nagy-Britannia",
11050
+ "country_ir": "Irán",
11051
11051
  "country_pe": "Peru",
11052
11052
  "country_scotland": "Skócia",
11053
11053
  "country_selection_textfield_headline_search": "Keresés",
11054
- "country_sy": "Syria",
11054
+ "country_sy": "Szíria",
11055
11055
  "device_menu_camera_fourthbox_text2": "Rögzítési mód",
11056
11056
  "device_menu_camera_fourthbox_topic": "SD kártya felvételek",
11057
11057
  "device_menu_camera_secondbox_text3": "Kijelző megfordítása",
@@ -11158,8 +11158,8 @@ export default {
11158
11158
  "flag_deletepopup": "Tényleg törölni szeretné a zászlót?",
11159
11159
  "flag_edittheflag": "A zászló szerkesztése",
11160
11160
  "flag_leverkusen": "Bayer Leverkusen",
11161
- "flag_resetbutton": "Do you want to reset your flag data?",
11162
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
11161
+ "flag_resetbutton": "Szeretné visszaállítani a zászló adatait?",
11162
+ "flag_resetdescription": "Ne feledje, hogy az összes testreszabott zászló visszaállításra kerül.",
11163
11163
  "flashing_fs_toggle_state1": "Gyors animáció",
11164
11164
  "flashing_fs_toggle_state2": "Lassú animáció",
11165
11165
  "generation_data_description_text": "megmutatja a generált energiát",
@@ -11224,16 +11224,16 @@ export default {
11224
11224
  "matter_gradient_light_on_title": "Fade-in (ek)",
11225
11225
  "matter_gradient_overview_headline_text": "Fade-In/Out",
11226
11226
  "matterplug_LED": "LED kijelző",
11227
- "matterplug_description": "Configuration of the LED indicator after being switched On/Off",
11228
- "matterplug_heading": "LED indicator status",
11229
- "matterplug_option1description": "The status of the switch corresponds to the LED indicator: Socket is switched on when the LED is on, and switched off when the LED is off.",
11230
- "matterplug_option1title": "Indicates On/Off status",
11231
- "matterplug_option2description": "The status of the switch is inversely indicated by the LED indicator: when the LED is off, the socket is on; when the LED is on, the socket is off.",
11232
- "matterplug_option2title": "Inverse On/Off status",
11233
- "matterplug_option3description": "The LED indicator remains switched OFF irrespective of the Plug status.",
11234
- "matterplug_option3title": "Always Off",
11235
- "matterplug_option4description": "The LED indicator remains switched ON irrespective of the socket status.",
11236
- "matterplug_option4title": "Always On",
11227
+ "matterplug_description": "A LED jelző konfigurálása be-/kikapcsolás után",
11228
+ "matterplug_heading": "LED kijelző állapota",
11229
+ "matterplug_option1description": "A kapcsoló állapota megfelel a LED-kijelzőnek: Ha a LED világít, az aljzat be van kapcsolva, ha a LED kialszik, ki van kapcsolva.",
11230
+ "matterplug_option1title": "Be/Ki állapotot jelez",
11231
+ "matterplug_option2description": "A kapcsoló állapotát fordítottan jelzi a LED-kijelző: ha a LED ki van kapcsolva, az aljzat be van kapcsolva; ha a LED világít, az aljzat ki van kapcsolva.",
11232
+ "matterplug_option2title": "Fordított be- és kikapcsolási állapot",
11233
+ "matterplug_option3description": "A LED-kijelző a dugalj állapotától függetlenül kikapcsolt állapotban marad.",
11234
+ "matterplug_option3title": "Mindig kikapcsolva",
11235
+ "matterplug_option4description": "A LED-kijelző az aljzat állapotától függetlenül bekapcsolva marad.",
11236
+ "matterplug_option4title": "Mindig bekapcsolva",
11237
11237
  "mesh_device_detail_lighting_color_mode": "Szín mód",
11238
11238
  "mesh_device_detail_lighting_goodnight": "Jó éjszakát",
11239
11239
  "mesh_device_detail_lighting_leisure": "Szabadidő",
@@ -13260,7 +13260,7 @@ export default {
13260
13260
  "camera_settings_recording_mode_firstbox_topic1": "Suaktyvinamas aptikus judesį",
13261
13261
  "camera_settings_recording_mode_firstbox_topic1_description": "Įrašys tik tada, jei bus aptiktas judesys.",
13262
13262
  "camera_settings_recording_mode_firstbox_topic2": "Tęstinis",
13263
- "camera_settings_recording_mode_firstbox_topic2_description": "Visada įrašys",
13263
+ "camera_settings_recording_mode_firstbox_topic2_description": "Nuolat įrašynės, nepriklausomai nuo judesio fiksavimo",
13264
13264
  "camera_settings_recording_mode_question_note": "Atkreipkite dėmesį, kad norėdami įrašyti vaizdo įrašus, turite įjungti judesio aptikimo pranešimus.",
13265
13265
  "camera_settings_recording_mode_question_topic": "Ar tikrai norite suaktyvinti judesio suaktyvintą įrašymą?",
13266
13266
  "camera_settings_sd_storage_firstbox_note": "Kai įjungtas ciklo įrašymas, senesni vaizdo įrašai perrašomi naujais, kai SD kortelė pilna.",
@@ -13621,8 +13621,8 @@ export default {
13621
13621
  "flag_deletepopup": "Ar tikrai norite ištrinti vėliavėlę?",
13622
13622
  "flag_edittheflag": "Redaguoti vėliavą",
13623
13623
  "flag_leverkusen": "Leverkuzenas",
13624
- "flag_resetbutton": "Do you want to reset your flag data?",
13625
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
13624
+ "flag_resetbutton": "Ar norite naujo nustatyti vėliavėlės duomenis?",
13625
+ "flag_resetdescription": "Atkreipkite dėmesį, kad visos pritaikytos vėliavos bus naujo nustatytos.",
13626
13626
  "flashing_fs_toggle_state1": "Greita animacija",
13627
13627
  "flashing_fs_toggle_state2": "Lėta animacija",
13628
13628
  "generation_data_description_text": "rodo pagamintą energiją",
@@ -14081,7 +14081,7 @@ export default {
14081
14081
  "camera_settings_recording_mode_firstbox_topic1": "Kustības izraisīts",
14082
14082
  "camera_settings_recording_mode_firstbox_topic1_description": "Tiks ierakstīts tikai tad, ja tiek konstatēta kustība",
14083
14083
  "camera_settings_recording_mode_firstbox_topic2": "Nepārtraukts",
14084
- "camera_settings_recording_mode_firstbox_topic2_description": "Vienmēr ierakstīs",
14084
+ "camera_settings_recording_mode_firstbox_topic2_description": "Vienmēr ierakstīs, neatkarīgi no kustības",
14085
14085
  "camera_settings_recording_mode_question_note": "Ņemiet vērā, ka, lai varētu ierakstīt video, ir jāaktivizē kustības noteikšanas paziņojumi.",
14086
14086
  "camera_settings_recording_mode_question_topic": "Vai tiešām vēlaties aktivizēt kustības izraisītu ierakstīšanu?",
14087
14087
  "camera_settings_sd_storage_firstbox_note": "Kad cilpas ierakstīšana ir aktivizēta, vecāki videoklipi tiek pārrakstīti, ja SD karte ir pilna.",
@@ -14094,7 +14094,7 @@ export default {
14094
14094
  "camera_settings_talk_mode_firstbox_option2_topic": "Divvirzienu komunikācija",
14095
14095
  "camera_settings_talk_mode_secondtopic": "Runu var ietekmēt vide. Atkarībā no situācijas mēs iesakām vai nu vienvirziena, vai divvirzienu saziņu.",
14096
14096
  "camera_settings_talk_mode_topic": "Sarunu režīms",
14097
- "camera_status_indicator": "Status indicator",
14097
+ "camera_status_indicator": "Statusa indikators",
14098
14098
  "camera_tile_camera_button_label_photo": "Uzņemt fotogrāfiju",
14099
14099
  "camera_tile_camera_button_label_video": "Ierakstīt video",
14100
14100
  "camera_tile_camera_headline": "Kamera",
@@ -14442,8 +14442,8 @@ export default {
14442
14442
  "flag_deletepopup": "Vai tiešām vēlaties dzēst karogu?",
14443
14443
  "flag_edittheflag": "Rediģēt karogu",
14444
14444
  "flag_leverkusen": "Leverkūzene",
14445
- "flag_resetbutton": "Do you want to reset your flag data?",
14446
- "flag_resetdescription": "Note that all the customized flags will be resetted.",
14445
+ "flag_resetbutton": "Vai vēlaties atiestatīt karoga datus?",
14446
+ "flag_resetdescription": "Ņemiet vērā, ka visi pielāgotie karodziņi tiks atiestatīti.",
14447
14447
  "flashing_fs_toggle_state1": "Ātra animācija",
14448
14448
  "flashing_fs_toggle_state2": "Lēna animācija",
14449
14449
  "generation_data_description_text": "rāda saražoto enerģiju",
@@ -16150,12 +16150,12 @@ export default {
16150
16150
  "matter_gradient_light_on_title": "Fade-in (s)",
16151
16151
  "matter_gradient_overview_headline_text": "Fade-in/uit",
16152
16152
  "matterplug_LED": "LED-indicator",
16153
- "matterplug_description": "Configuration of the LED indicator after being switched On/Off",
16154
- "matterplug_heading": "LED indicator status",
16155
- "matterplug_option1description": "The status of the switch corresponds to the LED indicator: Socket is switched on when the LED is on, and switched off when the LED is off.",
16156
- "matterplug_option1title": "Indicates On/Off status",
16153
+ "matterplug_description": "Configuratie van de LED-indicator na in- en uitschakelen",
16154
+ "matterplug_heading": "Status van LED-indicator",
16155
+ "matterplug_option1description": "De status van de schakelaar komt overeen met de LED-indicator: het stopcontact is ingeschakeld als de LED brandt, en uitgeschakeld als de LED uit is.",
16156
+ "matterplug_option1title": "Geeft de status Aan/Uit aan",
16157
16157
  "matterplug_option2description": "The status of the switch is inversely indicated by the LED indicator: when the LED is off, the socket is on; when the LED is on, the socket is off.",
16158
- "matterplug_option2title": "Inverse On/Off status",
16158
+ "matterplug_option2title": "Omgekeerde aan/uit-status",
16159
16159
  "matterplug_option3description": "The LED indicator remains switched OFF irrespective of the Plug status.",
16160
16160
  "matterplug_option3title": "Always Off",
16161
16161
  "matterplug_option4description": "The LED indicator remains switched ON irrespective of the socket status.",
@@ -41,6 +41,7 @@ export interface UAGroupInfo {
41
41
  dps: any
42
42
  config: any
43
43
  groupDevices: GroupDeviceInfo[]
44
+ name: string
44
45
  }
45
46
 
46
47
  const initialState: NativeProps = {
@@ -56,7 +57,8 @@ const initialState: NativeProps = {
56
57
  pId: '',
57
58
  dps: {},
58
59
  config: {},
59
- groupDevices: []
60
+ groupDevices: [],
61
+ name: ''
60
62
  },
61
63
  timeSchedule: false,
62
64
  energieverbrauch: {},
@@ -101,6 +103,9 @@ const nativePropsSlice = createSlice({
101
103
  if (!!action.payload.familyName) {
102
104
  state.familyName = action.payload.familyName
103
105
  }
106
+ if (!!action.payload.uaGroupInfo.name) {
107
+ state.uaGroupInfo.name = action.payload.uaGroupInfo.name
108
+ }
104
109
  if (isNumber(action.payload.role)) {
105
110
  state.role = action.payload.role
106
111
  }