mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 19:28:29 +00:00
commit 6/25
This commit is contained in:
parent
005efe35e6
commit
76182c689b
@ -338,6 +338,7 @@ button:active,
|
||||
color: var(--accent-subtext);
|
||||
padding: var(--gap) 1rem!important;
|
||||
align-content: center;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.notification-dot {
|
||||
width: 8px;
|
||||
|
@ -1,4 +0,0 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.0372 20.8626C13.0372 22.1648 14.1823 23.2221 15.5924 23.2221C17.0025 23.2221 18.1475 22.1648 18.1475 20.8528V19.1506C18.1475 19.0395 18.2212 18.9421 18.3271 18.9086C21.6766 17.8508 24 14.9188 24 11.5616V10.3084C24 6.0691 20.3104 2.53471 15.7726 2.4466C13.4931 2.39764 11.3409 3.19068 9.70813 4.65926C8.08598 6.12784 7.18478 8.10553 7.18478 10.2105C7.18478 11.5224 8.34043 12.5798 9.75054 12.5798C11.1606 12.5798 12.3057 11.5224 12.3057 10.2203C12.3057 9.39788 12.6556 8.62443 13.2917 8.04679C13.9278 7.46915 14.7654 7.15585 15.6666 7.17543C17.4478 7.21459 18.8897 8.62443 18.8897 10.3182V11.5616C18.8897 13.0302 17.7659 14.2932 16.2073 14.5575C14.3731 14.8708 13.0372 16.3492 13.0372 18.0723V20.8626Z" fill="#6B438B"/>
|
||||
<path d="M15.5 30C16.8807 30 18 28.8807 18 27.5C18 26.1193 16.8807 25 15.5 25C14.1193 25 13 26.1193 13 27.5C13 28.8807 14.1193 30 15.5 30Z" fill="#6B438B"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 992 B |
@ -28,7 +28,7 @@
|
||||
"ErrorCouldntFetch": "i couldn't find anything about this link. check if it works and try again! some content may be region restricted, so keep that in mind.",
|
||||
"ErrorLengthLimit": "i can't process videos longer than {s} minutes, so pick something shorter instead!",
|
||||
"ErrorBadFetch": "something went wrong when i tried getting info about your link. are you sure it works? check if it does, and try again.",
|
||||
"ErrorNoInternet": "there's no internet or cobalt api is temporarily unavailable. check your connection and try again.",
|
||||
"ErrorNoInternet": "there's no internet or api is temporarily unavailable. check your connection and try again.",
|
||||
"ErrorCantConnectToServiceAPI": "i couldn't connect to the service api. maybe it's down, or cobalt got blocked. try again, but if error persists, {ContactLink}.",
|
||||
"ErrorEmptyDownload": "i don't see anything i could download by your link. try a different one!",
|
||||
"ErrorLiveVideo": "this is a live video, i am yet to learn how to look into future. wait for the stream to finish and try again!",
|
||||
|
@ -2,7 +2,6 @@ const names = {
|
||||
"🎶": "musical_notes",
|
||||
"🎬": "clapper_board",
|
||||
"🎉": "party_popper",
|
||||
"❓": "question_mark",
|
||||
"✨": "sparkles",
|
||||
"🪅": "pinata",
|
||||
"🪄": "magic_wand",
|
||||
|
@ -217,7 +217,7 @@ export function celebrationsEmoji() {
|
||||
export function urgentNotice(obj) {
|
||||
if (obj.visible) {
|
||||
return `<div id="urgent-notice" class="urgent-notice explanation">` +
|
||||
`<span id="urgent-notice-child" class="urgent-text" onclick="${obj.action}">${emoji(obj.emoji, 18)} ${obj.text}</span>` +
|
||||
`<span id="urgent-notice-child" class="urgent-text" onclick="${obj.action}">${obj.text}</span>` +
|
||||
`</div>`
|
||||
}
|
||||
return ``
|
||||
|
@ -111,7 +111,7 @@ export default function(obj) {
|
||||
text: `v.${version}-${obj.hash} (${obj.branch})`,
|
||||
url: `${repo}/commit/${obj.hash}`
|
||||
},
|
||||
title: `${emoji("⚙️", 30)} ${t('TitlePopupSettings')}`
|
||||
title: `${t('TitlePopupSettings')}`
|
||||
},
|
||||
tabs: [{
|
||||
name: "video",
|
||||
@ -335,7 +335,7 @@ export default function(obj) {
|
||||
name: "picker",
|
||||
closeAria: t('AccessibilityGoBack'),
|
||||
header: {
|
||||
title: `${emoji("🧮", 30)} <div id="picker-title"></div>`,
|
||||
title: `<div id="picker-title"></div>`,
|
||||
explanation: `<div id="picker-subtitle"></div>`,
|
||||
},
|
||||
buttons: [`<a id="picker-download" class="switch" target="_blank" href="/">${t('ImagePickerDownloadAudio')}</a>`],
|
||||
@ -349,9 +349,6 @@ export default function(obj) {
|
||||
classes: ["small"],
|
||||
header: {
|
||||
closeAria: t('AccessibilityGoBack'),
|
||||
emoji: `<img class="popout-meowbalt" `
|
||||
+ `draggable="false" loading="lazy" `
|
||||
+ `alt="😿" src="assets/meowbalt/question.png">`,
|
||||
title: t('TitlePopupDownload')
|
||||
},
|
||||
body: switcher({
|
||||
@ -371,15 +368,13 @@ export default function(obj) {
|
||||
buttonOnly: true,
|
||||
classes: ["small"],
|
||||
header: {
|
||||
emoji: `<img class="popout-meowbalt" `
|
||||
+ `draggable="false" loading="lazy" `
|
||||
+ `alt="😿" src="assets/meowbalt/error.png">`,
|
||||
},
|
||||
body: `<div id="desc-error" class="desc-padding subtext desc-error"></div>`,
|
||||
buttonText: t('ErrorPopupCloseButton')
|
||||
})}
|
||||
</div>
|
||||
<div id="popup-backdrop" onclick="hideAllPopups()"></div>
|
||||
<br></br><br></br><br></br>
|
||||
<div id="home" style="visibility:hidden">
|
||||
${urgentNotice({
|
||||
text: t("WelcomeMessage"),
|
||||
@ -397,9 +392,9 @@ export default function(obj) {
|
||||
<button id="url-clear" onclick="clearInput()" style="display:none;">x</button>
|
||||
<input id="download-button" class="mono dontRead" onclick="download(document.getElementById('url-input-area').value)" type="submit" value="" disabled aria-label="${t('AccessibilityDownloadButton')}">
|
||||
</div>
|
||||
<br></br><br></br><br></br>
|
||||
|
||||
<div id="bottom">
|
||||
<button id="paste" class="switch" onclick="pasteClipboard()" aria-label="${t('PasteFromClipboard')}">${emoji("📋", 22)} ${t('PasteFromClipboard')}</button>
|
||||
<button id="paste" class="switch" onclick="pasteClipboard()" aria-label="${t('PasteFromClipboard')}">${t('PasteFromClipboard')}</button>
|
||||
${switcher({
|
||||
name: "audioMode",
|
||||
noParent: true,
|
||||
@ -414,7 +409,7 @@ export default function(obj) {
|
||||
${footerButtons([{
|
||||
name: "settings",
|
||||
type: "popup",
|
||||
text: `${emoji("⚙️", 22)} ${t('TitlePopupSettings')}`,
|
||||
text: `${t('TitlePopupSettings')}`,
|
||||
aria: t('AccessibilityOpenSettings')
|
||||
}])}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user