fix: 修改提示信息中的“对面”字样为“对方”,以提高语言的准确性和一致性
This commit is contained in:
parent
71f8cb1232
commit
5200c862a8
@ -118,9 +118,9 @@ func blPlus(msg model.Message) (reply *model.Reply) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if isPlus {
|
if isPlus {
|
||||||
resultStr.WriteString(fmt.Sprintf("您只需要再打出%.2fpp就能达到%s区第%d名。", targetPlayer.PP-userInfo.PP, userInfo.Country, targetPlayer.CountryRank))
|
resultStr.WriteString(fmt.Sprintf("您只需要再打出%.2fpp就能超越%s,达到%s区第%d名。", targetPlayer.PP-userInfo.PP, targetPlayer.Name, userInfo.Country, targetPlayer.CountryRank))
|
||||||
} else {
|
} else {
|
||||||
resultStr.WriteString(fmt.Sprintf("%s区的第%d名是%s,对面只需要再打出%.2fpp就能超过你。", userInfo.Country, targetPlayer.CountryRank, targetPlayer.Name, userInfo.PP-targetPlayer.PP))
|
resultStr.WriteString(fmt.Sprintf("%s区的第%d名是%s,对方只需要再打出%.2fpp就能超过你。", userInfo.Country, targetPlayer.CountryRank, targetPlayer.Name, userInfo.PP-targetPlayer.PP))
|
||||||
}
|
}
|
||||||
return &model.Reply{
|
return &model.Reply{
|
||||||
ReplyMsg: resultStr.String(),
|
ReplyMsg: resultStr.String(),
|
||||||
|
@ -116,9 +116,9 @@ func ssPlusN(msg model.Message) (reply *model.Reply) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if isPlus {
|
if isPlus {
|
||||||
resultStr.WriteString(fmt.Sprintf("您只需要再打出%.2fpp就能达到%s区第%d名。", targetPlayer.PP-userInfo.PP, userInfo.Country, targetPlayer.CountryRank))
|
resultStr.WriteString(fmt.Sprintf("您只需要再打出%.2fpp就能超越%s,达到%s区第%d名。", targetPlayer.PP-userInfo.PP, targetPlayer.Name, userInfo.Country, targetPlayer.CountryRank))
|
||||||
} else {
|
} else {
|
||||||
resultStr.WriteString(fmt.Sprintf("%s区的第%d名是%s,对面只需要再打出%.2fpp就能超过你。", userInfo.Country, targetPlayer.CountryRank, targetPlayer.Name, userInfo.PP-targetPlayer.PP))
|
resultStr.WriteString(fmt.Sprintf("%s区的第%d名是%s,对方只需要再打出%.2fpp就能超过你。", userInfo.Country, targetPlayer.CountryRank, targetPlayer.Name, userInfo.PP-targetPlayer.PP))
|
||||||
}
|
}
|
||||||
return &model.Reply{
|
return &model.Reply{
|
||||||
ReplyMsg: resultStr.String(),
|
ReplyMsg: resultStr.String(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user