package com.hssx.cloudmodel.util; /** * Author: 吴涛涛 cuiyi@itany.com * Date : 2019 - 09 - 05 16:56 * Description:<描述> * Version: 1.0 */ public class I18nUtil { //由于前端可以转换,所以直接交给前端配置转换就可以了,此util暂时作废 // public static String getEnus(String zhcn, Integer language) { // if (0 == language) { // if ("用户不存在或者未登录".equals(zhcn)) { // return "User does not exist or is not logged in"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("公司已存在,请勿重复添加".equals(zhcn)) { // return "The company already exists, please do not add it repeatedly"; // } else if ("当前公司所关联的生产方公司中已被用用到项目,不可执行修改操作。".equals(zhcn)) { // return "The current production company associated with the company has been used in the project, and the modification operation cannot be performed."; // } else if ("当前公司所关联的资产方公司已被用用到项目,不可执行修改操作。".equals(zhcn)) { // return "The current asset company associated with the company has been used in the project and no modification operations can be performed."; // } else if ("该公司已被应用到用户中,暂不提供删除操作".equals(zhcn)) { // return "The company has been applied to users, and no deletion is provided at this time."; // } else if ("当前设备编号已存在,请重新输入其他模具编号".equals(zhcn)) { // return "The current device number already exists. Please re-enter other mold numbers"; // } else if ("该设备没有所属公司,请添加所属公司后再启用".equals(zhcn)) { // return "This device does not have a company, please add your company and then enable it."; // } else if ("对不起,您不是超级管理员,不具备启用设备的权限".equals(zhcn)) { // return "Sorry, you are not a super administrator and do not have permission to enable the device."; // } else if ("对不起,您不含有查看该列表的权利".equals(zhcn)) { // return "Sorry, you do not have the right to view this list."; // } else if ("云模盒编号已被占用,请修改后重新上传".equals(zhcn)) { // return "The cloud model box number is already occupied. Please re-upload after modification."; // } else if ("只有生产方和资产方审批人才能审核".equals(zhcn)) { // return "Only producer and asset approvers can review"; // } else if ("暂无文件".equals(zhcn)) { // return "No file"; // } else if ("您没有该权限!".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } else if ("数据不可为空".equals(zhcn)) { // return "Data cannot be empty"; // } // // }else{ // return zhcn; // } // return null; // } }