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
bec267dc
Commit
bec267dc
authored
6 years ago
by
Jo Vuit
Browse files
Options
Downloads
Patches
Plain Diff
Added context strings
Minor rewording
parent
d2ddda3f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
front/src/components/audio/Player.vue
+16
-16
16 additions, 16 deletions
front/src/components/audio/Player.vue
with
16 additions
and
16 deletions
front/src/components/audio/Player.vue
+
16
−
16
View file @
bec267dc
...
...
@@ -62,14 +62,14 @@
</div>
<div
class=
"ui small warning message"
v-if=
"currentTrack && errored"
>
<div
class=
"header"
>
<translate
>
We cannot load this track
</translate>
<translate
:translate-context=
"'Sidebar/Player/Error message.Title'"
>
The track cannot be loaded
</translate>
</div>
<p
v-if=
"hasNext && playing && $store.state.player.errorCount
<
$
store.state.player.maxConsecutiveErrors
"
>
<translate>
The next track will play automatically in a few seconds…
</translate>
<translate
:translate-context=
"'Sidebar/Player/Error message.Paragraph'"
>
The next track will play automatically in a few seconds…
</translate>
<i
class=
"loading spinner icon"
></i>
</p>
<p>
<translate>
You may have a connectivity issue.
</translate>
<translate
:translate-context=
"'Sidebar/Player/Error message.Paragraph'"
>
You may have a connectivity issue.
</translate>
</p>
</div>
<div
class=
"two wide column controls ui grid"
>
...
...
@@ -280,7 +280,7 @@ export default {
return
}
let
self
=
this
let
msg
=
this
.
$gettext
(
"
Queue shuffled!
"
)
let
msg
=
this
.
$
p
gettext
(
'
Content/Queue/Message
'
,
"
Queue shuffled!
"
)
this
.
isShuffling
=
true
setTimeout
(()
=>
{
self
.
$store
.
dispatch
(
"
queue/shuffle
"
,
()
=>
{
...
...
@@ -346,24 +346,24 @@ export default {
progress
:
"
player/progress
"
}),
labels
()
{
let
audioPlayer
=
this
.
$gettext
(
"
Media player
"
)
let
previousTrack
=
this
.
$gettext
(
"
Previous track
"
)
let
play
=
this
.
$gettext
(
"
Play track
"
)
let
pause
=
this
.
$gettext
(
"
Pause track
"
)
let
next
=
this
.
$gettext
(
"
Next track
"
)
let
unmute
=
this
.
$gettext
(
"
Unmute
"
)
let
mute
=
this
.
$gettext
(
"
Mute
"
)
let
loopingDisabled
=
this
.
$gettext
(
let
audioPlayer
=
this
.
$
p
gettext
(
'
Sidebar/Player/Hidden text
'
,
"
Media player
"
)
let
previousTrack
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip
'
,
"
Previous track
"
)
let
play
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Play track
"
)
let
pause
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Pause track
"
)
let
next
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip
'
,
"
Next track
"
)
let
unmute
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Unmute
"
)
let
mute
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Mute
"
)
let
loopingDisabled
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip
'
,
"
Looping disabled. Click to switch to single-track looping.
"
)
let
loopingSingle
=
this
.
$gettext
(
let
loopingSingle
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip
'
,
"
Looping on a single track. Click to switch to whole queue looping.
"
)
let
loopingWhole
=
this
.
$gettext
(
let
loopingWhole
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip
'
,
"
Looping on whole queue. Click to disable looping.
"
)
let
shuffle
=
this
.
$gettext
(
"
Shuffle your queue
"
)
let
clear
=
this
.
$gettext
(
"
Clear your queue
"
)
let
shuffle
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Shuffle your queue
"
)
let
clear
=
this
.
$
p
gettext
(
'
Sidebar/Player/Icon.Tooltip/Verb
'
,
"
Clear your queue
"
)
return
{
audioPlayer
,
previousTrack
,
...
...
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