多语言

This commit is contained in:
czz
2025-07-30 16:48:48 +08:00
parent 92b6896176
commit 300e3b31f6
96 changed files with 3741 additions and 2710 deletions

View File

@@ -146,8 +146,8 @@ class ExperienceStoreWidget extends GetView {
child: Container(
width: MediaQuery.sizeOf(context).width * 0.105,
height: MediaQuery.sizeOf(context).height * 0.038,
constraints: const BoxConstraints(
minWidth: 50,
constraints: BoxConstraints(
minWidth: 150.rpx,
),
child: Row(
mainAxisSize: MainAxisSize.max,
@@ -166,7 +166,7 @@ class ExperienceStoreWidget extends GetView {
),
),
Text(
'咨询',
'咨询'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Colors.white,
@@ -185,10 +185,10 @@ class ExperienceStoreWidget extends GetView {
AppMapLocation.checkInstalledApps().then((d) {
if (AppMapLocation
.availableMapsToNames.isEmpty) {
showToast("未检测到导航软件");
showToast("未检测到导航软件".tr);
} else {
showOneSelectionDialog(context,
title: "选择地图",
title: "选择地图".tr,
arr: AppMapLocation.availableMapsToNames,
checkChange: (index) {
AppMapLocation.launchMap(
@@ -203,8 +203,8 @@ class ExperienceStoreWidget extends GetView {
child: Container(
width: MediaQuery.sizeOf(context).width * 0.105,
height: MediaQuery.sizeOf(context).height * 0.038,
constraints: const BoxConstraints(
minWidth: 50,
constraints: BoxConstraints(
minWidth: 150.rpx,
),
child: Row(
mainAxisSize: MainAxisSize.max,
@@ -223,7 +223,7 @@ class ExperienceStoreWidget extends GetView {
),
),
Text(
'导航',
'导航'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Colors.white,
@@ -255,7 +255,7 @@ class ExperienceStoreWidget extends GetView {
Get.toNamed("/bookInfoPage",
arguments: {"data": data});
},
text: '预约',
text: '预约'.tr,
options: FFButtonOptions(
padding: const EdgeInsetsDirectional.fromSTEB(
0, 0, 0, 0),
@@ -275,7 +275,7 @@ class ExperienceStoreWidget extends GetView {
),
),
),
].divide(const SizedBox(width: 26)),
].divide(SizedBox(width: 26.rpx)),
),
),
),