|
|
@@ -49,7 +49,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
if (!sleepStart) {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择开始睡眠时间'
|
|
|
+ title: '请选择就寝时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
@@ -105,14 +105,14 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
if (!sleepStart) {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择开始睡眠时间'
|
|
|
+ title: '请选择就寝时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (!sleepEnd) {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择结束睡眠时间'
|
|
|
+ title: '请选择起床时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
@@ -155,7 +155,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
if (!sleepStart && props.scenario == 'FAST_SLEEP') {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择开始睡眠时间'
|
|
|
+ title: '请选择就寝时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
@@ -194,7 +194,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
if (!sleepStart) {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择开始睡眠时间'
|
|
|
+ title: '请选择就寝时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
@@ -214,7 +214,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
if (!sleepEnd && props.scenario == 'FAST_SLEEP') {
|
|
|
Taro.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '请选择结束睡眠时间'
|
|
|
+ title: '请选择起床时间'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
@@ -304,7 +304,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
return <View className="new_item_cell" onClick={() => tapItem(0)}>
|
|
|
<Text className="new_item_cell_title">{t('feature.track_time_duration.common.start_fast')}</Text>
|
|
|
<View style={{ flex: 1 }} />
|
|
|
- <Text className="new_item_cell_desc">{fastStart ? TimeFormatter.dateTimeFormate(fastStart.time, true) : 'Pick Time'}</Text>
|
|
|
+ <Text className="new_item_cell_desc">{fastStart ? TimeFormatter.dateTimeFormate(fastStart.time, true) : t('feature.track_time_duration.log_timing.pick_time')}</Text>
|
|
|
<Image className="cell_arrow" src={require('@/assets/images/arrow3.png')} />
|
|
|
</View>
|
|
|
}
|
|
|
@@ -313,7 +313,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
return <View className="new_item_cell" onClick={() => tapItem(1)}>
|
|
|
<Text className="new_item_cell_title">{t('feature.track_time_duration.common.start_sleep')}</Text>
|
|
|
<View style={{ flex: 1 }} />
|
|
|
- <Text className="new_item_cell_desc">{sleepStart ? TimeFormatter.dateTimeFormate(sleepStart.time, true) : 'Pick Time'}</Text>
|
|
|
+ <Text className="new_item_cell_desc">{sleepStart ? TimeFormatter.dateTimeFormate(sleepStart.time, true) : t('feature.track_time_duration.log_timing.pick_time')}</Text>
|
|
|
<Image className="cell_arrow" src={require('@/assets/images/arrow3.png')} />
|
|
|
</View>
|
|
|
}
|
|
|
@@ -322,7 +322,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
return <View className="new_item_cell" onClick={() => tapItem(2)}>
|
|
|
<Text className="new_item_cell_title">{t('feature.track_time_duration.common.end_sleep')}</Text>
|
|
|
<View style={{ flex: 1 }} />
|
|
|
- <Text className="new_item_cell_desc">{sleepEnd ? TimeFormatter.dateTimeFormate(sleepEnd.time, true) : 'Pick Time'}</Text>
|
|
|
+ <Text className="new_item_cell_desc">{sleepEnd ? TimeFormatter.dateTimeFormate(sleepEnd.time, true) : t('feature.track_time_duration.log_timing.pick_time')}</Text>
|
|
|
<Image className="cell_arrow" src={require('@/assets/images/arrow3.png')} />
|
|
|
</View>
|
|
|
}
|
|
|
@@ -331,7 +331,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
return <View className="new_item_cell" onClick={() => tapItem(3)}>
|
|
|
<Text className="new_item_cell_title">{t('feature.track_time_duration.common.end_fast')}</Text>
|
|
|
<View style={{ flex: 1 }} />
|
|
|
- <Text className="new_item_cell_desc">{fastEnd ? TimeFormatter.dateTimeFormate(fastEnd.time, true) : 'Pick Time'}</Text>
|
|
|
+ <Text className="new_item_cell_desc">{fastEnd ? TimeFormatter.dateTimeFormate(fastEnd.time, true) : t('feature.track_time_duration.log_timing.pick_time')}</Text>
|
|
|
<Image className="cell_arrow" src={require('@/assets/images/arrow3.png')} />
|
|
|
</View>
|
|
|
}
|
|
|
@@ -439,7 +439,7 @@ export default function IndexConsoleMuti(props: { status: string, event: string,
|
|
|
marginTop: rpxToPx(36),
|
|
|
marginBottom: rpxToPx(48)
|
|
|
}}>
|
|
|
- <Text style={{ color: '#fff', fontWeight: 'bold', fontSize: rpxToPx(48) }}>Log your timings</Text>
|
|
|
+ <Text style={{ color: '#fff', fontWeight: 'bold', fontSize: rpxToPx(48) }}>{t('feature.track_time_duration.log_timing.log_timings')}</Text>
|
|
|
</View>
|
|
|
|
|
|
<View style={{
|