@ledvance/base 1.2.30 → 1.2.32

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.30",
7
+ "version": "1.2.32",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
@@ -1,5 +1,5 @@
1
- import React from 'react'
2
- import { StyleSheet, Text, View } from 'react-native'
1
+ import React, { PropsWithChildren } from 'react'
2
+ import { StyleSheet, Text, View, ViewProps } from 'react-native'
3
3
  import { Utils } from 'tuya-panel-kit'
4
4
  import Card from 'components/Card'
5
5
  import Spacer from 'components/Spacer'
@@ -35,7 +35,7 @@ export function getAdvancedStatusColor(status: AdvancedStatus): string {
35
35
  }
36
36
  }
37
37
 
38
- export interface AdvanceCardProps {
38
+ export interface AdvanceCardProps extends PropsWithChildren<ViewProps> {
39
39
  data: AdvancedData
40
40
  onPress: () => void
41
41
  }
@@ -51,17 +51,21 @@ const AdvanceCard = (props: AdvanceCardProps) => {
51
51
  style={[
52
52
  styles.dot,
53
53
  { backgroundColor: props.data.statusColor },
54
- ]}/>
55
- </View>
56
- <View style={styles.titleBg}>
57
- <Text style={styles.title}>{props.data.title}</Text>
58
- <Spacer height={cx(8)}/>
59
- {
60
- (!!props.data.subtitles) && props.data.subtitles.map((subtitle, index) => (
61
- <Text style={styles.subtitle} key={`${subtitle}_${index}`}>{subtitle}</Text>
62
- ))
63
- }
54
+ ]} />
64
55
  </View>
56
+ {
57
+ props.children ?
58
+ props.children :
59
+ <View style={styles.titleBg}>
60
+ <Text style={styles.title}>{props.data.title}</Text>
61
+ <Spacer height={cx(8)} />
62
+ {
63
+ (!!props.data.subtitles) && props.data.subtitles.map((subtitle, index) => (
64
+ <Text style={styles.subtitle} key={`${subtitle}_${index}`}>{subtitle}</Text>
65
+ ))
66
+ }
67
+ </View>
68
+ }
65
69
  </Card>
66
70
  )
67
71
  }
@@ -62,7 +62,7 @@ interface DrawToolViewProps extends PropsWithChildren<ViewProps> {
62
62
 
63
63
  const DrawToolView = (props: DrawToolViewProps) => {
64
64
  const state = useReactive({
65
- visible: props.ledNumModalVisible,
65
+ visible: props.ledNumModalVisible || false,
66
66
  ledNum: props.ledNum || 5,
67
67
  width: 0,
68
68
  })
package/src/i18n/index.ts CHANGED
@@ -33,4 +33,5 @@ const I18n = {
33
33
  getDpName,
34
34
  }
35
35
 
36
- export default I18n
36
+ export default I18n
37
+ export { Key as I18nKey }
@@ -586,7 +586,16 @@ export default {
586
586
  month_short_may: "Mayo",
587
587
  month_short_november: "Nov.",
588
588
  month_short_october: "Oct.",
589
- month_short_september: "Sep."
589
+ month_short_september: "Sep.",
590
+ consumption_data_annual_bar_chart_text: "Unidad: kWh",
591
+ flag_addanewflag: "Add a new flag",
592
+ flag_edittheflag: "Edit the flag",
593
+ flag_deleteflag: "Delete flag",
594
+ flag_deletepopup: "Do you really want to delete the flag?",
595
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
596
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
597
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
598
+ flag_leverkusen: "Leverkusen"
590
599
  },
591
600
  ar: {
592
601
  add_new_dynamic_mood_color_changing_mode_value: "التدرج",
@@ -1175,7 +1184,16 @@ export default {
1175
1184
  month_short_may: "مايو",
1176
1185
  month_short_november: "نوفمبر",
1177
1186
  month_short_october: "أكتوبر",
1178
- month_short_september: "سبتمبر"
1187
+ month_short_september: "سبتمبر",
1188
+ consumption_data_annual_bar_chart_text: "الوحدة: كيلووات ساعة",
1189
+ flag_addanewflag: "Add a new flag",
1190
+ flag_edittheflag: "Edit the flag",
1191
+ flag_deleteflag: "Delete flag",
1192
+ flag_deletepopup: "Do you really want to delete the flag?",
1193
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
1194
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
1195
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
1196
+ flag_leverkusen: "Leverkusen"
1179
1197
  },
1180
1198
  cs: {
1181
1199
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -1764,7 +1782,16 @@ export default {
1764
1782
  month_short_may: "Květen",
1765
1783
  month_short_november: "Lis",
1766
1784
  month_short_october: "Říj",
1767
- month_short_september: "Zář"
1785
+ month_short_september: "Zář",
1786
+ consumption_data_annual_bar_chart_text: "Jednotka: kWh",
1787
+ flag_addanewflag: "Add a new flag",
1788
+ flag_edittheflag: "Edit the flag",
1789
+ flag_deleteflag: "Delete flag",
1790
+ flag_deletepopup: "Do you really want to delete the flag?",
1791
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
1792
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
1793
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
1794
+ flag_leverkusen: "Leverkusen"
1768
1795
  },
1769
1796
  en: {
1770
1797
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -2121,14 +2148,14 @@ export default {
2121
2148
  routines_add_edit_name: "Edit Name",
2122
2149
  string_light_pp_dialog_sm_ed_headline_d: "Do you really want to delete the mood?",
2123
2150
  strip_light_static_mood_edit_dialog_text: "Note that you can't recover it.",
2124
- power_strip_feature_2_socket_1_text_min_on: "Socket 1 on in {0} min",
2125
- power_strip_feature_2_socket_1_text_min_off: "Socket 1 off in {0} min",
2126
- power_strip_feature_2_socket_2_text_min_on: "Socket 2 on in {0} min",
2127
- power_strip_feature_2_socket_2_text_min_off: "Socket 2 off in {0} min",
2128
- power_strip_feature_2_socket_3_text_min_on: "Socket 3 on in {0} min",
2129
- power_strip_feature_2_socket_3_text_min_off: "Socket 3 off in {0} min",
2130
- power_strip_feature_2_socket_usb_text_min_off: "Socket USB off in {0} min",
2131
- power_strip_feature_2_socket_usb_text_min_on: "Socket USB on in {0} min",
2151
+ power_strip_feature_2_socket_1_text_min_on: "Socket 1 on in {0} ",
2152
+ power_strip_feature_2_socket_1_text_min_off: "Socket 1 off in {0}",
2153
+ power_strip_feature_2_socket_2_text_min_on: "Socket 2 on in {0}",
2154
+ power_strip_feature_2_socket_2_text_min_off: "Socket 2 off in {0} ",
2155
+ power_strip_feature_2_socket_3_text_min_on: "Socket 3 on in {0} ",
2156
+ power_strip_feature_2_socket_3_text_min_off: "Socket 3 off in {0} ",
2157
+ power_strip_feature_2_socket_usb_text_min_off: "Socket USB off in {0} ",
2158
+ power_strip_feature_2_socket_usb_text_min_on: "Socket USB on in {0} ",
2132
2159
  generation_data_description_text: "shows generated energy over the past 365 days",
2133
2160
  add_new_dynamic_mood_ceiling_fan_field_text: "Speed",
2134
2161
  cancel_dialog_leave_unsaved_titel: "Do you really want to leave?",
@@ -2353,7 +2380,16 @@ export default {
2353
2380
  month_short_may: "May",
2354
2381
  month_short_november: "Nov",
2355
2382
  month_short_october: "Oct",
2356
- month_short_september: "Sep"
2383
+ month_short_september: "Sep",
2384
+ consumption_data_annual_bar_chart_text: "Unit: kWh",
2385
+ flag_addanewflag: "Add a new flag",
2386
+ flag_edittheflag: "Edit the flag",
2387
+ flag_deleteflag: "Delete flag",
2388
+ flag_deletepopup: "Do you really want to delete the flag?",
2389
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
2390
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
2391
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
2392
+ flag_leverkusen: "Leverkusen"
2357
2393
  },
2358
2394
  bg: {
2359
2395
  add_new_dynamic_mood_color_changing_mode_value: "Градиент",
@@ -2942,7 +2978,16 @@ export default {
2942
2978
  month_short_may: "Май",
2943
2979
  month_short_november: "Ное",
2944
2980
  month_short_october: "Окт",
2945
- month_short_september: "Сеп"
2981
+ month_short_september: "Сеп",
2982
+ consumption_data_annual_bar_chart_text: "Единица: kWh",
2983
+ flag_addanewflag: "Add a new flag",
2984
+ flag_edittheflag: "Edit the flag",
2985
+ flag_deleteflag: "Delete flag",
2986
+ flag_deletepopup: "Do you really want to delete the flag?",
2987
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
2988
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
2989
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
2990
+ flag_leverkusen: "Leverkusen"
2946
2991
  },
2947
2992
  da: {
2948
2993
  add_new_dynamic_mood_color_changing_mode_value: "Gradvist",
@@ -3531,7 +3576,16 @@ export default {
3531
3576
  month_short_may: "Maj",
3532
3577
  month_short_november: "Nov.",
3533
3578
  month_short_october: "Okt.",
3534
- month_short_september: "Sep."
3579
+ month_short_september: "Sep.",
3580
+ consumption_data_annual_bar_chart_text: "Enhed: kWh",
3581
+ flag_addanewflag: "Add a new flag",
3582
+ flag_edittheflag: "Edit the flag",
3583
+ flag_deleteflag: "Delete flag",
3584
+ flag_deletepopup: "Do you really want to delete the flag?",
3585
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
3586
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
3587
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
3588
+ flag_leverkusen: "Leverkusen"
3535
3589
  },
3536
3590
  de: {
3537
3591
  add_new_dynamic_mood_color_changing_mode_value: "Fließend",
@@ -4120,7 +4174,16 @@ export default {
4120
4174
  month_short_may: "Mai",
4121
4175
  month_short_november: "Nov",
4122
4176
  month_short_october: "Okt",
4123
- month_short_september: "Sep"
4177
+ month_short_september: "Sep",
4178
+ consumption_data_annual_bar_chart_text: "Einheit: kWh",
4179
+ flag_addanewflag: "Add a new flag",
4180
+ flag_edittheflag: "Edit the flag",
4181
+ flag_deleteflag: "Delete flag",
4182
+ flag_deletepopup: "Do you really want to delete the flag?",
4183
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
4184
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
4185
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
4186
+ flag_leverkusen: "Leverkusen"
4124
4187
  },
4125
4188
  el: {
4126
4189
  add_new_dynamic_mood_color_changing_mode_value: "Διαβάθμιση",
@@ -4709,7 +4772,16 @@ export default {
4709
4772
  month_short_may: "Μάιος",
4710
4773
  month_short_november: "Νοέ",
4711
4774
  month_short_october: "Οκτ.",
4712
- month_short_september: "Σεπ"
4775
+ month_short_september: "Σεπ",
4776
+ consumption_data_annual_bar_chart_text: "Μονάδα: kWh",
4777
+ flag_addanewflag: "Add a new flag",
4778
+ flag_edittheflag: "Edit the flag",
4779
+ flag_deleteflag: "Delete flag",
4780
+ flag_deletepopup: "Do you really want to delete the flag?",
4781
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
4782
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
4783
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
4784
+ flag_leverkusen: "Leverkusen"
4713
4785
  },
4714
4786
  es: {
4715
4787
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -5298,7 +5370,16 @@ export default {
5298
5370
  month_short_may: "Mayo",
5299
5371
  month_short_november: "Nov.",
5300
5372
  month_short_october: "Oct.",
5301
- month_short_september: "Sep."
5373
+ month_short_september: "Sep.",
5374
+ consumption_data_annual_bar_chart_text: "Unidad: kWh",
5375
+ flag_addanewflag: "Add a new flag",
5376
+ flag_edittheflag: "Edit the flag",
5377
+ flag_deleteflag: "Delete flag",
5378
+ flag_deletepopup: "Do you really want to delete the flag?",
5379
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
5380
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
5381
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
5382
+ flag_leverkusen: "Leverkusen"
5302
5383
  },
5303
5384
  et: {
5304
5385
  add_new_dynamic_mood_color_changing_mode_value: "Muutmisaste",
@@ -5887,7 +5968,16 @@ export default {
5887
5968
  month_short_may: "Mai",
5888
5969
  month_short_november: "Nov",
5889
5970
  month_short_october: "Okt",
5890
- month_short_september: "Sept"
5971
+ month_short_september: "Sept",
5972
+ consumption_data_annual_bar_chart_text: "Ühik: kWh",
5973
+ flag_addanewflag: "Add a new flag",
5974
+ flag_edittheflag: "Edit the flag",
5975
+ flag_deleteflag: "Delete flag",
5976
+ flag_deletepopup: "Do you really want to delete the flag?",
5977
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
5978
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
5979
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
5980
+ flag_leverkusen: "Leverkusen"
5891
5981
  },
5892
5982
  fi: {
5893
5983
  add_new_dynamic_mood_color_changing_mode_value: "Liukuva",
@@ -6476,7 +6566,16 @@ export default {
6476
6566
  month_short_may: "Toukokuu",
6477
6567
  month_short_november: "Marras",
6478
6568
  month_short_october: "Loka",
6479
- month_short_september: "Syys"
6569
+ month_short_september: "Syys",
6570
+ consumption_data_annual_bar_chart_text: "Yksikkö: kWh",
6571
+ flag_addanewflag: "Add a new flag",
6572
+ flag_edittheflag: "Edit the flag",
6573
+ flag_deleteflag: "Delete flag",
6574
+ flag_deletepopup: "Do you really want to delete the flag?",
6575
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
6576
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
6577
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
6578
+ flag_leverkusen: "Leverkusen"
6480
6579
  },
6481
6580
  fr: {
6482
6581
  add_new_dynamic_mood_color_changing_mode_value: "Fluide",
@@ -7065,7 +7164,16 @@ export default {
7065
7164
  month_short_may: "Mai",
7066
7165
  month_short_november: "Nov",
7067
7166
  month_short_october: "Oct",
7068
- month_short_september: "Sep"
7167
+ month_short_september: "Sep",
7168
+ consumption_data_annual_bar_chart_text: "Unité : kW/h",
7169
+ flag_addanewflag: "Ajouter un nouveau drapeau",
7170
+ flag_edittheflag: "Modifier le drapeau",
7171
+ flag_deleteflag: "Supprimer le drapeau",
7172
+ flag_deletepopup: "Voulez-vous vraiment supprimer le drapeau ?",
7173
+ flag_canceladding: "Voulez-vous vraiment annuler l'ajout d'un nouveau drapeau ?",
7174
+ flag_cancelinfo: "Notez que votre saisie sera perdue si vous annulez l'ajout d'un nouveau drapeau.",
7175
+ flag_canceledit: "Note que tes modifications seront perdues si tu quittes l'édition du drapeau.",
7176
+ flag_leverkusen: "Leverkusen"
7069
7177
  },
7070
7178
  hr: {
7071
7179
  add_new_dynamic_mood_color_changing_mode_value: "Prijelaz",
@@ -7654,7 +7762,16 @@ export default {
7654
7762
  month_short_may: "Svibanj",
7655
7763
  month_short_november: "Stu",
7656
7764
  month_short_october: "Lis",
7657
- month_short_september: "Ruj"
7765
+ month_short_september: "Ruj",
7766
+ consumption_data_annual_bar_chart_text: "Jedinica: kWh",
7767
+ flag_addanewflag: "Add a new flag",
7768
+ flag_edittheflag: "Edit the flag",
7769
+ flag_deleteflag: "Delete flag",
7770
+ flag_deletepopup: "Do you really want to delete the flag?",
7771
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
7772
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
7773
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
7774
+ flag_leverkusen: "Leverkusen"
7658
7775
  },
7659
7776
  hu: {
7660
7777
  add_new_dynamic_mood_color_changing_mode_value: "Átmenet",
@@ -8243,7 +8360,16 @@ export default {
8243
8360
  month_short_may: "Május",
8244
8361
  month_short_november: "Nov.",
8245
8362
  month_short_october: "Okt.",
8246
- month_short_september: "Szept."
8363
+ month_short_september: "Szept.",
8364
+ consumption_data_annual_bar_chart_text: "Egység: kWh",
8365
+ flag_addanewflag: "Add a new flag",
8366
+ flag_edittheflag: "Edit the flag",
8367
+ flag_deleteflag: "Delete flag",
8368
+ flag_deletepopup: "Do you really want to delete the flag?",
8369
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
8370
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
8371
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
8372
+ flag_leverkusen: "Leverkusen"
8247
8373
  },
8248
8374
  it: {
8249
8375
  add_new_dynamic_mood_color_changing_mode_value: "Fluido",
@@ -8832,7 +8958,16 @@ export default {
8832
8958
  month_short_may: "Maggio",
8833
8959
  month_short_november: "Nov",
8834
8960
  month_short_october: "Ott",
8835
- month_short_september: "Set"
8961
+ month_short_september: "Set",
8962
+ consumption_data_annual_bar_chart_text: "Unità: kWh",
8963
+ flag_addanewflag: "Add a new flag",
8964
+ flag_edittheflag: "Edit the flag",
8965
+ flag_deleteflag: "Delete flag",
8966
+ flag_deletepopup: "Do you really want to delete the flag?",
8967
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
8968
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
8969
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
8970
+ flag_leverkusen: "Leverkusen"
8836
8971
  },
8837
8972
  ko: {
8838
8973
  add_new_dynamic_mood_color_changing_mode_value: "그래디언트",
@@ -9421,7 +9556,16 @@ export default {
9421
9556
  month_short_may: "5월",
9422
9557
  month_short_november: "11월",
9423
9558
  month_short_october: "10월",
9424
- month_short_september: "9월"
9559
+ month_short_september: "9월",
9560
+ consumption_data_annual_bar_chart_text: "단위: kWh",
9561
+ flag_addanewflag: "Add a new flag",
9562
+ flag_edittheflag: "Edit the flag",
9563
+ flag_deleteflag: "Delete flag",
9564
+ flag_deletepopup: "Do you really want to delete the flag?",
9565
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
9566
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
9567
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
9568
+ flag_leverkusen: "Leverkusen"
9425
9569
  },
9426
9570
  lt: {
9427
9571
  add_new_dynamic_mood_color_changing_mode_value: "Gradientas",
@@ -10010,7 +10154,16 @@ export default {
10010
10154
  month_short_may: "Gegužė",
10011
10155
  month_short_november: "Lap",
10012
10156
  month_short_october: "Spa",
10013
- month_short_september: "Rgs"
10157
+ month_short_september: "Rgs",
10158
+ consumption_data_annual_bar_chart_text: "Vienetas: kWh",
10159
+ flag_addanewflag: "Add a new flag",
10160
+ flag_edittheflag: "Edit the flag",
10161
+ flag_deleteflag: "Delete flag",
10162
+ flag_deletepopup: "Do you really want to delete the flag?",
10163
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
10164
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
10165
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
10166
+ flag_leverkusen: "Leverkusen"
10014
10167
  },
10015
10168
  lv: {
10016
10169
  add_new_dynamic_mood_color_changing_mode_value: "Gradients",
@@ -10599,7 +10752,16 @@ export default {
10599
10752
  month_short_may: "Maijs",
10600
10753
  month_short_november: "Nov.",
10601
10754
  month_short_october: "Okt.",
10602
- month_short_september: "Sept."
10755
+ month_short_september: "Sept.",
10756
+ consumption_data_annual_bar_chart_text: "Mērvienība: kWh",
10757
+ flag_addanewflag: "Add a new flag",
10758
+ flag_edittheflag: "Edit the flag",
10759
+ flag_deleteflag: "Delete flag",
10760
+ flag_deletepopup: "Do you really want to delete the flag?",
10761
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
10762
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
10763
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
10764
+ flag_leverkusen: "Leverkusen"
10603
10765
  },
10604
10766
  nb: {
10605
10767
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -11188,7 +11350,16 @@ export default {
11188
11350
  month_short_may: "Mai",
11189
11351
  month_short_november: "Nov",
11190
11352
  month_short_october: "Okt",
11191
- month_short_september: "Sep"
11353
+ month_short_september: "Sep",
11354
+ consumption_data_annual_bar_chart_text: "Enhet: kWh",
11355
+ flag_addanewflag: "Add a new flag",
11356
+ flag_edittheflag: "Edit the flag",
11357
+ flag_deleteflag: "Delete flag",
11358
+ flag_deletepopup: "Do you really want to delete the flag?",
11359
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
11360
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
11361
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
11362
+ flag_leverkusen: "Leverkusen"
11192
11363
  },
11193
11364
  nl: {
11194
11365
  add_new_dynamic_mood_color_changing_mode_value: "Verloop",
@@ -11777,7 +11948,16 @@ export default {
11777
11948
  month_short_may: "Mei",
11778
11949
  month_short_november: "Nov",
11779
11950
  month_short_october: "Okt",
11780
- month_short_september: "Sep"
11951
+ month_short_september: "Sep",
11952
+ consumption_data_annual_bar_chart_text: "Eenheid: kWh",
11953
+ flag_addanewflag: "Add a new flag",
11954
+ flag_edittheflag: "Edit the flag",
11955
+ flag_deleteflag: "Delete flag",
11956
+ flag_deletepopup: "Do you really want to delete the flag?",
11957
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
11958
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
11959
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
11960
+ flag_leverkusen: "Leverkusen"
11781
11961
  },
11782
11962
  pl: {
11783
11963
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -12366,7 +12546,16 @@ export default {
12366
12546
  month_short_may: "Maj",
12367
12547
  month_short_november: "Lis",
12368
12548
  month_short_october: "Paź",
12369
- month_short_september: "Wrz"
12549
+ month_short_september: "Wrz",
12550
+ consumption_data_annual_bar_chart_text: "Jednostka: kWh",
12551
+ flag_addanewflag: "Add a new flag",
12552
+ flag_edittheflag: "Edit the flag",
12553
+ flag_deleteflag: "Delete flag",
12554
+ flag_deletepopup: "Do you really want to delete the flag?",
12555
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
12556
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
12557
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
12558
+ flag_leverkusen: "Leverkusen"
12370
12559
  },
12371
12560
  'pt-BR': {
12372
12561
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -12955,7 +13144,16 @@ export default {
12955
13144
  month_short_may: "Maio",
12956
13145
  month_short_november: "Nov",
12957
13146
  month_short_october: "Out",
12958
- month_short_september: "Set"
13147
+ month_short_september: "Set",
13148
+ consumption_data_annual_bar_chart_text: "Unidade: kWh",
13149
+ flag_addanewflag: "Adicionar uma nova bandeira",
13150
+ flag_edittheflag: "Edite a bandeira",
13151
+ flag_deleteflag: "Excluir bandeira",
13152
+ flag_deletepopup: "Você realmente deseja excluir a bandeira?",
13153
+ flag_canceladding: "Você realmente quer cancelar a adição de uma nova bandeira?",
13154
+ flag_cancelinfo: "Observe que sua entrada será perdida se você cancelar a adição de uma nova bandeira.",
13155
+ flag_canceledit: "Observe que suas alterações serão perdidas se você deixar de editar a bandeira.",
13156
+ flag_leverkusen: "Leverkusen"
12959
13157
  },
12960
13158
  'pt_BR': {
12961
13159
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -13544,8 +13742,17 @@ export default {
13544
13742
  month_short_may: "Maio",
13545
13743
  month_short_november: "Nov",
13546
13744
  month_short_october: "Out",
13547
- month_short_september: "Set"
13548
- },
13745
+ month_short_september: "Set",
13746
+ consumption_data_annual_bar_chart_text: "Unidade: kWh",
13747
+ flag_addanewflag: "Adicionar uma nova bandeira",
13748
+ flag_edittheflag: "Edite a bandeira",
13749
+ flag_deleteflag: "Excluir bandeira",
13750
+ flag_deletepopup: "Você realmente deseja excluir a bandeira?",
13751
+ flag_canceladding: "Você realmente quer cancelar a adição de uma nova bandeira?",
13752
+ flag_cancelinfo: "Observe que sua entrada será perdida se você cancelar a adição de uma nova bandeira.",
13753
+ flag_canceledit: "Observe que suas alterações serão perdidas se você deixar de editar a bandeira.",
13754
+ flag_leverkusen: "Leverkusen"
13755
+ },
13549
13756
  ro: {
13550
13757
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
13551
13758
  power_off_memory_default_state_title: "Starea implicită",
@@ -14133,7 +14340,16 @@ export default {
14133
14340
  month_short_may: "Mai",
14134
14341
  month_short_november: "Noi.",
14135
14342
  month_short_october: "Oct.",
14136
- month_short_september: "Sep."
14343
+ month_short_september: "Sep.",
14344
+ consumption_data_annual_bar_chart_text: "Unitate: kWh",
14345
+ flag_addanewflag: "Add a new flag",
14346
+ flag_edittheflag: "Edit the flag",
14347
+ flag_deleteflag: "Delete flag",
14348
+ flag_deletepopup: "Do you really want to delete the flag?",
14349
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
14350
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
14351
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
14352
+ flag_leverkusen: "Leverkusen"
14137
14353
  },
14138
14354
  ru: {
14139
14355
  add_new_dynamic_mood_color_changing_mode_value: "Градиент",
@@ -14722,7 +14938,16 @@ export default {
14722
14938
  month_short_may: "Май",
14723
14939
  month_short_november: "Ноя",
14724
14940
  month_short_october: "Окт",
14725
- month_short_september: "Сен"
14941
+ month_short_september: "Сен",
14942
+ consumption_data_annual_bar_chart_text: "Единица измерения: кВтч",
14943
+ flag_addanewflag: "Add a new flag",
14944
+ flag_edittheflag: "Edit the flag",
14945
+ flag_deleteflag: "Delete flag",
14946
+ flag_deletepopup: "Do you really want to delete the flag?",
14947
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
14948
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
14949
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
14950
+ flag_leverkusen: "Leverkusen"
14726
14951
  },
14727
14952
  sk: {
14728
14953
  add_new_dynamic_mood_color_changing_mode_value: "Prechod",
@@ -15311,7 +15536,16 @@ export default {
15311
15536
  month_short_may: "Máj",
15312
15537
  month_short_november: "Nov.",
15313
15538
  month_short_october: "Okt.",
15314
- month_short_september: "Sep."
15539
+ month_short_september: "Sep.",
15540
+ consumption_data_annual_bar_chart_text: "Jednotka: kWh",
15541
+ flag_addanewflag: "Add a new flag",
15542
+ flag_edittheflag: "Edit the flag",
15543
+ flag_deleteflag: "Delete flag",
15544
+ flag_deletepopup: "Do you really want to delete the flag?",
15545
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
15546
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
15547
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
15548
+ flag_leverkusen: "Leverkusen"
15315
15549
  },
15316
15550
  sv: {
15317
15551
  add_new_dynamic_mood_color_changing_mode_value: "Toning",
@@ -15900,7 +16134,16 @@ export default {
15900
16134
  month_short_may: "maj",
15901
16135
  month_short_november: "Nov",
15902
16136
  month_short_october: "Okt",
15903
- month_short_september: "Sep"
16137
+ month_short_september: "Sep",
16138
+ consumption_data_annual_bar_chart_text: "Enhet: kWh",
16139
+ flag_addanewflag: "Add a new flag",
16140
+ flag_edittheflag: "Edit the flag",
16141
+ flag_deleteflag: "Delete flag",
16142
+ flag_deletepopup: "Do you really want to delete the flag?",
16143
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
16144
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
16145
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
16146
+ flag_leverkusen: "Leverkusen"
15904
16147
  },
15905
16148
  tr: {
15906
16149
  add_new_dynamic_mood_color_changing_mode_value: "Gradyan",
@@ -16489,7 +16732,16 @@ export default {
16489
16732
  month_short_may: "Mayıs",
16490
16733
  month_short_november: "Kas",
16491
16734
  month_short_october: "Eki",
16492
- month_short_september: "Eyl"
16735
+ month_short_september: "Eyl",
16736
+ consumption_data_annual_bar_chart_text: "Birim: kWh",
16737
+ flag_addanewflag: "Add a new flag",
16738
+ flag_edittheflag: "Edit the flag",
16739
+ flag_deleteflag: "Delete flag",
16740
+ flag_deletepopup: "Do you really want to delete the flag?",
16741
+ flag_canceladding: "Do you really want to cancel adding a new flag?",
16742
+ flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
16743
+ flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
16744
+ flag_leverkusen: "Leverkusen"
16493
16745
  },
16494
16746
  uk: {
16495
16747
  add_new_dynamic_mood_color_changing_mode_value: "Градієнт",
@@ -17078,6 +17330,15 @@ export default {
17078
17330
  month_short_may: "Травень",
17079
17331
  month_short_november: "Лис",
17080
17332
  month_short_october: "Жов",
17081
- month_short_september: "Вер"
17333
+ month_short_september: "Вер",
17334
+ consumption_data_annual_bar_chart_text: "Одиниці: кВт/год",
17335
+ flag_addanewflag: "Додавання нового прапорця",
17336
+ flag_edittheflag: "Відредагуйте прапорець",
17337
+ flag_deleteflag: "Видалити прапорець",
17338
+ flag_deletepopup: "Ви дійсно хочете видалити прапор?",
17339
+ flag_canceladding: "Ви дійсно хочете скасувати додавання нового прапора?",
17340
+ flag_cancelinfo: "Зверніть увагу, що ваші вхідні дані будуть втрачені, якщо ви скасуєте додавання нового прапорця.",
17341
+ flag_canceledit: "Зверніть увагу, що ваші зміни будуть втрачені, якщо ви залишите редагування прапорця.",
17342
+ flag_leverkusen: "Leverkusen"
17082
17343
  }
17083
17344
  }
Binary file
package/src/res/index.ts CHANGED
@@ -66,5 +66,6 @@ export default {
66
66
  ic_plus: require('./ic_plus.png'),
67
67
  ic_disabled_light: require('./ic_disabled_light.png'),
68
68
  ic_top_arrow: require('./ic_top_arrow.png'),
69
- offline_wifi: require('./offlineWifi.png')
69
+ offline_wifi: require('./offlineWifi.png'),
70
+ football_icon: require('./football_icon.png')
70
71
  }