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
5224c8ad
Commit
5224c8ad
authored
Jun 13, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
翻译1
parent
ecf01181
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
level.go
_const/enum/cp_e/level.go
+9
-9
space.go
cv/cp_cv/space.go
+1
-0
No files found.
_const/enum/cp_e/level.go
View file @
5224c8ad
...
...
@@ -38,16 +38,16 @@ var (
CpLevel4
:
"icon4.png"
,
CpLevel5
:
"icon5.png"
,
}
// cp特权名称
// todo 翻译
// cp特权名称
CpPrivilegeNameMsgId
=
map
[
CpPrivilege
]
uint
{
CpPrivilegeSpace
:
0
,
CpPrivilegeBanner
:
0
,
CpPrivilegeMedal
:
0
,
CpPrivilegeCert
:
0
,
CpPrivilegeRoomEffect
:
0
,
CpPrivilegeHeadwear
:
0
,
CpPrivilegeActiveProfile
:
0
,
CpPrivilegeMicEffect
:
0
,
CpPrivilegeSpace
:
234
,
CpPrivilegeBanner
:
235
,
CpPrivilegeMedal
:
236
,
CpPrivilegeCert
:
237
,
CpPrivilegeRoomEffect
:
238
,
CpPrivilegeHeadwear
:
239
,
CpPrivilegeActiveProfile
:
24
0
,
CpPrivilegeMicEffect
:
241
,
}
// cp特权描述 // todo 翻译
CpPrivilegeDescMsgId
=
map
[
CpPrivilege
]
uint
{
...
...
cv/cp_cv/space.go
View file @
5224c8ad
...
...
@@ -93,6 +93,7 @@ func CopyCpLevelPrivilegeList(Level cp_e.CpLevel, lang string) []CvPrivilege {
copy
(
privileges
,
CpLevelPrivilegeList
[
Level
])
for
i
,
v
:=
range
privileges
{
privileges
[
i
]
.
Name
=
GetTranslate
(
v
.
NameMsgId
,
lang
)
privileges
[
i
]
.
Desc
=
GetTranslate
(
v
.
DescMsgId
,
lang
)
}
return
privileges
}
...
...
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