mirror of
https://github.com/usememos/memos.git
synced 2026-11-19 10:29:11 +01:00
feat(web): redesign the auth pages around what each one needs
- Language and theme move from a footer under the card into the card's bottom row: a ghost language picker and a System/Light/Dark/Paper segmented control, lined up with the content edges. - Drop the Explore link, the welcome subtitle, the first-run chip and note, and the administrator tip. - /auth/signup sends visitors to sign-in when registration is closed (with a one-line notice) or when accounts only come from identity providers. - Wrong credentials and other sign-in or sign-up failures show inside the form instead of a toast; the password field gets a show/hide button. - The SSO callback uses the same layout for its wait and its error. - On phones the card frame drops and the language and theme row sits at the bottom of the screen.
This commit is contained in:
@@ -1,33 +1,55 @@
|
||||
import { Toggle, ToggleGroup, Tooltip } from "@usememos/ui";
|
||||
import { MonitorIcon, MoonIcon, PaletteIcon, SunIcon } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { loadLocale } from "@/utils/i18n";
|
||||
import { getInitialTheme, loadTheme, Theme } from "@/utils/theme";
|
||||
import LocaleSelect from "./LocaleSelect";
|
||||
import ThemeSelect from "./ThemeSelect";
|
||||
import type { Translations } from "@/utils/i18n";
|
||||
import { loadLocale, useTranslate } from "@/utils/i18n";
|
||||
import { getInitialTheme, loadTheme, type Theme } from "@/utils/theme";
|
||||
import { LocalePickerButton } from "./LocalePicker";
|
||||
|
||||
const THEMES: { value: Theme; icon: React.ReactElement; labelKey: Translations }[] = [
|
||||
{ value: "system", icon: <MonitorIcon />, labelKey: "setting.preference.theme-system-short" },
|
||||
{ value: "default", icon: <SunIcon />, labelKey: "setting.preference.theme-light" },
|
||||
{ value: "default-dark", icon: <MoonIcon />, labelKey: "setting.preference.theme-dark" },
|
||||
{ value: "paper", icon: <PaletteIcon />, labelKey: "setting.preference.theme-paper" },
|
||||
];
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
/** The auth card's bottom row: the visitor's language and theme, saved on this device until they sign in. */
|
||||
const AuthFooter = ({ className }: Props) => {
|
||||
const { i18n: i18nInstance } = useTranslation();
|
||||
const currentLocale = i18nInstance.language as Locale;
|
||||
const [currentTheme, setCurrentTheme] = useState(getInitialTheme());
|
||||
const t = useTranslate();
|
||||
const { i18n } = useTranslation();
|
||||
const [theme, setTheme] = useState<Theme>(getInitialTheme());
|
||||
|
||||
const handleLocaleChange = (locale: Locale) => {
|
||||
loadLocale(locale);
|
||||
};
|
||||
|
||||
const handleThemeChange = (theme: string) => {
|
||||
loadTheme(theme);
|
||||
setCurrentTheme(theme as Theme);
|
||||
const handleThemeChange = (next: Theme) => {
|
||||
loadTheme(next);
|
||||
setTheme(next);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={cn("mx-auto mt-4 grid w-full max-w-xs grid-cols-2 gap-2", className)}>
|
||||
<LocaleSelect value={currentLocale} onChange={handleLocaleChange} className="w-full" />
|
||||
<ThemeSelect value={currentTheme} onValueChange={handleThemeChange} className="w-full" compact />
|
||||
<div className={cn("flex min-h-10 items-center justify-between gap-2 py-2", className)}>
|
||||
{/* A ghost button's fill only shows on hover, so its icon, not its edge, lines up with the content. */}
|
||||
<div className="-ms-1.5">
|
||||
<LocalePickerButton value={i18n.language as Locale} onChange={loadLocale} />
|
||||
</div>
|
||||
<ToggleGroup
|
||||
size="sm"
|
||||
aria-label={t("setting.preference.theme")}
|
||||
value={[theme]}
|
||||
// One theme always stays chosen: pressing the chosen item again keeps it.
|
||||
onValueChange={([next]) => next && handleThemeChange(next as Theme)}
|
||||
>
|
||||
{THEMES.map(({ value, icon, labelKey }) => (
|
||||
<Tooltip.Root key={value}>
|
||||
<Tooltip.Trigger render={<Toggle value={value} icon={icon} aria-label={t(labelKey)} />} />
|
||||
<Tooltip.Popup>{t(labelKey)}</Tooltip.Popup>
|
||||
</Tooltip.Root>
|
||||
))}
|
||||
</ToggleGroup>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import { CircleAlertIcon, InfoIcon } from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
// A line inside the card that the visitor should read before acting: why a form failed, or why they landed here.
|
||||
const AuthNotice = ({ tone = "info", children, className }: { tone?: "info" | "error"; children: React.ReactNode; className?: string }) => {
|
||||
const Icon = tone === "error" ? CircleAlertIcon : InfoIcon;
|
||||
return (
|
||||
<div
|
||||
role={tone === "error" ? "alert" : "status"}
|
||||
className={cn(
|
||||
"flex items-start gap-2 rounded-mu-md px-2.5 py-2 mu-caption",
|
||||
tone === "error" ? "bg-mu-danger-soft text-mu-danger" : "bg-mu-hover text-mu-ink-muted",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<Icon className="mu-icon-sm mt-0.5 shrink-0" />
|
||||
<span className="min-w-0">{children}</span>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AuthNotice;
|
||||
@@ -1,51 +1,21 @@
|
||||
import { Skeleton } from "@usememos/ui";
|
||||
import { ArrowRightIcon, CompassIcon } from "lucide-react";
|
||||
import { ArrowLeftIcon } from "lucide-react";
|
||||
import { Link } from "react-router-dom";
|
||||
import { useInstance } from "@/contexts/InstanceContext";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { ROUTES } from "@/router/routes";
|
||||
import { InstanceAccessMode } from "@/types/proto/api/instance_service_pb";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
import AuthFooter from "./AuthFooter";
|
||||
import MemosLogo from "./MemosLogo";
|
||||
|
||||
interface Props {
|
||||
chip?: React.ReactNode;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
// Hide the explore band on pages that shouldn't offer an exit (e.g. first-run setup).
|
||||
hideExplore?: boolean;
|
||||
title?: string;
|
||||
description?: string;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export const AuthChip = ({ children }: { children: React.ReactNode }) => (
|
||||
<span className="inline-flex w-fit items-center gap-1.5 rounded-full border border-mu-line bg-mu-hover/50 px-2.5 py-0.5 mu-label-sm uppercase tracking-widest text-mu-ink-muted">
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
|
||||
// Centered icon + title + description block for states where a form cannot be shown.
|
||||
export const AuthEmptyState = ({
|
||||
icon,
|
||||
title,
|
||||
description,
|
||||
children,
|
||||
}: {
|
||||
icon: React.ReactNode;
|
||||
title: string;
|
||||
description: string;
|
||||
children?: React.ReactNode;
|
||||
}) => (
|
||||
<div className="flex flex-col items-center py-2 text-center">
|
||||
<div className="mb-3 flex h-11 w-11 items-center justify-center rounded-full bg-mu-hover text-mu-ink-muted">{icon}</div>
|
||||
<p className="mu-label text-mu-ink">{title}</p>
|
||||
<p className="mt-1 mu-body text-mu-ink-muted">{description}</p>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
// "Already have an account? Sign in" style prompt for hopping between auth pages.
|
||||
// "Don't have an account yet? Sign up" style prompt for hopping between auth pages.
|
||||
export const AuthLinkPrompt = ({ prompt, to, label }: { prompt: string; to: string; label: string }) => (
|
||||
<p className="mt-5 text-center mu-body text-mu-ink-muted">
|
||||
<p className="mt-5 text-center mu-caption text-mu-ink-muted">
|
||||
{prompt}{" "}
|
||||
<Link to={to} className="text-mu-accent hover:underline" viewTransition>
|
||||
{label}
|
||||
@@ -53,40 +23,39 @@ export const AuthLinkPrompt = ({ prompt, to, label }: { prompt: string; to: stri
|
||||
</p>
|
||||
);
|
||||
|
||||
export const AuthOptionsLoading = () => <Skeleton height={32} />;
|
||||
|
||||
const AuthPageLayout = ({ chip, title, subtitle, hideExplore, children }: Props) => {
|
||||
// The way back from a page reached off the sign-in path, such as administrator sign-in or a failed SSO return.
|
||||
export const AuthBackLink = ({ to = ROUTES.AUTH }: { to?: string }) => {
|
||||
const t = useTranslate();
|
||||
const { profile } = useInstance();
|
||||
const showExplore = profile.accessMode === InstanceAccessMode.PUBLIC && !hideExplore;
|
||||
|
||||
return (
|
||||
<div className="min-h-svh w-full flex flex-col items-center px-4 py-4 sm:py-8">
|
||||
<div className="w-full grow flex flex-col justify-center items-center">
|
||||
<div className="w-90 max-w-full rounded-mu-xl border border-mu-line bg-mu-surface p-7">
|
||||
<MemosLogo size="lg" className="mb-8" />
|
||||
{chip && <div className="mb-2">{chip}</div>}
|
||||
<h1 className="mu-heading text-mu-ink">{title}</h1>
|
||||
{subtitle && <p className="mt-1 mu-body text-mu-ink-muted">{subtitle}</p>}
|
||||
<div className="mt-6 w-full">{children}</div>
|
||||
{showExplore && (
|
||||
<div className="-mx-7 -mb-7 mt-6 rounded-b-mu-xl border-t border-mu-line bg-mu-canvas/60">
|
||||
<Link
|
||||
to={ROUTES.EXPLORE}
|
||||
className="group flex items-center justify-center gap-2 px-7 py-3 mu-caption text-mu-ink-muted transition-colors hover:text-mu-ink"
|
||||
viewTransition
|
||||
>
|
||||
<CompassIcon className="mu-icon-sm" />
|
||||
{t("auth.explore-public-memos")}
|
||||
<ArrowRightIcon className="mu-icon-sm -ms-1 opacity-0 transition-all group-hover:ms-0 group-hover:opacity-100 rtl:rotate-180" />
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<AuthFooter />
|
||||
</div>
|
||||
<p className="mt-5 text-center mu-caption">
|
||||
<Link to={to} className="inline-flex items-center gap-1 text-mu-accent hover:underline" viewTransition>
|
||||
<ArrowLeftIcon className="mu-icon-sm rtl:rotate-180" />
|
||||
{t("auth.back-to-sign-in")}
|
||||
</Link>
|
||||
</p>
|
||||
);
|
||||
};
|
||||
|
||||
export const AuthOptionsLoading = () => <Skeleton height={32} />;
|
||||
|
||||
/**
|
||||
* Every auth page: the instance's identity, the task's heading, the task, and a footer row with the
|
||||
* visitor's language and theme. A card on wider screens; on a phone the frame drops and the footer
|
||||
* sits at the bottom of the screen.
|
||||
*/
|
||||
const AuthPageLayout = ({ title, description, children }: Props) => (
|
||||
<div className="flex min-h-svh w-full flex-col sm:items-center sm:justify-center sm:p-8">
|
||||
<main className="flex w-full flex-1 flex-col sm:w-90 sm:flex-none sm:rounded-mu-xl sm:border sm:border-mu-line sm:bg-mu-surface">
|
||||
<div className="flex flex-1 flex-col justify-center px-5 py-12 sm:px-7 sm:pt-8 sm:pb-7">
|
||||
<MemosLogo size="lg" className="mb-8" />
|
||||
{title && <h1 className="mu-heading text-mu-ink">{title}</h1>}
|
||||
{description && <p className="mt-1 mu-body text-mu-ink-muted">{description}</p>}
|
||||
<div className={cn("w-full", title && "mt-6")}>{children}</div>
|
||||
</div>
|
||||
{/* Same side padding as the content above, so the footer's controls share its edges. */}
|
||||
<AuthFooter className="border-t border-mu-line px-5 pb-[max(0.5rem,env(safe-area-inset-bottom))] sm:rounded-b-mu-xl sm:bg-mu-canvas/60 sm:px-7 sm:pb-2" />
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default AuthPageLayout;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import { Field, Input } from "@usememos/ui";
|
||||
import { Button, Field, Input, Tooltip } from "@usememos/ui";
|
||||
import { EyeIcon, EyeOffIcon } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
|
||||
interface Props {
|
||||
@@ -7,23 +9,35 @@ interface Props {
|
||||
password: string;
|
||||
passwordAutoComplete: "current-password" | "new-password";
|
||||
readOnly?: boolean;
|
||||
// Marks both fields, for a server answer that rejects the pair rather than one of them.
|
||||
invalid?: boolean;
|
||||
onUsernameChange: (username: string) => void;
|
||||
onPasswordChange: (password: string) => void;
|
||||
}
|
||||
|
||||
// Username + password field pair shared by the sign-in and sign-up forms.
|
||||
const CredentialFields = ({ idPrefix, username, password, passwordAutoComplete, readOnly, onUsernameChange, onPasswordChange }: Props) => {
|
||||
const CredentialFields = ({
|
||||
idPrefix,
|
||||
username,
|
||||
password,
|
||||
passwordAutoComplete,
|
||||
readOnly,
|
||||
invalid = false,
|
||||
onUsernameChange,
|
||||
onPasswordChange,
|
||||
}: Props) => {
|
||||
const t = useTranslate();
|
||||
const [passwordVisible, setPasswordVisible] = useState(false);
|
||||
const visibilityLabel = passwordVisible ? t("auth.hide-password") : t("auth.show-password");
|
||||
|
||||
return (
|
||||
<>
|
||||
<Field.Root>
|
||||
<Field.Root invalid={invalid}>
|
||||
<Field.Label>{t("common.username")}</Field.Label>
|
||||
<Input
|
||||
id={`${idPrefix}-username`}
|
||||
type="text"
|
||||
readOnly={readOnly}
|
||||
placeholder={t("common.username")}
|
||||
value={username}
|
||||
autoComplete="username"
|
||||
autoCapitalize="off"
|
||||
@@ -32,19 +46,35 @@ const CredentialFields = ({ idPrefix, username, password, passwordAutoComplete,
|
||||
required
|
||||
/>
|
||||
</Field.Root>
|
||||
<Field.Root>
|
||||
<Field.Root invalid={invalid}>
|
||||
<Field.Label>{t("common.password")}</Field.Label>
|
||||
<Input
|
||||
id={`${idPrefix}-password`}
|
||||
type="password"
|
||||
type={passwordVisible ? "text" : "password"}
|
||||
readOnly={readOnly}
|
||||
placeholder={t("common.password")}
|
||||
value={password}
|
||||
autoComplete={passwordAutoComplete}
|
||||
autoCapitalize="off"
|
||||
spellCheck={false}
|
||||
onChange={(e) => onPasswordChange(e.target.value)}
|
||||
required
|
||||
suffix={
|
||||
<Tooltip.Root>
|
||||
<Tooltip.Trigger
|
||||
render={
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="xs"
|
||||
icon={passwordVisible ? <EyeOffIcon /> : <EyeIcon />}
|
||||
aria-label={visibilityLabel}
|
||||
aria-pressed={passwordVisible}
|
||||
onClick={() => setPasswordVisible((visible) => !visible)}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Tooltip.Popup>{visibilityLabel}</Tooltip.Popup>
|
||||
</Tooltip.Root>
|
||||
}
|
||||
/>
|
||||
</Field.Root>
|
||||
</>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Combobox, Link } from "@usememos/ui";
|
||||
import { GlobeIcon } from "lucide-react";
|
||||
import { useCallback } from "react";
|
||||
import { Button, Combobox, Link, Popover } from "@usememos/ui";
|
||||
import { ChevronsUpDownIcon, GlobeIcon } from "lucide-react";
|
||||
import { useCallback, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { locales } from "@/i18n";
|
||||
import { getLocaleDisplayName, localeMatchesSearch, useTranslate } from "@/utils/i18n";
|
||||
@@ -25,6 +25,36 @@ const localeLabel = (locale: string): string => {
|
||||
return label;
|
||||
};
|
||||
|
||||
// A stable filter keeps the Combobox from re-filtering every locale on each render.
|
||||
const useLocaleFilter = () => {
|
||||
const { i18n } = useTranslation();
|
||||
return useCallback((locale: string, query: string) => localeMatchesSearch(locale, query, i18n.language), [i18n.language]);
|
||||
};
|
||||
|
||||
/** The list half of both pickers: the matching locales, or a link to ask for a missing one. */
|
||||
const LocaleOptions = () => {
|
||||
const t = useTranslate();
|
||||
return (
|
||||
<>
|
||||
<Combobox.Empty>
|
||||
<Link href={MISSING_LANGUAGE_FEEDBACK_URL} target="_blank" rel="noreferrer">
|
||||
{t("locale-picker.no-language-feedback")}
|
||||
</Link>
|
||||
</Combobox.Empty>
|
||||
<Combobox.List aria-label={t("common.language")}>
|
||||
{(locale: Locale) => (
|
||||
<Combobox.Item key={locale} value={locale}>
|
||||
<span className="flex min-w-0 flex-1 items-baseline gap-1.5">
|
||||
<span className="truncate">{localeLabel(locale)}</span>
|
||||
<span className="shrink-0 mu-caption text-mu-ink-muted">{locale}</span>
|
||||
</span>
|
||||
</Combobox.Item>
|
||||
)}
|
||||
</Combobox.List>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Picks the interface language from the long list of locales: a Combobox, so typing a
|
||||
* language's name in English, in itself or in the interface language finds it. When nothing
|
||||
@@ -32,9 +62,7 @@ const localeLabel = (locale: string): string => {
|
||||
*/
|
||||
const LocalePicker = ({ value, onChange, className }: LocalePickerProps) => {
|
||||
const t = useTranslate();
|
||||
const { i18n } = useTranslation();
|
||||
// A stable filter keeps the Combobox from re-filtering every locale on each render.
|
||||
const filter = useCallback((locale: string, query: string) => localeMatchesSearch(locale, query, i18n.language), [i18n.language]);
|
||||
const filter = useLocaleFilter();
|
||||
|
||||
return (
|
||||
<Combobox.Root
|
||||
@@ -52,24 +80,51 @@ const LocalePicker = ({ value, onChange, className }: LocalePickerProps) => {
|
||||
className={className}
|
||||
/>
|
||||
<Combobox.Popup>
|
||||
<Combobox.Empty>
|
||||
<Link href={MISSING_LANGUAGE_FEEDBACK_URL} target="_blank" rel="noreferrer">
|
||||
{t("locale-picker.no-language-feedback")}
|
||||
</Link>
|
||||
</Combobox.Empty>
|
||||
<Combobox.List>
|
||||
{(locale: Locale) => (
|
||||
<Combobox.Item key={locale} value={locale}>
|
||||
<span className="flex min-w-0 flex-1 items-baseline gap-1.5">
|
||||
<span className="truncate">{localeLabel(locale)}</span>
|
||||
<span className="shrink-0 mu-caption text-mu-ink-muted">{locale}</span>
|
||||
</span>
|
||||
</Combobox.Item>
|
||||
)}
|
||||
</Combobox.List>
|
||||
<LocaleOptions />
|
||||
</Combobox.Popup>
|
||||
</Combobox.Root>
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* The same picker behind a quiet ghost button that names the current language, for a row of
|
||||
* page-level settings such as the auth card's footer. The search and list open in a popover.
|
||||
*/
|
||||
export const LocalePickerButton = ({ value, onChange }: Omit<LocalePickerProps, "className">) => {
|
||||
const t = useTranslate();
|
||||
const filter = useLocaleFilter();
|
||||
const [open, setOpen] = useState(false);
|
||||
const searchLabel = `${t("common.search")} ${t("common.language").toLowerCase()}`;
|
||||
|
||||
return (
|
||||
<Popover.Root open={open} onOpenChange={setOpen}>
|
||||
<Popover.Trigger
|
||||
render={
|
||||
<Button variant="ghost" size="sm" icon={<GlobeIcon />} iconEnd={<ChevronsUpDownIcon />} aria-label={t("common.language")}>
|
||||
{localeLabel(value)}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
<Popover.Popup side="top" align="start" variant="list" aria-label={t("common.language")}>
|
||||
<Combobox.Root
|
||||
items={locales}
|
||||
inline
|
||||
autoHighlight
|
||||
value={value}
|
||||
onValueChange={(next) => {
|
||||
if (!next) return;
|
||||
onChange(next as Locale);
|
||||
setOpen(false);
|
||||
}}
|
||||
itemToStringLabel={localeLabel}
|
||||
filter={filter}
|
||||
>
|
||||
<Combobox.Input className="mb-1" aria-label={searchLabel} placeholder={searchLabel} />
|
||||
<LocaleOptions />
|
||||
</Combobox.Root>
|
||||
</Popover.Popup>
|
||||
</Popover.Root>
|
||||
);
|
||||
};
|
||||
|
||||
export default LocalePicker;
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
import { timestampDate } from "@bufbuild/protobuf/wkt";
|
||||
import { Code } from "@connectrpc/connect";
|
||||
import { Button } from "@usememos/ui";
|
||||
import { useState } from "react";
|
||||
import { setAccessToken } from "@/auth-state";
|
||||
import AuthNotice from "@/components/AuthNotice";
|
||||
import ChallengeWidget, { CHALLENGE_TOKEN_HEADER } from "@/components/ChallengeWidget";
|
||||
import CredentialFields from "@/components/CredentialFields";
|
||||
import { authServiceClient } from "@/connect";
|
||||
import { useAuth } from "@/contexts/AuthContext";
|
||||
import useLoading from "@/hooks/useLoading";
|
||||
import useNavigateTo from "@/hooks/useNavigateTo";
|
||||
import { ERROR_REASON_CHALLENGE_REQUIRED, handleError, hasErrorReason } from "@/lib/error";
|
||||
import { showErrorToast } from "@/lib/toast";
|
||||
import { ERROR_REASON_CHALLENGE_REQUIRED, getErrorMessage, hasConnectCode, hasErrorReason } from "@/lib/error";
|
||||
import { ROUTES } from "@/router/routes";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
|
||||
@@ -17,6 +18,12 @@ interface PasswordSignInFormProps {
|
||||
redirectPath?: string;
|
||||
}
|
||||
|
||||
interface SignInError {
|
||||
message: string;
|
||||
// The server rejected the username and password themselves, so both fields are marked.
|
||||
credentials: boolean;
|
||||
}
|
||||
|
||||
function PasswordSignInForm({ redirectPath }: PasswordSignInFormProps) {
|
||||
const t = useTranslate();
|
||||
const navigateTo = useNavigateTo();
|
||||
@@ -24,6 +31,7 @@ function PasswordSignInForm({ redirectPath }: PasswordSignInFormProps) {
|
||||
const actionBtnLoadingState = useLoading(false);
|
||||
const [username, setUsername] = useState("");
|
||||
const [password, setPassword] = useState("");
|
||||
const [error, setError] = useState<SignInError>();
|
||||
const [challengeToken, setChallengeToken] = useState<string | null>(null);
|
||||
const [challengeResetKey, setChallengeResetKey] = useState(0);
|
||||
|
||||
@@ -40,6 +48,7 @@ function PasswordSignInForm({ redirectPath }: PasswordSignInFormProps) {
|
||||
|
||||
try {
|
||||
actionBtnLoadingState.setLoading();
|
||||
setError(undefined);
|
||||
const response = await authServiceClient.signIn(
|
||||
{
|
||||
credentials: {
|
||||
@@ -55,17 +64,25 @@ function PasswordSignInForm({ redirectPath }: PasswordSignInFormProps) {
|
||||
}
|
||||
await initialize();
|
||||
navigateTo(redirectPath || ROUTES.HOME, { replace: true });
|
||||
} catch (error: unknown) {
|
||||
if (hasErrorReason(error, ERROR_REASON_CHALLENGE_REQUIRED)) {
|
||||
} catch (err: unknown) {
|
||||
console.error(err);
|
||||
if (hasErrorReason(err, ERROR_REASON_CHALLENGE_REQUIRED)) {
|
||||
setChallengeResetKey((key) => key + 1);
|
||||
setError({ message: getErrorMessage(err), credentials: false });
|
||||
} else if (hasConnectCode(err, Code.InvalidArgument)) {
|
||||
// The server answers an unknown user and a wrong password alike, so the message names neither.
|
||||
setError({ message: t("auth.incorrect-credentials"), credentials: true });
|
||||
} else {
|
||||
setError({ message: getErrorMessage(err, t("error.sign-in-failed")), credentials: false });
|
||||
}
|
||||
handleError(error, showErrorToast, {
|
||||
fallbackMessage: t("error.sign-in-failed"),
|
||||
});
|
||||
}
|
||||
actionBtnLoadingState.setFinish();
|
||||
};
|
||||
|
||||
const clearCredentialError = () => {
|
||||
if (error?.credentials) setError(undefined);
|
||||
};
|
||||
|
||||
return (
|
||||
<form className="flex w-full flex-col gap-4" onSubmit={handleFormSubmit}>
|
||||
<CredentialFields
|
||||
@@ -74,10 +91,18 @@ function PasswordSignInForm({ redirectPath }: PasswordSignInFormProps) {
|
||||
password={password}
|
||||
passwordAutoComplete="current-password"
|
||||
readOnly={actionBtnLoadingState.isLoading}
|
||||
onUsernameChange={setUsername}
|
||||
onPasswordChange={setPassword}
|
||||
invalid={error?.credentials ?? false}
|
||||
onUsernameChange={(value) => {
|
||||
setUsername(value);
|
||||
clearCredentialError();
|
||||
}}
|
||||
onPasswordChange={(value) => {
|
||||
setPassword(value);
|
||||
clearCredentialError();
|
||||
}}
|
||||
/>
|
||||
<ChallengeWidget onToken={setChallengeToken} resetKey={challengeResetKey} />
|
||||
{error && <AuthNotice tone="error">{error.message}</AuthNotice>}
|
||||
<Button variant="primary" type="submit" loading={actionBtnLoadingState.isLoading} loadingLabel={t("common.sign-in")}>
|
||||
{t("common.sign-in")}
|
||||
</Button>
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "تعذّر إكمال تسجيل الدخول",
|
||||
"create-your-account": "أنشئ حسابك",
|
||||
"hide-password": "إخفاء كلمة المرور",
|
||||
"incorrect-credentials": "اسم المستخدم أو كلمة المرور غير صحيحة.",
|
||||
"new-password": "كلمة المرور الجديدة",
|
||||
"repeat-new-password": "أعد كلمة المرور الجديدة",
|
||||
"show-password": "إظهار كلمة المرور",
|
||||
"sign-in-tip": "هل لديك حساب بالفعل؟",
|
||||
"sign-up-tip": "ليس لديك حساب بعد؟",
|
||||
"admin-sign-in": "تسجيل دخول المسؤول",
|
||||
"admin-sign-in-tip": "يبقى تسجيل الدخول بكلمة المرور متاحًا للمسؤولين.",
|
||||
"back-to-sign-in": "العودة إلى صفحة تسجيل الدخول",
|
||||
"continue-with": "المتابعة مع {{provider}}",
|
||||
"create-admin-account": "إنشاء حساب مدير",
|
||||
"explore-public-memos": "استعراض المذكرات العامة على هذه النسخة",
|
||||
"first-run": "التشغيل الأول",
|
||||
"setup-description": "إنشاء حساب المدير لهذه النسخة.",
|
||||
"setup-note": "يمتلك هذا الحساب إعدادات النسخة، والأعضاء، وموفري الهوية.",
|
||||
"setup-title": "إعداد النسخة",
|
||||
"signin-unavailable-description": "تم تعطيل تسجيل الدخول بكلمة المرور، ولم يتم تكوين أي موفر هوية. اطلب من مدير النظام تفعيل طريقة تسجيل الدخول.",
|
||||
"signin-unavailable-title": "تسجيل الدخول غير متاح",
|
||||
"signup-unavailable-description": "تم تعطيل حسابات كلمة المرور، ولم يتم تكوين أي موفر هوية. اطلب من مدير النظام الوصول.",
|
||||
"signup-unavailable-title": "التسجيل غير متاح",
|
||||
"signups-closed-description": "تم تعطيل الحسابات الجديدة على هذه النسخة. تواصل مع مدير النظام إذا كنت بحاجة إلى الوصول.",
|
||||
"signups-closed-title": "تم إغلاق التسجيل",
|
||||
"sso-signup-tip": "سجّل الدخول باستخدام أحد مزودي الخدمة أدناه لإنشاء حسابك.",
|
||||
"welcome-back": "أهلاً بعودتك."
|
||||
"signups-closed-description": "تم تعطيل الحسابات الجديدة على هذه النسخة. تواصل مع مدير النظام إذا كنت بحاجة إلى الوصول."
|
||||
},
|
||||
"common": {
|
||||
"about": "حول",
|
||||
|
||||
+5
-10
@@ -45,28 +45,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "Administrator girişi",
|
||||
"admin-sign-in-tip": "Parolla giriş administratorlar üçün açıq qalır.",
|
||||
"back-to-sign-in": "Girişə qayıt",
|
||||
"callback-failed-title": "Giriş tamamlana bilmədi",
|
||||
"continue-with": "{{provider}} ilə davam et",
|
||||
"create-admin-account": "Admin hesabı yarat",
|
||||
"create-your-account": "Hesabınızı yaradın",
|
||||
"explore-public-memos": "Bu instansdakı ictimai qeydləri kəşf edin",
|
||||
"first-run": "İlk işə salma",
|
||||
"hide-password": "Şifrəni gizlət",
|
||||
"incorrect-credentials": "İstifadəçi adı və ya şifrə yanlışdır.",
|
||||
"new-password": "Yeni parol",
|
||||
"repeat-new-password": "Yeni parolu təkrarlayın",
|
||||
"setup-description": "Bu instans üçün administrator hesabı yaradın.",
|
||||
"setup-note": "Bu hesab instans parametrlərinə, üzvlərə və kimlik provayderlərinə sahib olur.",
|
||||
"setup-title": "İnstansınızı qurun",
|
||||
"show-password": "Şifrəni göstər",
|
||||
"sign-in-tip": "Artıq hesabınız var?",
|
||||
"sign-up-tip": "Hələ hesabınız yoxdur?",
|
||||
"signin-unavailable-description": "Parolla giriş deaktiv edilib və heç bir kimlik provayderi tənzimlənməyib. Giriş üsulunu aktivləşdirmək üçün administratorunuza müraciət edin.",
|
||||
"signin-unavailable-title": "Giriş əlçatan deyil",
|
||||
"signup-unavailable-description": "Parollu hesablar deaktiv edilib və heç bir kimlik provayderi tənzimlənməyib. Giriş üçün administratorunuza müraciət edin.",
|
||||
"signup-unavailable-title": "Qeydiyyat əlçatan deyil",
|
||||
"signups-closed-description": "Bu instansda yeni hesablar deaktiv edilib. Giriş lazımdırsa, administratorunuzla əlaqə saxlayın.",
|
||||
"signups-closed-title": "Qeydiyyat bağlıdır",
|
||||
"sso-signup-tip": "Hesabınızı yaratmaq üçün aşağıdakı provayderlərdən biri ilə daxil olun.",
|
||||
"welcome-back": "Yenidən xoş gəlmisiniz."
|
||||
"signups-closed-description": "Bu instansda yeni hesablar deaktiv edilib. Giriş lazımdırsa, administratorunuzla əlaqə saxlayın."
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "Bu gün üçün yeni qeyd",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Влизането не можа да завърши",
|
||||
"create-your-account": "Създайте своя акаунт",
|
||||
"hide-password": "Скриване на паролата",
|
||||
"incorrect-credentials": "Грешно потребителско име или парола.",
|
||||
"new-password": "Нова парола",
|
||||
"repeat-new-password": "Повторете новата парола",
|
||||
"show-password": "Показване на паролата",
|
||||
"sign-in-tip": "Вече имате акаунт?",
|
||||
"sign-up-tip": "Все още нямате акаунт?",
|
||||
"admin-sign-in": "Вход като администратор",
|
||||
"admin-sign-in-tip": "Входът с парола остава достъпен за администратори.",
|
||||
"back-to-sign-in": "Обратно към влизане",
|
||||
"continue-with": "Продължете с {{provider}}",
|
||||
"create-admin-account": "Създаване на администраторски акаунт",
|
||||
"explore-public-memos": "Разглеждане на публични бележки за този екземпляр",
|
||||
"first-run": "Първо изпълнение",
|
||||
"setup-description": "Създаване на администраторски акаунт за този екземпляр.",
|
||||
"setup-note": "Този акаунт притежава настройките на екземпляра, членовете и доставчиците на самоличност.",
|
||||
"setup-title": "Настройване на вашия екземпляр",
|
||||
"signin-unavailable-description": "Влизането с парола е изключено и не са конфигурирани доставчици на самоличност. Помолете вашия администратор да активира метод за влизане.",
|
||||
"signin-unavailable-title": "Влизането не е налично",
|
||||
"signup-unavailable-description": "Акаунтите с парола са изключени и не са конфигурирани доставчици на самоличност. Помолете вашия администратор за достъп.",
|
||||
"signup-unavailable-title": "Регистрацията не е налична",
|
||||
"signups-closed-description": "Новите акаунти са деактивирани за този екземпляр. Свържете се с вашия администратор, ако имате нужда от достъп.",
|
||||
"signups-closed-title": "Регистрациите са затворени",
|
||||
"sso-signup-tip": "Влезте с доставчик по-долу, за да създадете профил.",
|
||||
"welcome-back": "Добре дошли отново."
|
||||
"signups-closed-description": "Новите акаунти са деактивирани за този екземпляр. Свържете се с вашия администратор, ако имате нужда от достъп."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Промените са временни и могат да бъдат нулирани.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "No s'ha pogut completar l'inici de sessió",
|
||||
"create-your-account": "Crea el teu compte",
|
||||
"hide-password": "Amaga la contrasenya",
|
||||
"incorrect-credentials": "Nom d'usuari o contrasenya incorrectes.",
|
||||
"new-password": "Nova contrasenya",
|
||||
"repeat-new-password": "Repeteix la contrasenya",
|
||||
"show-password": "Mostra la contrasenya",
|
||||
"sign-in-tip": "Ja tens un compte?",
|
||||
"sign-up-tip": "Encara no tens un compte?",
|
||||
"admin-sign-in": "Inici de sessió d'administrador",
|
||||
"admin-sign-in-tip": "L'inici de sessió amb contrasenya continua disponible per als administradors.",
|
||||
"back-to-sign-in": "Torna a iniciar la sessió",
|
||||
"continue-with": "Continua amb {{provider}}",
|
||||
"create-admin-account": "Crea un compte d'administrador",
|
||||
"explore-public-memos": "Explora els memos públics en aquesta instància",
|
||||
"first-run": "Primera execució",
|
||||
"setup-description": "Crea el compte d'administrador per a aquesta instància.",
|
||||
"setup-note": "Aquest compte és el propietari de la configuració de la instància, els membres i els proveïdors d'identitat.",
|
||||
"setup-title": "Configura la teva instància",
|
||||
"signin-unavailable-description": "L'inici de sessió amb contrasenya està desactivat i no hi ha cap proveïdor d'identitat configurat. Demana al teu administrador que activi un mètode d'inici de sessió.",
|
||||
"signin-unavailable-title": "L'inici de sessió no està disponible",
|
||||
"signup-unavailable-description": "Els comptes de contrasenya estan desactivats i no hi ha cap proveïdor d'identitat configurat. Demana al teu administrador accés.",
|
||||
"signup-unavailable-title": "El registre no està disponible",
|
||||
"signups-closed-description": "Els comptes nous estan desactivats en aquesta instància. Contacta amb el teu administrador si necessites accés.",
|
||||
"signups-closed-title": "Els registres estan tancats",
|
||||
"sso-signup-tip": "Inicia la sessió amb un proveïdor a continuació per crear el teu compte.",
|
||||
"welcome-back": "Benvingut/da de nou."
|
||||
"signups-closed-description": "Els comptes nous estan desactivats en aquesta instància. Contacta amb el teu administrador si necessites accés."
|
||||
},
|
||||
"common": {
|
||||
"about": "Quant a",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Přihlášení se nepodařilo dokončit",
|
||||
"create-your-account": "Založit nový účet",
|
||||
"hide-password": "Skrýt heslo",
|
||||
"incorrect-credentials": "Nesprávné uživatelské jméno nebo heslo.",
|
||||
"new-password": "Nové heslo",
|
||||
"repeat-new-password": "Zopakujte nové heslo",
|
||||
"show-password": "Zobrazit heslo",
|
||||
"sign-in-tip": "Už máte účet?",
|
||||
"sign-up-tip": "Ještě nemáte účet?",
|
||||
"admin-sign-in": "Přihlášení správce",
|
||||
"admin-sign-in-tip": "Přihlášení heslem zůstává pro správce k dispozici.",
|
||||
"back-to-sign-in": "Zpět k přihlášení",
|
||||
"continue-with": "Pokračovat s {{provider}}",
|
||||
"create-admin-account": "Vytvořit administrátorský účet",
|
||||
"explore-public-memos": "Prozkoumat veřejné poznámky v této instanci",
|
||||
"first-run": "První spuštění",
|
||||
"setup-description": "Vytvořit administrátorský účet pro tuto instanci.",
|
||||
"setup-note": "Tento účet vlastní nastavení instance, členy a poskytovatele identity.",
|
||||
"setup-title": "Nastavení instance",
|
||||
"signin-unavailable-description": "Přihlašování heslem je vypnuto a nejsou nakonfigurováni žádní poskytovatelé identity. Požádejte administrátora o povolení metody přihlašování.",
|
||||
"signin-unavailable-title": "Přihlášení není k dispozici",
|
||||
"signup-unavailable-description": "Účty s heslem jsou vypnuty a nejsou nakonfigurováni žádní poskytovatelé identity. Požádejte administrátora o přístup.",
|
||||
"signup-unavailable-title": "Registrace není k dispozici",
|
||||
"signups-closed-description": "Nové účty jsou v této instanci zakázány. Pokud potřebujete přístup, obraťte se na administrátora.",
|
||||
"signups-closed-title": "Registrace jsou uzavřeny",
|
||||
"sso-signup-tip": "Přihlaste se k níže uvedenému poskytovateli a vytvořte si účet.",
|
||||
"welcome-back": "Vítejte zpět."
|
||||
"signups-closed-description": "Nové účty jsou v této instanci zakázány. Pokud potřebujete přístup, obraťte se na administrátora."
|
||||
},
|
||||
"common": {
|
||||
"about": "O aplikaci",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Login kunne ikke fuldføres",
|
||||
"create-your-account": "Opret din konto",
|
||||
"hide-password": "Skjul adgangskode",
|
||||
"incorrect-credentials": "Forkert brugernavn eller adgangskode.",
|
||||
"new-password": "Ny adgangskode",
|
||||
"repeat-new-password": "Gentag den nye adgangskode",
|
||||
"show-password": "Vis adgangskode",
|
||||
"sign-in-tip": "Har du allerede en konto?",
|
||||
"sign-up-tip": "Har du ikke en konto endnu?",
|
||||
"admin-sign-in": "Administratorlogin",
|
||||
"admin-sign-in-tip": "Adgangskodelogin forbliver tilgængelig for administratorer.",
|
||||
"back-to-sign-in": "Tilbage til login",
|
||||
"continue-with": "Fortsæt med {{provider}}",
|
||||
"create-admin-account": "Opret administratorkonto",
|
||||
"explore-public-memos": "Udforsk offentlige notater på denne instans",
|
||||
"first-run": "Første kørsel",
|
||||
"setup-description": "Opret administratorkontoen for denne instans.",
|
||||
"setup-note": "Denne konto ejer instansindstillinger, medlemmer og identitetsudbydere.",
|
||||
"setup-title": "Konfigurer din instans",
|
||||
"signin-unavailable-description": "Adgangskodelogin er deaktiveret, og der er ingen konfigurerede identitetsudbydere. Bed din administrator om at aktivere en loginmetode.",
|
||||
"signin-unavailable-title": "Login er ikke tilgængelig",
|
||||
"signup-unavailable-description": "Adgangskodekonti er deaktiveret, og der er ingen konfigurerede identitetsudbydere. Bed din administrator om adgang.",
|
||||
"signup-unavailable-title": "Tilmelding er ikke tilgængelig",
|
||||
"signups-closed-description": "Nye konti er deaktiveret på denne instans. Kontakt din administrator, hvis du har brug for adgang.",
|
||||
"signups-closed-title": "Tilmeldinger er lukket",
|
||||
"sso-signup-tip": "Log ind med en udbyder nedenfor for at oprette din konto.",
|
||||
"welcome-back": "Velkommen tilbage."
|
||||
"signups-closed-description": "Nye konti er deaktiveret på denne instans. Kontakt din administrator, hvis du har brug for adgang."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Ændringer er midlertidige og kan blive nulstillet.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Anmeldung konnte nicht abgeschlossen werden",
|
||||
"create-your-account": "Benutzerkonto anlegen",
|
||||
"hide-password": "Passwort verbergen",
|
||||
"incorrect-credentials": "Benutzername oder Passwort ist falsch.",
|
||||
"new-password": "Neues Passwort",
|
||||
"repeat-new-password": "Neues Passwort wiederholen",
|
||||
"show-password": "Passwort anzeigen",
|
||||
"sign-in-tip": "Bereits ein Benutzerkonto?",
|
||||
"sign-up-tip": "Noch kein Benutzerkonto?",
|
||||
"admin-sign-in": "Administrator-Anmeldung",
|
||||
"admin-sign-in-tip": "Passwortbasierte Anmeldung bleibt für Administratoren verfügbar.",
|
||||
"back-to-sign-in": "Zurück zur Anmeldung",
|
||||
"continue-with": "Weiter mit {{provider}}",
|
||||
"create-admin-account": "Administratorkonto erstellen",
|
||||
"explore-public-memos": "Öffentliche Memos dieser Instanz ansehen",
|
||||
"first-run": "Erster Start",
|
||||
"setup-description": "Administratorkonto für diese Instanz erstellen.",
|
||||
"setup-note": "Dieses Konto verwaltet Instanzeinstellungen, Mitglieder und Identitätsanbieter.",
|
||||
"setup-title": "Instanz einrichten",
|
||||
"signin-unavailable-description": "Die Anmeldung mit Passwort ist deaktiviert und es sind keine Identitätsanbieter konfiguriert. Bitten Sie Ihren Administrator, eine Anmeldemethode zu aktivieren.",
|
||||
"signin-unavailable-title": "Anmeldung nicht verfügbar",
|
||||
"signup-unavailable-description": "Passwortkonten sind deaktiviert und es sind keine Identitätsanbieter konfiguriert. Bitten Sie Ihren Administrator um Zugriff.",
|
||||
"signup-unavailable-title": "Registrierung nicht verfügbar",
|
||||
"signups-closed-description": "Neue Konten sind auf dieser Instanz deaktiviert. Wenden Sie sich an Ihren Administrator, wenn Sie Zugriff benötigen.",
|
||||
"signups-closed-title": "Anmeldungen sind geschlossen.",
|
||||
"sso-signup-tip": "Melden Sie sich unten mit einem Anbieter an, um Ihr Konto zu erstellen.",
|
||||
"welcome-back": "Willkommen zurück."
|
||||
"signups-closed-description": "Neue Konten sind auf dieser Instanz deaktiviert. Wenden Sie sich an Ihren Administrator, wenn Sie Zugriff benötigen."
|
||||
},
|
||||
"common": {
|
||||
"about": "Über",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Δεν ήταν δυνατή η ολοκλήρωση της σύνδεσης",
|
||||
"create-your-account": "Δημιουργήστε τον λογαριασμό σας",
|
||||
"hide-password": "Απόκρυψη κωδικού πρόσβασης",
|
||||
"incorrect-credentials": "Λανθασμένο όνομα χρήστη ή κωδικός πρόσβασης.",
|
||||
"new-password": "Νέος κωδικός πρόσβασης",
|
||||
"repeat-new-password": "Επαναλάβετε τον νέο κωδικό πρόσβασης",
|
||||
"show-password": "Εμφάνιση κωδικού πρόσβασης",
|
||||
"sign-in-tip": "Έχετε ήδη λογαριασμό;",
|
||||
"sign-up-tip": "Δεν έχετε λογαριασμό ακόμα;",
|
||||
"admin-sign-in": "Σύνδεση διαχειριστή",
|
||||
"admin-sign-in-tip": "Η σύνδεση με κωδικό πρόσβασης παραμένει διαθέσιμη για τους διαχειριστές.",
|
||||
"back-to-sign-in": "Επιστροφή στη σύνδεση",
|
||||
"continue-with": "Συνέχεια με {{provider}}",
|
||||
"create-admin-account": "Δημιουργία λογαριασμού διαχειριστή",
|
||||
"explore-public-memos": "Εξερεύνηση δημόσιων σημειώσεων σε αυτήν την παρουσία",
|
||||
"first-run": "Πρώτη εκτέλεση",
|
||||
"setup-description": "Δημιουργία λογαριασμού διαχειριστή για αυτήν την παρουσία.",
|
||||
"setup-note": "Αυτός ο λογαριασμός κατέχει ρυθμίσεις παρουσίας, μέλη και παρόχους ταυτότητας.",
|
||||
"setup-title": "Ρύθμιση της παρουσίας σας",
|
||||
"signin-unavailable-description": "Η σύνδεση με κωδικό πρόσβασης είναι απενεργοποιημένη και δεν έχουν ρυθμιστεί πάροχοι ταυτότητας. Ζητήστε από τον διαχειριστή σας να ενεργοποιήσει μια μέθοδο σύνδεσης.",
|
||||
"signin-unavailable-title": "Η σύνδεση δεν είναι διαθέσιμη",
|
||||
"signup-unavailable-description": "Οι λογαριασμοί με κωδικό πρόσβασης είναι απενεργοποιημένοι και δεν έχουν ρυθμιστεί πάροχοι ταυτότητας. Ζητήστε από τον διαχειριστή σας πρόσβαση.",
|
||||
"signup-unavailable-title": "Η εγγραφή δεν είναι διαθέσιμη",
|
||||
"signups-closed-description": "Οι νέοι λογαριασμοί είναι απενεργοποιημένοι σε αυτήν την παρουσία. Επικοινωνήστε με τον διαχειριστή σας εάν χρειάζεστε πρόσβαση.",
|
||||
"signups-closed-title": "Οι εγγραφές έχουν κλείσει",
|
||||
"sso-signup-tip": "Συνδεθείτε με έναν πάροχο παρακάτω για να δημιουργήσετε τον λογαριασμό σας.",
|
||||
"welcome-back": "Καλώς ορίσατε και πάλι."
|
||||
"signups-closed-description": "Οι νέοι λογαριασμοί είναι απενεργοποιημένοι σε αυτήν την παρουσία. Επικοινωνήστε με τον διαχειριστή σας εάν χρειάζεστε πρόσβαση."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Οι αλλαγές είναι προσωρινές και ενδέχεται να επαναφερθούν.",
|
||||
|
||||
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Couldn't finish signing in",
|
||||
"create-your-account": "Create your account",
|
||||
"hide-password": "Hide password",
|
||||
"incorrect-credentials": "Incorrect username or password.",
|
||||
"new-password": "New password",
|
||||
"repeat-new-password": "Repeat the new password",
|
||||
"show-password": "Show password",
|
||||
"sign-in-tip": "Already have an account?",
|
||||
"sign-up-tip": "Don't have an account yet?",
|
||||
"admin-sign-in": "Administrator sign-in",
|
||||
"admin-sign-in-tip": "Password sign-in stays available for administrators.",
|
||||
"back-to-sign-in": "Back to sign in",
|
||||
"continue-with": "Continue with {{provider}}",
|
||||
"create-admin-account": "Create admin account",
|
||||
"explore-public-memos": "Explore public memos on this instance",
|
||||
"first-run": "First run",
|
||||
"setup-description": "Create the administrator account for this instance.",
|
||||
"setup-note": "This account owns instance settings, members, and identity providers.",
|
||||
"setup-title": "Set up your instance",
|
||||
"signin-unavailable-description": "Password sign-in is turned off and no identity providers are configured. Ask your administrator to enable a sign-in method.",
|
||||
"signin-unavailable-title": "Sign-in is unavailable",
|
||||
"signup-unavailable-description": "Password accounts are turned off and no identity providers are configured. Ask your administrator for access.",
|
||||
"signup-unavailable-title": "Sign-up is unavailable",
|
||||
"signups-closed-description": "New accounts are disabled on this instance. Contact your administrator if you need access.",
|
||||
"signups-closed-title": "Sign-ups are closed",
|
||||
"sso-signup-tip": "Sign in with a provider below to create your account.",
|
||||
"welcome-back": "Welcome back."
|
||||
"signups-closed-description": "New accounts are disabled on this instance. Contact your administrator if you need access."
|
||||
},
|
||||
"common": {
|
||||
"about": "About",
|
||||
|
||||
+5
-10
@@ -45,28 +45,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "Administrator sign-in",
|
||||
"admin-sign-in-tip": "Password sign-in stays available for administrators.",
|
||||
"back-to-sign-in": "Back to sign in",
|
||||
"callback-failed-title": "Couldn't finish signing in",
|
||||
"continue-with": "Continue with {{provider}}",
|
||||
"create-admin-account": "Create admin account",
|
||||
"create-your-account": "Create your account",
|
||||
"explore-public-memos": "Explore public memos on this instance",
|
||||
"first-run": "First run",
|
||||
"hide-password": "Hide password",
|
||||
"incorrect-credentials": "Incorrect username or password.",
|
||||
"new-password": "New password",
|
||||
"repeat-new-password": "Repeat the new password",
|
||||
"setup-description": "Create the administrator account for this instance.",
|
||||
"setup-note": "This account owns instance settings, members, and identity providers.",
|
||||
"setup-title": "Set up your instance",
|
||||
"show-password": "Show password",
|
||||
"sign-in-tip": "Already have an account?",
|
||||
"sign-up-tip": "Don't have an account yet?",
|
||||
"signin-unavailable-description": "Password sign-in is turned off and no identity providers are configured. Ask your administrator to enable a sign-in method.",
|
||||
"signin-unavailable-title": "Sign-in is unavailable",
|
||||
"signup-unavailable-description": "Password accounts are turned off and no identity providers are configured. Ask your administrator for access.",
|
||||
"signup-unavailable-title": "Sign-up is unavailable",
|
||||
"signups-closed-description": "New accounts are disabled on this instance. Contact your administrator if you need access.",
|
||||
"signups-closed-title": "Sign-ups are closed",
|
||||
"sso-signup-tip": "Sign in with a provider below to create your account.",
|
||||
"welcome-back": "Welcome back."
|
||||
"signups-closed-description": "New accounts are disabled on this instance. Contact your administrator if you need access."
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "New memo on this day",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "No se pudo completar el inicio de sesión",
|
||||
"create-your-account": "Crea tu cuenta",
|
||||
"hide-password": "Ocultar contraseña",
|
||||
"incorrect-credentials": "Nombre de usuario o contraseña incorrectos.",
|
||||
"new-password": "Nueva contraseña",
|
||||
"repeat-new-password": "Repite la nueva contraseña",
|
||||
"show-password": "Mostrar contraseña",
|
||||
"sign-in-tip": "¿Ya tienes una cuenta?",
|
||||
"sign-up-tip": "¿Aún no tienes una cuenta?",
|
||||
"admin-sign-in": "Inicio de sesión de administrador",
|
||||
"admin-sign-in-tip": "El inicio de sesión con contraseña sigue estando disponible para los administradores.",
|
||||
"back-to-sign-in": "Volver al inicio de sesión",
|
||||
"continue-with": "Continuar con {{provider}}",
|
||||
"create-admin-account": "Crear cuenta de administrador",
|
||||
"explore-public-memos": "Explorar notas públicas en esta instancia",
|
||||
"first-run": "Primera ejecución",
|
||||
"setup-description": "Crear la cuenta de administrador para esta instancia.",
|
||||
"setup-note": "Esta cuenta gestiona la configuración de la instancia, los miembros y los proveedores de identidad.",
|
||||
"setup-title": "Configurar la instancia",
|
||||
"signin-unavailable-description": "El inicio de sesión con contraseña está desactivado y no hay proveedores de identidad configurados. Solicite a su administrador que habilite un método de inicio de sesión.",
|
||||
"signin-unavailable-title": "El inicio de sesión no está disponible",
|
||||
"signup-unavailable-description": "Las cuentas con contraseña están desactivadas y no hay proveedores de identidad configurados. Solicite acceso a su administrador.",
|
||||
"signup-unavailable-title": "El registro no está disponible",
|
||||
"signups-closed-description": "Las nuevas cuentas están deshabilitadas en esta instancia. Póngase en contacto con su administrador si necesita acceso.",
|
||||
"signups-closed-title": "Las inscripciones están cerradas",
|
||||
"sso-signup-tip": "Inicie sesión con un proveedor a continuación para crear su cuenta.",
|
||||
"welcome-back": "Bienvenido de nuevo."
|
||||
"signups-closed-description": "Las nuevas cuentas están deshabilitadas en esta instancia. Póngase en contacto con su administrador si necesita acceso."
|
||||
},
|
||||
"common": {
|
||||
"about": "Acerca de",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Sisselogimist ei õnnestunud lõpetada",
|
||||
"create-your-account": "Looge oma konto",
|
||||
"hide-password": "Peida parool",
|
||||
"incorrect-credentials": "Vale kasutajanimi või parool.",
|
||||
"new-password": "Uus parool",
|
||||
"repeat-new-password": "Korrake uut parooli",
|
||||
"show-password": "Näita parooli",
|
||||
"sign-in-tip": "Kas teil on juba konto?",
|
||||
"sign-up-tip": "Kas teil pole veel kontot?",
|
||||
"admin-sign-in": "Administraatori sisselogimine",
|
||||
"admin-sign-in-tip": "Parooliga sisselogimine jääb administraatoritele kättesaadavaks.",
|
||||
"back-to-sign-in": "Tagasi sisselogimiseks",
|
||||
"continue-with": "Jätka {{provider}}-ga",
|
||||
"create-admin-account": "Loo administraatori konto",
|
||||
"explore-public-memos": "Avasta selle eksemplari avalikke memosid",
|
||||
"first-run": "Esimene käivitus",
|
||||
"setup-description": "Loo selle eksemplari jaoks administraatori konto.",
|
||||
"setup-note": "See konto omab eksemplari seadeid, liikmeid ja identiteedipakkujaid.",
|
||||
"setup-title": "Seadistage oma eksemplar",
|
||||
"signin-unavailable-description": "Parooliga sisselogimine on välja lülitatud ja ühtegi identiteedipakkujat pole konfigureeritud. Paluge administraatoril sisselogimismeetod lubada.",
|
||||
"signin-unavailable-title": "Sisselogimine pole saadaval",
|
||||
"signup-unavailable-description": "Paroolikontod on välja lülitatud ja ühtegi identiteedipakkujat pole konfigureeritud. Küsige administraatorilt juurdepääsu.",
|
||||
"signup-unavailable-title": "Registreerumine pole saadaval",
|
||||
"signups-closed-description": "Uued kontod on selles eksemplaris keelatud. Kui vajate juurdepääsu, võtke ühendust administraatoriga.",
|
||||
"signups-closed-title": "Registreerumine on suletud",
|
||||
"sso-signup-tip": "Konto loomiseks logige sisse alloleva teenusepakkujaga.",
|
||||
"welcome-back": "Tere tulemast tagasi."
|
||||
"signups-closed-description": "Uued kontod on selles eksemplaris keelatud. Kui vajate juurdepääsu, võtke ühendust administraatoriga."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Muudatused on ajutised ja neid võidakse lähtestada.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "کروم + فایرفاکس"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "ورود کامل نشد",
|
||||
"create-your-account": "حساب کاربری خود را ایجاد کنید.",
|
||||
"hide-password": "پنهان کردن گذرواژه",
|
||||
"incorrect-credentials": "نام کاربری یا گذرواژه نادرست است.",
|
||||
"new-password": "گذرواژه جدید",
|
||||
"repeat-new-password": "گذرواژه جدید را تکرار کنید",
|
||||
"show-password": "نمایش گذرواژه",
|
||||
"sign-in-tip": "آیا حساب کاربری تعریف شده دارید؟",
|
||||
"sign-up-tip": "آیا حساب کاربری تعریف شده ندارید؟",
|
||||
"admin-sign-in": "ورود مدیر",
|
||||
"admin-sign-in-tip": "ورود با رمز عبور برای مدیران در دسترس است.",
|
||||
"back-to-sign-in": "بازگشت به ورود",
|
||||
"continue-with": "ادامه با {{provider}}",
|
||||
"create-admin-account": "ایجاد حساب کاربری ادمین",
|
||||
"explore-public-memos": "کاوش یادداشتهای عمومی در این نمونه",
|
||||
"first-run": "اولین اجرا",
|
||||
"setup-description": "ایجاد حساب کاربری ادمین برای این نمونه.",
|
||||
"setup-note": "این حساب کاربری دارای تنظیمات نمونه، اعضا و ارائهدهندگان هویت است.",
|
||||
"setup-title": "راهاندازی نمونه شما",
|
||||
"signin-unavailable-description": "ورود با رمز عبور غیرفعال است و هیچ ارائهدهنده هویتی پیکربندی نشده است. از مدیر خود بخواهید که یک روش ورود به سیستم را فعال کند.",
|
||||
"signin-unavailable-title": "ورود به سیستم در دسترس نیست",
|
||||
"signup-unavailable-description": "حسابهای کاربری رمز عبور غیرفعال هستند و هیچ ارائهدهنده هویتی پیکربندی نشده است. از مدیر خود برای دسترسی درخواست کنید.",
|
||||
"signup-unavailable-title": "ثبت نام در دسترس نیست",
|
||||
"signups-closed-description": "حسابهای کاربری جدید در این نمونه غیرفعال هستند. در صورت نیاز به دسترسی با مدیر خود تماس بگیرید.",
|
||||
"signups-closed-title": "ثبت نام بسته شد",
|
||||
"sso-signup-tip": "برای ایجاد حساب کاربری خود، با یکی از ارائه دهندگان زیر وارد شوید.",
|
||||
"welcome-back": "خوش آمدید."
|
||||
"signups-closed-description": "حسابهای کاربری جدید در این نمونه غیرفعال هستند. در صورت نیاز به دسترسی با مدیر خود تماس بگیرید."
|
||||
},
|
||||
"common": {
|
||||
"about": "درباره",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Kirjautumista ei voitu viimeistellä",
|
||||
"create-your-account": "Luo tili",
|
||||
"hide-password": "Piilota salasana",
|
||||
"incorrect-credentials": "Väärä käyttäjänimi tai salasana.",
|
||||
"new-password": "Uusi salasana",
|
||||
"repeat-new-password": "Toista uusi salasana",
|
||||
"show-password": "Näytä salasana",
|
||||
"sign-in-tip": "Onko sinulla jo tili?",
|
||||
"sign-up-tip": "Eikö sinulla ole vielä tiliä?",
|
||||
"admin-sign-in": "Järjestelmänvalvojan kirjautuminen",
|
||||
"admin-sign-in-tip": "Salasanakirjakirjautuminen on edelleen käytettävissä järjestelmänvalvojille.",
|
||||
"back-to-sign-in": "Takaisin sisäänkirjautumiseen",
|
||||
"continue-with": "Jatka kohdasta {{provider}}",
|
||||
"create-admin-account": "Luo järjestelmänvalvojan tili",
|
||||
"explore-public-memos": "Tutustu julkisiin muistioihin tässä instanssissa",
|
||||
"first-run": "Ensimmäinen käyttökerta",
|
||||
"setup-description": "Luo järjestelmänvalvojan tili tälle instanssille.",
|
||||
"setup-note": "Tämä tili omistaa instanssin asetukset, jäsenet ja identiteetintarjoajat.",
|
||||
"setup-title": "Määritä instanssisi",
|
||||
"signin-unavailable-description": "Salasanakirjautuminen on poistettu käytöstä eikä identiteetintarjoajia ole määritetty. Pyydä järjestelmänvalvojaasi ottamaan sisäänkirjautumismenetelmä käyttöön.",
|
||||
"signin-unavailable-title": "Kirjautuminen ei ole käytettävissä",
|
||||
"signup-unavailable-description": "Salasanatilit on poistettu käytöstä eikä identiteetintarjoajia ole määritetty. Pyydä järjestelmänvalvojaasi käyttöoikeutta.",
|
||||
"signup-unavailable-title": "Rekisteröityminen ei ole käytettävissä",
|
||||
"signups-closed-description": "Uudet tilit on poistettu käytöstä tässä instanssissa. Ota yhteyttä järjestelmänvalvojaasi, jos tarvitset käyttöoikeutta.",
|
||||
"signups-closed-title": "Rekisteröitymiset ovat päättyneet",
|
||||
"sso-signup-tip": "Kirjaudu sisään alla olevalla palveluntarjoajalla luodaksesi tilisi.",
|
||||
"welcome-back": "Tervetuloa takaisin."
|
||||
"signups-closed-description": "Uudet tilit on poistettu käytöstä tässä instanssissa. Ota yhteyttä järjestelmänvalvojaasi, jos tarvitset käyttöoikeutta."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Muutokset ovat väliaikaisia ja ne voidaan nollata.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Impossible de terminer la connexion",
|
||||
"create-your-account": "Créez votre compte",
|
||||
"hide-password": "Masquer le mot de passe",
|
||||
"incorrect-credentials": "Nom d'utilisateur ou mot de passe incorrect.",
|
||||
"new-password": "Nouveau mot de passe",
|
||||
"repeat-new-password": "Répétez le nouveau mot de passe",
|
||||
"show-password": "Afficher le mot de passe",
|
||||
"sign-in-tip": "Vous avez déjà un compte ?",
|
||||
"sign-up-tip": "Vous n'avez pas encore de compte ?",
|
||||
"admin-sign-in": "Connexion administrateur",
|
||||
"admin-sign-in-tip": "La connexion par mot de passe reste disponible pour les administrateurs.",
|
||||
"back-to-sign-in": "Retour à la connexion",
|
||||
"continue-with": "Continuer avec {{provider}}",
|
||||
"create-admin-account": "Créer un compte administrateur",
|
||||
"explore-public-memos": "Consulter les notes publiques de cette instance",
|
||||
"first-run": "Première exécution",
|
||||
"setup-description": "Créer le compte administrateur de cette instance.",
|
||||
"setup-note": "Ce compte gère les paramètres, les membres et les fournisseurs d'identité de l'instance.",
|
||||
"setup-title": "Configurer votre instance",
|
||||
"signin-unavailable-description": "La connexion par mot de passe est désactivée et aucun fournisseur d'identité n'est configuré. Veuillez demander à votre administrateur d'activer une méthode de connexion.",
|
||||
"signin-unavailable-title": "Connexion impossible",
|
||||
"signup-unavailable-description": "Les comptes par mot de passe sont désactivés et aucun fournisseur d'identité n'est configuré. Veuillez demander l'accès à votre administrateur.",
|
||||
"signup-unavailable-title": "Inscription impossible",
|
||||
"signups-closed-description": "La création de nouveaux comptes est désactivée sur cette instance. Contactez votre administrateur si vous avez besoin d'y accéder.",
|
||||
"signups-closed-title": "Les inscriptions sont fermées.",
|
||||
"sso-signup-tip": "Connectez-vous avec un fournisseur ci-dessous pour créer votre compte.",
|
||||
"welcome-back": "Bienvenue."
|
||||
"signups-closed-description": "La création de nouveaux comptes est désactivée sur cette instance. Contactez votre administrateur si vous avez besoin d'y accéder."
|
||||
},
|
||||
"common": {
|
||||
"about": "À propos",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Non se puido completar o inicio de sesión",
|
||||
"create-your-account": "Crea a túa conta",
|
||||
"hide-password": "Agochar o contrasinal",
|
||||
"incorrect-credentials": "Nome de usuario ou contrasinal incorrectos.",
|
||||
"new-password": "Novo contrasinal",
|
||||
"repeat-new-password": "Repite o novo contrasinal",
|
||||
"show-password": "Amosar o contrasinal",
|
||||
"sign-in-tip": "Xa tes unha conta?",
|
||||
"sign-up-tip": "Aínda non tes unha conta?",
|
||||
"admin-sign-in": "Inicio de sesión do administrador",
|
||||
"admin-sign-in-tip": "O inicio de sesión con contrasinal permanece dispoñible para os administradores.",
|
||||
"back-to-sign-in": "Volver ao inicio de sesión",
|
||||
"continue-with": "Continuar con {{provider}}",
|
||||
"create-admin-account": "Crear conta de administrador",
|
||||
"explore-public-memos": "Explorar as notas públicas nesta instancia",
|
||||
"first-run": "Primeira execución",
|
||||
"setup-description": "Crear a conta de administrador para esta instancia.",
|
||||
"setup-note": "Esta conta posúe a configuración da instancia, os membros e os provedores de identidade.",
|
||||
"setup-title": "Configurar a túa instancia",
|
||||
"signin-unavailable-description": "O inicio de sesión con contrasinal está desactivado e non hai ningún provedor de identidade configurado. Pídelle ao teu administrador que active un método de inicio de sesión.",
|
||||
"signin-unavailable-title": "O inicio de sesión non está dispoñible",
|
||||
"signup-unavailable-description": "As contas con contrasinal están desactivadas e non hai ningún provedor de identidade configurado. Pídelle ao teu administrador que che dea acceso.",
|
||||
"signup-unavailable-title": "O rexistro non está dispoñible",
|
||||
"signups-closed-description": "As novas contas están desactivadas nesta instancia. Ponte en contacto co teu administrador se necesitas acceso.",
|
||||
"signups-closed-title": "Os rexistros están pechados",
|
||||
"sso-signup-tip": "Inicia sesión cun provedor a continuación para crear a túa conta.",
|
||||
"welcome-back": "Benvido/a de novo."
|
||||
"signups-closed-description": "As novas contas están desactivadas nesta instancia. Ponte en contacto co teu administrador se necesitas acceso."
|
||||
},
|
||||
"common": {
|
||||
"about": "Sobre",
|
||||
|
||||
+5
-10
@@ -22,28 +22,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "התחברות מנהל",
|
||||
"admin-sign-in-tip": "התחברות באמצעות סיסמה נשארת זמינה למנהלים.",
|
||||
"back-to-sign-in": "חזרה להתחברות",
|
||||
"callback-failed-title": "לא ניתן היה להשלים את הכניסה",
|
||||
"continue-with": "המשיכו עם {{provider}}",
|
||||
"create-admin-account": "צור חשבון מנהל",
|
||||
"create-your-account": "צרו את החשבון שלכם",
|
||||
"explore-public-memos": "עיינו בפתקים הציבוריים במופע הזה",
|
||||
"first-run": "הפעלה ראשונה",
|
||||
"hide-password": "הסתרת הסיסמה",
|
||||
"incorrect-credentials": "שם משתמש או סיסמה שגויים.",
|
||||
"new-password": "סיסמה חדשה",
|
||||
"repeat-new-password": "הקלידו שוב את הסיסמה החדשה",
|
||||
"setup-description": "צרו את חשבון המנהל עבור המופע הזה.",
|
||||
"setup-note": "חשבון זה מנהל את הגדרות המופע, החברים וספקי הזהות.",
|
||||
"setup-title": "הגדירו את המופע שלכם",
|
||||
"show-password": "הצגת הסיסמה",
|
||||
"sign-in-tip": "כבר יש לכם חשבון?",
|
||||
"sign-up-tip": "עדיין אין לכם חשבון?",
|
||||
"signin-unavailable-description": "התחברות באמצעות סיסמה מושבתת ולא הוגדרו ספקי זהות. בקשו מהמנהל להפעיל שיטת התחברות.",
|
||||
"signin-unavailable-title": "לא ניתן להתחבר",
|
||||
"signup-unavailable-description": "חשבונות באמצעות סיסמה מושבתים ולא הוגדרו ספקי זהות. בקשו מהמנהל גישה.",
|
||||
"signup-unavailable-title": "לא ניתן להירשם",
|
||||
"signups-closed-description": "חשבונות חדשים מושבתים במופע הזה. פנו למנהל אם אתם זקוקים לגישה.",
|
||||
"signups-closed-title": "ההרשמה סגורה",
|
||||
"sso-signup-tip": "התחברו באמצעות ספק למטה כדי ליצור את החשבון שלכם.",
|
||||
"welcome-back": "ברוכים הבאים."
|
||||
"signups-closed-description": "חשבונות חדשים מושבתים במופע הזה. פנו למנהל אם אתם זקוקים לגישה."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "אתם מוזמנים לסייר! ההדגמה מתאפסת מעת לעת.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "क्रोम + फ़ायरफ़ॉक्स"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "साइन इन पूरा नहीं हो सका",
|
||||
"create-your-account": "अपना खाता बनाएं",
|
||||
"hide-password": "पासवर्ड छिपाएँ",
|
||||
"incorrect-credentials": "उपयोगकर्ता नाम या पासवर्ड गलत है।",
|
||||
"new-password": "नया पासवर्ड",
|
||||
"repeat-new-password": "नया पासवर्ड दोहराएं",
|
||||
"show-password": "पासवर्ड दिखाएँ",
|
||||
"sign-in-tip": "क्या आपके पास पहले से खाता है?",
|
||||
"sign-up-tip": "अभी तक खाता नहीं है?",
|
||||
"admin-sign-in": "एडमिनिस्ट्रेटर साइन-इन",
|
||||
"admin-sign-in-tip": "पासवर्ड साइन-इन एडमिनिस्ट्रेटर के लिए उपलब्ध रहता है।",
|
||||
"back-to-sign-in": "साइन इन पर वापस जाएं",
|
||||
"continue-with": "{{provider}} के साथ जारी रखें",
|
||||
"create-admin-account": "एडमिन अकाउंट बनाएं",
|
||||
"explore-public-memos": "इस इंस्टेंस पर पब्लिक मेमो देखें",
|
||||
"first-run": "पहला रन",
|
||||
"setup-description": "इस इंस्टेंस के लिए एडमिनिस्ट्रेटर अकाउंट बनाएं।",
|
||||
"setup-note": "यह अकाउंट इंस्टेंस सेटिंग्स, मेंबर्स और आइडेंटिटी प्रोवाइडर्स का मालिक है।",
|
||||
"setup-title": "अपना इंस्टेंस सेट अप करें",
|
||||
"signin-unavailable-description": "पासवर्ड साइन-इन बंद है और कोई आइडेंटिटी प्रोवाइडर कॉन्फ़िगर नहीं है। अपने एडमिनिस्ट्रेटर से साइन-इन मेथड चालू करने के लिए कहें।",
|
||||
"signin-unavailable-title": "साइन-इन उपलब्ध नहीं है",
|
||||
"signup-unavailable-description": "पासवर्ड अकाउंट बंद हैं और कोई आइडेंटिटी प्रोवाइडर कॉन्फ़िगर नहीं है। एक्सेस के लिए अपने एडमिनिस्ट्रेटर से पूछें।",
|
||||
"signup-unavailable-title": "साइन-अप उपलब्ध नहीं है",
|
||||
"signups-closed-description": "इस इंस्टेंस पर नए अकाउंट डिसेबल हैं। अगर आपको एक्सेस चाहिए तो अपने एडमिनिस्ट्रेटर से संपर्क करें।",
|
||||
"signups-closed-title": "साइन-अप बंद हो गए हैं",
|
||||
"sso-signup-tip": "अपना अकाउंट बनाने के लिए नीचे दिए गए प्रोवाइडर से साइन इन करें।",
|
||||
"welcome-back": "वेलकम बैक।"
|
||||
"signups-closed-description": "इस इंस्टेंस पर नए अकाउंट डिसेबल हैं। अगर आपको एक्सेस चाहिए तो अपने एडमिनिस्ट्रेटर से संपर्क करें।"
|
||||
},
|
||||
"common": {
|
||||
"about": "के बारे में",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Prijava nije dovršena",
|
||||
"create-your-account": "Stvori svoj račun",
|
||||
"hide-password": "Sakrij lozinku",
|
||||
"incorrect-credentials": "Netočno korisničko ime ili lozinka.",
|
||||
"new-password": "Nova lozinka",
|
||||
"repeat-new-password": "Ponovi novu lozinku",
|
||||
"show-password": "Prikaži lozinku",
|
||||
"sign-in-tip": "Račun već postoji?",
|
||||
"sign-up-tip": "Još nemaš račun?",
|
||||
"admin-sign-in": "Prijava administratora",
|
||||
"admin-sign-in-tip": "Prijava lozinkom ostaje dostupna administratorima.",
|
||||
"back-to-sign-in": "Natrag na prijavu",
|
||||
"continue-with": "Nastavi s {{provider}}",
|
||||
"create-admin-account": "Izradi administratorski račun",
|
||||
"explore-public-memos": "Istraži javne bilješke o ovoj instanci",
|
||||
"first-run": "Prvo pokretanje",
|
||||
"setup-description": "Izradi administratorski račun za ovu instancu.",
|
||||
"setup-note": "Ovaj račun posjeduje postavke instance, članove i pružatelje identiteta.",
|
||||
"setup-title": "Postavi svoju instancu",
|
||||
"signin-unavailable-description": "Prijava lozinkom je isključena i nisu konfigurirani pružatelji identiteta. Zamolite administratora da omogući metodu prijave.",
|
||||
"signin-unavailable-title": "Prijava nije dostupna",
|
||||
"signup-unavailable-description": "Računi lozinkom su isključeni i nisu konfigurirani pružatelji identiteta. Zamolite administratora za pristup.",
|
||||
"signup-unavailable-title": "Registracija nije dostupna",
|
||||
"signups-closed-description": "Novi računi su onemogućeni na ovoj instanci. Obratite se administratoru ako vam je potreban pristup.",
|
||||
"signups-closed-title": "Prijave su zatvorene",
|
||||
"sso-signup-tip": "Prijavite se s davateljem usluga u nastavku kako biste stvorili svoj račun.",
|
||||
"welcome-back": "Dobrodošli natrag."
|
||||
"signups-closed-description": "Novi računi su onemogućeni na ovoj instanci. Obratite se administratoru ako vam je potreban pristup."
|
||||
},
|
||||
"common": {
|
||||
"about": "O aplikaciji",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "A bejelentkezést nem sikerült befejezni",
|
||||
"create-your-account": "Fiók létrehozása",
|
||||
"hide-password": "Jelszó elrejtése",
|
||||
"incorrect-credentials": "Hibás felhasználónév vagy jelszó.",
|
||||
"new-password": "Új jelszó",
|
||||
"repeat-new-password": "Jelszó ismét",
|
||||
"show-password": "Jelszó megjelenítése",
|
||||
"sign-in-tip": "Már van fiókod?",
|
||||
"sign-up-tip": "Még nincs fiókod?",
|
||||
"admin-sign-in": "Rendszergazdai bejelentkezés",
|
||||
"admin-sign-in-tip": "A jelszóval történő bejelentkezés továbbra is elérhető a rendszergazdák számára.",
|
||||
"back-to-sign-in": "Vissza a bejelentkezéshez",
|
||||
"continue-with": "Folytatás ezzel: {{provider}}",
|
||||
"create-admin-account": "Rendszergazdai fiók létrehozása",
|
||||
"explore-public-memos": "Nyilvános feljegyzések megtekintése ezen a példányon",
|
||||
"first-run": "Első futtatás",
|
||||
"setup-description": "Rendszergazdai fiók létrehozása ehhez a példányhoz.",
|
||||
"setup-note": "Ez a fiók birtokolja a példánybeállításokat, a tagokat és az identitásszolgáltatókat.",
|
||||
"setup-title": "Példány beállítása",
|
||||
"signin-unavailable-description": "A jelszóval történő bejelentkezés ki van kapcsolva, és nincsenek identitásszolgáltatók konfigurálva. Kérje meg a rendszergazdát, hogy engedélyezze a bejelentkezési módszert.",
|
||||
"signin-unavailable-title": "Bejelentkezés nem érhető el",
|
||||
"signup-unavailable-description": "A jelszóval védett fiókok ki vannak kapcsolva, és nincsenek identitásszolgáltatók konfigurálva. Kérje meg a rendszergazdát a hozzáférésért.",
|
||||
"signup-unavailable-title": "A regisztráció nem érhető el",
|
||||
"signups-closed-description": "Az új fiókok le vannak tiltva ezen a példányon. Hozzáférés esetén forduljon a rendszergazdához.",
|
||||
"signups-closed-title": "A regisztráció lezárult.",
|
||||
"sso-signup-tip": "Jelentkezzen be az alábbi szolgáltatóval a fiók létrehozásához.",
|
||||
"welcome-back": "Üdvözöljük ismét."
|
||||
"signups-closed-description": "Az új fiókok le vannak tiltva ezen a példányon. Hozzáférés esetén forduljon a rendszergazdához."
|
||||
},
|
||||
"common": {
|
||||
"about": "Névjegy",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Tidak dapat menyelesaikan proses masuk",
|
||||
"create-your-account": "Buat akun Anda",
|
||||
"hide-password": "Sembunyikan kata sandi",
|
||||
"incorrect-credentials": "Nama pengguna atau kata sandi salah.",
|
||||
"new-password": "Kata sandi baru",
|
||||
"repeat-new-password": "Ulangi kata sandi baru",
|
||||
"show-password": "Tampilkan kata sandi",
|
||||
"sign-in-tip": "Sudah memiliki akun?",
|
||||
"sign-up-tip": "Belum memiliki akun?",
|
||||
"admin-sign-in": "Masuk administrator",
|
||||
"admin-sign-in-tip": "Masuk dengan kata sandi tetap tersedia untuk administrator.",
|
||||
"back-to-sign-in": "Kembali ke halaman masuk",
|
||||
"continue-with": "Lanjutkan dengan {{provider}}",
|
||||
"create-admin-account": "Buat akun admin",
|
||||
"explore-public-memos": "Jelajahi memo publik pada instance ini",
|
||||
"first-run": "Jalankan pertama kali",
|
||||
"setup-description": "Buat akun administrator untuk instance ini.",
|
||||
"setup-note": "Akun ini memiliki pengaturan instance, anggota, dan penyedia identitas.",
|
||||
"setup-title": "Siapkan instance Anda",
|
||||
"signin-unavailable-description": "Masuk dengan kata sandi dimatikan dan tidak ada penyedia identitas yang dikonfigurasi. Minta administrator Anda untuk mengaktifkan metode masuk.",
|
||||
"signin-unavailable-title": "Masuk tidak tersedia",
|
||||
"signup-unavailable-description": "Akun kata sandi dimatikan dan tidak ada penyedia identitas yang dikonfigurasi. Minta administrator Anda untuk akses.",
|
||||
"signup-unavailable-title": "Pendaftaran tidak tersedia",
|
||||
"signups-closed-description": "Akun baru dinonaktifkan pada instance ini. Hubungi administrator Anda jika Anda memerlukan akses.",
|
||||
"signups-closed-title": "Pendaftaran ditutup",
|
||||
"sso-signup-tip": "Masuk dengan penyedia di bawah ini untuk membuat akun Anda.",
|
||||
"welcome-back": "Selamat datang kembali."
|
||||
"signups-closed-description": "Akun baru dinonaktifkan pada instance ini. Hubungi administrator Anda jika Anda memerlukan akses."
|
||||
},
|
||||
"common": {
|
||||
"about": "Tentang",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Impossibile completare l'accesso",
|
||||
"create-your-account": "Crea il tuo account",
|
||||
"hide-password": "Nascondi password",
|
||||
"incorrect-credentials": "Nome utente o password non corretti.",
|
||||
"new-password": "Nuova password",
|
||||
"repeat-new-password": "Ripeti la nuova password",
|
||||
"show-password": "Mostra password",
|
||||
"sign-in-tip": "Hai già un account?",
|
||||
"sign-up-tip": "Non hai ancora un account?",
|
||||
"admin-sign-in": "Accesso amministratore",
|
||||
"admin-sign-in-tip": "L'accesso tramite password rimane disponibile per gli amministratori.",
|
||||
"back-to-sign-in": "Torna alla pagina di accesso",
|
||||
"continue-with": "Continua con {{provider}}",
|
||||
"create-admin-account": "Crea un account amministratore",
|
||||
"explore-public-memos": "Esplora i memo pubblici su questa istanza",
|
||||
"first-run": "Prima esecuzione",
|
||||
"setup-description": "Crea l'account amministratore per questa istanza.",
|
||||
"setup-note": "Questo account è proprietario delle impostazioni dell'istanza, dei membri e dei provider di identità.",
|
||||
"setup-title": "Configura la tua istanza",
|
||||
"signin-unavailable-description": "L'accesso tramite password è disabilitato e non sono configurati provider di identità. Chiedi al tuo amministratore di abilitare un metodo di accesso.",
|
||||
"signin-unavailable-title": "Accesso non disponibile",
|
||||
"signup-unavailable-description": "Gli account con password sono disabilitati e non sono configurati provider di identità. Chiedi al tuo amministratore l'accesso.",
|
||||
"signup-unavailable-title": "Registrazione non disponibile",
|
||||
"signups-closed-description": "La creazione di nuovi account è disabilitata su questa istanza. Contatta il tuo amministratore se hai bisogno di accedere.",
|
||||
"signups-closed-title": "Le iscrizioni sono chiuse",
|
||||
"sso-signup-tip": "Accedi con un provider qui sotto per creare il tuo account.",
|
||||
"welcome-back": "Bentornato."
|
||||
"signups-closed-description": "La creazione di nuovi account è disabilitata su questa istanza. Contatta il tuo amministratore se hai bisogno di accedere."
|
||||
},
|
||||
"common": {
|
||||
"about": "Informazioni",
|
||||
|
||||
+5
-10
@@ -22,28 +22,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "管理者サインイン",
|
||||
"admin-sign-in-tip": "管理者はパスワードでのサインインを引き続き利用できます。",
|
||||
"back-to-sign-in": "サインインに戻る",
|
||||
"callback-failed-title": "サインインを完了できませんでした",
|
||||
"continue-with": "{{provider}}で続行",
|
||||
"create-admin-account": "管理者アカウントを作成",
|
||||
"create-your-account": "アカウントを作成",
|
||||
"explore-public-memos": "このインスタンスの公開メモを見る",
|
||||
"first-run": "初回起動",
|
||||
"hide-password": "パスワードを隠す",
|
||||
"incorrect-credentials": "ユーザーネームまたはパスワードが正しくありません。",
|
||||
"new-password": "新しいパスワード",
|
||||
"repeat-new-password": "新しいパスワードを再入力",
|
||||
"setup-description": "このインスタンスの管理者アカウントを作成します。",
|
||||
"setup-note": "このアカウントはインスタンスの設定、メンバー、IDプロバイダーを管理します。",
|
||||
"setup-title": "インスタンスをセットアップ",
|
||||
"show-password": "パスワードを表示",
|
||||
"sign-in-tip": "すでにアカウントを持っていますか?",
|
||||
"sign-up-tip": "アカウントを持っていませんか?",
|
||||
"signin-unavailable-description": "パスワードでのサインインが無効になっており、IDプロバイダーも設定されていません。サインイン方法を有効にするよう管理者に依頼してください。",
|
||||
"signin-unavailable-title": "サインインは利用できません",
|
||||
"signup-unavailable-description": "パスワードアカウントが無効になっており、IDプロバイダーも設定されていません。アクセスが必要な場合は管理者にお問い合わせください。",
|
||||
"signup-unavailable-title": "登録は利用できません",
|
||||
"signups-closed-description": "このインスタンスでは新規アカウントの作成が無効になっています。アクセスが必要な場合は管理者にお問い合わせください。",
|
||||
"signups-closed-title": "新規登録は受け付けていません",
|
||||
"sso-signup-tip": "以下のプロバイダーでサインインしてアカウントを作成してください。",
|
||||
"welcome-back": "おかえりなさい。"
|
||||
"signups-closed-description": "このインスタンスでは新規アカウントの作成が無効になっています。アクセスが必要な場合は管理者にお問い合わせください。"
|
||||
},
|
||||
"common": {
|
||||
"about": "Memos について",
|
||||
|
||||
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "შესვლის დასრულება ვერ მოხერხდა",
|
||||
"create-your-account": "შექმენით თქვენი ანგარიში",
|
||||
"hide-password": "პაროლის დამალვა",
|
||||
"incorrect-credentials": "მომხმარებლის სახელი ან პაროლი არასწორია.",
|
||||
"new-password": "ახალი პაროლი",
|
||||
"repeat-new-password": "გაიმეორეთ ახალი პაროლი",
|
||||
"show-password": "პაროლის ჩვენება",
|
||||
"sign-in-tip": "დაქვემდებარებული გაქვთ ანგარიში?",
|
||||
"sign-up-tip": "ჯერ არ გაქვთ ანგარიში?",
|
||||
"admin-sign-in": "ადმინისტრატორის შესვლა",
|
||||
"admin-sign-in-tip": "პაროლით შესვლა ადმინისტრატორებისთვის ხელმისაწვდომი რჩება.",
|
||||
"back-to-sign-in": "დაბრუნება შესვლაზე",
|
||||
"continue-with": "გაგრძელება {{provider}}-ით",
|
||||
"create-admin-account": "ადმინისტრატორის ანგარიშის შექმნა",
|
||||
"explore-public-memos": "ამ ინსტანციის საჯარო შეტყობინებების დათვალიერება",
|
||||
"first-run": "პირველი გაშვება",
|
||||
"setup-description": "ამ ინსტანციისთვის ადმინისტრატორის ანგარიშის შექმნა.",
|
||||
"setup-note": "ამ ანგარიშს აქვს ინსტანციის პარამეტრები, წევრები და იდენტიფიკაციის პროვაიდერები.",
|
||||
"setup-title": "თქვენი ინსტანციის დაყენება",
|
||||
"signin-unavailable-description": "პაროლით შესვლა გამორთულია და იდენტიფიკაციის პროვაიდერები არ არის კონფიგურირებული. სთხოვეთ თქვენს ადმინისტრატორს ჩართოს შესვლის მეთოდი.",
|
||||
"signin-unavailable-title": "შესვლა მიუწვდომელია",
|
||||
"signup-unavailable-description": "პაროლით ანგარიშები გამორთულია და იდენტიფიკაციის პროვაიდერები არ არის კონფიგურირებული. სთხოვეთ თქვენს ადმინისტრატორს წვდომა.",
|
||||
"signup-unavailable-title": "რეგისტრაცია მიუწვდომელია",
|
||||
"signups-closed-description": "ამ ინსტანციაში ახალი ანგარიშები გამორთულია. თუ წვდომა გჭირდებათ, დაუკავშირდით თქვენს ადმინისტრატორს.",
|
||||
"signups-closed-title": "რეგისტრაცია დასრულებულია",
|
||||
"sso-signup-tip": "ანგარიშის შესაქმნელად შედით ქვემოთ მოცემული პროვაიდერის მეშვეობით.",
|
||||
"welcome-back": "კეთილი იყოს თქვენი დაბრუნება."
|
||||
"signups-closed-description": "ამ ინსტანციაში ახალი ანგარიშები გამორთულია. თუ წვდომა გჭირდებათ, დაუკავშირდით თქვენს ადმინისტრატორს."
|
||||
},
|
||||
"common": {
|
||||
"about": "შესახებ",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "로그인을 완료하지 못했습니다",
|
||||
"create-your-account": "계정 만들기",
|
||||
"hide-password": "비밀번호 숨기기",
|
||||
"incorrect-credentials": "사용자 이름 또는 비밀번호가 올바르지 않습니다.",
|
||||
"new-password": "새 비밀번호",
|
||||
"repeat-new-password": "새 비밀번호 재확인",
|
||||
"show-password": "비밀번호 표시",
|
||||
"sign-in-tip": "이미 계정이 있으신가요?",
|
||||
"sign-up-tip": "아직 계정이 없으신가요?",
|
||||
"admin-sign-in": "관리자 로그인",
|
||||
"admin-sign-in-tip": "관리자는 비밀번호 로그인을 계속 사용할 수 있습니다.",
|
||||
"back-to-sign-in": "로그인으로 돌아가기",
|
||||
"continue-with": "{{provider}}으로 계속 진행",
|
||||
"create-admin-account": "관리자 계정 생성",
|
||||
"explore-public-memos": "이 인스턴스의 공개 메모 보기",
|
||||
"first-run": "첫 실행",
|
||||
"setup-description": "이 인스턴스의 관리자 계정을 생성합니다.",
|
||||
"setup-note": "이 계정은 인스턴스 설정, 멤버 및 ID 공급자를 소유합니다.",
|
||||
"setup-title": "인스턴스 설정",
|
||||
"signin-unavailable-description": "암호 로그인이 비활성화되어 있고 ID 공급자가 구성되어 있지 않습니다. 관리자에게 로그인 방법을 활성화하도록 요청하십시오.",
|
||||
"signin-unavailable-title": "로그인할 수 없습니다.",
|
||||
"signup-unavailable-description": "암호 계정이 비활성화되어 있고 ID 공급자가 구성되어 있지 않습니다. 관리자에게 액세스 권한을 요청하십시오.",
|
||||
"signup-unavailable-title": "가입할 수 없습니다.",
|
||||
"signups-closed-description": "이 인스턴스에서 새 계정이 비활성화되어 있습니다. 액세스가 필요한 경우 관리자에게 문의하십시오.",
|
||||
"signups-closed-title": "가입이 마감되었습니다.",
|
||||
"sso-signup-tip": "아래 제공업체로 로그인하여 계정을 만드세요.",
|
||||
"welcome-back": "다시 오신 것을 환영합니다."
|
||||
"signups-closed-description": "이 인스턴스에서 새 계정이 비활성화되어 있습니다. 액세스가 필요한 경우 관리자에게 문의하십시오."
|
||||
},
|
||||
"common": {
|
||||
"about": "정보",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "„Chrome“ + „Firefox“"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Nepavyko užbaigti prisijungimo",
|
||||
"create-your-account": "Susikurkite paskyrą",
|
||||
"hide-password": "Slėpti slaptažodį",
|
||||
"incorrect-credentials": "Neteisingas naudotojo vardas arba slaptažodis.",
|
||||
"new-password": "Naujas slaptažodis",
|
||||
"repeat-new-password": "Pakartokite naują slaptažodį",
|
||||
"show-password": "Rodyti slaptažodį",
|
||||
"sign-in-tip": "Jau turite paskyrą?",
|
||||
"sign-up-tip": "Dar neturite paskyros?",
|
||||
"admin-sign-in": "Administratoriaus prisijungimas",
|
||||
"admin-sign-in-tip": "Administratoriai gali prisijungti naudodami slaptažodį.",
|
||||
"back-to-sign-in": "Grįžti prie prisijungimo",
|
||||
"continue-with": "Tęsti su {{provider}}",
|
||||
"create-admin-account": "Sukurti administratoriaus paskyrą",
|
||||
"explore-public-memos": "Naršyti viešus pranešimus šioje instancijoje",
|
||||
"first-run": "Pirmas paleidimas",
|
||||
"setup-description": "Sukurti administratoriaus paskyrą šiai instancijai.",
|
||||
"setup-note": "Šiai paskyrai priklauso instancijos nustatymai, nariai ir tapatybės teikėjai.",
|
||||
"setup-title": "Nustatyti savo instanciją",
|
||||
"signin-unavailable-description": "Prisijungimas slaptažodžiu išjungtas ir nesukonfigūruoti jokie tapatybės teikėjai. Paprašykite administratoriaus įjungti prisijungimo metodą.",
|
||||
"signin-unavailable-title": "Prisijungimas negalimas",
|
||||
"signup-unavailable-description": "Slaptažodžio paskyros išjungtos ir nesukonfigūruoti jokie tapatybės teikėjai. Paprašykite administratoriaus prieigos.",
|
||||
"signup-unavailable-title": "Registracija negalima",
|
||||
"signups-closed-description": "Naujos paskyros šioje instancijoje išjungtos. Jei reikia prieigos, susisiekite su administratoriumi.",
|
||||
"signups-closed-title": "Registracija baigta",
|
||||
"sso-signup-tip": "Prisijunkite naudodami toliau nurodytą tiekėją, kad sukurtumėte paskyrą.",
|
||||
"welcome-back": "Sveiki sugrįžę."
|
||||
"signups-closed-description": "Naujos paskyros šioje instancijoje išjungtos. Jei reikia prieigos, susisiekite su administratoriumi."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Pakeitimai yra laikini ir gali būti nustatyti iš naujo.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Pieteikšanos neizdevās pabeigt",
|
||||
"create-your-account": "Izveidojiet savu kontu",
|
||||
"hide-password": "Slēpt paroli",
|
||||
"incorrect-credentials": "Nepareizs lietotājvārds vai parole.",
|
||||
"new-password": "Jauna parole",
|
||||
"repeat-new-password": "Atkārtojiet jauno paroli",
|
||||
"show-password": "Rādīt paroli",
|
||||
"sign-in-tip": "Vai jums jau ir konts?",
|
||||
"sign-up-tip": "Vai jums vēl nav konta?",
|
||||
"admin-sign-in": "Administratora pieteikšanās",
|
||||
"admin-sign-in-tip": "Administratoriem joprojām ir pieejama pieteikšanās ar paroli.",
|
||||
"back-to-sign-in": "Atpakaļ, lai pierakstītos",
|
||||
"continue-with": "Turpināt ar {{provider}}",
|
||||
"create-admin-account": "Izveidot administratora kontu",
|
||||
"explore-public-memos": "Izpētīt publiskās piezīmes šajā instancē",
|
||||
"first-run": "Pirmā palaišana",
|
||||
"setup-description": "Izveidojiet administratora kontu šai instancei.",
|
||||
"setup-note": "Šim kontam pieder instances iestatījumi, dalībnieki un identitātes nodrošinātāji.",
|
||||
"setup-title": "Iestatiet savu instanci",
|
||||
"signin-unavailable-description": "Paroles pierakstīšanās ir izslēgta, un nav konfigurēti identitātes nodrošinātāji. Lūdziet administratoram iespējot pierakstīšanās metodi.",
|
||||
"signin-unavailable-title": "Pierakstīšanās nav pieejama",
|
||||
"signup-unavailable-description": "Paroles konti ir izslēgti, un nav konfigurēti identitātes nodrošinātāji. Lūdziet administratoram piekļuvi.",
|
||||
"signup-unavailable-title": "Reģistrēšanās nav pieejama",
|
||||
"signups-closed-description": "Šajā instancē ir atspējoti jauni konti. Ja nepieciešama piekļuve, sazinieties ar administratoru.",
|
||||
"signups-closed-title": "Reģistrācija ir slēgta",
|
||||
"sso-signup-tip": "Pierakstieties, izmantojot tālāk norādīto pakalpojumu sniedzēju, lai izveidotu savu kontu.",
|
||||
"welcome-back": "Laipni lūdzam atpakaļ."
|
||||
"signups-closed-description": "Šajā instancē ir atspējoti jauni konti. Ja nepieciešama piekļuve, sazinieties ar administratoru."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Izmaiņas ir īslaicīgas un var tikt atiestatītas.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "क्रोम + फायरफॉक्स"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "साइन इन पूर्ण होऊ शकले नाही",
|
||||
"create-your-account": "तुमचे खाते तयार करा",
|
||||
"hide-password": "पासवर्ड लपवा",
|
||||
"incorrect-credentials": "वापरकर्तानाव किंवा पासवर्ड चुकीचा आहे.",
|
||||
"new-password": "नवीन पासवर्ड",
|
||||
"repeat-new-password": "नवीन पासवर्डची पुनरावृत्ती करा",
|
||||
"show-password": "पासवर्ड दाखवा",
|
||||
"sign-in-tip": "आधीपासूनच एक खाते आहे?",
|
||||
"sign-up-tip": "अजून खाते नाही?",
|
||||
"admin-sign-in": "प्रशासक साइन-इन",
|
||||
"admin-sign-in-tip": "प्रशासकांसाठी पासवर्ड साइन-इन उपलब्ध राहते.",
|
||||
"back-to-sign-in": "साइन इन वर परत जा",
|
||||
"continue-with": "{{provider}} सह सुरू ठेवा",
|
||||
"create-admin-account": "प्रशासक खाते तयार करा",
|
||||
"explore-public-memos": "या इन्स्टन्सवरील सार्वजनिक मेमो तपासा",
|
||||
"first-run": "प्रथम रन",
|
||||
"setup-description": "या इन्स्टन्ससाठी प्रशासक खाते तयार करा.",
|
||||
"setup-note": "हे खाते इन्स्टन्स सेटिंग्ज, सदस्य आणि आयडेंटिटी प्रोव्हायडर्सचे मालक आहे.",
|
||||
"setup-title": "तुमचा इन्स्टन्स सेट अप करा",
|
||||
"signin-unavailable-description": "पासवर्ड साइन-इन बंद आहे आणि कोणतेही आयडेंटिटी प्रोव्हायडर्स कॉन्फिगर केलेले नाहीत. साइन-इन पद्धत सक्षम करण्यासाठी तुमच्या प्रशासकाशी संपर्क साधा.",
|
||||
"signin-unavailable-title": "साइन-इन उपलब्ध नाही",
|
||||
"signup-unavailable-description": "पासवर्ड खाती बंद आहेत आणि कोणतेही आयडेंटिटी प्रोव्हायडर्स कॉन्फिगर केलेले नाहीत. प्रवेशासाठी तुमच्या प्रशासकाशी संपर्क साधा.",
|
||||
"signup-unavailable-title": "साइन-अप उपलब्ध नाही",
|
||||
"signups-closed-description": "या इन्स्टन्सवर नवीन खाती अक्षम केली आहेत. तुम्हाला प्रवेशाची आवश्यकता असल्यास तुमच्या प्रशासकाशी संपर्क साधा.",
|
||||
"signups-closed-title": "नोंदणी बंद झाली आहे",
|
||||
"sso-signup-tip": "आपले खाते तयार करण्यासाठी खालीलपैकी एका प्रदात्याद्वारे साइन इन करा.",
|
||||
"welcome-back": "आपले पुन्हा स्वागत आहे."
|
||||
"signups-closed-description": "या इन्स्टन्सवर नवीन खाती अक्षम केली आहेत. तुम्हाला प्रवेशाची आवश्यकता असल्यास तुमच्या प्रशासकाशी संपर्क साधा."
|
||||
},
|
||||
"common": {
|
||||
"about": "बद्दल",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Kunne ikke fullføre innloggingen",
|
||||
"create-your-account": "Opprett konto",
|
||||
"hide-password": "Skjul passord",
|
||||
"incorrect-credentials": "Feil brukernavn eller passord.",
|
||||
"new-password": "Nytt passord",
|
||||
"repeat-new-password": "Gjenta det nye passordet",
|
||||
"show-password": "Vis passord",
|
||||
"sign-in-tip": "Har du allerede en konto?",
|
||||
"sign-up-tip": "Har du ikke en konto enda?",
|
||||
"admin-sign-in": "Administratorpålogging",
|
||||
"admin-sign-in-tip": "Passordpålogging forblir tilgjengelig for administratorer.",
|
||||
"back-to-sign-in": "Tilbake til pålogging",
|
||||
"continue-with": "Fortsett med {{provider}}",
|
||||
"create-admin-account": "Opprett administratorkonto",
|
||||
"explore-public-memos": "Utforsk offentlige notater på denne instansen",
|
||||
"first-run": "Første kjøring",
|
||||
"setup-description": "Opprett administratorkontoen for denne instansen.",
|
||||
"setup-note": "Denne kontoen eier instansinnstillinger, medlemmer og identitetsleverandører.",
|
||||
"setup-title": "Konfigurer instansen din",
|
||||
"signin-unavailable-description": "Passordpålogging er slått av, og ingen identitetsleverandører er konfigurert. Be administratoren din om å aktivere en påloggingsmetode.",
|
||||
"signin-unavailable-title": "Pålogging er ikke tilgjengelig",
|
||||
"signup-unavailable-description": "Passordkontoer er slått av, og ingen identitetsleverandører er konfigurert. Be administratoren din om tilgang.",
|
||||
"signup-unavailable-title": "Registrering er ikke tilgjengelig",
|
||||
"signups-closed-description": "Nye kontoer er deaktivert på denne instansen. Kontakt administratoren din hvis du trenger tilgang.",
|
||||
"signups-closed-title": "Registreringer er stengt",
|
||||
"sso-signup-tip": "Logg inn med en leverandør nedenfor for å opprette kontoen din.",
|
||||
"welcome-back": "Velkommen tilbake."
|
||||
"signups-closed-description": "Nye kontoer er deaktivert på denne instansen. Kontakt administratoren din hvis du trenger tilgang."
|
||||
},
|
||||
"common": {
|
||||
"about": "Om",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Inloggen kon niet worden voltooid",
|
||||
"create-your-account": "Maak je account",
|
||||
"hide-password": "Wachtwoord verbergen",
|
||||
"incorrect-credentials": "Onjuiste gebruikersnaam of onjuist wachtwoord.",
|
||||
"new-password": "Nieuw wachtwoord",
|
||||
"repeat-new-password": "Nieuw wachtwoord herhalen",
|
||||
"show-password": "Wachtwoord tonen",
|
||||
"sign-in-tip": "Al een account?",
|
||||
"sign-up-tip": "Nog geen account?",
|
||||
"admin-sign-in": "Aanmelden als beheerder",
|
||||
"admin-sign-in-tip": "Aanmelden met wachtwoord blijft beschikbaar voor beheerders.",
|
||||
"back-to-sign-in": "Terug naar aanmelden",
|
||||
"continue-with": "Doorgaan met {{provider}}",
|
||||
"create-admin-account": "Beheerdersaccount aanmaken",
|
||||
"explore-public-memos": "Openbare memo's op deze instantie bekijken",
|
||||
"first-run": "Eerste keer uitvoeren",
|
||||
"setup-description": "Maak het beheerdersaccount voor deze instantie aan.",
|
||||
"setup-note": "Dit account beheert de instantie-instellingen, leden en identiteitsproviders.",
|
||||
"setup-title": "Stel uw instantie in",
|
||||
"signin-unavailable-description": "Aanmelden met wachtwoord is uitgeschakeld en er zijn geen identiteitsproviders geconfigureerd. Vraag uw beheerder om een aanmeldmethode in te schakelen.",
|
||||
"signin-unavailable-title": "Aanmelden is niet beschikbaar",
|
||||
"signup-unavailable-description": "Wachtwoordaccounts zijn uitgeschakeld en er zijn geen identiteitsproviders geconfigureerd. Vraag uw beheerder om toegang.",
|
||||
"signup-unavailable-title": "Registreren is niet beschikbaar",
|
||||
"signups-closed-description": "Nieuwe accounts zijn uitgeschakeld op deze instantie. Neem contact op met uw beheerder als u toegang nodig hebt.",
|
||||
"signups-closed-title": "Aanmelden is gesloten",
|
||||
"sso-signup-tip": "Meld u hieronder aan met een provider om uw account aan te maken.",
|
||||
"welcome-back": "Welkom terug."
|
||||
"signups-closed-description": "Nieuwe accounts zijn uitgeschakeld op deze instantie. Neem contact op met uw beheerder als u toegang nodig hebt."
|
||||
},
|
||||
"common": {
|
||||
"about": "Over",
|
||||
|
||||
+5
-10
@@ -88,28 +88,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "Administratorinnlogging",
|
||||
"admin-sign-in-tip": "Administratorar kan framleis logge inn med passord.",
|
||||
"back-to-sign-in": "Attende til innlogging",
|
||||
"callback-failed-title": "Kunne ikkje fullføre innlogginga",
|
||||
"continue-with": "Hald fram med {{provider}}",
|
||||
"create-admin-account": "Opprett administratorkonto",
|
||||
"create-your-account": "Opprett kontoen din",
|
||||
"explore-public-memos": "Utforsk offentlege notat på denne instansen",
|
||||
"first-run": "Fyrste oppstart",
|
||||
"hide-password": "Skjul passord",
|
||||
"incorrect-credentials": "Feil brukarnamn eller passord.",
|
||||
"new-password": "Nytt passord",
|
||||
"repeat-new-password": "Skriv det nye passordet ein gong til",
|
||||
"setup-description": "Opprett administratorkontoen for denne instansen.",
|
||||
"setup-note": "Denne kontoen rår over instansinnstillingar, medlemer og identitetstilbydarar.",
|
||||
"setup-title": "Set opp instansen din",
|
||||
"show-password": "Vis passord",
|
||||
"sign-in-tip": "Har du alt ein konto?",
|
||||
"sign-up-tip": "Har du ikkje konto enno?",
|
||||
"signin-unavailable-description": "Passordinnlogging er slått av, og ingen identitetstilbydarar er sette opp. Be administratoren din om å slå på ein innloggingsmåte.",
|
||||
"signin-unavailable-title": "Innlogging er ikkje tilgjengeleg",
|
||||
"signup-unavailable-description": "Passordkontoar er slått av, og ingen identitetstilbydarar er sette opp. Be administratoren din om åtgang.",
|
||||
"signup-unavailable-title": "Registrering er ikkje tilgjengeleg",
|
||||
"signups-closed-description": "Nye kontoar er ikkje tillatne på denne instansen. Ta kontakt med administratoren din dersom du treng åtgang.",
|
||||
"signups-closed-title": "Registreringa er stengd",
|
||||
"sso-signup-tip": "Logg inn med ein tilbydar nedanfor for å opprette kontoen din.",
|
||||
"welcome-back": "Velkomen attende."
|
||||
"signups-closed-description": "Nye kontoar er ikkje tillatne på denne instansen. Ta kontakt med administratoren din dersom du treng åtgang."
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "Nytt notat på denne dagen",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Nie udało się dokończyć logowania",
|
||||
"create-your-account": "Utwórz konto",
|
||||
"hide-password": "Ukryj hasło",
|
||||
"incorrect-credentials": "Nieprawidłowa nazwa użytkownika lub hasło.",
|
||||
"new-password": "Nowe hasło",
|
||||
"repeat-new-password": "Powtórz nowe hasło",
|
||||
"show-password": "Pokaż hasło",
|
||||
"sign-in-tip": "Masz już konto?",
|
||||
"sign-up-tip": "Nie masz jeszcze konta?",
|
||||
"admin-sign-in": "Logowanie administratora",
|
||||
"admin-sign-in-tip": "Logowanie za pomocą hasła pozostaje dostępne dla administratorów.",
|
||||
"back-to-sign-in": "Powrót do logowania",
|
||||
"continue-with": "Kontynuuj z {{provider}}",
|
||||
"create-admin-account": "Utwórz konto administratora",
|
||||
"explore-public-memos": "Przeglądaj publiczne notatki dotyczące tej instancji",
|
||||
"first-run": "Pierwsze uruchomienie",
|
||||
"setup-description": "Utwórz konto administratora dla tej instancji.",
|
||||
"setup-note": "To konto jest właścicielem ustawień instancji, członków i dostawców tożsamości.",
|
||||
"setup-title": "Skonfiguruj swoją instancję",
|
||||
"signin-unavailable-description": "Logowanie za pomocą hasła jest wyłączone i nie skonfigurowano żadnych dostawców tożsamości. Poproś administratora o włączenie metody logowania.",
|
||||
"signin-unavailable-title": "Logowanie jest niedostępne",
|
||||
"signup-unavailable-description": "Konta haseł są wyłączone i nie skonfigurowano żadnych dostawców tożsamości. Poproś administratora o dostęp.",
|
||||
"signup-unavailable-title": "Rejestracja jest niedostępna",
|
||||
"signups-closed-description": "Nowe konta są wyłączone w tej instancji. Skontaktuj się z administratorem, jeśli potrzebujesz dostępu.",
|
||||
"signups-closed-title": "Rejestracja zamknięta",
|
||||
"sso-signup-tip": "Zaloguj się u dostawcy poniżej, aby utworzyć konto.",
|
||||
"welcome-back": "Witamy ponownie."
|
||||
"signups-closed-description": "Nowe konta są wyłączone w tej instancji. Skontaktuj się z administratorem, jeśli potrzebujesz dostępu."
|
||||
},
|
||||
"common": {
|
||||
"about": "O nas",
|
||||
|
||||
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Não foi possível concluir o login",
|
||||
"create-your-account": "Crie sua conta",
|
||||
"hide-password": "Ocultar senha",
|
||||
"incorrect-credentials": "Nome de usuário ou senha incorretos.",
|
||||
"new-password": "Nova senha",
|
||||
"repeat-new-password": "Repita a nova senha",
|
||||
"show-password": "Mostrar senha",
|
||||
"sign-in-tip": "Já tem uma conta?",
|
||||
"sign-up-tip": "Ainda não tem uma conta?",
|
||||
"admin-sign-in": "Login de administrador",
|
||||
"admin-sign-in-tip": "O login com senha permanece disponível para administradores.",
|
||||
"back-to-sign-in": "Voltar para fazer login",
|
||||
"continue-with": "Continuar com {{provider}}",
|
||||
"create-admin-account": "Criar conta de administrador",
|
||||
"explore-public-memos": "Explorar memorandos públicos nesta instância",
|
||||
"first-run": "Primeira execução",
|
||||
"setup-description": "Criar a conta de administrador para esta instância.",
|
||||
"setup-note": "Esta conta é proprietária das configurações da instância, dos membros e dos provedores de identidade.",
|
||||
"setup-title": "Configurar sua instância",
|
||||
"signin-unavailable-description": "O login com senha está desativado e nenhum provedor de identidade está configurado. Peça ao seu administrador para habilitar um método de login.",
|
||||
"signin-unavailable-title": "O login não está disponível",
|
||||
"signup-unavailable-description": "As contas com senha estão desativadas e nenhum provedor de identidade está configurado. Solicite acesso ao seu administrador.",
|
||||
"signup-unavailable-title": "O cadastro não está disponível",
|
||||
"signups-closed-description": "Novas contas estão desativadas nesta instância. Entre em contato com seu administrador se precisar de acesso.",
|
||||
"signups-closed-title": "Os cadastros estão encerrados",
|
||||
"sso-signup-tip": "Faça login com um provedor abaixo para criar sua conta.",
|
||||
"welcome-back": "Bem-vindo(a) de volta."
|
||||
"signups-closed-description": "Novas contas estão desativadas nesta instância. Entre em contato com seu administrador se precisar de acesso."
|
||||
},
|
||||
"common": {
|
||||
"about": "Sobre",
|
||||
|
||||
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Não foi possível concluir o início de sessão",
|
||||
"create-your-account": "Crie a sua conta",
|
||||
"hide-password": "Ocultar palavra-passe",
|
||||
"incorrect-credentials": "Nome de utilizador ou palavra-passe incorretos.",
|
||||
"new-password": "Nova palavra-passe",
|
||||
"repeat-new-password": "Repita a nova palavra-passe",
|
||||
"show-password": "Mostrar palavra-passe",
|
||||
"sign-in-tip": "Já tem uma conta?",
|
||||
"sign-up-tip": "Ainda não tem uma conta?",
|
||||
"admin-sign-in": "Login de administrador",
|
||||
"admin-sign-in-tip": "O login com palavra-passe continua disponível para os administradores.",
|
||||
"back-to-sign-in": "Voltar para iniciar sessão",
|
||||
"continue-with": "Continuar com {{provider}}",
|
||||
"create-admin-account": "Criar conta de administrador",
|
||||
"explore-public-memos": "Explorar memorandos públicos nesta instância",
|
||||
"first-run": "Primeira execução",
|
||||
"setup-description": "Criar a conta de administrador para esta instância.",
|
||||
"setup-note": "Esta conta é proprietária das definições da instância, dos membros e dos fornecedores de identidade.",
|
||||
"setup-title": "Configurar a sua instância",
|
||||
"signin-unavailable-description": "O login com palavra-passe está desativado e não está configurado nenhum fornecedor de identidade. Peça ao seu administrador para ativar um método de início de sessão.",
|
||||
"signin-unavailable-title": "O login não está disponível",
|
||||
"signup-unavailable-description": "As contas com palavra-passe estão desativadas e não está configurado nenhum fornecedor de identidade. Solicite o acesso ao seu administrador.",
|
||||
"signup-unavailable-title": "O registo não está disponível",
|
||||
"signups-closed-description": "As novas contas estão desativadas nesta instância. Contacte o seu administrador se precisar de acesso.",
|
||||
"signups-closed-title": "Os registos estão encerrados",
|
||||
"sso-signup-tip": "Inicie sessão com um fornecedor abaixo para criar a sua conta.",
|
||||
"welcome-back": "Bem-vindo(a) de volta."
|
||||
"signups-closed-description": "As novas contas estão desativadas nesta instância. Contacte o seu administrador se precisar de acesso."
|
||||
},
|
||||
"common": {
|
||||
"about": "Sobre",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Autentificarea nu a putut fi finalizată",
|
||||
"create-your-account": "Creați-vă contul",
|
||||
"hide-password": "Ascunde parola",
|
||||
"incorrect-credentials": "Nume de utilizator sau parolă incorectă.",
|
||||
"new-password": "Parolă Nouă",
|
||||
"repeat-new-password": "Repetați noua parolă",
|
||||
"show-password": "Afișează parola",
|
||||
"sign-in-tip": "Aveți deja un cont?",
|
||||
"sign-up-tip": "Nu aveți încă un cont?",
|
||||
"admin-sign-in": "Conectare administrator",
|
||||
"admin-sign-in-tip": "Conectarea cu parolă rămâne disponibilă pentru administratori.",
|
||||
"back-to-sign-in": "Înapoi la conectare",
|
||||
"continue-with": "Continuați cu {{provider}}",
|
||||
"create-admin-account": "Creați cont de administrator",
|
||||
"explore-public-memos": "Explorați notițele publice pe această instanță",
|
||||
"first-run": "Prima rulare",
|
||||
"setup-description": "Creați contul de administrator pentru această instanță.",
|
||||
"setup-note": "Acest cont deține setările instanței, membrii și furnizorii de identitate.",
|
||||
"setup-title": "Configurați instanța",
|
||||
"signin-unavailable-description": "Conectarea prin parolă este dezactivată și nu sunt configurați furnizori de identitate. Solicitați administratorului să activeze o metodă de conectare.",
|
||||
"signin-unavailable-title": "Conectarea nu este disponibilă",
|
||||
"signup-unavailable-description": "Conturile cu parolă sunt dezactivate și nu sunt configurați furnizori de identitate. Solicitați administratorului acces.",
|
||||
"signup-unavailable-title": "Înregistrarea nu este disponibilă",
|
||||
"signups-closed-description": "Conturile noi sunt dezactivate pe această instanță. Contactați administratorul dacă aveți nevoie de acces.",
|
||||
"signups-closed-title": "Înscrierile sunt închise",
|
||||
"sso-signup-tip": "Conectați-vă cu un furnizor de mai jos pentru a vă crea contul.",
|
||||
"welcome-back": "Bine ați revenit."
|
||||
"signups-closed-description": "Conturile noi sunt dezactivate pe această instanță. Contactați administratorul dacă aveți nevoie de acces."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Modificările sunt temporare și pot fi resetate.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Не удалось завершить вход",
|
||||
"create-your-account": "Создание учетной записи",
|
||||
"hide-password": "Скрыть пароль",
|
||||
"incorrect-credentials": "Неверное имя пользователя или пароль.",
|
||||
"new-password": "Новый пароль",
|
||||
"repeat-new-password": "Повторить новый пароль",
|
||||
"show-password": "Показать пароль",
|
||||
"sign-in-tip": "У вас уже есть учетная запись?",
|
||||
"sign-up-tip": "У вас еще нет учетной записи?",
|
||||
"admin-sign-in": "Вход для администратора",
|
||||
"admin-sign-in-tip": "Вход по паролю остаётся доступным для администраторов.",
|
||||
"back-to-sign-in": "Назад ко входу",
|
||||
"continue-with": "Продолжить через {{provider}}",
|
||||
"create-admin-account": "Создать учётную запись администратора",
|
||||
"explore-public-memos": "Просмотреть публичные заметки на этом сервере",
|
||||
"first-run": "Первый запуск",
|
||||
"setup-description": "Создайте учётную запись администратора этого сервера.",
|
||||
"setup-note": "Эта учётная запись управляет настройками сервера, участниками и поставщиками удостоверений.",
|
||||
"setup-title": "Настройка сервера",
|
||||
"signin-unavailable-description": "Вход по паролю отключён, а поставщики удостоверений не настроены. Попросите администратора включить способ входа.",
|
||||
"signin-unavailable-title": "Вход недоступен",
|
||||
"signup-unavailable-description": "Учётные записи с паролем отключены, а поставщики удостоверений не настроены. Обратитесь к администратору для получения доступа.",
|
||||
"signup-unavailable-title": "Регистрация недоступна",
|
||||
"signups-closed-description": "Создание новых учётных записей на этом сервере отключено. Если вам нужен доступ, обратитесь к администратору.",
|
||||
"signups-closed-title": "Регистрация закрыта",
|
||||
"sso-signup-tip": "Войдите через одного из указанных ниже поставщиков, чтобы создать учётную запись.",
|
||||
"welcome-back": "С возвращением."
|
||||
"signups-closed-description": "Создание новых учётных записей на этом сервере отключено. Если вам нужен доступ, обратитесь к администратору."
|
||||
},
|
||||
"common": {
|
||||
"about": "О Memos",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Prihlásenie sa nepodarilo dokončiť",
|
||||
"create-your-account": "Vytvorte si účet",
|
||||
"hide-password": "Skryť heslo",
|
||||
"incorrect-credentials": "Nesprávne používateľské meno alebo heslo.",
|
||||
"new-password": "Nové heslo",
|
||||
"repeat-new-password": "Zopakujte nové heslo",
|
||||
"show-password": "Zobraziť heslo",
|
||||
"sign-in-tip": "Už máte účet?",
|
||||
"sign-up-tip": "Ešte nemáte účet?",
|
||||
"admin-sign-in": "Prihlásenie správcu",
|
||||
"admin-sign-in-tip": "Prihlásenie heslom zostáva pre správcov k dispozícii.",
|
||||
"back-to-sign-in": "Späť na prihlásenie",
|
||||
"continue-with": "Pokračovať s {{provider}}",
|
||||
"create-admin-account": "Vytvoriť administrátorský účet",
|
||||
"explore-public-memos": "Preskúmať verejné poznámky v tejto inštancii",
|
||||
"first-run": "Prvé spustenie",
|
||||
"setup-description": "Vytvoriť administrátorský účet pre túto inštanciu.",
|
||||
"setup-note": "Tento účet vlastní nastavenia inštancie, členov a poskytovateľov identít.",
|
||||
"setup-title": "Nastavte si inštanciu",
|
||||
"signin-unavailable-description": "Prihlásenie heslom je vypnuté a nie sú nakonfigurovaní žiadni poskytovatelia identít. Požiadajte svojho administrátora o povolenie metódy prihlásenia.",
|
||||
"signin-unavailable-title": "Prihlásenie nie je k dispozícii",
|
||||
"signup-unavailable-description": "Účty s heslom sú vypnuté a nie sú nakonfigurovaní žiadni poskytovatelia identít. Požiadajte svojho administrátora o prístup.",
|
||||
"signup-unavailable-title": "Registrácia nie je k dispozícii",
|
||||
"signups-closed-description": "Nové účty sú v tejto inštancii zakázané. Ak potrebujete prístup, kontaktujte svojho administrátora.",
|
||||
"signups-closed-title": "Registrácie sú uzavreté",
|
||||
"sso-signup-tip": "Prihláste sa pomocou poskytovateľa nižšie a vytvorte si účet.",
|
||||
"welcome-back": "Vitajte späť."
|
||||
"signups-closed-description": "Nové účty sú v tejto inštancii zakázané. Ak potrebujete prístup, kontaktujte svojho administrátora."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Zmeny sú dočasné a možno ich resetovať.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Prijave ni bilo mogoče dokončati",
|
||||
"create-your-account": "Ustvari nov račun",
|
||||
"hide-password": "Skrij geslo",
|
||||
"incorrect-credentials": "Napačno uporabniško ime ali geslo.",
|
||||
"new-password": "Novo geslo",
|
||||
"repeat-new-password": "Ponovi novo geslo",
|
||||
"show-password": "Pokaži geslo",
|
||||
"sign-in-tip": "Že imaš račun?",
|
||||
"sign-up-tip": "Še nimaš računa?",
|
||||
"admin-sign-in": "Prijava skrbnika",
|
||||
"admin-sign-in-tip": "Prijava z geslom ostane na voljo skrbnikom.",
|
||||
"back-to-sign-in": "Nazaj na prijavo",
|
||||
"continue-with": "Nadaljuj z {{provider}}",
|
||||
"create-admin-account": "Ustvari skrbniški račun",
|
||||
"explore-public-memos": "Razišči javne zapiske v tem primerku",
|
||||
"first-run": "Prvi zagon",
|
||||
"setup-description": "Ustvari skrbniški račun za ta primerek.",
|
||||
"setup-note": "Ta račun je lastnik nastavitev primerka, članov in ponudnikov identitete.",
|
||||
"setup-title": "Nastavi svoj primerek",
|
||||
"signin-unavailable-description": "Prijava z geslom je izklopljena in noben ponudnik identitete ni konfiguriran. Prosite skrbnika, da omogoči način prijave.",
|
||||
"signin-unavailable-title": "Prijava ni na voljo",
|
||||
"signup-unavailable-description": "Računi z geslom so izklopljeni in noben ponudnik identitete ni konfiguriran. Prosite skrbnika za dostop.",
|
||||
"signup-unavailable-title": "Registracija ni na voljo",
|
||||
"signups-closed-description": "Novi računi so v tem primerku onemogočeni. Če potrebujete dostop, se obrnite na skrbnika.",
|
||||
"signups-closed-title": "Prijave so zaprte",
|
||||
"sso-signup-tip": "Prijavite se s spodnjim ponudnikom, da ustvarite svoj račun.",
|
||||
"welcome-back": "Dobrodošli nazaj."
|
||||
"signups-closed-description": "Novi računi so v tem primerku onemogočeni. Če potrebujete dostop, se obrnite na skrbnika."
|
||||
},
|
||||
"common": {
|
||||
"about": "O programu",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Пријава није могла да се заврши",
|
||||
"create-your-account": "Креирајте свој налог",
|
||||
"hide-password": "Сакриј лозинку",
|
||||
"incorrect-credentials": "Погрешно корисничко име или лозинка.",
|
||||
"new-password": "Нова лозинка",
|
||||
"repeat-new-password": "Поновите нову лозинку",
|
||||
"show-password": "Прикажи лозинку",
|
||||
"sign-in-tip": "Већ имате налог?",
|
||||
"sign-up-tip": "Још увек немате налог?",
|
||||
"admin-sign-in": "Пријава администратора",
|
||||
"admin-sign-in-tip": "Пријава лозинком остаје доступна администраторима.",
|
||||
"back-to-sign-in": "Назад на пријаву",
|
||||
"continue-with": "Наставите са {{provider}}",
|
||||
"create-admin-account": "Креирајте администраторски налог",
|
||||
"explore-public-memos": "Истражите јавне белешке о овој инстанци",
|
||||
"first-run": "Прво покретање",
|
||||
"setup-description": "Креирајте администраторски налог за ову инстанцу.",
|
||||
"setup-note": "Овај налог поседује подешавања инстанце, чланове и добављаче идентитета.",
|
||||
"setup-title": "Подесите своју инстанцу",
|
||||
"signin-unavailable-description": "Пријављивање лозинком је искључено и ниједан добављач идентитета није конфигурисан. Замолите администратора да омогући метод пријављивања.",
|
||||
"signin-unavailable-title": "Пријављивање није доступно",
|
||||
"signup-unavailable-description": "Налози лозинком су искључени и ниједан добављач идентитета није конфигурисан. Замолите администратора за приступ.",
|
||||
"signup-unavailable-title": "Регистрација није доступна",
|
||||
"signups-closed-description": "Нови налози су онемогућени на овој инстанци. Контактирајте администратора ако вам је потребан приступ.",
|
||||
"signups-closed-title": "Пријаве су затворене",
|
||||
"sso-signup-tip": "Пријавите се са добављачем испод да бисте креирали свој налог.",
|
||||
"welcome-back": "Добродошли назад."
|
||||
"signups-closed-description": "Нови налози су онемогућени на овој инстанци. Контактирајте администратора ако вам је потребан приступ."
|
||||
},
|
||||
"demo": {
|
||||
"banner-description": "Промене су привремене и могу се ресетовати.",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Inloggningen kunde inte slutföras",
|
||||
"create-your-account": "Skapa ditt konto",
|
||||
"hide-password": "Dölj lösenord",
|
||||
"incorrect-credentials": "Fel användarnamn eller lösenord.",
|
||||
"new-password": "Nytt lösenord",
|
||||
"repeat-new-password": "Upprepa det nya lösenordet",
|
||||
"show-password": "Visa lösenord",
|
||||
"sign-in-tip": "Har du redan ett konto?",
|
||||
"sign-up-tip": "Har du inget konto än?",
|
||||
"admin-sign-in": "Administratörsinloggning",
|
||||
"admin-sign-in-tip": "Lösenordsinloggning förblir tillgänglig för administratörer.",
|
||||
"back-to-sign-in": "Tillbaka till inloggning",
|
||||
"continue-with": "Fortsätt med {{provider}}",
|
||||
"create-admin-account": "Skapa administratörskonto",
|
||||
"explore-public-memos": "Utforska offentliga meddelanden på den här instansen",
|
||||
"first-run": "Första körningen",
|
||||
"setup-description": "Skapa administratörskontot för den här instansen.",
|
||||
"setup-note": "Det här kontot äger instansinställningar, medlemmar och identitetsleverantörer.",
|
||||
"setup-title": "Konfigurera din instans",
|
||||
"signin-unavailable-description": "Lösenordsinloggning är avstängd och inga identitetsleverantörer är konfigurerade. Be administratören att aktivera en inloggningsmetod.",
|
||||
"signin-unavailable-title": "Inloggning är inte tillgänglig",
|
||||
"signup-unavailable-description": "Lösenordskonton är avstängda och inga identitetsleverantörer är konfigurerade. Be administratören om åtkomst.",
|
||||
"signup-unavailable-title": "Registrering är inte tillgänglig",
|
||||
"signups-closed-description": "Nya konton är inaktiverade på den här instansen. Kontakta administratören om du behöver åtkomst.",
|
||||
"signups-closed-title": "Registreringar är stängda",
|
||||
"sso-signup-tip": "Logga in med en leverantör nedan för att skapa ditt konto.",
|
||||
"welcome-back": "Välkommen tillbaka."
|
||||
"signups-closed-description": "Nya konton är inaktiverade på den här instansen. Kontakta administratören om du behöver åtkomst."
|
||||
},
|
||||
"common": {
|
||||
"about": "Om",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "ไม่สามารถลงชื่อเข้าใช้ให้เสร็จสมบูรณ์ได้",
|
||||
"create-your-account": "สร้างบัญชีใหม่",
|
||||
"hide-password": "ซ่อนรหัสผ่าน",
|
||||
"incorrect-credentials": "ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง",
|
||||
"new-password": "รหัสผ่านใหม่",
|
||||
"repeat-new-password": "รหัสผ่านใหม่อีกครั้ง",
|
||||
"show-password": "แสดงรหัสผ่าน",
|
||||
"sign-in-tip": "มีบัญชีอยู่แล้ว?",
|
||||
"sign-up-tip": "ยังไม่มีบัญชี?",
|
||||
"admin-sign-in": "เข้าสู่ระบบผู้ดูแลระบบ",
|
||||
"admin-sign-in-tip": "การเข้าสู่ระบบด้วยรหัสผ่านยังคงใช้งานได้สำหรับผู้ดูแลระบบ",
|
||||
"back-to-sign-in": "กลับไปที่หน้าเข้าสู่ระบบ",
|
||||
"continue-with": "ดำเนินการต่อด้วย {{provider}}",
|
||||
"create-admin-account": "สร้างบัญชีผู้ดูแลระบบ",
|
||||
"explore-public-memos": "สำรวจบันทึกสาธารณะในอินสแตนซ์นี้",
|
||||
"first-run": "เรียกใช้งานครั้งแรก",
|
||||
"setup-description": "สร้างบัญชีผู้ดูแลระบบสำหรับอินสแตนซ์นี้",
|
||||
"setup-note": "บัญชีนี้เป็นเจ้าของการตั้งค่าอินสแตนซ์ สมาชิก และผู้ให้บริการข้อมูลประจำตัว",
|
||||
"setup-title": "ตั้งค่าอินสแตนซ์ของคุณ",
|
||||
"signin-unavailable-description": "การเข้าสู่ระบบด้วยรหัสผ่านถูกปิดใช้งานและไม่มีการกำหนดค่าผู้ให้บริการข้อมูลประจำตัว โปรดขอให้ผู้ดูแลระบบของคุณเปิดใช้งานวิธีการเข้าสู่ระบบ",
|
||||
"signin-unavailable-title": "ไม่สามารถเข้าสู่ระบบได้",
|
||||
"signup-unavailable-description": "บัญชีรหัสผ่านถูกปิดใช้งานและไม่มีการกำหนดค่าผู้ให้บริการข้อมูลประจำตัว โปรดขอสิทธิ์การเข้าถึงจากผู้ดูแลระบบของคุณ",
|
||||
"signup-unavailable-title": "ไม่สามารถลงทะเบียนได้",
|
||||
"signups-closed-description": "บัญชีใหม่ถูกปิดใช้งานในอินสแตนซ์นี้ โปรดติดต่อผู้ดูแลระบบของคุณหากคุณต้องการสิทธิ์การเข้าถึง",
|
||||
"signups-closed-title": "ปิดการลงทะเบียนแล้ว",
|
||||
"sso-signup-tip": "เข้าสู่ระบบด้วยผู้ให้บริการด้านล่างเพื่อสร้างบัญชีของคุณ",
|
||||
"welcome-back": "ยินดีต้อนรับกลับ"
|
||||
"signups-closed-description": "บัญชีใหม่ถูกปิดใช้งานในอินสแตนซ์นี้ โปรดติดต่อผู้ดูแลระบบของคุณหากคุณต้องการสิทธิ์การเข้าถึง"
|
||||
},
|
||||
"common": {
|
||||
"about": "เกี่ยวกับ",
|
||||
|
||||
+5
-10
@@ -45,28 +45,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "Yönetici girişi",
|
||||
"admin-sign-in-tip": "Parolayla giriş yöneticiler için kullanılabilir kalır.",
|
||||
"back-to-sign-in": "Girişe dön",
|
||||
"callback-failed-title": "Oturum açma tamamlanamadı",
|
||||
"continue-with": "{{provider}} ile devam et",
|
||||
"create-admin-account": "Yönetici hesabı oluştur",
|
||||
"create-your-account": "Hesabınızı oluşturun",
|
||||
"explore-public-memos": "Bu sunucudaki herkese açık notları keşfedin",
|
||||
"first-run": "İlk çalıştırma",
|
||||
"hide-password": "Parolayı gizle",
|
||||
"incorrect-credentials": "Kullanıcı adı veya parola hatalı.",
|
||||
"new-password": "Yeni şifre",
|
||||
"repeat-new-password": "Yeni şifreyi tekrar girin",
|
||||
"setup-description": "Bu sunucu için yönetici hesabını oluşturun.",
|
||||
"setup-note": "Bu hesap sunucu ayarlarının, üyelerin ve kimlik sağlayıcıların sahibidir.",
|
||||
"setup-title": "Sunucunuzu kurun",
|
||||
"show-password": "Parolayı göster",
|
||||
"sign-in-tip": "Zaten hesabınız var mı?",
|
||||
"sign-up-tip": "Henüz hesabınız yok mu?",
|
||||
"signin-unavailable-description": "Parolayla giriş kapalı ve yapılandırılmış bir kimlik sağlayıcı yok. Yöneticinizden bir giriş yöntemi etkinleştirmesini isteyin.",
|
||||
"signin-unavailable-title": "Giriş kullanılamıyor",
|
||||
"signup-unavailable-description": "Parolalı hesaplar kapalı ve yapılandırılmış bir kimlik sağlayıcı yok. Erişim için yöneticinize başvurun.",
|
||||
"signup-unavailable-title": "Kayıt kullanılamıyor",
|
||||
"signups-closed-description": "Bu sunucuda yeni hesap oluşturma devre dışı. Erişime ihtiyacınız varsa yöneticinizle iletişime geçin.",
|
||||
"signups-closed-title": "Kayıtlar kapalı",
|
||||
"sso-signup-tip": "Hesabınızı oluşturmak için aşağıdaki sağlayıcılardan biriyle giriş yapın.",
|
||||
"welcome-back": "Tekrar hoş geldiniz."
|
||||
"signups-closed-description": "Bu sunucuda yeni hesap oluşturma devre dışı. Erişime ihtiyacınız varsa yöneticinizle iletişime geçin."
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "Bu güne yeni not",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Не вдалося завершити вхід",
|
||||
"create-your-account": "Створіть обліковий запис",
|
||||
"hide-password": "Сховати пароль",
|
||||
"incorrect-credentials": "Неправильне ім'я користувача або пароль.",
|
||||
"new-password": "Новий пароль",
|
||||
"repeat-new-password": "Повторіть новий пароль",
|
||||
"show-password": "Показати пароль",
|
||||
"sign-in-tip": "Вже маєте обліковий запис?",
|
||||
"sign-up-tip": "Ще не маєте облікового запису?",
|
||||
"admin-sign-in": "Вхід адміністратора",
|
||||
"admin-sign-in-tip": "Вхід за паролем залишається доступним для адміністраторів.",
|
||||
"back-to-sign-in": "Повернутися до входу",
|
||||
"continue-with": "Продовжити з {{provider}}",
|
||||
"create-admin-account": "Створити обліковий запис адміністратора",
|
||||
"explore-public-memos": "Переглянути публічні нотатки про цей екземпляр",
|
||||
"first-run": "Перший запуск",
|
||||
"setup-description": "Створити обліковий запис адміністратора для цього екземпляра.",
|
||||
"setup-note": "Цей обліковий запис володіє налаштуваннями екземпляра, учасниками та постачальниками ідентифікаційних даних.",
|
||||
"setup-title": "Налаштувати екземпляр",
|
||||
"signin-unavailable-description": "Вхід за допомогою пароля вимкнено, і постачальники ідентифікаційних даних не налаштовано. Зверніться до адміністратора, щоб увімкнути метод входу.",
|
||||
"signin-unavailable-title": "Вхід недоступний",
|
||||
"signup-unavailable-description": "Облікові записи з паролями вимкнено, і постачальники ідентифікаційних даних не налаштовано. Зверніться до адміністратора, щоб надати доступ.",
|
||||
"signup-unavailable-title": "Реєстрація недоступна",
|
||||
"signups-closed-description": "Нові облікові записи вимкнено в цьому екземплярі. Зверніться до адміністратора, якщо вам потрібен доступ.",
|
||||
"signups-closed-title": "Реєстрацію закрито",
|
||||
"sso-signup-tip": "Увійдіть за допомогою постачальника нижче, щоб створити свій обліковий запис.",
|
||||
"welcome-back": "Ласкаво просимо назад."
|
||||
"signups-closed-description": "Нові облікові записи вимкнено в цьому екземплярі. Зверніться до адміністратора, якщо вам потрібен доступ."
|
||||
},
|
||||
"common": {
|
||||
"about": "Про Memos",
|
||||
|
||||
+5
-10
@@ -21,29 +21,24 @@
|
||||
"web-clipper-platforms": "Chrome + Firefox"
|
||||
},
|
||||
"auth": {
|
||||
"callback-failed-title": "Không thể hoàn tất đăng nhập",
|
||||
"create-your-account": "Tạo tài khoản của bạn",
|
||||
"hide-password": "Ẩn mật khẩu",
|
||||
"incorrect-credentials": "Tên người dùng hoặc mật khẩu không đúng.",
|
||||
"new-password": "Mật khẩu mới",
|
||||
"repeat-new-password": "Nhập lại mật khẩu mới",
|
||||
"show-password": "Hiện mật khẩu",
|
||||
"sign-in-tip": "Đã có tài khoản?",
|
||||
"sign-up-tip": "Chưa có tài khoản?",
|
||||
"admin-sign-in": "Đăng nhập quản trị viên",
|
||||
"admin-sign-in-tip": "Đăng nhập bằng mật khẩu vẫn khả dụng cho quản trị viên.",
|
||||
"back-to-sign-in": "Quay lại trang đăng nhập",
|
||||
"continue-with": "Tiếp tục với {{provider}}",
|
||||
"create-admin-account": "Tạo tài khoản quản trị viên",
|
||||
"explore-public-memos": "Khám phá các ghi chú công khai trên phiên bản này",
|
||||
"first-run": "Lần chạy đầu tiên",
|
||||
"setup-description": "Tạo tài khoản quản trị viên cho phiên bản này.",
|
||||
"setup-note": "Tài khoản này sở hữu cài đặt phiên bản, thành viên và nhà cung cấp danh tính.",
|
||||
"setup-title": "Thiết lập phiên bản của bạn",
|
||||
"signin-unavailable-description": "Đăng nhập bằng mật khẩu đã bị tắt và không có nhà cung cấp danh tính nào được cấu hình. Hãy yêu cầu quản trị viên của bạn bật phương thức đăng nhập.",
|
||||
"signin-unavailable-title": "Đăng nhập không khả dụng",
|
||||
"signup-unavailable-description": "Tài khoản mật khẩu đã bị tắt và không có nhà cung cấp danh tính nào được cấu hình. Hãy yêu cầu quản trị viên của bạn cấp quyền truy cập.",
|
||||
"signup-unavailable-title": "Đăng ký không khả dụng",
|
||||
"signups-closed-description": "Tài khoản mới bị vô hiệu hóa trên phiên bản này. Liên hệ với quản trị viên của bạn nếu bạn cần quyền truy cập.",
|
||||
"signups-closed-title": "Đăng ký đã đóng",
|
||||
"sso-signup-tip": "Đăng nhập bằng nhà cung cấp bên dưới để tạo tài khoản của bạn.",
|
||||
"welcome-back": "Chào mừng bạn trở lại."
|
||||
"signups-closed-description": "Tài khoản mới bị vô hiệu hóa trên phiên bản này. Liên hệ với quản trị viên của bạn nếu bạn cần quyền truy cập."
|
||||
},
|
||||
"common": {
|
||||
"about": "Giới thiệu",
|
||||
|
||||
@@ -45,28 +45,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "管理员登录",
|
||||
"admin-sign-in-tip": "管理员始终可以使用密码登录。",
|
||||
"back-to-sign-in": "返回登录",
|
||||
"callback-failed-title": "无法完成登录",
|
||||
"continue-with": "使用 {{provider}} 继续",
|
||||
"create-admin-account": "创建管理员账号",
|
||||
"create-your-account": "创建您的账户",
|
||||
"explore-public-memos": "浏览此实例上的公开 Memo",
|
||||
"first-run": "首次运行",
|
||||
"hide-password": "隐藏密码",
|
||||
"incorrect-credentials": "用户名或密码错误。",
|
||||
"new-password": "新密码",
|
||||
"repeat-new-password": "重复新密码",
|
||||
"setup-description": "为此实例创建管理员账号。",
|
||||
"setup-note": "该账号拥有实例设置、成员与身份提供商的管理权限。",
|
||||
"setup-title": "初始化实例",
|
||||
"show-password": "显示密码",
|
||||
"sign-in-tip": "已有账户?",
|
||||
"sign-up-tip": "还没有账户?",
|
||||
"signin-unavailable-description": "密码登录已关闭,且未配置身份提供商。请联系管理员启用登录方式。",
|
||||
"signin-unavailable-title": "无法登录",
|
||||
"signup-unavailable-description": "密码账号已关闭,且未配置身份提供商。如需访问,请联系管理员。",
|
||||
"signup-unavailable-title": "无法注册",
|
||||
"signups-closed-description": "此实例已禁用新账号注册。如需访问,请联系管理员。",
|
||||
"signups-closed-title": "注册已关闭",
|
||||
"sso-signup-tip": "使用以下登录方式即可创建账号。",
|
||||
"welcome-back": "欢迎回来。"
|
||||
"signups-closed-description": "此实例已禁用新账号注册。如需访问,请联系管理员。"
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "在这一天新建备忘录",
|
||||
|
||||
@@ -22,28 +22,23 @@
|
||||
},
|
||||
"auth": {
|
||||
"admin-sign-in": "管理員登入",
|
||||
"admin-sign-in-tip": "管理員仍可使用密碼登入。",
|
||||
"back-to-sign-in": "返回登入",
|
||||
"callback-failed-title": "無法完成登入",
|
||||
"continue-with": "使用 {{provider}} 繼續",
|
||||
"create-admin-account": "建立管理員帳號",
|
||||
"create-your-account": "建立您的帳號",
|
||||
"explore-public-memos": "瀏覽此實例的公開備忘錄",
|
||||
"first-run": "初次啟動",
|
||||
"hide-password": "隱藏密碼",
|
||||
"incorrect-credentials": "使用者名稱或密碼錯誤。",
|
||||
"new-password": "新密碼",
|
||||
"repeat-new-password": "再次輸入新密碼",
|
||||
"setup-description": "為此實例建立管理員帳號。",
|
||||
"setup-note": "此帳號擁有實例設定、成員與身分識別提供者的管理權限。",
|
||||
"setup-title": "設定您的實例",
|
||||
"show-password": "顯示密碼",
|
||||
"sign-in-tip": "已經有帳戶了嗎?",
|
||||
"sign-up-tip": "還沒有帳戶嗎?",
|
||||
"signin-unavailable-description": "已停用密碼登入,且尚未設定任何身分識別提供者。請要求管理員啟用登入方式。",
|
||||
"signin-unavailable-title": "無法登入",
|
||||
"signup-unavailable-description": "已停用使用密碼註冊,且尚未設定任何身分識別提供者。請聯絡管理員以取得存取權限。",
|
||||
"signup-unavailable-title": "無法註冊",
|
||||
"signups-closed-description": "此實例已停用新帳號註冊。如需存取權限,請聯絡管理員。",
|
||||
"signups-closed-title": "已關閉註冊",
|
||||
"sso-signup-tip": "使用下方提供者登入以建立帳號。",
|
||||
"welcome-back": "歡迎回來。"
|
||||
"signups-closed-description": "此實例已停用新帳號註冊。如需存取權限,請聯絡管理員。"
|
||||
},
|
||||
"calendar": {
|
||||
"new-memo-on-day": "在這一天新增備忘錄",
|
||||
|
||||
@@ -1,31 +1,14 @@
|
||||
import { ArrowLeftIcon, ShieldCheckIcon } from "lucide-react";
|
||||
import { Link } from "react-router-dom";
|
||||
import AuthPageLayout, { AuthChip } from "@/components/AuthPageLayout";
|
||||
import AuthPageLayout, { AuthBackLink } from "@/components/AuthPageLayout";
|
||||
import PasswordSignInForm from "@/components/PasswordSignInForm";
|
||||
import { ROUTES } from "@/router/routes";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
|
||||
const AdminSignIn = () => {
|
||||
const t = useTranslate();
|
||||
|
||||
return (
|
||||
<AuthPageLayout
|
||||
chip={
|
||||
<AuthChip>
|
||||
<ShieldCheckIcon className="mu-icon-xs" />
|
||||
{t("common.admin")}
|
||||
</AuthChip>
|
||||
}
|
||||
title={t("auth.admin-sign-in")}
|
||||
subtitle={t("auth.admin-sign-in-tip")}
|
||||
>
|
||||
<AuthPageLayout title={t("auth.admin-sign-in")}>
|
||||
<PasswordSignInForm />
|
||||
<p className="mt-5 text-center mu-body">
|
||||
<Link to={ROUTES.AUTH} className="inline-flex items-center gap-1 text-mu-accent hover:underline" viewTransition>
|
||||
<ArrowLeftIcon className="mu-icon-sm rtl:rotate-180" />
|
||||
{t("auth.back-to-sign-in")}
|
||||
</Link>
|
||||
</p>
|
||||
<AuthBackLink />
|
||||
</AuthPageLayout>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import { timestampDate } from "@bufbuild/protobuf/wkt";
|
||||
import { Spinner } from "@usememos/ui";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Link, useSearchParams } from "react-router-dom";
|
||||
import { useSearchParams } from "react-router-dom";
|
||||
import { setAccessToken } from "@/auth-state";
|
||||
import AuthPageLayout, { AuthBackLink } from "@/components/AuthPageLayout";
|
||||
import { authServiceClient, userServiceClient } from "@/connect";
|
||||
import { useAuth } from "@/contexts/AuthContext";
|
||||
import useNavigateTo from "@/hooks/useNavigateTo";
|
||||
@@ -13,7 +15,6 @@ import { useTranslate } from "@/utils/i18n";
|
||||
import { validateOAuthState } from "@/utils/oauth";
|
||||
|
||||
interface State {
|
||||
loading: boolean;
|
||||
errorMessage: string;
|
||||
returnUrl?: string;
|
||||
}
|
||||
@@ -25,7 +26,6 @@ const AuthCallback = () => {
|
||||
const [searchParams] = useSearchParams();
|
||||
const handledRef = useRef(false);
|
||||
const [state, setState] = useState<State>({
|
||||
loading: true,
|
||||
errorMessage: "",
|
||||
});
|
||||
|
||||
@@ -55,7 +55,6 @@ const AuthCallback = () => {
|
||||
}
|
||||
|
||||
setState({
|
||||
loading: false,
|
||||
errorMessage,
|
||||
returnUrl: validatedState?.returnUrl,
|
||||
});
|
||||
@@ -67,7 +66,6 @@ const AuthCallback = () => {
|
||||
|
||||
if (!code || !state) {
|
||||
setState({
|
||||
loading: false,
|
||||
errorMessage: "Failed to authorize. Missing authorization code or state parameter.",
|
||||
});
|
||||
return;
|
||||
@@ -77,7 +75,6 @@ const AuthCallback = () => {
|
||||
const validatedState = validateOAuthState(state);
|
||||
if (!validatedState) {
|
||||
setState({
|
||||
loading: false,
|
||||
errorMessage: "Failed to authorize. Invalid or expired state parameter. This may indicate a CSRF attack attempt.",
|
||||
});
|
||||
return;
|
||||
@@ -122,7 +119,6 @@ const AuthCallback = () => {
|
||||
}
|
||||
}
|
||||
setState({
|
||||
loading: false,
|
||||
errorMessage: "",
|
||||
});
|
||||
await initialize();
|
||||
@@ -136,7 +132,6 @@ const AuthCallback = () => {
|
||||
onError: (err) => {
|
||||
const message = err instanceof Error ? err.message : t("error.authenticate-failed");
|
||||
setState({
|
||||
loading: false,
|
||||
errorMessage: message,
|
||||
returnUrl,
|
||||
});
|
||||
@@ -146,19 +141,27 @@ const AuthCallback = () => {
|
||||
})();
|
||||
}, [currentUser?.name, initialize, isInitialized, navigateTo, searchParams]);
|
||||
|
||||
if (state.loading) return null;
|
||||
// A success navigates away, so without an error the page only ever shows the wait.
|
||||
if (!state.errorMessage) {
|
||||
return (
|
||||
<AuthPageLayout>
|
||||
<div className="flex justify-center py-6 text-mu-ink-muted">
|
||||
<Spinner />
|
||||
</div>
|
||||
</AuthPageLayout>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="p-4 py-24 w-full h-full flex flex-col justify-center items-center gap-4">
|
||||
<div className="max-w-lg font-mono whitespace-pre-wrap break-words opacity-80" role="alert">
|
||||
<AuthPageLayout title={t("auth.callback-failed-title")}>
|
||||
<pre
|
||||
role="alert"
|
||||
className="m-0 rounded-mu-md bg-mu-well px-2.5 py-2 font-mono mu-caption-xs whitespace-pre-wrap break-words text-mu-ink-muted"
|
||||
>
|
||||
{state.errorMessage}
|
||||
</div>
|
||||
{state.errorMessage && (
|
||||
<Link to={buildAuthRoute({ autoSignIn: false, redirect: state.returnUrl })} className="mu-body text-mu-accent hover:underline">
|
||||
{t("auth.back-to-sign-in")}
|
||||
</Link>
|
||||
)}
|
||||
</div>
|
||||
</pre>
|
||||
<AuthBackLink to={buildAuthRoute({ autoSignIn: false, redirect: state.returnUrl })} />
|
||||
</AuthPageLayout>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
+52
-45
@@ -1,13 +1,19 @@
|
||||
import { Separator } from "@usememos/ui";
|
||||
import { ArrowRightIcon, LockIcon } from "lucide-react";
|
||||
import { Link, useSearchParams } from "react-router-dom";
|
||||
import AuthPageLayout, { AuthEmptyState, AuthLinkPrompt, AuthOptionsLoading } from "@/components/AuthPageLayout";
|
||||
import AuthNotice from "@/components/AuthNotice";
|
||||
import AuthPageLayout, { AuthLinkPrompt, AuthOptionsLoading } from "@/components/AuthPageLayout";
|
||||
import IdentityProviderButtons from "@/components/IdentityProviderButtons";
|
||||
import PasswordSignInForm from "@/components/PasswordSignInForm";
|
||||
import { useInstance } from "@/contexts/InstanceContext";
|
||||
import { useIdentityProviderList } from "@/hooks/useIdentityProviderQueries";
|
||||
import { ROUTES } from "@/router/routes";
|
||||
import { AUTH_REDIRECT_PARAM, appendSearchParams, getSafeRedirectPath } from "@/utils/auth-redirect";
|
||||
import {
|
||||
AUTH_REASON_PARAM,
|
||||
AUTH_REASON_SIGNUPS_CLOSED,
|
||||
AUTH_REDIRECT_PARAM,
|
||||
appendSearchParams,
|
||||
getSafeRedirectPath,
|
||||
} from "@/utils/auth-redirect";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
|
||||
const SignIn = () => {
|
||||
@@ -19,55 +25,56 @@ const SignIn = () => {
|
||||
const signUpPath = appendSearchParams(ROUTES.AUTH_SIGNUP, searchParams);
|
||||
|
||||
const passwordAuthAllowed = !instanceGeneralSetting.disallowPasswordAuth;
|
||||
const registrationOpen = !instanceGeneralSetting.disallowUserRegistration;
|
||||
const hasIdentityProviders = identityProviderList.length > 0;
|
||||
const cameFromClosedSignUp = searchParams.get(AUTH_REASON_PARAM) === AUTH_REASON_SIGNUPS_CLOSED;
|
||||
|
||||
// Shared by the subtitle and the body branch so they can't disagree.
|
||||
const showAuthOptions = identityProvidersLoading || passwordAuthAllowed || hasIdentityProviders;
|
||||
if (!identityProvidersLoading && !passwordAuthAllowed && !hasIdentityProviders) {
|
||||
return (
|
||||
<AuthPageLayout title={t("auth.signin-unavailable-title")} description={t("auth.signin-unavailable-description")}>
|
||||
<Link to={ROUTES.AUTH_ADMIN} className="mu-body text-mu-accent hover:underline" viewTransition>
|
||||
{t("auth.admin-sign-in")}
|
||||
</Link>
|
||||
</AuthPageLayout>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<AuthPageLayout title={t("common.sign-in")} subtitle={showAuthOptions ? t("auth.welcome-back") : undefined}>
|
||||
<AuthPageLayout title={t("common.sign-in")}>
|
||||
{cameFromClosedSignUp && <AuthNotice className="-mt-2 mb-6">{t("auth.signups-closed-description")}</AuthNotice>}
|
||||
{identityProvidersLoading ? (
|
||||
<AuthOptionsLoading />
|
||||
) : showAuthOptions ? (
|
||||
<>
|
||||
{hasIdentityProviders && (
|
||||
<IdentityProviderButtons
|
||||
identityProviderList={identityProviderList}
|
||||
redirectTarget={redirectTarget}
|
||||
autoSignIn={isInitialized && profileLoaded && !profile.needsSetup && !passwordAuthAllowed && identityProvidersLoaded}
|
||||
/>
|
||||
)}
|
||||
{hasIdentityProviders && passwordAuthAllowed && (
|
||||
<div className="my-4 flex items-center gap-3 mu-caption uppercase tracking-wider text-mu-ink-muted">
|
||||
<div className="flex-1">
|
||||
<Separator />
|
||||
</div>
|
||||
{t("common.or")}
|
||||
<div className="flex-1">
|
||||
<Separator />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{passwordAuthAllowed && <PasswordSignInForm redirectPath={redirectTarget} />}
|
||||
{passwordAuthAllowed && !instanceGeneralSetting.disallowUserRegistration && (
|
||||
<AuthLinkPrompt prompt={t("auth.sign-up-tip")} to={signUpPath} label={t("common.sign-up")} />
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<AuthEmptyState
|
||||
icon={<LockIcon />}
|
||||
title={t("auth.signin-unavailable-title")}
|
||||
description={t("auth.signin-unavailable-description")}
|
||||
>
|
||||
<Link
|
||||
to={ROUTES.AUTH_ADMIN}
|
||||
className="mt-3 inline-flex items-center gap-1 mu-body text-mu-accent hover:underline"
|
||||
viewTransition
|
||||
>
|
||||
{t("auth.admin-sign-in")}
|
||||
<ArrowRightIcon className="mu-icon-sm rtl:rotate-180" />
|
||||
</Link>
|
||||
</AuthEmptyState>
|
||||
hasIdentityProviders && (
|
||||
<IdentityProviderButtons
|
||||
identityProviderList={identityProviderList}
|
||||
redirectTarget={redirectTarget}
|
||||
// A visitor who came to sign up didn't ask to be sent to a provider.
|
||||
autoSignIn={
|
||||
isInitialized &&
|
||||
profileLoaded &&
|
||||
!profile.needsSetup &&
|
||||
!passwordAuthAllowed &&
|
||||
identityProvidersLoaded &&
|
||||
!cameFromClosedSignUp
|
||||
}
|
||||
/>
|
||||
)
|
||||
)}
|
||||
{hasIdentityProviders && passwordAuthAllowed && (
|
||||
<div className="my-4 flex items-center gap-3 mu-caption-xs text-mu-ink-muted">
|
||||
<div className="flex-1">
|
||||
<Separator />
|
||||
</div>
|
||||
{t("common.or")}
|
||||
<div className="flex-1">
|
||||
<Separator />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{passwordAuthAllowed && <PasswordSignInForm redirectPath={redirectTarget} />}
|
||||
{passwordAuthAllowed && registrationOpen && !cameFromClosedSignUp && (
|
||||
<AuthLinkPrompt prompt={t("auth.sign-up-tip")} to={signUpPath} label={t("common.sign-up")} />
|
||||
)}
|
||||
</AuthPageLayout>
|
||||
);
|
||||
|
||||
+51
-108
@@ -1,25 +1,28 @@
|
||||
import { create } from "@bufbuild/protobuf";
|
||||
import { timestampDate } from "@bufbuild/protobuf/wkt";
|
||||
import { Button } from "@usememos/ui";
|
||||
import { InfoIcon, LockIcon, SparklesIcon, UserRoundXIcon } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
import { useSearchParams } from "react-router-dom";
|
||||
import { Navigate, useSearchParams } from "react-router-dom";
|
||||
import { setAccessToken } from "@/auth-state";
|
||||
import AuthPageLayout, { AuthChip, AuthEmptyState, AuthLinkPrompt, AuthOptionsLoading } from "@/components/AuthPageLayout";
|
||||
import AuthNotice from "@/components/AuthNotice";
|
||||
import AuthPageLayout, { AuthLinkPrompt } from "@/components/AuthPageLayout";
|
||||
import ChallengeWidget, { CHALLENGE_TOKEN_HEADER } from "@/components/ChallengeWidget";
|
||||
import CredentialFields from "@/components/CredentialFields";
|
||||
import IdentityProviderButtons from "@/components/IdentityProviderButtons";
|
||||
import { authServiceClient, userServiceClient } from "@/connect";
|
||||
import { useAuth } from "@/contexts/AuthContext";
|
||||
import { useInstance } from "@/contexts/InstanceContext";
|
||||
import { useIdentityProviderList } from "@/hooks/useIdentityProviderQueries";
|
||||
import useLoading from "@/hooks/useLoading";
|
||||
import useNavigateTo from "@/hooks/useNavigateTo";
|
||||
import { ERROR_REASON_CHALLENGE_REQUIRED, handleError, hasErrorReason } from "@/lib/error";
|
||||
import { showErrorToast } from "@/lib/toast";
|
||||
import { ERROR_REASON_CHALLENGE_REQUIRED, getErrorMessage, hasErrorReason } from "@/lib/error";
|
||||
import { ROUTES } from "@/router/routes";
|
||||
import { User_Role, UserSchema } from "@/types/proto/api/user_service_pb";
|
||||
import { AUTH_REDIRECT_PARAM, appendSearchParams, getSafeRedirectPath } from "@/utils/auth-redirect";
|
||||
import {
|
||||
AUTH_REASON_PARAM,
|
||||
AUTH_REASON_SIGNUPS_CLOSED,
|
||||
AUTH_REDIRECT_PARAM,
|
||||
appendSearchParams,
|
||||
getSafeRedirectPath,
|
||||
} from "@/utils/auth-redirect";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
|
||||
const SignUp = () => {
|
||||
@@ -28,10 +31,11 @@ const SignUp = () => {
|
||||
const actionBtnLoadingState = useLoading(false);
|
||||
const [username, setUsername] = useState("");
|
||||
const [password, setPassword] = useState("");
|
||||
const [errorMessage, setErrorMessage] = useState("");
|
||||
const [challengeToken, setChallengeToken] = useState<string | null>(null);
|
||||
const [challengeResetKey, setChallengeResetKey] = useState(0);
|
||||
const { initialize: initAuth } = useAuth();
|
||||
const { generalSetting: instanceGeneralSetting, profile, profileLoaded, isInitialized, initialize: initInstance } = useInstance();
|
||||
const { generalSetting: instanceGeneralSetting, profile, initialize: initInstance } = useInstance();
|
||||
const [searchParams] = useSearchParams();
|
||||
const redirectTarget = getSafeRedirectPath(searchParams.get(AUTH_REDIRECT_PARAM));
|
||||
const signInPath = appendSearchParams(ROUTES.AUTH, searchParams);
|
||||
@@ -39,13 +43,6 @@ const SignUp = () => {
|
||||
const passwordAuthAllowed = !instanceGeneralSetting.disallowPasswordAuth;
|
||||
const registrationOpen = !instanceGeneralSetting.disallowUserRegistration;
|
||||
const needsSetup = profile.needsSetup;
|
||||
// Provider buttons only render on the SSO-provisioned branch below; skip the request elsewhere.
|
||||
const {
|
||||
identityProviderList,
|
||||
isLoading: identityProvidersLoading,
|
||||
isSuccess: identityProvidersLoaded,
|
||||
} = useIdentityProviderList(!needsSetup && registrationOpen && !passwordAuthAllowed);
|
||||
const hasIdentityProviders = identityProviderList.length > 0;
|
||||
|
||||
const handleFormSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
|
||||
e.preventDefault();
|
||||
@@ -60,6 +57,7 @@ const SignUp = () => {
|
||||
|
||||
try {
|
||||
actionBtnLoadingState.setLoading();
|
||||
setErrorMessage("");
|
||||
const user = create(UserSchema, {
|
||||
username,
|
||||
password,
|
||||
@@ -88,109 +86,54 @@ const SignUp = () => {
|
||||
await initInstance();
|
||||
navigateTo(redirectTarget || ROUTES.HOME, { replace: true });
|
||||
} catch (error: unknown) {
|
||||
console.error(error);
|
||||
if (hasErrorReason(error, ERROR_REASON_CHALLENGE_REQUIRED)) {
|
||||
setChallengeResetKey((key) => key + 1);
|
||||
}
|
||||
handleError(error, showErrorToast, {
|
||||
fallbackMessage: t("error.sign-up-failed"),
|
||||
});
|
||||
setErrorMessage(getErrorMessage(error, t("error.sign-up-failed")));
|
||||
}
|
||||
actionBtnLoadingState.setFinish();
|
||||
};
|
||||
|
||||
const signUpForm = (
|
||||
<form className="flex w-full flex-col gap-4" onSubmit={handleFormSubmit}>
|
||||
<CredentialFields
|
||||
idPrefix="signup"
|
||||
username={username}
|
||||
password={password}
|
||||
passwordAutoComplete="new-password"
|
||||
readOnly={actionBtnLoadingState.isLoading}
|
||||
onUsernameChange={setUsername}
|
||||
onPasswordChange={setPassword}
|
||||
/>
|
||||
{!needsSetup && <ChallengeWidget onToken={setChallengeToken} resetKey={challengeResetKey} />}
|
||||
<Button
|
||||
variant="primary"
|
||||
type="submit"
|
||||
loading={actionBtnLoadingState.isLoading}
|
||||
loadingLabel={needsSetup ? t("auth.create-admin-account") : t("common.sign-up")}
|
||||
>
|
||||
{needsSetup ? t("auth.create-admin-account") : t("common.sign-up")}
|
||||
</Button>
|
||||
</form>
|
||||
);
|
||||
|
||||
const signInPrompt = <AuthLinkPrompt prompt={t("auth.sign-in-tip")} to={signInPath} label={t("common.sign-in")} />;
|
||||
|
||||
// First run: create the instance owner account.
|
||||
if (needsSetup) {
|
||||
return (
|
||||
<AuthPageLayout
|
||||
chip={
|
||||
<AuthChip>
|
||||
<SparklesIcon className="mu-icon-xs" />
|
||||
{t("auth.first-run")}
|
||||
</AuthChip>
|
||||
}
|
||||
title={t("auth.setup-title")}
|
||||
subtitle={t("auth.setup-description")}
|
||||
hideExplore
|
||||
>
|
||||
{signUpForm}
|
||||
<div className="mt-4 flex items-start gap-2 rounded-mu-lg border border-mu-line bg-mu-hover/50 px-3 py-2 mu-caption text-mu-ink-muted">
|
||||
<InfoIcon className="mu-icon-sm mt-0.5 shrink-0" />
|
||||
{t("auth.setup-note")}
|
||||
</div>
|
||||
</AuthPageLayout>
|
||||
);
|
||||
// Without password accounts, an identity provider creates the account on first sign-in, so sign-up is sign-in.
|
||||
if (!needsSetup && (!registrationOpen || !passwordAuthAllowed)) {
|
||||
const params = new URLSearchParams(searchParams);
|
||||
if (!registrationOpen) {
|
||||
params.set(AUTH_REASON_PARAM, AUTH_REASON_SIGNUPS_CLOSED);
|
||||
}
|
||||
return <Navigate to={appendSearchParams(ROUTES.AUTH, params)} replace />;
|
||||
}
|
||||
|
||||
// Registration closed.
|
||||
if (!registrationOpen) {
|
||||
return (
|
||||
<AuthPageLayout title={t("auth.create-your-account")}>
|
||||
<AuthEmptyState
|
||||
icon={<UserRoundXIcon />}
|
||||
title={t("auth.signups-closed-title")}
|
||||
description={t("auth.signups-closed-description")}
|
||||
/>
|
||||
{signInPrompt}
|
||||
</AuthPageLayout>
|
||||
);
|
||||
}
|
||||
const submitLabel = needsSetup ? t("auth.create-admin-account") : t("common.sign-up");
|
||||
|
||||
// Password sign-up disallowed: accounts come from the identity provider.
|
||||
if (!passwordAuthAllowed) {
|
||||
// Shared by the subtitle and the body branch so they can't disagree.
|
||||
const showSsoOptions = identityProvidersLoading || hasIdentityProviders;
|
||||
return (
|
||||
<AuthPageLayout title={t("auth.create-your-account")} subtitle={showSsoOptions ? t("auth.sso-signup-tip") : undefined}>
|
||||
{identityProvidersLoading ? (
|
||||
<AuthOptionsLoading />
|
||||
) : showSsoOptions ? (
|
||||
<IdentityProviderButtons
|
||||
identityProviderList={identityProviderList}
|
||||
redirectTarget={redirectTarget}
|
||||
autoSignIn={isInitialized && profileLoaded && identityProvidersLoaded}
|
||||
/>
|
||||
) : (
|
||||
<AuthEmptyState
|
||||
icon={<LockIcon />}
|
||||
title={t("auth.signup-unavailable-title")}
|
||||
description={t("auth.signup-unavailable-description")}
|
||||
/>
|
||||
)}
|
||||
{signInPrompt}
|
||||
</AuthPageLayout>
|
||||
);
|
||||
}
|
||||
|
||||
// Open registration.
|
||||
return (
|
||||
<AuthPageLayout title={t("auth.create-your-account")}>
|
||||
{signUpForm}
|
||||
{signInPrompt}
|
||||
<AuthPageLayout
|
||||
title={needsSetup ? t("auth.setup-title") : t("auth.create-your-account")}
|
||||
description={needsSetup ? t("auth.setup-description") : undefined}
|
||||
>
|
||||
<form className="flex w-full flex-col gap-4" onSubmit={handleFormSubmit}>
|
||||
<CredentialFields
|
||||
idPrefix="signup"
|
||||
username={username}
|
||||
password={password}
|
||||
passwordAutoComplete="new-password"
|
||||
readOnly={actionBtnLoadingState.isLoading}
|
||||
onUsernameChange={(value) => {
|
||||
setUsername(value);
|
||||
setErrorMessage("");
|
||||
}}
|
||||
onPasswordChange={(value) => {
|
||||
setPassword(value);
|
||||
setErrorMessage("");
|
||||
}}
|
||||
/>
|
||||
{!needsSetup && <ChallengeWidget onToken={setChallengeToken} resetKey={challengeResetKey} />}
|
||||
{errorMessage && <AuthNotice tone="error">{errorMessage}</AuthNotice>}
|
||||
<Button variant="primary" type="submit" loading={actionBtnLoadingState.isLoading} loadingLabel={submitLabel}>
|
||||
{submitLabel}
|
||||
</Button>
|
||||
</form>
|
||||
{!needsSetup && <AuthLinkPrompt prompt={t("auth.sign-in-tip")} to={signInPath} label={t("common.sign-in")} />}
|
||||
</AuthPageLayout>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -9,6 +9,7 @@ export {
|
||||
AUTH_AUTO_SIGN_IN_PARAM,
|
||||
AUTH_REASON_PARAM,
|
||||
AUTH_REASON_PROTECTED_MEMO,
|
||||
AUTH_REASON_SIGNUPS_CLOSED,
|
||||
AUTH_REDIRECT_PARAM,
|
||||
appendSearchParams,
|
||||
buildAuthRoute,
|
||||
|
||||
@@ -12,6 +12,9 @@ export const AUTH_REASON_PARAM = "reason";
|
||||
/** Reason code signalling that the user hit a memo that requires authentication. */
|
||||
export const AUTH_REASON_PROTECTED_MEMO = "protected-memo";
|
||||
|
||||
/** Reason code for a visitor sent from the sign-up page while registration is closed. */
|
||||
export const AUTH_REASON_SIGNUPS_CLOSED = "signups-closed";
|
||||
|
||||
/**
|
||||
* Validates a post-authentication redirect target.
|
||||
*
|
||||
|
||||
@@ -18,39 +18,32 @@ vi.mock("@/utils/i18n", () => ({
|
||||
|
||||
vi.mock("@/components/AuthFooter", () => ({ default: () => <div data-testid="auth-footer" /> }));
|
||||
|
||||
const renderLayout = (props?: { hideExplore?: boolean }) =>
|
||||
const renderLayout = () =>
|
||||
render(
|
||||
<MemoryRouter>
|
||||
<AuthPageLayout title="Sign in" {...props}>
|
||||
<AuthPageLayout title="Sign in">
|
||||
<div />
|
||||
</AuthPageLayout>
|
||||
</MemoryRouter>,
|
||||
);
|
||||
|
||||
describe("<AuthPageLayout> explore band", () => {
|
||||
describe("<AuthPageLayout>", () => {
|
||||
beforeEach(() => {
|
||||
instance.accessMode = InstanceAccessMode.PRIVATE;
|
||||
settings.customProfile = undefined;
|
||||
});
|
||||
|
||||
it("links to Explore on public instances", () => {
|
||||
it("offers no way out to Explore, even on public instances", () => {
|
||||
instance.accessMode = InstanceAccessMode.PUBLIC;
|
||||
renderLayout();
|
||||
|
||||
expect(screen.getByRole("link", { name: /auth\.explore-public-memos/ })).toHaveAttribute("href", "/explore");
|
||||
expect(screen.queryByRole("link")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("omits the band on private instances even when an instance URL is configured", () => {
|
||||
it("keeps the language and theme row inside the card", () => {
|
||||
renderLayout();
|
||||
|
||||
expect(screen.queryByRole("link", { name: /auth\.explore-public-memos/ })).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("omits the band when hideExplore is set (first-run setup)", () => {
|
||||
instance.accessMode = InstanceAccessMode.PUBLIC;
|
||||
renderLayout({ hideExplore: true });
|
||||
|
||||
expect(screen.queryByRole("link", { name: /auth\.explore-public-memos/ })).not.toBeInTheDocument();
|
||||
expect(screen.getByRole("main")).toContainElement(screen.getByTestId("auth-footer"));
|
||||
});
|
||||
|
||||
it.each([undefined, "/logo.webp"])("uses a themeable small logo for the default %s", (logoUrl) => {
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import { Code, ConnectError } from "@connectrpc/connect";
|
||||
import { fireEvent, render, screen } from "@testing-library/react";
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import PasswordSignInForm from "@/components/PasswordSignInForm";
|
||||
|
||||
const signIn = vi.hoisted(() => vi.fn());
|
||||
|
||||
vi.mock("@/auth-state", () => ({ setAccessToken: vi.fn() }));
|
||||
|
||||
vi.mock("@/connect", () => ({
|
||||
authServiceClient: { signIn: vi.fn() },
|
||||
authServiceClient: { signIn },
|
||||
}));
|
||||
|
||||
vi.mock("@/contexts/AuthContext", () => ({
|
||||
@@ -23,13 +26,59 @@ vi.mock("@/hooks/useNavigateTo", () => ({
|
||||
|
||||
vi.mock("@/utils/i18n", () => ({
|
||||
useTranslate: () => (key: string) => key,
|
||||
translate: (key: string) => key,
|
||||
}));
|
||||
|
||||
const fill = () => {
|
||||
fireEvent.change(screen.getByLabelText("common.username"), { target: { value: "steven" } });
|
||||
fireEvent.change(screen.getByLabelText("common.password"), { target: { value: "wrong" } });
|
||||
fireEvent.click(screen.getByRole("button", { name: "common.sign-in" }));
|
||||
};
|
||||
|
||||
describe("<PasswordSignInForm>", () => {
|
||||
beforeEach(() => {
|
||||
signIn.mockReset();
|
||||
vi.spyOn(console, "error").mockImplementation(() => {});
|
||||
});
|
||||
|
||||
it("does not prefill seeded demo credentials", () => {
|
||||
render(<PasswordSignInForm />);
|
||||
|
||||
expect(screen.getByPlaceholderText("common.username")).toHaveValue("");
|
||||
expect(screen.getByPlaceholderText("common.password")).toHaveValue("");
|
||||
expect(screen.getByLabelText("common.username")).toHaveValue("");
|
||||
expect(screen.getByLabelText("common.password")).toHaveValue("");
|
||||
});
|
||||
|
||||
it("shows rejected credentials in the form and clears them on edit", async () => {
|
||||
signIn.mockRejectedValue(new ConnectError("unmatched username and password", Code.InvalidArgument));
|
||||
render(<PasswordSignInForm />);
|
||||
|
||||
fill();
|
||||
|
||||
expect(await screen.findByRole("alert")).toHaveTextContent("auth.incorrect-credentials");
|
||||
expect(screen.getByLabelText("common.password")).toHaveAttribute("aria-invalid", "true");
|
||||
|
||||
fireEvent.change(screen.getByLabelText("common.password"), { target: { value: "right" } });
|
||||
expect(screen.queryByRole("alert")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows any other failure in the form with the server's message", async () => {
|
||||
signIn.mockRejectedValue(new ConnectError("user has been archived", Code.PermissionDenied));
|
||||
render(<PasswordSignInForm />);
|
||||
|
||||
fill();
|
||||
|
||||
expect(await screen.findByRole("alert")).toHaveTextContent("user has been archived");
|
||||
expect(screen.getByLabelText("common.password")).not.toHaveAttribute("aria-invalid", "true");
|
||||
});
|
||||
|
||||
it("reveals and hides the password", () => {
|
||||
render(<PasswordSignInForm />);
|
||||
const password = screen.getByLabelText("common.password");
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "auth.show-password" }));
|
||||
expect(password).toHaveAttribute("type", "text");
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "auth.hide-password" }));
|
||||
expect(password).toHaveAttribute("type", "password");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -46,6 +46,22 @@ const renderPage = (path = "/auth", element = <SignIn />) => {
|
||||
);
|
||||
return router;
|
||||
};
|
||||
// Sign-up hands some visitors to sign-in, so these render both routes.
|
||||
const renderAuthRoutes = (path: string) => {
|
||||
const router = createMemoryRouter(
|
||||
[
|
||||
{ path: "/auth", element: <SignIn /> },
|
||||
{ path: "/auth/signup", element: <SignUp /> },
|
||||
],
|
||||
{ initialEntries: [path] },
|
||||
);
|
||||
render(
|
||||
<StrictMode>
|
||||
<RouterProvider router={router} />
|
||||
</StrictMode>,
|
||||
);
|
||||
return router;
|
||||
};
|
||||
describe("automatic SSO auth pages", () => {
|
||||
beforeEach(() => {
|
||||
mocks.instance.generalSetting = { disallowPasswordAuth: true, disallowUserRegistration: false };
|
||||
@@ -58,10 +74,10 @@ describe("automatic SSO auth pages", () => {
|
||||
vi.mocked(signInWithSSO).mockResolvedValue();
|
||||
});
|
||||
it.each([
|
||||
{ path: "/auth", element: <SignIn /> },
|
||||
{ path: "/auth/signup", element: <SignUp /> },
|
||||
])("starts once on $path and replaces the entry with a bypass preserving the destination", async ({ path, element }) => {
|
||||
const router = renderPage(`${path}?redirect=%2Fmemos%2Fexample&reason=protected-memo`, element);
|
||||
{ path: "/auth", render: (url: string) => renderPage(url) },
|
||||
{ path: "/auth/signup", render: (url: string) => renderAuthRoutes(url) },
|
||||
])("starts once on $path and replaces the entry with a bypass preserving the destination", async ({ path, render }) => {
|
||||
const router = render(`${path}?redirect=%2Fmemos%2Fexample&reason=protected-memo`);
|
||||
await waitFor(() => expect(signInWithSSO).toHaveBeenCalledOnce());
|
||||
expect(signInWithSSO).toHaveBeenCalledWith(provider, "/memos/example");
|
||||
expect(router.state.historyAction).toBe("REPLACE");
|
||||
@@ -140,10 +156,13 @@ describe("automatic SSO auth pages", () => {
|
||||
renderPage();
|
||||
await waitFor(() => expect(signInWithSSO).toHaveBeenCalledOnce());
|
||||
});
|
||||
it("keeps closed sign-up out of automatic SSO", () => {
|
||||
it("keeps closed sign-up out of automatic SSO", async () => {
|
||||
mocks.instance.generalSetting.disallowUserRegistration = true;
|
||||
renderPage("/auth/signup", <SignUp />);
|
||||
expect(screen.getByText("auth.signups-closed-title")).toBeInTheDocument();
|
||||
const router = renderAuthRoutes("/auth/signup?redirect=%2Fmemos%2Fexample");
|
||||
expect(await screen.findByText("auth.signups-closed-description")).toBeInTheDocument();
|
||||
expect(router.state.location.pathname).toBe("/auth");
|
||||
expect(new URLSearchParams(router.state.location.search).get("redirect")).toBe("/memos/example");
|
||||
await act(async () => {});
|
||||
expect(signInWithSSO).not.toHaveBeenCalled();
|
||||
});
|
||||
it("keeps administrator sign-in out of automatic SSO", () => {
|
||||
|
||||
@@ -11,6 +11,8 @@ vi.mock("@/connect", () => ({ authServiceClient: { signIn: mocks.signIn }, userS
|
||||
vi.mock("@/auth-state", () => ({ clearAccessToken: vi.fn(), setAccessToken: vi.fn() }));
|
||||
vi.mock("@/hooks/useNavigateTo", () => ({ default: () => mocks.navigateTo }));
|
||||
vi.mock("@/utils/i18n", () => ({ useTranslate: () => (key: string) => key }));
|
||||
vi.mock("@/contexts/InstanceContext", () => ({ useInstance: () => ({ generalSetting: {} }) }));
|
||||
vi.mock("@/components/AuthFooter", () => ({ default: () => null }));
|
||||
|
||||
const renderCallback = (search: string) =>
|
||||
render(
|
||||
|
||||
Reference in New Issue
Block a user