Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Zwordi
funkwhale
Commits
7e3fbbe0
Commit
7e3fbbe0
authored
6 years ago
by
Jo Vuit
Browse files
Options
Downloads
Patches
Plain Diff
Added translation strings for admin/Settings.vue
Added the component type Menu in the doc, to match with secondary menu items
parent
22749ea2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CONTRIBUTING.rst
+1
-0
1 addition, 0 deletions
CONTRIBUTING.rst
front/src/views/admin/Settings.vue
+10
-10
10 additions, 10 deletions
front/src/views/admin/Settings.vue
with
11 additions
and
10 deletions
CONTRIBUTING.rst
+
1
−
0
View file @
7e3fbbe0
...
...
@@ -470,6 +470,7 @@ This hierarchical structure is made of several parts:
- ``Label``
- ``Link``
- ``List item``
- ``Menu``
- ``Message``
- ``Paragraph``
- ``Placeholder``
...
...
This diff is collapsed.
Click to expand it.
front/src/views/admin/Settings.vue
+
10
−
10
View file @
7e3fbbe0
...
...
@@ -13,7 +13,7 @@
</div>
<div
class=
"four wide column"
>
<div
class=
"ui sticky vertical secondary menu"
>
<div
class=
"header item"
><translate>
Sections
</translate></div>
<div
class=
"header item"
><translate
:translate-context=
"'Content/Admin/Menu.Title'"
>
Sections
</translate></div>
<a
:class=
"['menu',
{active: group.id === current}, 'item']"
@click.prevent="scrollTo(group.id)"
:href="'#' + group.id"
...
...
@@ -72,19 +72,19 @@ export default {
computed
:
{
labels
()
{
return
{
settings
:
this
.
$gettext
(
"
Instance settings
"
)
settings
:
this
.
$
p
gettext
(
'
Head/Admin/Title
'
,
'
Instance settings
'
)
}
},
groups
()
{
// somehow, extraction fails if in the return block directly
let
instanceLabel
=
this
.
$gettext
(
"
Instance information
"
)
let
usersLabel
=
this
.
$gettext
(
"
Users
"
)
let
musicLabel
=
this
.
$gettext
(
"
Music
"
)
let
playlistsLabel
=
this
.
$gettext
(
"
Playlists
"
)
let
federationLabel
=
this
.
$gettext
(
"
Federation
"
)
let
subsonicLabel
=
this
.
$gettext
(
"
Subsonic
"
)
let
statisticsLabel
=
this
.
$gettext
(
"
Statistics
"
)
let
errorLabel
=
this
.
$gettext
(
"
Error reporting
"
)
let
instanceLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Instance information
'
)
let
usersLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Users
'
)
let
musicLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Music
'
)
let
playlistsLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Playlists
'
)
let
federationLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Federation
'
)
let
subsonicLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Subsonic
'
)
let
statisticsLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Statistics
'
)
let
errorLabel
=
this
.
$
p
gettext
(
'
Content/Admin/Menu
'
,
'
Error reporting
'
)
return
[
{
label
:
instanceLabel
,
...
...
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