"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.inputWordTrans = exports.i18nLimitCharacters = void 0;

var _getLocale = require("./getLocale");

var i18nLimitCharacters = function i18nLimitCharacters(length) {
  if (_getLocale.isEn) {
    return "Up to ".concat(length, " characters can be entered");
  }

  return "\u6700\u591A\u53EF\u8F93\u5165".concat(length, "\u4E2A\u5B57");
};

exports.i18nLimitCharacters = i18nLimitCharacters;

var inputWordTrans = function inputWordTrans(inputValueLength, maxLength) {
  if (_getLocale.isEn) {
    return "Already entered ".concat(inputValueLength, " characters,max ").concat(maxLength, " characters");
  }

  return "\u5DF2\u8F93\u5165".concat(inputValueLength, "\u4E2A\u5B57\uFF0C\u6700\u591A\u53EF\u8F93\u5165").concat(maxLength, "\u5B57");
};

exports.inputWordTrans = inputWordTrans;