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
7 changed files with 23 additions and 11 deletions
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"paste": "paste",
|
||||
"pasteAndDownload": "paste and download",
|
||||
"paste.long": "paste and download",
|
||||
"auto": "auto",
|
||||
"audio": "audio",
|
||||
"mute": "mute",
|
||||
"inputPlaceholder": "paste the link here",
|
||||
"termsNote": "by continuing you agree to terms and ethics of use"
|
||||
"input.placeholder": "paste the link here",
|
||||
"terms.note.agreement": "by continuing you agree to",
|
||||
"terms.note.link": "terms and ethics of use"
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"paste": "вставить",
|
||||
"pasteAndDownload": "вставить и скачать",
|
||||
"paste.long": "вставить и скачать",
|
||||
"auto": "авто",
|
||||
"audio": "аудио",
|
||||
"mute": "без звука",
|
||||
"inputPlaceholder": "вставь ссылку сюда",
|
||||
"termsNote": "продолжая, ты соглашаешься с условиями и этикой использования"
|
||||
"input.placeholder": "вставь ссылку сюда",
|
||||
"terms.note.agreement": "продолжая, ты соглашаешься с",
|
||||
"terms.note.link": "условиями и этикой использования"
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
autocomplete="off"
|
||||
autocapitalize="off"
|
||||
maxlength="256"
|
||||
placeholder={$t("save.inputPlaceholder")}
|
||||
placeholder={$t("save.input.placeholder")}
|
||||
aria-label={$t("a11y.save.linkArea")}
|
||||
data-form-type="other"
|
||||
/>
|
||||
|
@ -137,7 +137,7 @@
|
|||
<ActionButton id="paste" click={pasteClipboard}>
|
||||
<IconClipboard />
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
color: var(--button-text);
|
||||
border-radius: var(--border-radius);
|
||||
overflow: hidden;
|
||||
|
||||
text-decoration: none;
|
||||
text-decoration-line: none;
|
||||
}
|
||||
|
||||
.settings-tab-left {
|
||||
|
|
|
@ -62,6 +62,9 @@
|
|||
height: fit-content;
|
||||
border-radius: var(--border-radius);
|
||||
transition: transform 0.2s;
|
||||
|
||||
text-decoration: none;
|
||||
text-decoration-line: none;
|
||||
}
|
||||
|
||||
.sidebar-tab :global(svg) {
|
||||
|
|
|
@ -202,11 +202,15 @@
|
|||
}
|
||||
|
||||
:global(a) {
|
||||
text-decoration: none;
|
||||
text-decoration-line: none;
|
||||
color: inherit;
|
||||
text-underline-offset: 3px;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
:global(a:visited) {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
:global(svg),
|
||||
:global(img) {
|
||||
pointer-events: none;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<Omnibox />
|
||||
</main>
|
||||
<div id="terms-note">
|
||||
{$t("save.termsNote")}
|
||||
{$t("save.terms.note.agreement")} <a href="/about">{$t("save.terms.note.link")}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue