pubgv3/assets/scripts/language.js
zhuguoqing ff550d5d6a init
2022-05-22 10:32:02 +08:00

1126 lines
23 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var ltype = "en";
var lgcfg = {
sylb: {
cn: "剩余大喇叭:",
en: "loudspeakers:",
},
sylb2: {
cn: "剩余大喇叭数量为",
en: "loudspeakers:",
},
lbbz: {
cn: "大喇叭数量不足",
en: "Not enough speakers",
},
ditu: {
cn: "地图",
en: "map",
},
duiwu: {
cn: "队伍",
en: "team",
},
xuanzepindao: {
cn: "请选择发送频道",
en: "Please select channel to send",
},
kuaishangche: {
cn: "快上车,",
en: "Let's go",
},
shuohuataikuai: {
cn: "您说话太快,请等待%1秒后继续",
en: "You speak too fast, please wait %1 seconds to continue",
},
neitongweikong: {
cn: "发送内容不能为空",
en: "Send content cannot be empty",
},
haoyoushuliang: {
cn: "好友: %1/30",
en: "friend: %1/30",
},
yusheiliaotian: {
cn: "与%1聊天",
en: "Chat with %1",
},
duquan: {
cn: "毒圈",
en: "The poison circle",
},
ziji: {
cn: "自己",
en: "yourself",
},
morenmingzi: {
cn: "极乐玩家",
en: "player",
},
bianshen: {
cn: "变身",
en: "transform",
},
jijiangkaishi: {
cn: "",
en: "Start time ",
},
jinrufangjian: {
cn: "进入房间",
en: "get into the room",
},
youxikaishi: {
cn: "游戏开始",
en: "Start",
},
duquankuosan1: {
cn: "还有%1秒毒圈扩散",
en: "There's %1 second left for the circle to spread",
},
duquankuosan2: {
cn: "毒圈开始扩散",
en: "The poison circle begins to spread",
},
chiji1: {
cn: "Winner winner,chicked dinner",
en: "Winner winner,chicked dinner",
},
jiesuan1: {
cn: "I swear, I'll never land in a box again!",
en: "I swear, I'll never land in a box again!",
},
jiesuan2: {
cn: "What a pity! The next game is sure to win!",
en: "What a pity! The next game is sure to win!",
},
jiesuan3: {
cn: "One step away from winning!",
en: "One step away from winning!",
},
jifenkongge: {
cn: "Score ",
en: "Score",
},
bianshenfuhuo: {
cn: "变身复活",
en: "Resurrection",
},
dianjuanbuzu: {
cn: "点券不足",
en: "There is not enough money",
},
shengyushijian: {
cn: "",
en: "Time:",
},
anquanshijian: {
cn: "",
en: "Safe time ",
},
duquanshijian: {
cn: "",
en: "Spread time ",
},
julikaishi: {
cn: "starts after %1 seconds",
en: "starts after %1 seconds",
},
duankailianjie: {
cn: "断开连接",
en: "",
},
buzaifanwei: {
cn: "Disconnect",
en: "Disconnect",
},
shangtang: {
cn: "Loading",
en: "Loading",
},
beigandiao3: {
cn: "You were killed by %1",
en: "You were killed by %1",
},
beigandiao4: {
cn: "You were killed by yourself",
en: "You were killed by yourself",
},
zhuantian: {
cn: "Filling",
en: "Filling",
},
zhiliao: {
cn: "treatment",
en: "treatment",
},
jiuyuan: {
cn: "Rescuing",
en: "Rescuing",
},
fuhuohua1: {
cn: "我还有救,\n你有药吗",
en: "",
},
fuhuohua2: {
cn: "时间不多,\n快扶我起来",
en: "I can still be saved. \nDo you have any medicine?",
},
fuhuohua3: {
cn: "快!!!~\n点击“复活”",
en: "Come on!!! ~N click Resurrection",
},
beigandiao1: {
cn: "<outline color=black width=2><color=#ffe288>你被</color><color=#f32323>毒圈</color><color=#ffe288>干掉了</color></outline>",
en: "<outline color=black width=2><color=#ffe288>You were killed by the </color><color=#f32323>ring</color>",
},
beigandiao2: {
cn: "<outline color=black width=2><color=#ffe288>你被</color><color=#f32323>自己</color><color=#ffe288>干掉了</color></outline>",
en: "<outline color=black width=2><color=#ffe288>You were killed by </color><color=#f32323>yourself</color>",
},
nickname: {
cn: "极乐玩家",
en: "player",
},
season: {
cn: "赛季",
en: "season",
},
cailiaobuzu: {
cn: "升阶材料不足",
en: "There is not enough material",
},
chongzhisuccess: {
cn: "充值成功",
en: "Recharge success",
},
fighting: {
cn: "战斗中",
en: "In battle",
},
online: {
cn: "在线",
en: "on-line",
},
offline: {
cn: "离线",
en: "off-line",
},
lastthreeday: {
cn: "最近上线3天前",
en: "Last online 3 days ago",
},
lastdayonline: {
cn: "最近上线%1天前",
en: "Last online %1 days ago",
},
lasthouronline: {
cn: "最近上线%1小时前",
en: "Last online %1 hours ago",
},
lastminonline: {
cn: "最近上线%1分钟前",
en: "Last online %1 hours ago",
},
lastonemin: {
cn: "最近上线1分钟前",
en: "Last online 1 minute ago",
},
kickoutguild: {
cn: "踢出战队",
en: "Get rid of the team",
},
guildontrue: {
cn: "您确定要把",
en: "Are you sure you want to",
},
kickoutguildma: {
cn: "踢出战队吗?",
en: "Kick out the team?",
},
leaveoutguild: {
cn: "退出战队",
en: "Quit the team",
},
leaveoutguildma: {
cn: "您确定要退出战队吗?",
en: "Are you sure you want to quit the team?",
},
turncapter: {
cn: "转让队长",
en: "Transfer team leader",
},
turncapterma: {
cn: "您确定要将队长转让给",
en: "Are you sure you want to transfer the team leader to",
},
ma: {
cn: "吗?",
en: "?",
},
clenup: {
cn: "一键清理",
en: "One click cleaning",
},
clenupguildapply: {
cn: "您确定要删除所有申请信息吗?",
en: "Are you sure you want to delete all the application information?",
},
nottimeaddsameplayer: {
cn: "已添加",
en: "Don't add the same player frequently",
},
createguildsuccess: {
cn: "恭喜您, 创建战队成功",
en: "Congratulations on the success of creating the team",
},
updatetips: {
cn: "更新提示",
en: "Update tips",
},
newbanben: {
cn: "新版本已经准备好, 是否重启应用?",
en: "The new version is ready. Do you want to restart the application?",
},
notad: {
cn: "暂无广告请稍后再试",
en: "No ads for now, please try again later",
},
watchoverreward: {
cn: "看完视频才有奖励",
en: "After watching the video, there will be a reward",
},
sharezu: {
cn: "请分享到不同的群",
en: "Please share with different groups",
},
share: {
cn: "分享",
en: "share",
},
updongzuomax: {
cn: "上阵动作已满,请先下阵",
en: "The equipment position is full, please remove it first",
},
upweizhuangmax: {
cn: "上阵伪装道具已满,请先下阵",
en: "The equipment position is full, please remove it first",
},
weijinzi: {
cn: "The content you entered is illegal",
en: "The content you entered is illegal",
},
changesuccess: {
cn: "Changed successfully",
en: "Changed successfully",
},
repeatname: {
cn: "Duplicate character name, please re-enter",
en: "Duplicate character name, please re-enter",
},
changenamenot: {
cn: "Insufficient number of renaming cards",
en: "Insufficient number of renaming cards",
},
shengyugaimingka: {
cn: "Number of renaming cards: ",
en: "Number of renaming cards: ",
},
changename: {
cn: "Change name",
en: "Change name",
},
changehead: {
cn: "Change avatar",
en: "Change avatar",
},
strnotkong: {
cn: "输入的内容不得为空",
en: "The input content cannot be empty",
},
notgethead: {
cn: "尚未获得此头像",
en: "Did not get the avatar",
},
connectserver: {
cn: "连接服务器",
en: "Connecting to server",
},
morenheadkuang: {
cn: "默认头像框",
en: "Default",
},
tequangive: {
cn: "特权礼包获得",
en: "Privilege package",
},
seasongive: {
cn: "赛季奖励获得",
en: "Season award",
},
zhe: {
cn: "折",
en: "dis",
},
hour: {
cn: "小时",
en: "h",
},
min: {
cn: "分",
en: "m",
},
second: {
cn: "秒",
en: "s",
},
forever: {
cn: "永久",
en: "perm",
},
daojishi: {
cn: "倒计时: ",
en: "count down:",
},
rmbnumnot: {
cn: "点券不足",
en: "There is not enough money",
},
atk: {
cn: "攻击: ",
en: "attack: ",
},
hp: {
cn: "生命: ",
en: "life: ",
},
clip: {
cn: "弹夹: ",
en: "clip: ",
},
firerate: {
cn: "射速: ",
en: "Rate of fire:: ",
},
fixedview: {
cn: "视野: ",
en: "Vision: ",
},
reloadtime: {
cn: "换弹: ",
en: "Reload: ",
},
get: {
cn: "领取",
en: "receive",
},
close: {
cn: "关闭",
en: "close",
},
secondcanget: {
cn: "秒后可领取",
en: " seconds",
},
notissetteam: {
cn: "队伍失效",
en: "Team invalid",
},
duihuansuccess: {
cn: "兑换成功",
en: "Successful exchange",
},
guild: {
cn: "战队",
en: "clan",
},
normaljob: {
cn: "普通成员",
en: "Ordinary member",
},
captal: {
cn: "队长",
en: "team leader",
},
fucaptal: {
cn: "副队长",
en: "vice captain",
},
jingying: {
cn: "精英成员",
en: "Elite members",
},
hasinvite: {
cn: "邀请已经发出",
en: "Invitation sent",
},
baiyin: {
cn: "白银",
en: "Silver",
},
rankxuqiu: {
cn: "需要%1段位以上",
en: "More than %1 segments are required",
},
level: {
cn: "等级",
en: "lv.",
},
gettimes: {
cn: "领取次数: ",
en: "Collection times: ",
},
acttime: {
cn: "活动时间: ",
en: "Activity time: ",
},
gettimesnot: {
cn: "领取次数不足, 请前往充值",
en: "Insufficient collection times, please go to recharge",
},
shengyuflushtimes: {
cn: "剩余刷新次数: ",
en: "Remaining refresh times: ",
},
secondfree: {
cn: "秒后免费",
en: " seconds",
},
yougreat: {
cn: "您太厉害了, 奖池已被你抽完!",
en: "You're too good. You've finished the prize pool!",
},
notreward: {
cn: "没有奖励可领",
en: "There is no reward to get!",
},
sumdraw: {
cn: "累充抽奖",
en: "Accumulated lottery",
},
draw: {
cn: "抽奖",
en: "lottery",
},
friendnummax: {
cn: "好友数量已达上限",
en: "The number of friends has reached the limit",
},
xiangou: {
cn: "限购 ",
en: "limit",
},
nowprice: {
cn: "现价: ",
en: "Current price: ",
},
todayviewtimes: {
cn: "今日观看次数: ",
en: "Viewing times today: ",
},
sumviewtimes: {
cn: "累计观看次数: ",
en: "Cumulative viewing times: ",
},
free: {
cn: "免费",
en: "free",
},
yuan: {
cn: "元",
en: "",
},
extrasong: {
cn: "额外赠送: ",
en: "Extra gift",
},
vipprice: {
cn: "VIP特价: ",
en: "VIP Special: ",
},
notquanxian: {
cn: "权限不足: ",
en: "Insufficient permissions",
},
randmap: {
cn: "随机地图",
en: "Random",
},
randmapdes: {
cn: "随机一张地图\n求生之岛废弃之都",
en: "",
},
friendnum: {
cn: "好友数量: ",
en: "Friends",
},
blacknum: {
cn: "黑名单数量: ",
en: "Blacklist",
},
notplayer: {
cn: "玩家不存在",
en: "Player does not exist",
},
addsuccess: {
cn: "添加成功",
en: "Added successfully",
},
deletesuccess: {
cn: "删除成功",
en: "Successfully deleted",
},
notrank: {
cn: "您的段位不足",
en: "Your rank is insufficient",
},
notxianzhi: {
cn: "无限制",
en: "unlimited",
},
qingtongup: {
cn: "英勇青铜以上",
en: "more than Heroic Bronze",
},
baiyinup: {
cn: "不屈白银以上",
en: "more than Unyielding Silver",
},
huangjinup: {
cn: "荣耀黄金以上",
en: "more than Glory Gold",
},
baijinup: {
cn: "华贵白金以上",
en: "more than Luxurious platinum",
},
zuanshiup: {
cn: "璀璨钻石以上",
en: "more than Brilliant Diamond",
},
xingyaoup: {
cn: "至尊星耀以上",
en: "more than Supreme Star",
},
wangzhe: {
cn: "最强王者",
en: "The strongest king",
},
hasapply: {
cn: "申请已发送",
en: "Application sent",
},
buysuccess: {
cn: "购买成功",
en: "Successful purchase",
},
notguildcoin: {
cn: "战队贡献不足",
en: "Team contribution is insufficient",
},
not: {
cn: "无",
en: "unlimited",
},
haskandao0: {
cn: "价格已经砍到0点券",
en: "The price has been cut to 0 points",
},
acttimenot: {
cn: "活动时间未到",
en: "",
},
seasonend: {
cn: "赛季结束: ",
en: "The end of the season:",
},
costrmbnextlv: {
cn: "花费%1点券升至下一级",
en: "Spend %1 coupon to next level",
},
todayexp: {
cn: "今日获得经验",
en: "Gain experience today",
},
buy: {
cn: "购买",
en: "buy",
},
tequanshengyu: {
cn: "特权还剩: %1天",
en: "Days Remaining: %1",
},
daylibao: {
cn: "天礼包",
en: "Day",
},
foreverlibao: {
cn: "永久礼包",
en: "Permanent",
},
shengji: {
cn: "升级",
en: "upgrade",
},
forevertequan: {
cn: "永久特权",
en: "Permanent privilege",
},
recnextvip: {
cn: "再充值%1元可升到VIP%2",
en: "Recharge %1 to VIP %2",
},
todayshengyu: {
cn: "今日剩余次数: ",
en: "Number of times left today: ",
},
days: {
cn: "第%1天",
en: "Day %1",
},
gongxihuode: {
cn: "恭喜获得",
en: "Congratulations",
},
lixianjiangli: {
cn: "离线奖励",
en: "Offline rewards",
},
recsuccessgetrmbnum: {
cn: "已完成充值, 请点击领取%1点券",
en: "Recharge completed, reward %1 coupon",
},
recmaxnum: {
cn: "充值%1元最划算",
en: "It's best to recharge %1",
},
biomode: {
cn: "生化模式",
en: "Biochemical Mode",
},
normalmode: {
cn: "普通模式",
en: "Battle Royale mode",
},
libao: {
cn: "礼包",
en: "Gift bag",
},
zhuanshu: {
cn: "专属",
en: "exclusive",
},
tequan: {
cn: "特权",
en: "privilege",
},
fuli: {
cn: "福利",
en: "welfare",
},
notguild: {
cn: "尚未加入任何战队",
en: "I haven't joined any teams",
},
tehuishop: {
cn: "特惠商店",
en: "Special Shop",
},
chongzhireward: {
cn: "充值有礼",
en: "Recharge polite",
},
haolidafangsong: {
cn: "豪礼大放送",
en: "Hao Li big show",
},
jiesuanreward: {
cn: "结算奖励",
en: "GameOver Reward",
},
sendsuccess: {
cn: "发送成功",
en: "Send Success",
},
test: {
cn: "我问%2,%1",
en: "我问%1,%2",
},
fighttips1: {
cn: "%1 使用 %2 干掉了 %3",
en: "%1 use %2 kill %3",
},
fighttips2: {
cn: "%1 被毒圈干掉",
en: "%1 Be killed by a poison ring",
},
};
var language = function () {
this.robotname = {
cn: [
"刘皓文",
"樊素英",
"聂玉龙",
"心语",
"浅忆",
"马书香",
"志武",
"樱桃花",
"项薇",
"开心快乐",
"琪琪",
"幸福一生",
"陈建华",
"姜淑波",
"蒋格利",
"小瑜",
"锦绣花园",
"一生平安",
"山里人",
"Naseb",
"哈337828081",
"U161824102",
"徐苏雪",
"小雪氛纷",
"王春光",
"龙珠",
"邓佳溢",
"张二妹",
"家和万事兴",
"雨后阳光",
"啊,哈哈哈!",
"微笑每一天",
"天惠",
"Louane",
"Sylwia",
"Arielle",
"NaiveBug???",
"蒙蒙宝贝",
"易凤连",
"AA宝宝游乐",
"龙雯雯",
"欢*^O^*",
"浩浩妈",
"次第花开",
"承诺",
"冷暖自知",
"雪域汉子",
"南拳妈妈",
"Manjola",
"Katarina",
"漠?然",
"丫头",
"runer",
"果果没糖",
"?守望 @幸福 ?",
"团子奶奶",
"水滴",
"鹤川",
"旋华",
"甜蜜兔",
],
en: [
"Kipling",
"Guy",
"Henry",
"Wells",
"Ann",
"Abraham",
"Hoover",
"Richardson",
"Child",
"Valentine",
"Hemingway",
"Keynes",
"Silas",
"Joshua",
"Piers",
"Rhodes",
"Louisa",
"Howard",
"Rob",
"Edie",
"Landon",
"Partridge",
"Hart",
"Harrison",
"",
"Bertram",
"Horatio",
"Wilson",
"Rayleign",
"Southey",
"Dunlop",
"Gabriel",
"Barton",
"Jenny",
"Warren",
"William",
"",
"George",
"Dulles",
"Bill",
"Geoffrey",
"Thoreau",
"Milne",
"Bertha",
"Saul",
"Gracie",
"Zacharias",
"Thomas",
"Dickey",
"Henrietta",
"Lou(ie)",
"Morgan",
"Hudson",
"Browne",
"Lizzie",
"Pollitt",
"Pope",
"Kitto",
"Herty",
"Belle",
"Ferguson",
"Johnston(e)",
"Hansen",
"Lawrence",
"Tyler",
"Fast",
"Judson",
"Charlotte",
"Bloomfield",
"Warner",
"Nixon",
"Copperfield",
"Kingsley",
"Marion",
"Hazlitt",
"May",
"Turner",
"Louis",
"Masefield",
"Mackintosh",
],
};
this.randgun = {
cn: [
"猎枪",
"霰弹枪",
"鸟枪",
"冲锋枪",
"突击步枪",
"自动步枪",
"轻机枪",
"巴雷特",
],
en: [
"Shotgun",
"Shotgun",
"Shotgun",
"Submachine gun",
"Assault rifle",
"Automatic rifle",
"Light machine gun",
"Barrett",
],
};
this.getstr = function (k) {
var data = lgcfg[k];
if (!data) {
return k;
}
return data[ltype];
};
this.format = function (str, arr) {
var n = str.search("%");
if (n != -1 && arr) {
var idx = Number(str[n + 1]);
str = str.replace("%" + idx, arr[idx - 1]);
str = this.format(str, arr);
}
return str;
};
this.stringformat = function (key, arr) {
var str = this.getstr(key);
str = this.format(str, arr);
return str;
};
this.getrobot = function () {
return this.robotname[ltype];
};
this.getrangun = function () {
return this.randgun[ltype];
};
this.check = function () {
var temp = {};
for (var k in lgcfg) {
var str = lgcfg[k].cn;
if (!temp[str]) {
temp[str] = 1;
} else {
console.log(str + ":重复");
}
}
};
};
cc.language = new language();
//cc.language.stringformat("test",["aaa","bbb"])