panorama translation mostly done, the tips section is gonna be a pain in the ass

This commit is contained in:
2021-11-10 22:00:03 -05:00
parent a768b7a8f8
commit a7d3423bfd
3 changed files with 35 additions and 35 deletions

View File

@@ -1129,9 +1129,9 @@ function GameOverShowCards(rankdata) {
} }
if (i === 0) if (i === 0)
panel.FindChild("TextContent").GetChild(0).text = "爆弹数量"+ card.power + "<br/>核心数量:"+ card.attack + "<br/>最后BOSS" + (typeof card.damage == 'number' ? "" : $.Localize(card.damage)); panel.FindChild("TextContent").GetChild(0).text = "Bombs"+ card.power + "<br/>核心数量:"+ card.attack + "<br/>最后BOSS" + (typeof card.damage == 'number' ? "" : $.Localize(card.damage));
else else
panel.FindChild("TextContent").GetChild(0).text = "能量"+ card.power + "<br/>攻击力"+ card.attack + "<br/>伤害量"+ damagetext; panel.FindChild("TextContent").GetChild(0).text = "Power"+ card.power + "<br/>Attack"+ card.attack + "<br/>Damage"+ damagetext;
panel.visible = true; panel.visible = true;
@@ -1186,7 +1186,7 @@ function CreadTeamRankItems(datas) {
avatar.steamid = datas[s].steamid; avatar.steamid = datas[s].steamid;
panel.GetChild(0).text = s; panel.GetChild(0).text = s;
panel.GetChild(2).GetChild(0).text = "<font color='#6429ec'>" + datas[s].userid + "&nbsp;" + datas[s].username + "</font>"; panel.GetChild(2).GetChild(0).text = "<font color='#6429ec'>" + datas[s].userid + "&nbsp;" + datas[s].username + "</font>";
panel.GetChild(2).GetChild(1).text = "波数<font color='#e2bd43'>" + datas[s].wave + "</font>伤害总量" + Math.round(100 * GameUI.DpsFix(datas[s].damage, datas[s].wave + 50))/100 + "亿;上榜时间" + datas[s].updatetime + "赛季" + datas[s].version; panel.GetChild(2).GetChild(1).text = "Wave<font color='#e2bd43'>" + datas[s].wave + "</font>Damage" + Math.round(100 * GameUI.DpsFix(datas[s].damage, datas[s].wave + 50))/100 + "亿;Date Added" + datas[s].updatetime + "Season" + datas[s].version;
panel.SetPanelEvent("onactivate", "TeamRankDetail(" + s + ", '" + datas[s].steamid + "')"); panel.SetPanelEvent("onactivate", "TeamRankDetail(" + s + ", '" + datas[s].steamid + "')");
// panel.SetAttributeString("steamid", datas[s].steamid); // panel.SetAttributeString("steamid", datas[s].steamid);
// panel.GetAttributeString("steamid", ""); // panel.GetAttributeString("steamid", "");
@@ -1197,7 +1197,7 @@ function CreadTeamRankItems(datas) {
function TeamRankDetail(index, steamid) { function TeamRankDetail(index, steamid) {
if (GetSteamID() !== steamid && GetSteamID() !== GameUI.GameData.admin && GameUI.PlayerData.vip !== 1) { if (GetSteamID() !== steamid && GetSteamID() !== GameUI.GameData.admin && GameUI.PlayerData.vip !== 1) {
ShowMessage("阵容明细只能在贡献者特别奖励期间查看或者在群相册里查看", 3); ShowMessage("Lineup details can only be viewed as VIP", 3);
return; return;
} }
GameEvents.SendCustomGameEventToServer("custom_game_rank_detail", {"index": index, "type": 2}); GameEvents.SendCustomGameEventToServer("custom_game_rank_detail", {"index": index, "type": 2});
@@ -1317,9 +1317,9 @@ function TeamRankShowCards(rankdata) {
} }
if (i === 0) if (i === 0)
panel.FindChild("TextContent").GetChild(0).text = "爆弹数量"+ card.power + "<br/>核心数量:"+ card.attack + "<br/>最后BOSS" + (typeof card.damage == 'number' ? "" : $.Localize(card.damage)); panel.FindChild("TextContent").GetChild(0).text = "Bombs"+ card.power + "<br/>核心数量:"+ card.attack + "<br/>最后BOSS" + (typeof card.damage == 'number' ? "" : $.Localize(card.damage));
else else
panel.FindChild("TextContent").GetChild(0).text = "能量"+ card.power + "<br/>攻击力"+ card.attack + "<br/>伤害量"+ damagetext; panel.FindChild("TextContent").GetChild(0).text = "Power"+ card.power + "<br/>Attack"+ card.attack + "<br/>Damage"+ damagetext;
panel.visible = true; panel.visible = true;
@@ -1352,7 +1352,7 @@ function TeamRankResetAll() {
function TeamRankResetComplete(data) { function TeamRankResetComplete(data) {
if (data.msg === "") { if (data.msg === "") {
ShowMessage("重置成功!", 1); ShowMessage("Reset successful!", 1);
Game.EmitSound("Quest.Completed"); Game.EmitSound("Quest.Completed");
$("#TeamRankList").GetChild(data.index - 1).visible = false; $("#TeamRankList").GetChild(data.index - 1).visible = false;
} else { } else {

View File

@@ -388,17 +388,17 @@ function SelectDifficulty(level) {
if (level >= 5 && PlayerData.vip !== 1) { if (level >= 5 && PlayerData.vip !== 1) {
// 娱乐模式运营波数减半每秒自动加金钱经验提升赠送40个4星福蛋。 // 娱乐模式运营波数减半每秒自动加金钱经验提升赠送40个4星福蛋。
if (GameData.is_open_day !== 1) { if (GameData.is_open_day !== 1) {
ShowMessageDialog("NotDoAnything", "该模式需要开放日或贡献者特别奖励,详细了解请开始游戏后查看小地图上方的攻略。", true); ShowMessageDialog("NotDoAnything", "Only VIPs can play this outside of open day.", true);
return; return;
} }
} }
if (level === 6) { if (level === 6) {
ShowMessageDialog('DoNothing', "该模式在娱乐模式基础上,组队默认上榜为原始榜,不可使用队友物品。", true); ShowMessageDialog('DoNothing', "Based on Funny Mode, you cannot use teammates items and will be ranked on the solo leaderboard.", true);
} }
if (level === 3) { if (level === 3) {
ShowMessageDialog('DoNothing', "后续推出。在无尽模式基础上由系统随机发牌只能抽N卡无同名卡上场限制。", false); ShowMessageDialog('DoNothing', "Not yet implemented", false);
return; return;
} }
@@ -646,7 +646,7 @@ function SelectCardGroup( index ) {
if (PlayerData.vip !== 1 && index > 3) { if (PlayerData.vip !== 1 && index > 3) {
if (GameData.is_open_day !== 1) { if (GameData.is_open_day !== 1) {
ShowMessageDialog("NotDoAnything", "全部卡组位需要开放日或贡献者特别奖励期间,详细了解请开始游戏后查看小地图上方的攻略。", true); ShowMessageDialog("NotDoAnything", "You can only select this deck as a VIP or during Open Day", true);
return; return;
} }
} }
@@ -660,7 +660,7 @@ function SelectCardGroup( index ) {
} }
} }
if (randomList.length < 5) { if (randomList.length < 5) {
ShowMessageDialog("NotDoAnything", "需要至少保存5个卡组随机卡组将从已保存卡组中随机抽取一个", true); ShowMessageDialog("NotDoAnything", "You must have at least 5 decks", true);
return; return;
} }
randomIndex = randomList[RandomInt(0, randomList.length - 1)]; randomIndex = randomList[RandomInt(0, randomList.length - 1)];
@@ -751,7 +751,7 @@ function RenameCardGroup() {
//培养卡牌 //培养卡牌
function TrainCard(levelUp) { function TrainCard(levelUp) {
if (TrainCardDoing) { if (TrainCardDoing) {
ShowMessageDialog('DoNothing', "正在提交卡牌培养中,请等待完成后再试。", true); ShowMessageDialog('DoNothing', "Request in progress", true);
} else { } else {
TrainCardDoing = true; TrainCardDoing = true;
TrainCardHandle = LastShowInfoCard; TrainCardHandle = LastShowInfoCard;
@@ -865,9 +865,9 @@ function UpdateGamePoint() {
$("#SaveGroupOptions").enabled = true; $("#SaveGroupOptions").enabled = true;
$("#BackToGroupOptions").enabled = true; $("#BackToGroupOptions").enabled = true;
if (data.code === "0000") { if (data.code === "0000") {
ShowMessageDialog('DoNothing', "保存卡组数据成功!", true); ShowMessageDialog('DoNothing', "Card group saved!", true);
} else { } else {
ShowMessageDialog('DoNothing', "保存卡组数据失败," + data.msg, true); ShowMessageDialog('DoNothing', "Failed to save deck, " + data.msg, true);
} }
}); });
GameEvents.Subscribe("thtd_update_game_point", function (data){ GameEvents.Subscribe("thtd_update_game_point", function (data){
@@ -881,7 +881,7 @@ function UpdateGamePoint() {
$("#GamePoint").SetDialogVariableInt("game_point", data.point); $("#GamePoint").SetDialogVariableInt("game_point", data.point);
PlayerData = CustomNetTables.GetTableValue("CustomGameInfo", "PlayerData_" + GetSteamID()); PlayerData = CustomNetTables.GetTableValue("CustomGameInfo", "PlayerData_" + GetSteamID());
} }
if (data.hide !== 1) ShowMessageDialog('DoNothing', data.msg === "OK" ? "成功" : data.msg, true); if (data.hide !== 1) ShowMessageDialog('DoNothing', data.msg === "OK" ? "Success" : data.msg, true);
}); });
GameEvents.Subscribe("thtd_train_card_complete", function (data) { GameEvents.Subscribe("thtd_train_card_complete", function (data) {
TrainCardDoing = false; TrainCardDoing = false;
@@ -891,7 +891,7 @@ function UpdateGamePoint() {
TrainCardHandle.Update(); TrainCardHandle.Update();
Game.EmitSound("Quest.Completed"); Game.EmitSound("Quest.Completed");
} else { } else {
ShowMessageDialog('DoNothing', "提升潜能失败," + data.msg, true); ShowMessageDialog('DoNothing', "Train card failed, " + data.msg, true);
} }
}); });
})(); })();
@@ -904,7 +904,7 @@ function OnPlayerLoaded() {
return $.Schedule(0.2, OnPlayerLoaded); return $.Schedule(0.2, OnPlayerLoaded);
} else if (GameData.code !== "0000") { } else if (GameData.code !== "0000") {
ShowMessageDialog('ServerError', GameData.msg, true); ShowMessageDialog('ServerError', GameData.msg, true);
$("#loading_tips").text = "<font color='red'>加载游戏配置失败" + GameData.code + "" + GameData.msg + "</font><br><br>" + $.Localize("#td_load_tips"); $("#loading_tips").text = "<font color='red'>Server returned error" + GameData.code + "" + GameData.msg + "</font><br><br>" + $.Localize("#td_load_tips");
return; return;
} }
@@ -914,14 +914,14 @@ function OnPlayerLoaded() {
return $.Schedule(0.2, OnPlayerLoaded); return $.Schedule(0.2, OnPlayerLoaded);
} else if (PlayerData.code !== "0000") { } else if (PlayerData.code !== "0000") {
ShowMessageDialog('ServerError', PlayerData.msg, true); ShowMessageDialog('ServerError', PlayerData.msg, true);
$("#loading_tips").text = "<font color='red'>加载用户数据失败" + PlayerData.code + "" + PlayerData.msg + "</font><br><br>" + $.Localize("#td_load_tips"); $("#loading_tips").text = "<font color='red'>Server returned player data error" + PlayerData.code + "" + PlayerData.msg + "</font><br><br>" + $.Localize("#td_load_tips");
return; return;
} }
// 是否在黑名单 // 是否在黑名单
if (PlayerData.ban === 1) { if (PlayerData.ban === 1) {
GameUI.Cheated = true; GameUI.Cheated = true;
ShowMessageDialog('GameCheated', "你因" + PlayerData.reason + "被举报加入黑名单至 " + PlayerData.end_time.substr(0,10) + "将无法进行游戏请进Q群联络管理解除。", true); ShowMessageDialog('GameCheated', "Banned because " + PlayerData.reason + "until " + PlayerData.end_time.substr(0,10) + "you cannot play this game version.", true);
return; return;
} }
@@ -947,7 +947,7 @@ function InputGameCode() {
if (!GameData.game_code || PlayerData.vip === 1) { if (!GameData.game_code || PlayerData.vip === 1) {
OnGameStart(); OnGameStart();
} else { } else {
ShowMessageDialog('GameCodeInput', "请输入内部使用代码", true); ShowMessageDialog('GameCodeInput', "Please enter internal use code", true);
} }
} }
@@ -958,9 +958,9 @@ function GameCodeInputOK() {
if (code !== GameData.game_code) { if (code !== GameData.game_code) {
InputErrorCount++; InputErrorCount++;
if (InputErrorCount >= 3) { if (InputErrorCount >= 3) {
$.Schedule(0.2, function () { ShowMessageDialog('ServerError', "输入错误达到3次请断开连接以退出游戏。本版本仅供内部使用详情进Q群。", true);}); $.Schedule(0.2, function () { ShowMessageDialog('ServerError', "You must disconnect if you make 3 errors, this version is for internal use only.", true);});
} else { } else {
$.Schedule(0.2, function () { ShowMessageDialog('GameCodeInput', "请输入内部使用代码", true); }); $.Schedule(0.2, function () { ShowMessageDialog('GameCodeInput', "Please enter the internal use code", true); });
} }
return false; return false;
} }
@@ -995,8 +995,8 @@ function OnGameStart() {
$.Schedule(0.5, Unlock); $.Schedule(0.5, Unlock);
if (PlayerData.reason.length > 5 && PlayerData.reason.substr(0, 3) == "排行榜") if (PlayerData.reason.length > 5 && PlayerData.reason.substr(0, 11) == "Leaderboard")
ShowMessageDialog('DoNothing', "恭喜S7原始" + PlayerData.reason, true); ShowMessageDialog('DoNothing', "Congratulations, S7 original" + PlayerData.reason, true);
} }

View File

@@ -80,9 +80,9 @@
"td_strategy_0_title1" "Card List" "td_strategy_0_title1" "Card List"
"td_strategy_0_text1" "Update..." "td_strategy_0_text1" "Update..."
"td_strategy_0_title2" "Operation method" "td_strategy_0_title2" "Operation method"
"td_strategy_0_text2" "避免无门槛无脑抄阵容,阵容明细不全面开放,可以进群交流,大佬们会在群相册里公开自己的阵容明细和心得。" "td_strategy_0_text2" "The leaderboard will show group details, but avoid mindless copying."
"td_strategy_0_title3" "Card Group" "td_strategy_0_title3" "Card Group"
"td_strategy_0_text3" "可以使用符卡精华(每日宝箱和排行榜上榜奖励获取)在选卡界面培养卡牌永久提升潜能等级,然后进入游戏使得灵梦的觉醒技能激活潜能。打开宝箱有概率获取提升潜能等级的物品。<br><br>在无限潜力活动日开局可选满潜能并附送3个500波跳关卷轴。<br><br>正常玩普通模式即可排行榜上榜进原始榜成长模式满足喜欢IMBA模式的玩家潜能激活后进入巅峰排行榜。<br><br>应要求加入贡献者模式,自愿赞助,在选卡界面右上角,体现贡献反馈而设置了各奖励。" "td_strategy_0_text3" "You can use Game Points (from daily chests and ranking entries) to strengthen cards potential and boost them with Awakening.<br><br>On infinite potential event day, you'll start with a full potential consumable and 3x 500 wave jump scrolls.<br><br>Normal play goes into the top ranks, using awakening on potential will lead to the Team Scoreboard.<br><br>You cannot donate on this version. Everyone gets VIP."
"td_strategy_0_title4" "Station position" "td_strategy_0_title4" "Station position"
"td_strategy_0_text4" "一群76163954二群789182175三群893289514。有关更新讨论、内部代码、宠物小灵\n\t战利品等相关信息可在群里详细了解以及交流开黑等。<br><br>创建房间输入密码开黑,可以永久暂停。本地图掉线或直接关闭游戏将自动永久暂停。小地图上方有永久暂停按钮。<br><br>截图路径C:\\Game\\Dota2\\steamapps\\common\\dota 2 beta\\game\\dota\\screenshots<br>截图快捷键在设置里改默认F6。<br><br>steam启动国服在库Dota2右键属性点设置启动选项输入 -perfectworld " "td_strategy_0_text4" "一群76163954二群789182175三群893289514。有关更新讨论、内部代码、宠物小灵\n\t战利品等相关信息可在群里详细了解以及交流开黑等。<br><br>创建房间输入密码开黑,可以永久暂停。本地图掉线或直接关闭游戏将自动永久暂停。小地图上方有永久暂停按钮。<br><br>截图路径C:\\Game\\Dota2\\steamapps\\common\\dota 2 beta\\game\\dota\\screenshots<br>截图快捷键在设置里改默认F6。<br><br>steam启动国服在库Dota2右键属性点设置启动选项输入 -perfectworld "
"td_strategy_1_left_title" "【Artifice】" "td_strategy_1_left_title" "【Artifice】"
@@ -103,16 +103,16 @@
"td_strategy_2_sub_title" "Introduces several sets of operation methods with low operational requirements." "td_strategy_2_sub_title" "Introduces several sets of operation methods with low operational requirements."
"td_strategy_2_url" "http://static.yueyutech.com/bilibili/index.html\?u=Ly9wbGF5ZXIuYmlsaWJpbGkuY29tL3BsYXllci5odG1sP2FpZD00ODQ5ODk0NyZjaWQ9Mzc5NzU3NzgmcGFnZT0x" "td_strategy_2_url" "http://static.yueyutech.com/bilibili/index.html\?u=Ly9wbGF5ZXIuYmlsaWJpbGkuY29tL3BsYXllci5odG1sP2FpZD00ODQ5ODk0NyZjaWQ9Mzc5NzU3NzgmcGFnZT0x"
"td_strategy_2_image" "" "td_strategy_2_image" ""
"td_strategy_2_title1" "阵容构成" "td_strategy_2_title1" "Lineup Composition"
"td_strategy_2_text1" "更新中..." "td_strategy_2_text1" "Update in progress..."
"td_strategy_2_title2" "运营方法" "td_strategy_2_title2" "Operation Method"
"td_strategy_2_text2" "" "td_strategy_2_text2" ""
"td_strategy_2_title3" "卡组清单" "td_strategy_2_title3" "Deck List"
"td_strategy_2_text3" "" "td_strategy_2_text3" ""
"td_strategy_2_title4" "站位图" "td_strategy_2_title4" "Station Map"
"td_strategy_2_text4" "" "td_strategy_2_text4" ""
"td_strategy_3_left_title" "【视频】" "td_strategy_3_left_title" "【Video】"
"td_strategy_3_main_title" "新手必看,最全整理合集" "td_strategy_3_main_title" "Newbie help, complete collection of finishing"
"td_strategy_3_sub_title" "P2秋静叶开局运营相对双白要轻松许多没有什么严格要求懒人必备" "td_strategy_3_sub_title" "P2秋静叶开局运营相对双白要轻松许多没有什么严格要求懒人必备"
"td_strategy_3_url" "http://static.yueyutech.com/bilibili/index.html\?u=Ly9wbGF5ZXIuYmlsaWJpbGkuY29tL3BsYXllci5odG1sP2FpZD00ODQ5ODk0NyZjaWQ9Mzc5NzU3NzgmcGFnZT0y" "td_strategy_3_url" "http://static.yueyutech.com/bilibili/index.html\?u=Ly9wbGF5ZXIuYmlsaWJpbGkuY29tL3BsYXllci5odG1sP2FpZD00ODQ5ODk0NyZjaWQ9Mzc5NzU3NzgmcGFnZT0y"
"td_strategy_3_image" "" "td_strategy_3_image" ""
@@ -311,7 +311,7 @@
"td_strategy_18_sub_title" "7个五星的挂机流过Extra的阵容" "td_strategy_18_sub_title" "7个五星的挂机流过Extra的阵容"
"td_strategy_18_url" "" "td_strategy_18_url" ""
"td_strategy_18_image" "" "td_strategy_18_image" ""
"td_strategy_18_title1" "阵容构成" "td_strategy_18_title1" "Lineup Composition"
"td_strategy_18_text1" "五星2个满培辉夜桑尼古明地恋满培古明地觉满培八云紫满培火焰猫磷。<br><br>其他2个三星梅蒂欣一星满培上白泽慧音一星八云紫一星满培帕秋莉。<br><br>装备主辉夜4相机2玉火焰猫磷2船勾2神枪觉4船浆2船勾月耀和人形给两个紫最前面的梅蒂欣4核棒。<br><br>将辉夜摆好位置后再刷辉夜科技给辉夜和古明地觉、火焰猫磷刷个加伤buff。恋恋给辉夜加能量buff。帕秋莉切湖葬。另外两个紫只需一个5星多个会火车会重合放。" "td_strategy_18_text1" "五星2个满培辉夜桑尼古明地恋满培古明地觉满培八云紫满培火焰猫磷。<br><br>其他2个三星梅蒂欣一星满培上白泽慧音一星八云紫一星满培帕秋莉。<br><br>装备主辉夜4相机2玉火焰猫磷2船勾2神枪觉4船浆2船勾月耀和人形给两个紫最前面的梅蒂欣4核棒。<br><br>将辉夜摆好位置后再刷辉夜科技给辉夜和古明地觉、火焰猫磷刷个加伤buff。恋恋给辉夜加能量buff。帕秋莉切湖葬。另外两个紫只需一个5星多个会火车会重合放。"
"td_strategy_18_title2" "运营方法" "td_strategy_18_title2" "运营方法"
"td_strategy_18_text2" "随意。" "td_strategy_18_text2" "随意。"