mirror of https://github.com/VERT-sh/VERT.git
feat: shorter video text, tooltip fix
This commit is contained in:
parent
98e91337db
commit
136a781f76
|
@ -26,7 +26,7 @@
|
||||||
"audio": "Audio",
|
"audio": "Audio",
|
||||||
"documents": "Documents",
|
"documents": "Documents",
|
||||||
"video": "Video",
|
"video": "Video",
|
||||||
"video_server_processing": "Video uploads to a server for processing by default, learn how to set it up locally [wiki_link]here[/wiki_link].",
|
"video_server_processing": "Server supported",
|
||||||
"local_supported": "Local fully supported",
|
"local_supported": "Local fully supported",
|
||||||
"status": {
|
"status": {
|
||||||
"text": "<b>Status:</b> {status}",
|
"text": "<b>Status:</b> {status}",
|
||||||
|
@ -38,7 +38,8 @@
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"partial_support": "This format can only be converted as {direction}.",
|
"partial_support": "This format can only be converted as {direction}.",
|
||||||
"direction_input": "input (from)",
|
"direction_input": "input (from)",
|
||||||
"direction_output": "output (to)"
|
"direction_output": "output (to)",
|
||||||
|
"video_server_processing": "Video uploads to a server for processing by default, learn how to set it up locally here."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"convert": {
|
"convert": {
|
||||||
|
|
|
@ -84,7 +84,8 @@
|
||||||
<style>
|
<style>
|
||||||
.tooltip {
|
.tooltip {
|
||||||
--border-size: 1px;
|
--border-size: 1px;
|
||||||
@apply fixed bg-panel-alt text-foreground border border-stone-400 dynadark:border-white drop-shadow-lg text-xs px-4 py-2 rounded-full whitespace-nowrap pointer-events-none z-[999];
|
@apply fixed bg-panel-alt text-foreground border border-stone-400 dynadark:border-white drop-shadow-lg text-xs rounded-full pointer-events-none z-[999] max-w-xs break-words whitespace-normal;
|
||||||
|
@apply px-5 py-2.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip-top {
|
.tooltip-top {
|
||||||
|
|
|
@ -171,14 +171,31 @@
|
||||||
>
|
>
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
{#if key === "Video"}
|
{#if key === "Video"}
|
||||||
<p>
|
<p
|
||||||
{@html link(
|
class="flex tems-center justify-center gap-2"
|
||||||
"wiki_link",
|
>
|
||||||
m[
|
<Check size="20" />
|
||||||
"upload.cards.video_server_processing"
|
<Tooltip
|
||||||
](),
|
text={m[
|
||||||
"https://github.com/VERT-sh/VERT/wiki/How-to-convert-video-with-VERT",
|
"upload.tooltip.video_server_processing"
|
||||||
)}
|
]()}
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
<a
|
||||||
|
href="https://github.com/VERT-sh/VERT/blob/main/docs/VIDEO_CONVERSION.md"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
{m[
|
||||||
|
"upload.cards.video_server_processing"
|
||||||
|
]()}
|
||||||
|
</a>
|
||||||
|
<span
|
||||||
|
class="text-red-500 -ml-0.5"
|
||||||
|
>*</span
|
||||||
|
>
|
||||||
|
</span>
|
||||||
|
</Tooltip>
|
||||||
</p>
|
</p>
|
||||||
{:else}
|
{:else}
|
||||||
<p
|
<p
|
||||||
|
|
Loading…
Reference in New Issue