Commit 6057583f authored by nanahira's avatar nanahira

fix i18n

parent fbce123d
...@@ -43,13 +43,13 @@ export class RandomDuelScore { ...@@ -43,13 +43,13 @@ export class RandomDuelScore {
const displayName = this.getDisplayName(); const displayName = this.getDisplayName();
const total = this.winCount + this.loseCount; const total = this.winCount + this.loseCount;
if (this.winCount < 2 && total < 3) { if (this.winCount < 2 && total < 3) {
return `${displayName} \${random_this_not_enough}`; return `${displayName} \${random_score_not_enough}`;
} }
if (this.winCombo >= 2) { if (this.winCombo >= 2) {
return `\${random_this_part1}${displayName} \${random_this_part2} ${Math.ceil(this.winCount / total * 100)}\${random_this_part3} ${Math.ceil(this.fleeCount / total * 100)}\${random_this_part4_combo}${this.winCombo}\${random_this_part5_combo}`; return `\${random_score_part1}${displayName} \${random_score_part2} ${Math.ceil(this.winCount / total * 100)}\${random_score_part3} ${Math.ceil(this.fleeCount / total * 100)}\${random_score_part4_combo}${this.winCombo}\${random_score_part5_combo}`;
} else { } else {
//return displayName + " 的今日战绩:胜率" + Math.ceil(this.winCount/total*100) + "%,逃跑率" + Math.ceil(this.fleeCount/total*100) + "%," + this.winCombo + "连胜中!" //return displayName + " 的今日战绩:胜率" + Math.ceil(this.winCount/total*100) + "%,逃跑率" + Math.ceil(this.fleeCount/total*100) + "%," + this.winCombo + "连胜中!"
return `\${random_this_part1}${displayName} \${random_this_part2} ${Math.ceil(this.winCount / total * 100)}\${random_this_part3} ${Math.ceil(this.fleeCount / total * 100)}\${random_this_part4}`; return `\${random_score_part1}${displayName} \${random_score_part2} ${Math.ceil(this.winCount / total * 100)}\${random_score_part3} ${Math.ceil(this.fleeCount / total * 100)}\${random_score_part4}`;
} }
} }
} }
\ No newline at end of file
...@@ -67,14 +67,14 @@ ...@@ -67,14 +67,14 @@
"exp_value_part2": " exp", "exp_value_part2": " exp",
"exp_value_part3": ", your score is ", "exp_value_part3": ", your score is ",
"exp_value_part4": ". These points may be reset after the stable release of MyCard.", "exp_value_part4": ". These points may be reset after the stable release of MyCard.",
"random_score_part1": "Today's record of ", "random_score_part1": "Record of ",
"random_score_part2": ": ", "random_score_part2": ": ",
"random_score_part3": "% WIN, ", "random_score_part3": "% WIN, ",
"random_score_part4_combo": "% RAGE QUIT, WIN COMBO ", "random_score_part4_combo": "% RAGE QUIT, WIN COMBO ",
"random_score_part5_combo": " !", "random_score_part5_combo": " !",
"random_score_part4": "%", "random_score_part4": "%",
"random_score_blank": " didn't have enough duel record today.", "random_score_blank": " didn't have enough duel record.",
"random_score_not_enough": " didn't have enough duel record today.", "random_score_not_enough": " didn't have enough duel record.",
"lp_low_opponent": "もはやお前のライフは風前の灯!", "lp_low_opponent": "もはやお前のライフは風前の灯!",
"lp_low_self": "*Low LP Alert*", "lp_low_self": "*Low LP Alert*",
"kicked_by_player": "was evicted from the game.", "kicked_by_player": "was evicted from the game.",
...@@ -386,13 +386,13 @@ ...@@ -386,13 +386,13 @@
"exp_value_part3": ",你的战斗力是", "exp_value_part3": ",你的战斗力是",
"exp_value_part4": "。竞技场部分积分按赛季重置。", "exp_value_part4": "。竞技场部分积分按赛季重置。",
"random_score_part1": "", "random_score_part1": "",
"random_score_part2": "的今日战绩:胜率", "random_score_part2": "的战绩:胜率",
"random_score_part3": "%,逃跑率", "random_score_part3": "%,逃跑率",
"random_score_part4_combo": "%,", "random_score_part4_combo": "%,",
"random_score_part5_combo": "连胜中!", "random_score_part5_combo": "连胜中!",
"random_score_part4": "%", "random_score_part4": "%",
"random_score_blank": "的今日战绩:正在统计中", "random_score_blank": "的战绩:正在统计中",
"random_score_not_enough": "的今日战绩:正在统计中", "random_score_not_enough": "的战绩:正在统计中",
"lp_low_opponent": "你的生命已经如风中残烛了!", "lp_low_opponent": "你的生命已经如风中残烛了!",
"lp_low_self": "背水一战!", "lp_low_self": "背水一战!",
"kicked_by_player": "被请出了房间", "kicked_by_player": "被请出了房间",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment