|
@@ -1,5 +1,6 @@
|
|
|
// ignore: must_be_immutable
|
|
|
|
|
|
+import 'package:fis_i18n/i18n.dart';
|
|
|
import 'package:fis_jsonrpc/rpc.dart';
|
|
|
import 'package:fis_measure/process/language/measure_language.dart';
|
|
|
import 'package:fis_measure/process/workspace/measure_data_controller.dart';
|
|
@@ -140,13 +141,14 @@ class _SelectModulePageState extends FState<SelectModulePage> {
|
|
|
child: FColumn(
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: [
|
|
|
- FText(
|
|
|
- measureLanguage.t('measure', e.description ?? ''),
|
|
|
- style: const TextStyle(
|
|
|
- color: Colors.white,
|
|
|
- fontSize: 14,
|
|
|
+ if (i18nBook.isCurrentChinese)
|
|
|
+ FText(
|
|
|
+ measureLanguage.t('measure', e.description ?? ''),
|
|
|
+ style: const TextStyle(
|
|
|
+ color: Colors.white,
|
|
|
+ fontSize: 14,
|
|
|
+ ),
|
|
|
),
|
|
|
- ),
|
|
|
FText(
|
|
|
e.description ?? '',
|
|
|
style: const TextStyle(
|
|
@@ -184,13 +186,14 @@ class _SelectModulePageState extends FState<SelectModulePage> {
|
|
|
child: FColumn(
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: [
|
|
|
- FText(
|
|
|
- measureLanguage.t('measure', e.description ?? ''),
|
|
|
- style: const TextStyle(
|
|
|
- color: Colors.black,
|
|
|
- fontSize: 14,
|
|
|
+ if (i18nBook.isCurrentChinese)
|
|
|
+ FText(
|
|
|
+ measureLanguage.t('measure', e.description ?? ''),
|
|
|
+ style: const TextStyle(
|
|
|
+ color: Colors.black,
|
|
|
+ fontSize: 14,
|
|
|
+ ),
|
|
|
),
|
|
|
- ),
|
|
|
FText(
|
|
|
e.description ?? '',
|
|
|
style: const TextStyle(
|