多语言
This commit is contained in:
@@ -123,10 +123,10 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
Future.delayed(const Duration(milliseconds: 300), () {
|
||||
String? isShowYingShiDialog = getStorage.read("isShowYingShiDialog");
|
||||
if (isShowYingShiDialog == null || isShowYingShiDialog != "true") {
|
||||
String btnName = "同意";
|
||||
String cancelName = "取消";
|
||||
String btnName = "同意".tr;
|
||||
String cancelName = "取消".tr;
|
||||
if (Platform.isAndroid) {
|
||||
cancelName = "退出";
|
||||
cancelName = "退出".tr;
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -696,7 +696,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintText: '请输入账号',
|
||||
hintText: '请输入账号'.tr,
|
||||
hintStyle: TextStyle(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: Color(0xFFD2D2D2),
|
||||
@@ -778,7 +778,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintText: '请输入密码',
|
||||
hintText: '请输入密码'.tr,
|
||||
hintStyle: TextStyle(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
@@ -1082,7 +1082,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
.normal_text_size,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
hintText: '请输入验证码',
|
||||
hintText: '请输入验证码'.tr,
|
||||
hintStyle: TextStyle(
|
||||
fontFamily:
|
||||
'Readex Pro',
|
||||
@@ -1198,7 +1198,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
.countdown
|
||||
.value ==
|
||||
0
|
||||
? '获取验证码'
|
||||
? '获取验证码'.tr
|
||||
: '${countdownController.countdown.value}' +
|
||||
'秒'.tr,
|
||||
style: TextStyle(
|
||||
@@ -1700,7 +1700,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
TextSpan(
|
||||
children: [
|
||||
TextSpan(
|
||||
text: "还没有账号? ".tr,
|
||||
text: "还没有账号?".tr,
|
||||
style: TextStyle(
|
||||
color: Colors
|
||||
.white, // 设置"还没有账号?"为白色
|
||||
@@ -1731,7 +1731,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
"/findPasswordPage");
|
||||
},
|
||||
child: Text(
|
||||
'找回密码 '.tr,
|
||||
'找回密码'.tr,
|
||||
style: TextStyle(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: stringToColor(
|
||||
@@ -1872,7 +1872,7 @@ class MHTLoginPage extends GetView<MHTLoginController> {
|
||||
Align(
|
||||
alignment: AlignmentDirectional(0, 0),
|
||||
child: Text(
|
||||
'合肥眠花糖家具有限责任公司版权所有',
|
||||
'合肥眠花糖家具有限责任公司版权所有'.tr,
|
||||
style: TextStyle(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: Color(0xFF9EA4B7),
|
||||
|
||||
Reference in New Issue
Block a user