Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sean King
admin-fe
Commits
a6337292
Commit
a6337292
authored
7 years ago
by
Pan
Browse files
Options
Downloads
Patches
Plain Diff
perf[i18n]: TagsView contextmenu
parent
f9c4dd7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/lang/en.js
+5
-0
5 additions, 0 deletions
src/lang/en.js
src/lang/zh.js
+5
-0
5 additions, 0 deletions
src/lang/zh.js
src/views/layout/components/TagsView.vue
+3
-3
3 additions, 3 deletions
src/views/layout/components/TagsView.vue
with
13 additions
and
3 deletions
src/lang/en.js
+
5
−
0
View file @
a6337292
...
...
@@ -125,5 +125,10 @@ export default {
change
:
'
Theme change
'
,
documentation
:
'
Theme documentation
'
,
tips
:
'
Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details.
'
},
tagsView
:
{
close
:
'
Close
'
,
closeOthers
:
'
Close Others
'
,
closeAll
:
'
Close All
'
}
}
This diff is collapsed.
Click to expand it.
src/lang/zh.js
+
5
−
0
View file @
a6337292
...
...
@@ -125,5 +125,10 @@ export default {
change
:
'
换肤
'
,
documentation
:
'
换肤文档
'
,
tips
:
'
Tips: 它区别于 navbar 上的 theme-pick, 是两种不同的换肤方法,各自有不同的应用场景,具体请参考文档。
'
},
tagsView
:
{
close
:
'
关闭
'
,
closeOthers
:
'
关闭其它
'
,
closeAll
:
'
关闭所有
'
}
}
This diff is collapsed.
Click to expand it.
src/views/layout/components/TagsView.vue
+
3
−
3
View file @
a6337292
...
...
@@ -8,9 +8,9 @@
</router-link>
</scroll-pane>
<ul
class=
'contextmenu'
v-show=
"visible"
:style=
"
{left:left+'px',top:top+'px'}">
<li
@
click=
"closeSelectedTag(selectedTag)"
>
Close
</li>
<li
@
click=
"closeOthersTags"
>
C
lose
Others
</li>
<li
@
click=
"closeAllTags"
>
C
lose
All
</li>
<li
@
click=
"closeSelectedTag(selectedTag)"
>
{{
$t
(
'
tagsView.close
'
)
}}
</li>
<li
@
click=
"closeOthersTags"
>
{{
$t
(
'
tagsView.c
loseOthers
'
)
}}
</li>
<li
@
click=
"closeAllTags"
>
{{
$t
(
'
tagsView.c
loseAll
'
)
}}
</li>
</ul>
</div>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment