Commit d6d42fee authored by chenweijian's avatar chenweijian

cp翻译

parent 5550b064
......@@ -238,4 +238,19 @@ VALUES (273, 'zh', "绑定CP返还"),
(273, 'ca', "Retorno de CP vinculante"),
(273, 'hi', "बाध्यकारी सीपी वापसी"),
(273, 'vi', "Lợi nhuận CP ràng buộc"),
(273, 'ur', "بائنڈنگ CP واپسی۔");
\ No newline at end of file
(273, 'ur', "بائنڈنگ CP واپسی۔");
INSERT INTO hilo.res_multi_text (msg_id, `language`, content)
VALUES (274, 'zh', "%s撤销了解绑CP的申请"),
(274, 'en', "%s canceled the application to unbind CP"),
(274, 'ar', "%s قام بسحب طلبه لفك ارتباط CP"),
(274, 'tr', "%s, CP'nin bağlantısını kaldırma başvurusunu iptal etti"),
(274, 'id', "%s membatalkan aplikasi untuk melepaskan CP"),
(274, 'ru', "%s отменил заявку на отвязку CP"),
(274, 'ko', "%s이(가) CP 바인딩 해제 신청을 취소했습니다."),
(274, 'pt', "%s cancelou o aplicativo para desvincular CP"),
(274, 'th', "%s ยกเลิกแอปพลิเคชันเพื่อยกเลิกการเชื่อมโยง CP"),
(274, 'ca', "%s canceló la solicitud para desvincular CP"),
(274, 'hi', "%s ने सीपी को अनबाइंड करने के लिए आवेदन को रद्द कर दिया"),
(274, 'vi', "%s đã hủy đơn đăng ký hủy liên kết CP"),
(274, 'ur', "");
\ No newline at end of file
......@@ -346,13 +346,13 @@ func ReplyCpCancel(c *gin.Context) (*mycontext.MyContext, error) {
var msgData []byte
if optType == 1 { // 撤销解除
// 私信
//content, err := msg.GetResMultiTextBy(model, common.MSG_ID_UNBIND_CP_SUCCEED, lang)
//if err != nil {
// return err
//}
content, err := msg.GetResMultiTextBy(model, common.MSG_ID_CANCEL_UNBIND_CP, lang)
if err != nil {
return err
}
msgData, _ = json.Marshal(cp_m.CpDealCancelMessage{
Identifier: "CpDealCancelMessage",
Msg: fmt.Sprintf("%s withdrew my application to lift CP", myUser.Nick), // cwj----
Msg: fmt.Sprintf(content, myUser.Nick),
Status: 1,
})
} else { // 接受解除
......
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