hopefully final fixes

This commit is contained in:
2022-07-23 13:43:03 -04:00
parent 2af94f26ca
commit f0de38755d
3 changed files with 478 additions and 1 deletions

View File

@@ -627,7 +627,7 @@ function InitVideoPanel() {
while (true) {
maintitle = $.Localize("#td_strategy_" + i + "_main_title");
// $.Localize 无对应的值时返回名称,不带#
if (maintitle === "" || maintitle === "td_strategy_" + i + "_main_title") break;
if (maintitle === "" || maintitle === "#td_strategy_" + i + "_main_title") break;
var panel = $.CreatePanel("Panel", ContentPanel, "");
panel.BLoadLayoutSnippet("StrategyListItem");
panel.GetChild(0).text = $.Localize("#td_strategy_" + i + "_left_title");