Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-user
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenweijian
hilo-user
Commits
d6d42fee
Commit
d6d42fee
authored
Jun 14, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cp翻译
parent
5550b064
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
3.9.0.sql
mysql/3.9.0.sql
+16
-1
cp_relation.go
route/cp_r/cp_relation.go
+5
-5
No files found.
mysql/3.9.0.sql
View file @
d6d42fee
...
@@ -238,4 +238,19 @@ VALUES (273, 'zh', "绑定CP返还"),
...
@@ -238,4 +238,19 @@ VALUES (273, 'zh', "绑定CP返还"),
(
273
,
'ca'
,
"Retorno de CP vinculante"
),
(
273
,
'ca'
,
"Retorno de CP vinculante"
),
(
273
,
'hi'
,
"बाध्यकारी सीपी वापसी"
),
(
273
,
'hi'
,
"बाध्यकारी सीपी वापसी"
),
(
273
,
'vi'
,
"Lợi nhuận CP ràng buộc"
),
(
273
,
'vi'
,
"Lợi nhuận CP ràng buộc"
),
(
273
,
'ur'
,
"بائنڈنگ CP واپسی۔"
);
(
273
,
'ur'
,
"بائنڈنگ CP واپسی۔"
);
\ No newline at end of file
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
route/cp_r/cp_relation.go
View file @
d6d42fee
...
@@ -346,13 +346,13 @@ func ReplyCpCancel(c *gin.Context) (*mycontext.MyContext, error) {
...
@@ -346,13 +346,13 @@ func ReplyCpCancel(c *gin.Context) (*mycontext.MyContext, error) {
var
msgData
[]
byte
var
msgData
[]
byte
if
optType
==
1
{
// 撤销解除
if
optType
==
1
{
// 撤销解除
// 私信
// 私信
//content, err := msg.GetResMultiTextBy(model, common.MSG_ID_UNBIND_CP_SUCCEED
, lang)
content
,
err
:=
msg
.
GetResMultiTextBy
(
model
,
common
.
MSG_ID_CANCEL_UNBIND_CP
,
lang
)
//
if err != nil {
if
err
!=
nil
{
//
return err
return
err
//
}
}
msgData
,
_
=
json
.
Marshal
(
cp_m
.
CpDealCancelMessage
{
msgData
,
_
=
json
.
Marshal
(
cp_m
.
CpDealCancelMessage
{
Identifier
:
"CpDealCancelMessage"
,
Identifier
:
"CpDealCancelMessage"
,
Msg
:
fmt
.
Sprintf
(
"%s withdrew my application to lift CP"
,
myUser
.
Nick
),
// cwj----
Msg
:
fmt
.
Sprintf
(
content
,
myUser
.
Nick
),
Status
:
1
,
Status
:
1
,
})
})
}
else
{
// 接受解除
}
else
{
// 接受解除
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment