mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Use tailwind classes and properly do localization.
This commit is contained in:
parent
f8fccdb30f
commit
1712a43202
2 changed files with 4 additions and 7 deletions
|
@ -24,7 +24,7 @@
|
||||||
v-text="timeFormat(video.duration)"
|
v-text="timeFormat(video.duration)"
|
||||||
/>
|
/>
|
||||||
<!-- shorts thumbnail -->
|
<!-- shorts thumbnail -->
|
||||||
<span class="thumbnail-overlay thumbnail-left" v-if="video.duration <= 60" v-t="'shorts'" />
|
<span class="thumbnail-overlay thumbnail-left" v-if="video.duration <= 60" v-t="'video.shorts'" />
|
||||||
<span
|
<span
|
||||||
class="thumbnail-overlay thumbnail-right"
|
class="thumbnail-overlay thumbnail-right"
|
||||||
v-else-if="video.duration >= 60"
|
v-else-if="video.duration >= 60"
|
||||||
|
@ -122,11 +122,7 @@
|
||||||
@apply bottom-5px right-5px;
|
@apply bottom-5px right-5px;
|
||||||
}
|
}
|
||||||
.thumbnail-left {
|
.thumbnail-left {
|
||||||
@apply bottom-5px left-5px;
|
@apply bottom-5px left-5px text-xs font-bold bg-red-600 uppercase;
|
||||||
background-color: #f40407;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,8 @@
|
||||||
"sponsor_segments": "Sponsors Segments",
|
"sponsor_segments": "Sponsors Segments",
|
||||||
"ratings_disabled": "Ratings Disabled",
|
"ratings_disabled": "Ratings Disabled",
|
||||||
"chapters": "Chapters",
|
"chapters": "Chapters",
|
||||||
"live": "{0} Live"
|
"live": "{0} Live",
|
||||||
|
"shorts": "Shorts"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"did_you_mean": "Did you mean: {0}?",
|
"did_you_mean": "Did you mean: {0}?",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue