package com.rrtx.services.common.utils;

import cn.hutool.core.util.StrUtil;
import com.rrtx.fap.starter.translate.convert.DictType;
import com.rrtx.fap.starter.translate.util.ConvertUtil;
import com.rrtx.services.common.constant.Constant;
import com.rrtx.services.common.constant.ContextParam;

import java.util.HashMap;
import java.util.Map;

/**
* ClassName: <br>
* Description:  <br>
* Company: rrtx
* @author Jie Zhang
* @version  v1.0.0    2019/12/17 下午11:25  Jie Zhangzz     文件初始创建
*
*/
public class ValTranslateMap {
    private static Map<String, String> transLateMap = new HashMap<String, String>();

    public ValTranslateMap() {
        transLateMap.put("行内转账", "Account Transfer");
        transLateMap.put("行外转账", "Payment");
        transLateMap.put("登录失败", "Login failed");
        transLateMap.put("登录成功", "Login successful");
        transLateMap.put("修改密码", "Change Password");
        transLateMap.put("设定密码", "Set Password");
        transLateMap.put("设置审批流程", "Set up approval process");
        transLateMap.put("更新用户权限", "Update user permissions");
        transLateMap.put("审批", "Approval");
        transLateMap.put("修改密码", "Change Password");
        transLateMap.put("取消指纹登录", "Cancel fingerprint login");
        transLateMap.put("待审批消息", "Pending approval message");
        transLateMap.put("设备解绑成功", "Device unbundled successfully");
        transLateMap.put("设备绑定成功", "Device binding succeeded");
        transLateMap.put("删除联系人", "Delete contact");
        transLateMap.put("意见反馈", "Feedback");
    }

    public static Map<String, String> getTrMap() {
        if(transLateMap.size() == 0) {
            new ValTranslateMap();
        }
        return transLateMap;
    }
}
