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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Andy Craze
funkwhale
Commits
29080ba2
Verified
Commit
29080ba2
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
See #170: more copy fixes
parent
ddc88a26
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
front/src/components/audio/ChannelCard.vue
+3
-0
3 additions, 0 deletions
front/src/components/audio/ChannelCard.vue
front/src/components/library/TrackDetail.vue
+4
-2
4 additions, 2 deletions
front/src/components/library/TrackDetail.vue
with
7 additions
and
2 deletions
front/src/components/audio/ChannelCard.vue
+
3
−
0
View file @
29080ba2
...
...
@@ -13,11 +13,14 @@
</strong>
<div
class=
"description"
>
<translate
class=
"meta ellipsis"
translate-context=
"Content/Channel/Paragraph"
key=
"1"
v-if=
"object.artist.content_category === 'podcast'"
translate-plural=
"%
{ count } episodes"
:translate-n="object.artist.tracks_count"
:translate-params="{count: object.artist.tracks_count}">
%{ count } episode
</translate>
<translate
key=
"2"
v-else
translate-context=
"*/*/*"
:translate-params=
"
{count: object.artist.tracks_count}" :translate-n="object.artist.tracks_count" translate-plural="%{ count } tracks">%{ count } track
</translate>
<tags-list
label-classes=
"tiny"
:truncate-size=
"20"
:limit=
"2"
:show-more=
"false"
:tags=
"object.artist.tags"
></tags-list>
</div>
...
...
This diff is collapsed.
Click to expand it.
front/src/components/library/TrackDetail.vue
+
4
−
2
View file @
29080ba2
...
...
@@ -7,7 +7,8 @@
<img
class=
"image"
v-if=
"cover && cover.original"
v-lazy=
"$store.getters['instance/absoluteUrl'](cover.square_crop)"
>
<template
v-if=
"upload"
>
<h3
class=
"ui header"
>
<translate
translate-context=
"Content/*/*"
>
Track Details
</translate>
<translate
key=
"1"
v-if=
"track.artist.content_category === 'music'"
translate-context=
"Content/*/*"
>
Track Details
</translate>
<translate
key=
"2"
v-else
translate-context=
"Content/*/*"
>
Episode Details
</translate>
</h3>
<table
class=
"ui basic table"
>
<tbody>
...
...
@@ -78,7 +79,8 @@
</tr>
<tr
v-if=
"track.album"
>
<td>
<translate
translate-context=
"*/*/*/Noun"
>
Album
</translate>
<translate
key=
"1"
v-if=
"track.album.artist.content_category === 'music'"
translate-context=
"*/*/*/Noun"
>
Album
</translate>
<translate
key=
"2"
v-else
translate-context=
"*/*/*"
>
Serie
</translate>
</td>
<td
class=
"right aligned"
>
<router-link
:to=
"{name: 'library.albums.detail', params: {id: track.album.id}}"
>
...
...
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