|
@@ -9,6 +9,40 @@ class LiveModule extends ModuleBase {
|
|
|
required this.maxViewCountOfDeviceLive,
|
|
|
required this.limitOfMaxLiveSourceCount,
|
|
|
required this.tipsOfDeviceOffline,
|
|
|
+ required this.addPrinter,
|
|
|
+ required this.searchPrinter,
|
|
|
+ required this.printerSettings,
|
|
|
+ required this.previousStep,
|
|
|
+ required this.nextStep,
|
|
|
+ required this.installedPrinters,
|
|
|
+ required this.searchAvailablePrinters,
|
|
|
+ required this.addPrinterUsingTcpIp,
|
|
|
+ required this.enterPrinterHostnameOrIpAddress,
|
|
|
+ required this.hostnameOrIpAddress,
|
|
|
+ required this.portName,
|
|
|
+ required this.invalidIpAddressPleaseEnterAgain,
|
|
|
+ required this.printer,
|
|
|
+ required this.cloudDriverNotInstalled,
|
|
|
+ required this.pushDriver,
|
|
|
+ required this.paperSize,
|
|
|
+ required this.paperOrientation,
|
|
|
+ required this.searchCompleted,
|
|
|
+ required this.searchCompletedNoPrintersAvailable,
|
|
|
+ required this.pushFailed,
|
|
|
+ required this.pleaseSelectPrinter,
|
|
|
+ required this.systemSettings,
|
|
|
+ required this.saveAndExit,
|
|
|
+ required this.test,
|
|
|
+ required this.apply,
|
|
|
+ required this.editUpdatePackage,
|
|
|
+ required this.updatePackageName,
|
|
|
+ required this.adaptedDevices,
|
|
|
+ required this.adaptedSoftwareVersions,
|
|
|
+ required this.adaptedSystemVersions,
|
|
|
+ required this.localUpdatePackageFile,
|
|
|
+ required this.pleaseUploadFileFirst,
|
|
|
+ required this.fileUploading,
|
|
|
+ required this.progressBar,
|
|
|
});
|
|
|
|
|
|
static const ModuleName = "live";
|
|
@@ -21,6 +55,43 @@ class LiveModule extends ModuleBase {
|
|
|
maxViewCountOfDeviceLive: map.pick("maxViewCountOfDeviceLive"),
|
|
|
limitOfMaxLiveSourceCount: map.pick("limitOfMaxLiveSourceCount"),
|
|
|
tipsOfDeviceOffline: map.pick("tipsOfDeviceOffline"),
|
|
|
+ addPrinter: map.pick("addPrinter"),
|
|
|
+ searchPrinter: map.pick("searchPrinter"),
|
|
|
+ printerSettings: map.pick("printerSettings"),
|
|
|
+ previousStep: map.pick("previousStep"),
|
|
|
+ nextStep: map.pick("nextStep"),
|
|
|
+ installedPrinters: map.pick("installedPrinters"),
|
|
|
+ searchAvailablePrinters: map.pick("searchAvailablePrinters"),
|
|
|
+ addPrinterUsingTcpIp: map.pick("addPrinterUsingTcpIp"),
|
|
|
+ enterPrinterHostnameOrIpAddress:
|
|
|
+ map.pick("enterPrinterHostnameOrIpAddress"),
|
|
|
+ hostnameOrIpAddress: map.pick("hostnameOrIpAddress"),
|
|
|
+ portName: map.pick("portName"),
|
|
|
+ invalidIpAddressPleaseEnterAgain:
|
|
|
+ map.pick("invalidIpAddressPleaseEnterAgain"),
|
|
|
+ printer: map.pick("printer"),
|
|
|
+ cloudDriverNotInstalled: map.pick("cloudDriverNotInstalled"),
|
|
|
+ pushDriver: map.pick("pushDriver"),
|
|
|
+ paperSize: map.pick("paperSize"),
|
|
|
+ paperOrientation: map.pick("paperOrientation"),
|
|
|
+ searchCompleted: map.pick("searchCompleted"),
|
|
|
+ searchCompletedNoPrintersAvailable:
|
|
|
+ map.pick("searchCompletedNoPrintersAvailable"),
|
|
|
+ pushFailed: map.pick("pushFailed"),
|
|
|
+ pleaseSelectPrinter: map.pick("pleaseSelectPrinter"),
|
|
|
+ systemSettings: map.pick("systemSettings"),
|
|
|
+ saveAndExit: map.pick("saveAndExit"),
|
|
|
+ test: map.pick("test"),
|
|
|
+ apply: map.pick("apply"),
|
|
|
+ editUpdatePackage: map.pick("editUpdatePackage"),
|
|
|
+ updatePackageName: map.pick("updatePackageName"),
|
|
|
+ adaptedDevices: map.pick("adaptedDevices"),
|
|
|
+ adaptedSoftwareVersions: map.pick("adaptedSoftwareVersions"),
|
|
|
+ adaptedSystemVersions: map.pick("adaptedSystemVersions"),
|
|
|
+ localUpdatePackageFile: map.pick("localUpdatePackageFile"),
|
|
|
+ pleaseUploadFileFirst: map.pick("pleaseUploadFileFirst"),
|
|
|
+ fileUploading: map.pick("fileUploading"),
|
|
|
+ progressBar: map.pick("progressBar"),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -42,6 +113,108 @@ class LiveModule extends ModuleBase {
|
|
|
/// 设备不在线,请刷新列表重试
|
|
|
final FTrStr tipsOfDeviceOffline;
|
|
|
|
|
|
+ /// 添加打印机
|
|
|
+ final FTrStr addPrinter;
|
|
|
+
|
|
|
+ /// 搜索打印机
|
|
|
+ final FTrStr searchPrinter;
|
|
|
+
|
|
|
+ /// 打印机设置
|
|
|
+ final FTrStr printerSettings;
|
|
|
+
|
|
|
+ /// 上一步
|
|
|
+ final FTrStr previousStep;
|
|
|
+
|
|
|
+ /// 下一步
|
|
|
+ final FTrStr nextStep;
|
|
|
+
|
|
|
+ /// 已安装的打印机
|
|
|
+ final FTrStr installedPrinters;
|
|
|
+
|
|
|
+ /// 搜索可用打印机
|
|
|
+ final FTrStr searchAvailablePrinters;
|
|
|
+
|
|
|
+ /// 使用TCP/IP地址或者主机名添加打印机
|
|
|
+ final FTrStr addPrinterUsingTcpIp;
|
|
|
+
|
|
|
+ /// 请输入打印机主机名或IP地址
|
|
|
+ final FTrStr enterPrinterHostnameOrIpAddress;
|
|
|
+
|
|
|
+ /// 主机名或IP地址
|
|
|
+ final FTrStr hostnameOrIpAddress;
|
|
|
+
|
|
|
+ /// 端口名称
|
|
|
+ final FTrStr portName;
|
|
|
+
|
|
|
+ /// IP地址不正确,请重新输入
|
|
|
+ final FTrStr invalidIpAddressPleaseEnterAgain;
|
|
|
+
|
|
|
+ /// 打印机
|
|
|
+ final FTrStr printer;
|
|
|
+
|
|
|
+ /// 未安装云驱动
|
|
|
+ final FTrStr cloudDriverNotInstalled;
|
|
|
+
|
|
|
+ /// 推送驱动
|
|
|
+ final FTrStr pushDriver;
|
|
|
+
|
|
|
+ /// 纸张尺寸
|
|
|
+ final FTrStr paperSize;
|
|
|
+
|
|
|
+ /// 纸张方向
|
|
|
+ final FTrStr paperOrientation;
|
|
|
+
|
|
|
+ /// 搜索完成
|
|
|
+ final FTrStr searchCompleted;
|
|
|
+
|
|
|
+ /// 搜索完成,暂无可用的打印机
|
|
|
+ final FTrStr searchCompletedNoPrintersAvailable;
|
|
|
+
|
|
|
+ /// 推送失败
|
|
|
+ final FTrStr pushFailed;
|
|
|
+
|
|
|
+ /// 请选择打印机
|
|
|
+ final FTrStr pleaseSelectPrinter;
|
|
|
+
|
|
|
+ /// 系统设置
|
|
|
+ final FTrStr systemSettings;
|
|
|
+
|
|
|
+ /// 保存并退出
|
|
|
+ final FTrStr saveAndExit;
|
|
|
+
|
|
|
+ /// 测试
|
|
|
+ final FTrStr test;
|
|
|
+
|
|
|
+ /// 应用
|
|
|
+ final FTrStr apply;
|
|
|
+
|
|
|
+ /// 编辑更新包
|
|
|
+ final FTrStr editUpdatePackage;
|
|
|
+
|
|
|
+ /// 更新包名称
|
|
|
+ final FTrStr updatePackageName;
|
|
|
+
|
|
|
+ /// 适配设备
|
|
|
+ final FTrStr adaptedDevices;
|
|
|
+
|
|
|
+ /// 适配软件版本
|
|
|
+ final FTrStr adaptedSoftwareVersions;
|
|
|
+
|
|
|
+ /// 适配系统版本
|
|
|
+ final FTrStr adaptedSystemVersions;
|
|
|
+
|
|
|
+ /// 本地更新包文件
|
|
|
+ final FTrStr localUpdatePackageFile;
|
|
|
+
|
|
|
+ /// 请先上传文件
|
|
|
+ final FTrStr pleaseUploadFileFirst;
|
|
|
+
|
|
|
+ /// 文件上传中
|
|
|
+ final FTrStr fileUploading;
|
|
|
+
|
|
|
+ /// 进度条
|
|
|
+ final FTrStr progressBar;
|
|
|
+
|
|
|
@override
|
|
|
getProp(String propName) {
|
|
|
// TODO: implement getProp
|