Browse Source

新增翻译

loki.wu 2 years ago
parent
commit
79920398de
3 changed files with 9 additions and 2 deletions
  1. 2 1
      assets/en_US.json
  2. 2 1
      assets/zh_CN.json
  3. 5 0
      lib/modules/common.dart

+ 2 - 1
assets/en_US.json

@@ -316,6 +316,7 @@
     "errorCode7044": "Report has already been submitted, please do not resubmit"
     "errorCode7044": "Report has already been submitted, please do not resubmit"
   },
   },
   "common": {
   "common": {
+    "flyinsonoCollege": "Flyinsono college",
     "pleaseEnter": "Please Enter",
     "pleaseEnter": "Please Enter",
     "searchOrAddPatient": "Search or Add Patient",
     "searchOrAddPatient": "Search or Add Patient",
     "networkError": "Network Error, please check your network connection and try again",
     "networkError": "Network Error, please check your network connection and try again",
@@ -1586,4 +1587,4 @@
     "probeInfoEmpty": "Probe Info Empty",
     "probeInfoEmpty": "Probe Info Empty",
     "connectionFailed": "Connection Failed"
     "connectionFailed": "Connection Failed"
   }
   }
-}
+}

+ 2 - 1
assets/zh_CN.json

@@ -316,6 +316,7 @@
     "errorCode7044": "报告已提交,请勿重复提交"
     "errorCode7044": "报告已提交,请勿重复提交"
   },
   },
   "common": {
   "common": {
+    "flyinsonoCollege": "杏聆荟学院",
     "pleaseEnter": "请输入",
     "pleaseEnter": "请输入",
     "searchOrAddPatient": "搜索或添加病人",
     "searchOrAddPatient": "搜索或添加病人",
     "networkError": "网络异常,请先检查网络状况再试",
     "networkError": "网络异常,请先检查网络状况再试",
@@ -1586,4 +1587,4 @@
     "probeInfoEmpty": "超声机信息为空",
     "probeInfoEmpty": "超声机信息为空",
     "connectionFailed": "连接失败"
     "connectionFailed": "连接失败"
   }
   }
-}
+}

+ 5 - 0
lib/modules/common.dart

@@ -3,6 +3,7 @@ import 'package:fis_i18n/types.dart';
 /// 通用模块
 /// 通用模块
 class CommonModule extends ModuleBase {
 class CommonModule extends ModuleBase {
   CommonModule._({
   CommonModule._({
+    required this.flyinsonoCollege,
     required this.pleaseEnter,
     required this.pleaseEnter,
     required this.searchOrAddPatient,
     required this.searchOrAddPatient,
     required this.networkError,
     required this.networkError,
@@ -110,6 +111,7 @@ class CommonModule extends ModuleBase {
 
 
   factory CommonModule(Map<String, dynamic> map) {
   factory CommonModule(Map<String, dynamic> map) {
     return CommonModule._(
     return CommonModule._(
+      flyinsonoCollege: map.pick("flyinsonoCollege"),
       pleaseEnter: map.pick("pleaseEnter"),
       pleaseEnter: map.pick("pleaseEnter"),
       searchOrAddPatient: map.pick("searchOrAddPatient"),
       searchOrAddPatient: map.pick("searchOrAddPatient"),
       networkError: map.pick("networkError"),
       networkError: map.pick("networkError"),
@@ -215,6 +217,9 @@ class CommonModule extends ModuleBase {
     );
     );
   }
   }
 
 
+  /// 杏聆荟学院
+  final FTrStr flyinsonoCollege;
+
   /// 请输入
   /// 请输入
   final FTrStr pleaseEnter;
   final FTrStr pleaseEnter;