mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
web: update save page i18n & add link to terms and ethics of use
now also styling <a> properly, with exceptions only when needed
This commit is contained in:
parent
151fdad047
commit
6c9d759a3a
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"paste": "paste",
|
"paste": "paste",
|
||||||
"pasteAndDownload": "paste and download",
|
"paste.long": "paste and download",
|
||||||
"auto": "auto",
|
"auto": "auto",
|
||||||
"audio": "audio",
|
"audio": "audio",
|
||||||
"mute": "mute",
|
"mute": "mute",
|
||||||
"inputPlaceholder": "paste the link here",
|
"input.placeholder": "paste the link here",
|
||||||
"termsNote": "by continuing you agree to terms and ethics of use"
|
"terms.note.agreement": "by continuing you agree to",
|
||||||
|
"terms.note.link": "terms and ethics of use"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"paste": "вставить",
|
"paste": "вставить",
|
||||||
"pasteAndDownload": "вставить и скачать",
|
"paste.long": "вставить и скачать",
|
||||||
"auto": "авто",
|
"auto": "авто",
|
||||||
"audio": "аудио",
|
"audio": "аудио",
|
||||||
"mute": "без звука",
|
"mute": "без звука",
|
||||||
"inputPlaceholder": "вставь ссылку сюда",
|
"input.placeholder": "вставь ссылку сюда",
|
||||||
"termsNote": "продолжая, ты соглашаешься с условиями и этикой использования"
|
"terms.note.agreement": "продолжая, ты соглашаешься с",
|
||||||
|
"terms.note.link": "условиями и этикой использования"
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
autocapitalize="off"
|
autocapitalize="off"
|
||||||
maxlength="256"
|
maxlength="256"
|
||||||
placeholder={$t("save.inputPlaceholder")}
|
placeholder={$t("save.input.placeholder")}
|
||||||
aria-label={$t("a11y.save.linkArea")}
|
aria-label={$t("a11y.save.linkArea")}
|
||||||
data-form-type="other"
|
data-form-type="other"
|
||||||
/>
|
/>
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
<ActionButton id="paste" click={pasteClipboard}>
|
<ActionButton id="paste" click={pasteClipboard}>
|
||||||
<IconClipboard />
|
<IconClipboard />
|
||||||
<span id="paste-desktop-text">{$t("save.paste")}</span>
|
<span id="paste-desktop-text">{$t("save.paste")}</span>
|
||||||
<span id="paste-mobile-text">{$t("save.pasteAndDownload")}</span>
|
<span id="paste-mobile-text">{$t("save.paste.long")}</span>
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,6 +44,9 @@
|
||||||
color: var(--button-text);
|
color: var(--button-text);
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
text-decoration-line: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-tab-left {
|
.settings-tab-left {
|
||||||
|
|
|
@ -62,6 +62,9 @@
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
transition: transform 0.2s;
|
transition: transform 0.2s;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
text-decoration-line: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-tab :global(svg) {
|
.sidebar-tab :global(svg) {
|
||||||
|
|
|
@ -202,11 +202,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(a) {
|
:global(a) {
|
||||||
text-decoration: none;
|
color: inherit;
|
||||||
text-decoration-line: none;
|
text-underline-offset: 3px;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(a:visited) {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
:global(svg),
|
:global(svg),
|
||||||
:global(img) {
|
:global(img) {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<Omnibox />
|
<Omnibox />
|
||||||
</main>
|
</main>
|
||||||
<div id="terms-note">
|
<div id="terms-note">
|
||||||
{$t("save.termsNote")}
|
{$t("save.terms.note.agreement")} <a href="/about">{$t("save.terms.note.link")}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue