fix(frontend): english storage and policy labels fit on mobile, phone placeholder no longer peeks out from under its label
This commit is contained in:
1 parent
896b89f3b0
commit
b3805123b5
4 files changed
+15
-11
No files matched your search
@@ -14,7 +14,7 @@
|
||||
import Icon from "#lib/components/ui/Icon.svelte";
|
||||
import { formatBytes } from "#lib/format/media.js";
|
||||
import { filesLabel } from "#lib/format/storage.js";
|
||||
import { t } from "#lib/i18n/locale.svelte.js";
|
||||
import { locale, t } from "#lib/i18n/locale.svelte.js";
|
||||
import type { MessageKey } from "#lib/i18n/messages.js";
|
||||
|
||||
interface Props {
|
||||
@@ -164,6 +164,7 @@
|
||||
{t("storage.scope.kept", {
|
||||
count: files.kept,
|
||||
files: filesLabel(files.kept),
|
||||
n: files.kept.toLocaleString(locale.tag),
|
||||
})}
|
||||
</small>
|
||||
{/if}
|
||||
|
||||
@@ -248,6 +248,10 @@
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.form-control:not(:focus)::placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.qr-slot {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
|
||||
@@ -134,7 +134,7 @@ export const policy = {
|
||||
},
|
||||
"policy.toggle.reactions": { en: "Reactions", ru: "Реакции" },
|
||||
"policy.toggle.self_destruct_media": {
|
||||
en: "Disappearing media",
|
||||
en: "Disappearing",
|
||||
ru: "Исчезающие",
|
||||
},
|
||||
"policy.toggle.stories": { en: "Stories", ru: "Сторис" },
|
||||
|
||||
@@ -6,11 +6,11 @@ export const storage = {
|
||||
ru: "Файл занят в сторис или аватаре и остался на диске",
|
||||
},
|
||||
"storage.cantRefetch": {
|
||||
en: "{count} can't be downloaded again",
|
||||
en: "{count} can't be redownloaded",
|
||||
ru: "{count} не скачать заново",
|
||||
},
|
||||
"storage.chatFiles": { en: "All chat files", ru: "Все файлы чата" },
|
||||
"storage.deselect": { en: "Deselect", ru: "Снять" },
|
||||
"storage.deselect": { en: "Clear", ru: "Снять" },
|
||||
"storage.empty.all": {
|
||||
en: "No downloaded files on disk.",
|
||||
ru: "На диске нет скачанных файлов.",
|
||||
@@ -37,7 +37,7 @@ export const storage = {
|
||||
en: "{size} will be freed in 7 days",
|
||||
ru: "{size} освободится через 7 дней",
|
||||
},
|
||||
"storage.gone": { en: "Can't be downloaded again", ru: "Не скачать заново" },
|
||||
"storage.gone": { en: "Can't be redownloaded", ru: "Не скачать заново" },
|
||||
"storage.group.audio": { en: "Audio", ru: "Аудио" },
|
||||
"storage.group.file": { en: "Files", ru: "Файлы" },
|
||||
"storage.group.other": { en: "Photos and other", ru: "Фото и прочее" },
|
||||
@@ -121,13 +121,13 @@ export const storage = {
|
||||
ru: "{size} уже скачано",
|
||||
},
|
||||
"storage.scope.gone": {
|
||||
en: "{count} of them can't be downloaded again",
|
||||
en: "{count} of them can't be redownloaded",
|
||||
ru: "{count} из них потом не скачать заново",
|
||||
},
|
||||
"storage.scope.kept": {
|
||||
en: {
|
||||
one: "{files} more is in other chats too, it will stay",
|
||||
other: "{files} more are in other chats too, they will stay",
|
||||
one: "{n} more file is in other chats too and will stay",
|
||||
other: "{n} more files are in other chats too and will stay",
|
||||
},
|
||||
ru: {
|
||||
few: "Ещё {files} есть и в других чатах, они останутся",
|
||||
@@ -176,9 +176,8 @@ export const storage = {
|
||||
"storage.trash.empty": { en: "The trash is empty.", ru: "Корзина пуста." },
|
||||
"storage.trash.goneWarn": {
|
||||
en: {
|
||||
one: "{files} can't be downloaded again: it's no longer in Telegram.",
|
||||
other:
|
||||
"{files} can't be downloaded again: they're no longer in Telegram.",
|
||||
one: "{files} can't be redownloaded: it's no longer in Telegram.",
|
||||
other: "{files} can't be redownloaded: they're no longer in Telegram.",
|
||||
},
|
||||
ru: {
|
||||
few: "{files} скачать заново нельзя: в Telegram их уже нет.",
|
||||
|
||||
Reference in new issue
Block a user