feat(frontend): storage, trash, policy, stories, shares, jobs, bots, media, login and notes speak russian and english

This commit is contained in:
hh committed 2026-10-19 03:53:08 +00:00
1 parent e5a5edcaae
commit 4a5c92f0e9
51 files changed
+1504 -588

No files matched your search

@@ -3,6 +3,7 @@
import Icon from "#lib/components/ui/Icon.svelte";
import Spinner from "#lib/components/ui/Spinner.svelte";
import { formatDuration } from "#lib/format/duration.js";
import { t } from "#lib/i18n/locale.svelte.js";
import { claimPlayback, releasePlayback } from "#lib/media/playback.js";
import { computeWaveform, flatWaveform } from "#lib/media/waveform.js";
import { toasts } from "#lib/stores/toasts.svelte.js";
@@ -38,10 +39,10 @@
fetched = result;
showTranscript = true;
} else {
toasts.error("Не удалось расшифровать");
toasts.error(t("media.transcribeFailed"));
}
} catch {
toasts.error("Не удалось расшифровать");
toasts.error(t("media.transcribeFailed"));
} finally {
pending = false;
}
@@ -96,7 +97,7 @@
<div class="VoiceWrap" class:own>
<div class="Voice">
<button
aria-label="Play voice"
aria-label={paused ? t("media.playVoice") : t("ui.pause")}
class="toggle"
onclick={toggle}
type="button"
@@ -121,7 +122,9 @@
<div class="time">{formatDuration(elapsed)}</div>
</div>
<button
aria-label="Show transcription"
aria-label={showTranscript && text
? t("media.hideTranscription")
: t("media.showTranscription")}
class="transcribe"
disabled={pending}
onclick={onTranscribe}