@ledvance/base 1.3.29 → 1.3.31
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 +39 -1
- package/package.json +1 -1
- package/src/components/Card.tsx +2 -2
- package/src/composeLayout.tsx +2 -3
- package/src/i18n/strings.ts +8697 -7671
- package/src/utils/common.ts +44 -1
- package/translateKey.txt +38 -0
package/localazy.json
CHANGED
|
@@ -976,7 +976,45 @@
|
|
|
976
976
|
"MATCH:thermostat_inputlosteditscene",
|
|
977
977
|
"MATCH:thermostat_infocancelscene",
|
|
978
978
|
"MATCH:thermostat_cancelscene",
|
|
979
|
-
"MATCH:thermostat_deletescene"
|
|
979
|
+
"MATCH:thermostat_deletescene",
|
|
980
|
+
"MATCH:irrigation_controller",
|
|
981
|
+
"MATCH:last_water_usage",
|
|
982
|
+
"MATCH:current_temp_humidity",
|
|
983
|
+
"MATCH:working_status",
|
|
984
|
+
"MATCH:working_status_idle",
|
|
985
|
+
"MATCH:working_status_manual",
|
|
986
|
+
"MATCH:working_status_automatic",
|
|
987
|
+
"MATCH:working_status_delay",
|
|
988
|
+
"MATCH:next_irrigation",
|
|
989
|
+
"MATCH:manual_mode",
|
|
990
|
+
"MATCH:controller",
|
|
991
|
+
"MATCH:sensor",
|
|
992
|
+
"MATCH:activate_sensor",
|
|
993
|
+
"MATCH:first_irrigation",
|
|
994
|
+
"MATCH:second_irrigation",
|
|
995
|
+
"MATCH:third_irrigation",
|
|
996
|
+
"MATCH:irrigation_duration",
|
|
997
|
+
"MATCH:irrigation_quantity",
|
|
998
|
+
"MATCH:irrigation",
|
|
999
|
+
"MATCH:spray",
|
|
1000
|
+
"MATCH:irrigation_by_quantity",
|
|
1001
|
+
"MATCH:irrigation_on_time",
|
|
1002
|
+
"MATCH:spray_by_quantity",
|
|
1003
|
+
"MATCH:spray_on_time",
|
|
1004
|
+
"MATCH:misting_period",
|
|
1005
|
+
"MATCH:drip_irrigation_time",
|
|
1006
|
+
"MATCH:intermittent_time",
|
|
1007
|
+
"MATCH:irrigation_schedule_param_invalid",
|
|
1008
|
+
"MATCH:water_consumption",
|
|
1009
|
+
"MATCH:daily",
|
|
1010
|
+
"MATCH:monthly",
|
|
1011
|
+
"MATCH:yearly",
|
|
1012
|
+
"MATCH:temperature",
|
|
1013
|
+
"MATCH:humidity",
|
|
1014
|
+
"MATCH:overview",
|
|
1015
|
+
"MATCH:date",
|
|
1016
|
+
"MATCH:legend_temp",
|
|
1017
|
+
"MATCH:legend_humidity"
|
|
980
1018
|
],
|
|
981
1019
|
"replacements": {
|
|
982
1020
|
"REGEX:% %1\\$s.*?\\)%": "{0}",
|
package/package.json
CHANGED
package/src/components/Card.tsx
CHANGED
|
@@ -15,7 +15,7 @@ interface CardProps extends PropsWithChildren<ViewProps> {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
const Card = (props: CardProps) => {
|
|
18
|
-
const shadowHeight = props.shadowHeight || cx(
|
|
18
|
+
const shadowHeight = props.shadowHeight || cx(3)
|
|
19
19
|
return (
|
|
20
20
|
<View
|
|
21
21
|
style={[{
|
|
@@ -23,7 +23,7 @@ const Card = (props: CardProps) => {
|
|
|
23
23
|
backgroundColor: props.theme?.card.background,
|
|
24
24
|
elevation: shadowHeight,
|
|
25
25
|
shadowColor: props.theme?.card.shadowColor,
|
|
26
|
-
shadowOpacity: 0.
|
|
26
|
+
shadowOpacity: 0.5,
|
|
27
27
|
shadowRadius: shadowHeight,
|
|
28
28
|
shadowOffset: {
|
|
29
29
|
width: 0,
|
package/src/composeLayout.tsx
CHANGED
|
@@ -240,9 +240,8 @@ const composeLayout = (component: React.ComponentType) => {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
render() {
|
|
243
|
-
|
|
244
|
-
const colorScheme = 'light'
|
|
245
|
-
console.log('colorScheme', colorScheme)
|
|
243
|
+
const { colorScheme } = this.state
|
|
244
|
+
// const colorScheme = 'light'
|
|
246
245
|
return (
|
|
247
246
|
<Provider store={store}>
|
|
248
247
|
<Theme theme={colorScheme === 'dark' ? darkTheme : lightTheme}>
|