Browse Source

add scanQrCodeToShareLive

Melon 2 years ago
parent
commit
00b6707150
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/live.dart

+ 2 - 1
assets/en_US.json

@@ -1453,6 +1453,7 @@
     "deviceLiveList": "Ultrasound Live List",
     "maxViewCountOfDeviceLive": "Max number of Ultrasound Live display on screen",
     "limitOfMaxLiveSourceCount": "Over the max number of live stream limited by the platform!",
-    "tipsOfDeviceOffline": "The device is offline. Please refresh the list and try again."
+    "tipsOfDeviceOffline": "The device is offline. Please refresh the list and try again.",
+    "scanQrCodeToShareLive": "Scan QR code to share live."
   }
 }

+ 2 - 1
assets/zh_CN.json

@@ -1453,6 +1453,7 @@
     "deviceLiveList": "超声机直播列表",
     "maxViewCountOfDeviceLive": "超声直播同屏显示最大数量",
     "limitOfMaxLiveSourceCount": "超过平台限制的最大直播流数量!",
-    "tipsOfDeviceOffline": "设备不在线,请刷新列表重试"
+    "tipsOfDeviceOffline": "设备不在线,请刷新列表重试",
+    "scanQrCodeToShareLive": "扫描二维码,分享直播画面"
   }
 }

+ 5 - 0
lib/modules/live.dart

@@ -9,6 +9,7 @@ class LiveModule extends ModuleBase {
     required this.maxViewCountOfDeviceLive,
     required this.limitOfMaxLiveSourceCount,
     required this.tipsOfDeviceOffline,
+    required this.scanQrCodeToShareLive,
   });
 
   static const ModuleName = "live";
@@ -21,6 +22,7 @@ class LiveModule extends ModuleBase {
       maxViewCountOfDeviceLive: map.pick("maxViewCountOfDeviceLive"),
       limitOfMaxLiveSourceCount: map.pick("limitOfMaxLiveSourceCount"),
       tipsOfDeviceOffline: map.pick("tipsOfDeviceOffline"),
+      scanQrCodeToShareLive: map.pick("scanQrCodeToShareLive"),
     );
   }
 
@@ -42,6 +44,9 @@ class LiveModule extends ModuleBase {
   /// 设备不在线,请刷新列表重试
   final FTrStr tipsOfDeviceOffline;
 
+  /// 扫描二维码,分享直播画面
+  final FTrStr scanQrCodeToShareLive;
+
   @override
   getProp(String propName) {
     // TODO: implement getProp