更新控制页多语言
This commit is contained in:
@@ -34,7 +34,7 @@ class _SleepCalendarWidgetState extends State<SleepCalendarWidget> {
|
||||
CalendarController calendarController = Get.find();
|
||||
RxMap sleepDate = <dynamic, dynamic>{}.obs;
|
||||
RxList showLabel = <dynamic>[
|
||||
{"level": 5, "name": "无报告", "color": "#9E9E9E"}
|
||||
{"level": 5, "name": "无报告".tr, "color": "#9E9E9E"}
|
||||
].obs;
|
||||
// @override
|
||||
// void initState() {
|
||||
@@ -149,7 +149,7 @@ class _SleepCalendarWidgetState extends State<SleepCalendarWidget> {
|
||||
),
|
||||
),
|
||||
Obx(() => Text(
|
||||
'${calendarController.displayedMonth.value.year}年${calendarController.displayedMonth.value.month}月',
|
||||
'${calendarController.displayedMonth.value.year}/${calendarController.displayedMonth.value.month}',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 30.rpx,
|
||||
|
||||
Reference in New Issue
Block a user