Compare commits

..

2 Commits

Author SHA1 Message Date
Nolann Biron f45949d407 changeset 2026-10-06 12:37:40 +02:00
Nolann Biron 1a4956e81d Track server-side Insights events with the site's public URL 2026-10-06 12:37:40 +02:00
66 changed files with 206 additions and 678 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Stop the `?ask` query briefly appearing in the search field before an integration assistant opens.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Track which Ask AI entry point opened the chat in ask view analytics.
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Track server-side Insights events (markdown, llms.txt, RSS, ask) with the site's public URL instead of the proxy URL.
-5
View File
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Clarify the not-found page on sites with login-protected content: prompt anonymous visitors to log in, and tell logged-in visitors they may not have access.
@@ -1,5 +0,0 @@
---
"gitbook": patch
---
Restore the Next.js dev-mode OOM patch that was silently dropped by the 16.3.8 upgrade.
-1
View File
@@ -342,7 +342,6 @@
},
"patchedDependencies": {
"decode-named-character-reference@1.0.2": "patches/decode-named-character-reference@1.0.2.patch",
"next@16.3.8": "patches/next@16.3.8.patch",
},
"overrides": {
"@codemirror/state": "6.4.1",
+1 -1
View File
@@ -67,6 +67,6 @@
"patchedDependencies": {
"decode-named-character-reference@1.0.2": "patches/decode-named-character-reference@1.0.2.patch",
"@vercel/next@4.4.2": "patches/@vercel%2Fnext@4.4.2.patch",
"next@16.3.8": "patches/next@16.3.8.patch"
"next@16.3.6": "patches/next@16.3.6.patch"
}
}
+4 -5
View File
@@ -7,7 +7,7 @@ import type { CustomizationAIMode } from '@gitbook/api';
import type { GitBookAssistant } from '@gitbook/browser-types';
import { Icon, type IconName } from '@gitbook/icons';
import { type AskAITrigger, useAIChatController, useAIChatState } from '.';
import { useAIChatController, useAIChatState } from '.';
import { AIChatIcon, AISearchIcon, getAIChatName } from '../AIChat';
import { useIntegrationAssistants } from '../Integrations';
import { useSetSearchState } from '../Search/useSearch';
@@ -26,8 +26,7 @@ export type AIConfig = {
};
};
export type Assistant = Omit<GitBookAssistant, 'icon' | 'open'> & {
open: (query?: string, trigger?: AskAITrigger) => void;
export type Assistant = Omit<GitBookAssistant, 'icon'> & {
/**
* Unique identifier for the assistant. Generated automatically using Crypto.randomUUID().
* @example '123e4567-e89b-12d3-a456-426614174000'
@@ -103,8 +102,8 @@ export function useAI(): AIContext {
className="size-text-lg"
/>
),
open: (query?: string, trigger?: AskAITrigger) => {
chatController.open(trigger);
open: (query?: string) => {
chatController.open();
if (query) {
chatController.postMessage({ message: query });
}
@@ -11,7 +11,6 @@ import {
type AIStreamResponseToolCallPending,
type AIToolCallResult,
SiteInsightsDisplayContext,
type SiteInsightsEventAskView,
} from '@gitbook/api';
import { getInsightsSession, useTrackEvent } from '../Insights';
@@ -61,8 +60,6 @@ export type AIChatStatus =
| 'error'
| 'confirm';
export type AskAITrigger = NonNullable<SiteInsightsEventAskView['trigger']>;
export type AIChatState = {
/**
* If true, the chat is open.
@@ -163,7 +160,7 @@ type AIChatEventListener = (input?: Omit<AIChatEvent, 'type'>) => void;
export type AIChatController = {
/** Open the dialog */
open: (trigger?: AskAITrigger) => void;
open: () => void;
/** Close the dialog */
close: () => void;
/** Post a message to the session */
@@ -305,28 +302,22 @@ export function AIChatProvider(props: {
const eventsRef = React.useRef<Map<AIChatEvent['type'], AIChatEventListener[]>>(new Map());
// Open AI chat and sync with search state
const onOpen = React.useCallback(
(trigger?: AskAITrigger) => {
setIntercomLauncherHidden(true);
if (!renderMessageOptions?.asEmbeddable) {
trackEvent({ type: 'ask_view', trigger });
}
const onOpen = React.useCallback(() => {
setIntercomLauncherHidden(true);
const { initialQuery } = globalState.getState();
globalState.setState((state) => ({ ...state, opened: true }));
const { initialQuery } = globalState.getState();
globalState.setState((state) => ({ ...state, opened: true }));
// Update search state to show ask mode with first message or current ask value
setSearchState((prev) => ({
ask: prev?.ask ?? initialQuery ?? '',
query: prev?.query ?? null,
scope: prev?.scope ?? 'default',
open: false, // Close search popover when opening chat
}));
// Update search state to show ask mode with first message or current ask value
setSearchState((prev) => ({
ask: prev?.ask ?? initialQuery ?? '',
query: prev?.query ?? null,
scope: prev?.scope ?? 'default',
open: false, // Close search popover when opening chat
}));
notify(eventsRef.current.get('open'), {});
},
[setSearchState, trackEvent, renderMessageOptions?.asEmbeddable]
);
notify(eventsRef.current.get('open'), {});
}, [setSearchState]);
// Close AI chat and clear ask parameter
const onClose = React.useCallback(() => {
@@ -24,6 +24,7 @@ import {
EmbeddableFrameTitle,
} from '../Embeddable/EmbeddableFrame';
import { useIsMounted, useNow } from '../hooks';
import { useTrackEvent } from '../Insights';
import { Button } from '../primitives';
import { ScrollContainer } from '../primitives/ScrollContainer';
import { SideSheet } from '../primitives/SideSheet';
@@ -67,6 +68,16 @@ export function AIChat() {
}
);
// Track the view of the AI chat
const trackEvent = useTrackEvent();
React.useEffect(() => {
if (chat.opened) {
trackEvent({
type: 'ask_view',
});
}
}, [chat.opened, trackEvent]);
return (
<SideSheet
side="right"
@@ -39,7 +39,7 @@ export function AIChatButton(props: {
</div>
}
aria-label={tString(language, 'ai_chat_ask', assistant.label)}
onClick={() => assistant.open(undefined, 'site')}
onClick={() => assistant.open()}
>
{showLabel ? t(language, 'ask') : null}
</Button>
@@ -33,7 +33,7 @@ export function AskAIParagraphButton(props: { content: string; className?: Class
id: `text-${fnv1a(text, { size: 32 })}`,
content: text,
});
chatController.open('hover');
chatController.open();
chatController.setDraft(tString(language, 'ai_chat_paragraph_draft'));
chatController.focus();
};
@@ -84,7 +84,7 @@ export function AskAITextSelection() {
id: `text-${fnv1a(content, { size: 32 })}`,
content,
});
chatController.open('selection');
chatController.open();
chatController.focus();
clear();
};
@@ -61,7 +61,9 @@ export function EmbeddableAIChat(props: EmbeddableAIChatProps) {
}
trackEvent(
{ type: 'ask_view', trigger: 'embed' },
{
type: 'ask_view',
},
{
pageId: null,
displayContext: api.SiteInsightsDisplayContext.Embed,
@@ -1,7 +1,6 @@
import type { CustomizationDefaultThemeMode } from '@gitbook/api';
import { SiteInsightsTrademarkPlacement } from '@gitbook/api';
import { LoadIntegrations } from '../Integrations';
import { NavigationLoader } from '../primitives/NavigationLoader';
import { SpaceLayoutServerContext } from '../SpaceLayout';
import { Trademark } from '../TableOfContents/Trademark';
@@ -94,8 +93,6 @@ export async function EmbeddableRootLayout({
/>
</SpaceLayoutServerContext>
</EmbeddableAIContextProvider>
{/* Embeds load no integrations; this marks them loaded so search stops waiting. */}
<LoadIntegrations />
</SiteLayoutClientContexts>
</CustomizationRootLayout>
);
@@ -147,10 +147,6 @@ export function useCustomCookieBanner(): CustomCookieBannerStore {
export function LoadIntegrations() {
React.useEffect(() => {
return whenIntegrationsReady(() => {
// Integrations must only receive `load` once, even if this is mounted twice.
if (integrationsStore.getState().loaded) {
return;
}
dispatchGitBookIntegrationEvent('load');
integrationsStore.setState({ loaded: true });
});
@@ -67,7 +67,7 @@ export function ActionOpenAssistant(props: {
href: page.href,
});
}
assistant.open(undefined, 'page');
assistant.open();
}}
/>
);
@@ -5,7 +5,6 @@ import React from 'react';
import { useAI } from '../AI';
import { useTrackEvent } from '../Insights';
import { useIntegrationsLoaded } from '../Integrations';
import { useBodyLoaded } from '../primitives';
import {
clearLastSearchQuery,
@@ -141,7 +140,6 @@ export function useSearchController(
const trackEvent = useTrackEvent();
const resultsRef = React.useRef<SearchResultsRef>(null);
const isLoaded = useBodyLoaded();
const integrationsLoaded = useIntegrationsLoaded();
const restoredLastQueryForSiteSpaceRef = React.useRef<string | null>(null);
React.useEffect(() => {
@@ -171,8 +169,6 @@ export function useSearchController(
const withAI = assistants.length > 0;
const withSearchAI = assistants.filter((assistant) => assistant.mode === 'search').length > 0;
// Integration assistants register on window load, so wait for it before treating `ask` as a search query.
const askIsSearchQuery = withSearchAI || (!withAI && integrationsLoaded);
// Handle initial ask state on page load, once assistants are ready.
// `ask=` should still bootstrap the assistant on the docs site, so we must
@@ -207,7 +203,7 @@ export function useSearchController(
const query =
prev?.query ??
getLastSearchQuery(siteSpace.id) ??
(askIsSearchQuery ? prev?.ask : null) ??
(withSearchAI || !withAI ? prev?.ask : null) ??
'';
return {
@@ -221,7 +217,7 @@ export function useSearchController(
trackEvent({
type: 'search_open',
});
}, [state?.open, setSearchState, siteSpace.id, trackEvent, withAI, askIsSearchQuery]);
}, [state?.open, setSearchState, siteSpace.id, trackEvent, withAI, withSearchAI]);
const setQuery = React.useCallback(
(value: string) => {
@@ -265,7 +261,7 @@ export function useSearchController(
});
const searchValue =
state?.query ?? (askIsSearchQuery ? state?.ask : null) ?? lastSearchQuery ?? '';
state?.query ?? (withSearchAI || !withAI ? state?.ask : null) ?? lastSearchQuery ?? '';
const searchResultsId = `search-results-${React.useId()}`;
// Only clears the remembered last query and stops any in-flight fetch — it must
@@ -16,7 +16,6 @@ import { useSetSearchState } from '../Search';
import { fetchSiteIndex } from '../Search/site-index';
import { SiteAuthLoginButton } from '../SiteAuth/SiteAuthLoginLink';
import {
useIsLoggedInVisitor,
useSiteAdaptiveAuthLoginHref,
useSiteIndexURL,
useSpaceBasePath,
@@ -45,9 +44,6 @@ export function SitePageNotFound() {
const setSearchState = useSetSearchState();
const { assistants } = useAI();
const isAuthenticated = useIsLoggedInVisitor();
const copy = getNotFoundCopy({ hasAdaptiveLogin: !!adaptiveAuthLoginHref, isAuthenticated });
// Show the assistant input when a non-search assistant is available (i.e. not just ask-AI).
const assistant = assistants.find((candidate) => candidate.mode !== 'search') ?? null;
const inputLabel = tString(language, assistant ? 'search_or_ask' : 'search');
@@ -128,20 +124,21 @@ export function SitePageNotFound() {
'text-tint-strong'
)}
>
{t(language, copy.title)}
{t(
language,
adaptiveAuthLoginHref
? 'notfound_adaptive_title'
: 'notfound_title'
)}
</h1>
<p className={tcls('text-base', 'text-tint', 'text-center')}>
{t(language, copy.message)}
<p className={tcls('text-base', 'text-tint')}>
{t(
language,
adaptiveAuthLoginHref ? 'notfound_adaptive' : 'notfound'
)}
</p>
</div>
{adaptiveAuthLoginHref && isAuthenticated ? (
// Re-running login refreshes the visitor's claims, e.g. after a role change.
<SiteAuthLoginButton
href={adaptiveAuthLoginHref}
variant="secondary"
label={t(language, 'notfound_adaptive_login_again')}
/>
) : adaptiveAuthLoginHref ? (
{adaptiveAuthLoginHref ? (
<div className="flex flex-col items-center gap-4">
<SiteAuthLoginButton
href={adaptiveAuthLoginHref}
@@ -193,19 +190,6 @@ export function SitePageNotFound() {
);
}
function getNotFoundCopy(args: { hasAdaptiveLogin: boolean; isAuthenticated: boolean }) {
if (!args.hasAdaptiveLogin) {
return { title: 'notfound_title', message: 'notfound' } as const;
}
if (args.isAuthenticated) {
return {
title: 'notfound_adaptive_no_access_title',
message: 'notfound_adaptive_no_access',
} as const;
}
return { title: 'notfound_adaptive_title', message: 'notfound_adaptive' } as const;
}
/**
* List of related pages, with skeleton rows while they load. Renders nothing once we know
* there are no suggestions.
@@ -6,8 +6,7 @@ import type { GitBookSiteContext } from '@/lib/context';
mock.module('server-only', () => ({}));
const { fetchPageData, getLowercasePathnameRedirect, resolveMissingPagePath } =
await import('./fetch');
const { fetchPageData, getLowercasePathnameRedirect } = await import('./fetch');
const { normalizeURL } = await import('@/lib/data/urls');
const page = {
@@ -95,70 +94,6 @@ describe('fetchPageData', () => {
});
});
describe('resolveMissingPagePath', () => {
function createRedirectContext(options: {
siteRedirect?: { target: string; permanent?: boolean };
spaceRedirectPageId?: string;
}) {
const getSiteRedirectBySource = mock(async ({ source }: { source: string }) =>
options.siteRedirect && source === '/old'
? {
data: {
target: options.siteRedirect.target,
redirect: { permanent: options.siteRedirect.permanent ?? false },
},
}
: { error: { code: 404, message: 'Not found' } }
);
const getRevisionPageByPath = mock(async () =>
options.spaceRedirectPageId
? { data: { id: options.spaceRedirectPageId } }
: { error: { code: 404, message: 'Not found' } }
);
return {
organizationId: 'org-1',
site: { id: 'site-1' },
space: { id: 'space-1', revision: 'revision-1' },
revisionId: 'revision-1',
revision: { pages: [page] },
linker: {
toPathInSpace: (path: string) => path,
toRelativePathInSite: (path: string) => path,
toLinkForContent: (url: string) => new URL(url).pathname,
},
dataFetcher: { getSiteRedirectBySource, getRevisionPageByPath },
} as unknown as GitBookSiteContext;
}
it('resolves a site redirect', async () => {
const context = createRedirectContext({
siteRedirect: { target: 'https://docs.example.com/new', permanent: true },
});
expect(await resolveMissingPagePath(context, 'old')).toEqual({
type: 'redirect',
destination: '/new',
permanent: true,
});
});
it('resolves a space redirect to a page', async () => {
const context = createRedirectContext({ spaceRedirectPageId: page.id });
expect(await resolveMissingPagePath(context, 'old')).toEqual({
type: 'page',
page: { page, ancestors: [] },
});
});
it('returns undefined when nothing matches', async () => {
const context = createRedirectContext({});
expect(await resolveMissingPagePath(context, 'old')).toBeUndefined();
});
});
describe('getLowercasePathnameRedirect', () => {
it('redirects ASCII paths with uppercase letters', () => {
expect(getLowercasePathnameRedirect('Foo/Bar')).toBe('foo/bar');
@@ -2,14 +2,13 @@ import { permanentRedirect, redirect } from 'next/navigation';
import {
CustomizationPageActionType,
type RevisionPageDocument,
SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH,
SITE_REDIRECT_SOURCE_PATH_PATTERN,
} from '@gitbook/api';
import type { GitBookSiteContext } from '@/lib/context';
import { getDataOrNull } from '@/lib/data';
import { type ResolvedPagePath, resolvePageId } from '@/lib/pages';
import { resolvePageId } from '@/lib/pages';
import { withLeadingSlash } from '@/lib/paths';
import { resolveSiteSpacePagePath } from '@/lib/sites';
@@ -71,7 +70,7 @@ export async function fetchPageData(context: GitBookSiteContext, params: PagePar
* If the path can't be found, we try to resolve it from the API to handle redirects.
*/
async function resolvePage(context: GitBookSiteContext, params: PagePathParams | PageIdParams) {
const { revision } = context;
const { organizationId, site, space, revision, shareKey, linker, revisionId } = context;
if ('pageId' in params) {
return resolvePageId(revision.pages, params.pageId);
@@ -86,102 +85,72 @@ async function resolvePage(context: GitBookSiteContext, params: PagePathParams |
return page;
}
const fallback = await resolveMissingPagePath(context, rawPathname);
if (fallback?.type === 'redirect') {
return fallback.permanent
? permanentRedirect(fallback.destination)
: redirect(fallback.destination);
}
return fallback?.page;
}
export type MissingPagePathResolution =
| {
type: 'redirect';
/** Destination as returned by `linker.toLinkForContent` (absolute path or URL). */
destination: string;
permanent: boolean;
}
| {
type: 'page';
page: ResolvedPagePath<RevisionPageDocument>;
};
/**
* Resolve a pathname that doesn't match any page of the revision, using site-level and space-level redirects.
*/
export async function resolveMissingPagePath(
context: GitBookSiteContext,
rawPathname: string
): Promise<MissingPagePathResolution | undefined> {
const { organizationId, site, space, revision, shareKey, linker, revisionId } = context;
// We don't test path that are too long as GitBook doesn't support them and will return a 404 anyway.
// API has a limit of less than 512 characters for the source path, so we use the same limit here.
if (rawPathname.length >= SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH) {
return undefined;
}
if (rawPathname.length < SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH) {
const SITE_REDIRECT_SOURCE_PATH_REGEX = new RegExp(SITE_REDIRECT_SOURCE_PATH_PATTERN);
const redirectPathname = withLeadingSlash(rawPathname);
// If a page can't be found, we try with the API, in case we have a redirect at site level.
const redirectSources = new Set(
[
// Test the pathname relative to the root
// For example hello/world -> section/variant/hello/world
linker.toRelativePathInSite(linker.toPathInSpace(redirectPathname)),
// Test the pathname relative to the content/space
// For example hello/world -> /hello/world
redirectPathname,
]
.map(toSiteRedirectSourceCandidate)
.filter((source) => SITE_REDIRECT_SOURCE_PATH_REGEX.test(source))
);
const SITE_REDIRECT_SOURCE_PATH_REGEX = new RegExp(SITE_REDIRECT_SOURCE_PATH_PATTERN);
const redirectPathname = withLeadingSlash(rawPathname);
// If a page can't be found, we try with the API, in case we have a redirect at site level.
const redirectSources = new Set(
[
// Test the pathname relative to the root
// For example hello/world -> section/variant/hello/world
linker.toRelativePathInSite(linker.toPathInSpace(redirectPathname)),
// Test the pathname relative to the content/space
// For example hello/world -> /hello/world
redirectPathname,
]
.map(toSiteRedirectSourceCandidate)
.filter((source) => SITE_REDIRECT_SOURCE_PATH_REGEX.test(source))
);
for (const source of redirectSources) {
// We try to resolve the site redirect
const resolvedSiteRedirect =
source.length < SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH &&
(await getDataOrNull(
context.dataFetcher.getSiteRedirectBySource({
organizationId,
siteId: site.id,
source,
siteShareKey: shareKey,
})
));
if (resolvedSiteRedirect) {
const isPublicLiveContext =
!shareKey &&
!context.changeRequest &&
!context.preview &&
context.revisionId === context.space.revision &&
!context.isLoggedInVisitor;
return {
type: 'redirect',
destination: linker.toLinkForContent(resolvedSiteRedirect.target),
permanent: Boolean(
for (const source of redirectSources) {
// We try to resolve the site redirect
const resolvedSiteRedirect =
source.length < SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH &&
(await getDataOrNull(
context.dataFetcher.getSiteRedirectBySource({
organizationId,
siteId: site.id,
source,
siteShareKey: shareKey,
})
));
if (resolvedSiteRedirect) {
const destination = linker.toLinkForContent(resolvedSiteRedirect.target);
const isPublicLiveContext =
!shareKey &&
!context.changeRequest &&
!context.preview &&
context.revisionId === context.space.revision &&
!context.isLoggedInVisitor;
if (
resolvedSiteRedirect.redirect?.permanent &&
!resolvedSiteRedirect.redirect.draft &&
isPublicLiveContext
),
};
) {
return permanentRedirect(destination);
}
return redirect(destination);
}
}
// If page still can't be found, we try with the API, in case we have a redirect at space level.
// We use the raw pathname to handle special/malformed redirects setup by users in the GitSync.
// The page rendering will take care of redirecting to a normalized pathname.
const resolved = await getDataOrNull(
context.dataFetcher.getRevisionPageByPath({
spaceId: space.id,
revisionId: revisionId,
path: rawPathname,
})
);
if (resolved) {
return resolvePageId(revision.pages, resolved.id);
}
}
// If page still can't be found, we try with the API, in case we have a redirect at space level.
// We use the raw pathname to handle special/malformed redirects setup by users in the GitSync.
// The page rendering will take care of redirecting to a normalized pathname.
const resolved = await getDataOrNull(
context.dataFetcher.getRevisionPageByPath({
spaceId: space.id,
revisionId: revisionId,
path: rawPathname,
})
);
const page = resolved ? resolvePageId(revision.pages, resolved.id) : undefined;
return page ? { type: 'page', page } : undefined;
return undefined;
}
/**
@@ -72,7 +72,6 @@ export function SpaceLayoutServerContext(props: SpaceLayoutProps) {
<SpaceLayoutContextProvider
basePath={context.linker.toPathInSpace('')}
siteAdaptiveAuthLoginHref={siteAdaptiveAuthLoginHref}
isLoggedInVisitor={context.isLoggedInVisitor}
siteIndexURL={context.linker.toPathInSite('~gitbook/site-index')}
>
<AdaptiveVisitorContextProvider
@@ -5,7 +5,6 @@ import React from 'react';
const SpaceLayoutContext = React.createContext({
basePath: '',
siteAdaptiveAuthLoginHref: null as string | null,
isLoggedInVisitor: false,
siteIndexURL: '',
});
@@ -16,21 +15,14 @@ export function SpaceLayoutContextProvider(
props: React.PropsWithChildren<{
basePath: string;
siteAdaptiveAuthLoginHref?: string | null;
isLoggedInVisitor?: boolean;
siteIndexURL: string;
}>
) {
const {
basePath,
siteAdaptiveAuthLoginHref = null,
isLoggedInVisitor = false,
siteIndexURL,
children,
} = props;
const { basePath, siteAdaptiveAuthLoginHref = null, siteIndexURL, children } = props;
const value = React.useMemo(
() => ({ basePath, siteAdaptiveAuthLoginHref, isLoggedInVisitor, siteIndexURL }),
[basePath, siteAdaptiveAuthLoginHref, isLoggedInVisitor, siteIndexURL]
() => ({ basePath, siteAdaptiveAuthLoginHref, siteIndexURL }),
[basePath, siteAdaptiveAuthLoginHref, siteIndexURL]
);
return <SpaceLayoutContext.Provider value={value}>{children}</SpaceLayoutContext.Provider>;
@@ -58,17 +50,6 @@ export function useSiteAdaptiveAuthLoginHref() {
return context.siteAdaptiveAuthLoginHref;
}
/**
* Return whether the visitor has a visitor auth token, with or without claims.
*/
export function useIsLoggedInVisitor() {
const context = React.useContext(SpaceLayoutContext);
if (!context) {
throw new Error('SpaceLayoutContext not found');
}
return context.isLoggedInVisitor;
}
/**
* Return the URL of the site search index (`~gitbook/site-index`).
*/
+2 -6
View File
@@ -77,14 +77,10 @@ export const ar: TranslationLanguage = {
notfound_title: 'الصفحة غير موجودة',
notfound_link: 'يشير هذا الرابط إلى صفحة تمت إزالتها أو لم تعد موجودة.',
notfound: 'الصفحة التي تبحث عنها غير موجودة.',
notfound_adaptive_title: 'سجّل الدخول لعرض هذه الصفحة',
notfound_adaptive: 'قد تتطلب هذه الصفحة تسجيل الدخول. إذا اتبعت رابطًا، فتحقق من صحته.',
notfound_adaptive_title: 'الصفحة غير متاحة',
notfound_adaptive: 'قد تكون هذه الصفحة موجودة، لكن قد تحتاج إلى تسجيل الدخول للوصول إليها.',
notfound_adaptive_login: 'تسجيل الدخول',
notfound_adaptive_registration_hint: 'قد يكون التسجيل متاحًا حسب المؤسسة.',
notfound_adaptive_no_access_title: 'قد لا تملك صلاحية الوصول إلى هذه الصفحة',
notfound_adaptive_no_access:
'قد لا تكون هذه الصفحة موجودة، أو قد لا يملك حسابك صلاحية الوصول إليها. إذا اتبعت رابطًا، فتحقق من صحته.',
notfound_adaptive_login_again: 'تسجيل الدخول مجددًا',
notfound_goto_home: 'الانتقال إلى الصفحة الرئيسية',
notfound_suggestions_title: 'ربما تبحث عن',
unexpected_error_title: 'حدث خطأ',
+2 -6
View File
@@ -78,16 +78,12 @@ export const bg: TranslationLanguage = {
notfound_title: 'Страницата не е намерена',
notfound_link: 'Тази връзка сочи към страница, която е премахната или вече не съществува.',
notfound: 'Страницата, която търсите, не съществува.',
notfound_adaptive_title: 'Влезте, за да видите тази страница',
notfound_adaptive_title: 'Страницата не е налична',
notfound_adaptive:
'Тази страница може да изисква вход. Ако сте последвали връзка, проверете дали е правилна.',
'Тази страница може да съществува, но може да трябва да влезете, за да я достъпите.',
notfound_adaptive_login: 'Вход',
notfound_adaptive_registration_hint:
'Регистрацията може да е възможна в зависимост от организацията.',
notfound_adaptive_no_access_title: 'Възможно е да нямате достъп до тази страница',
notfound_adaptive_no_access:
'Тази страница може да не съществува или профилът ви може да няма достъп до нея. Ако сте последвали връзка, проверете дали е правилна.',
notfound_adaptive_login_again: 'Повторен вход',
notfound_goto_home: 'Към началната страница',
notfound_suggestions_title: 'Може би търсите',
unexpected_error_title: 'Възникна грешка',
+2 -6
View File
@@ -77,15 +77,11 @@ export const cs: TranslationLanguage = {
notfound_title: 'Stránka nenalezena',
notfound_link: 'Tento odkaz vede na stránku, která byla odstraněna nebo již neexistuje.',
notfound: 'Stránka, kterou hledáte, neexistuje.',
notfound_adaptive_title: 'Pro zobrazení této stránky se přihlaste',
notfound_adaptive_title: 'Stránka není dostupná',
notfound_adaptive:
'Tato stránka může vyžadovat přihlášení. Pokud jste přešli z odkazu, zkontrolujte, zda je správný.',
'Tato stránka může existovat, ale pro přístup se možná budete muset přihlásit.',
notfound_adaptive_login: 'Přihlásit se',
notfound_adaptive_registration_hint: 'Registrace může být dostupná v závislosti na organizaci.',
notfound_adaptive_no_access_title: 'K této stránce možná nemáte přístup',
notfound_adaptive_no_access:
'Tato stránka možná neexistuje nebo k ní váš účet nemá přístup. Pokud jste přešli z odkazu, zkontrolujte, zda je správný.',
notfound_adaptive_login_again: 'Přihlásit se znovu',
notfound_goto_home: 'Přejít na domovskou stránku',
notfound_suggestions_title: 'Možná hledáte',
unexpected_error_title: 'Došlo k chybě',
+2 -6
View File
@@ -77,15 +77,11 @@ export const da: TranslationLanguage = {
notfound_title: 'Siden blev ikke fundet',
notfound_link: 'Dette link peger på en side, der er blevet fjernet eller ikke længere findes.',
notfound: 'Siden, du leder efter, findes ikke.',
notfound_adaptive_title: 'Log ind for at se denne side',
notfound_adaptive_title: 'Siden er ikke tilgængelig',
notfound_adaptive:
'Denne side kræver muligvis, at du logger ind. Hvis du har fulgt et link, så tjek, at det er korrekt.',
'Denne side findes muligvis, men du skal muligvis logge ind for at få adgang.',
notfound_adaptive_login: 'Log ind',
notfound_adaptive_registration_hint: 'Registrering kan være mulig afhængigt af organisationen.',
notfound_adaptive_no_access_title: 'Du har muligvis ikke adgang til denne side',
notfound_adaptive_no_access:
'Denne side findes muligvis ikke, eller din konto har muligvis ikke adgang til den. Hvis du har fulgt et link, så tjek, at det er korrekt.',
notfound_adaptive_login_again: 'Log ind igen',
notfound_goto_home: 'Gå til forsiden',
notfound_suggestions_title: 'Du leder måske efter',
unexpected_error_title: 'Der opstod en fejl',
+2 -6
View File
@@ -80,16 +80,12 @@ export const de: TranslationLanguage = {
notfound_link:
'Dieser Link verweist auf eine Seite, die entfernt wurde oder nicht mehr existiert.',
notfound: 'Die gesuchte Seite existiert nicht.',
notfound_adaptive_title: 'Melden Sie sich an, um diese Seite anzuzeigen',
notfound_adaptive_title: 'Seite nicht verfügbar',
notfound_adaptive:
'Für diese Seite ist möglicherweise eine Anmeldung erforderlich. Wenn Sie einem Link gefolgt sind, prüfen Sie, ob er korrekt ist.',
'Diese Seite existiert möglicherweise, aber Sie müssen sich eventuell anmelden, um darauf zuzugreifen.',
notfound_adaptive_login: 'Anmelden',
notfound_adaptive_registration_hint:
'Die Registrierung ist je nach Organisation möglicherweise verfügbar.',
notfound_adaptive_no_access_title: 'Sie haben möglicherweise keinen Zugriff auf diese Seite',
notfound_adaptive_no_access:
'Diese Seite existiert möglicherweise nicht, oder Ihr Konto hat keinen Zugriff darauf. Wenn Sie einem Link gefolgt sind, prüfen Sie, ob er korrekt ist.',
notfound_adaptive_login_again: 'Erneut anmelden',
notfound_goto_home: 'Zur Startseite',
notfound_suggestions_title: 'Vielleicht suchen Sie nach',
unexpected_error_title: 'Ein Fehler ist aufgetreten',
+2 -6
View File
@@ -78,16 +78,12 @@ export const el: TranslationLanguage = {
notfound_title: 'Η σελίδα δεν βρέθηκε',
notfound_link: 'Αυτός ο σύνδεσμος οδηγεί σε μια σελίδα που έχει αφαιρεθεί ή δεν υπάρχει πλέον.',
notfound: 'Η σελίδα που αναζητάτε δεν υπάρχει.',
notfound_adaptive_title: 'Συνδεθείτε για να δείτε αυτή τη σελίδα',
notfound_adaptive_title: 'Η σελίδα δεν είναι διαθέσιμη',
notfound_adaptive:
'Αυτή η σελίδα ενδέχεται να απαιτεί σύνδεση. Αν ακολουθήσατε έναν σύνδεσμο, ελέγξτε ότι είναι σωστός.',
'Αυτή η σελίδα μπορεί να υπάρχει, αλλά ίσως χρειαστεί να συνδεθείτε για πρόσβαση.',
notfound_adaptive_login: 'Σύνδεση',
notfound_adaptive_registration_hint:
'Η εγγραφή ενδέχεται να είναι διαθέσιμη ανάλογα με τον οργανισμό.',
notfound_adaptive_no_access_title: 'Ίσως δεν έχετε πρόσβαση σε αυτή τη σελίδα',
notfound_adaptive_no_access:
'Αυτή η σελίδα ενδέχεται να μην υπάρχει ή ο λογαριασμός σας ενδέχεται να μην έχει πρόσβαση σε αυτήν. Αν ακολουθήσατε έναν σύνδεσμο, ελέγξτε ότι είναι σωστός.',
notfound_adaptive_login_again: 'Επανασύνδεση',
notfound_goto_home: 'Μετάβαση στην αρχική σελίδα',
notfound_suggestions_title: 'Ίσως αναζητάτε',
unexpected_error_title: 'Παρουσιάστηκε σφάλμα',
+2 -7
View File
@@ -75,16 +75,11 @@ export const en = {
notfound_title: 'Page not found',
notfound_link: 'This link points to a page that has been removed or no longer exists.',
notfound: "The page you're looking for doesn't exist.",
notfound_adaptive_title: 'Log in to view this page',
notfound_adaptive:
"This page may require you to log in. If you followed a link, check that it's correct.",
notfound_adaptive_title: 'Page unavailable',
notfound_adaptive: 'This page may exist, but you may need to log in to access it.',
notfound_adaptive_login: 'Log in',
notfound_adaptive_registration_hint:
'Registration may be available depending on the organization.',
notfound_adaptive_no_access_title: 'You may not have access to this page',
notfound_adaptive_no_access:
"This page may not exist, or your account may not have access to it. If you followed a link, check that it's correct.",
notfound_adaptive_login_again: 'Log in again',
notfound_goto_home: 'Go to homepage',
notfound_suggestions_title: 'You might be looking for',
unexpected_error_title: 'An error occurred',
+2 -6
View File
@@ -79,16 +79,12 @@ export const es: TranslationLanguage = {
notfound_title: 'Página no encontrada',
notfound_link: 'Este enlace apunta a una página que ha sido eliminada o ya no existe.',
notfound: 'La página que buscas no existe.',
notfound_adaptive_title: 'Inicia sesión para ver esta página',
notfound_adaptive_title: 'Página no disponible',
notfound_adaptive:
'Es posible que esta página requiera iniciar sesión. Si has seguido un enlace, comprueba que sea correcto.',
'Esta página puede existir, pero es posible que debas iniciar sesión para acceder.',
notfound_adaptive_login: 'Iniciar sesión',
notfound_adaptive_registration_hint:
'El registro puede estar disponible según la organización.',
notfound_adaptive_no_access_title: 'Es posible que no tengas acceso a esta página',
notfound_adaptive_no_access:
'Es posible que esta página no exista o que tu cuenta no tenga acceso a ella. Si has seguido un enlace, comprueba que sea correcto.',
notfound_adaptive_login_again: 'Volver a iniciar sesión',
notfound_goto_home: 'Ir al inicio',
notfound_suggestions_title: 'Quizás estés buscando',
unexpected_error_title: 'Ocurrió un error',
+2 -7
View File
@@ -77,16 +77,11 @@ export const et: TranslationLanguage = {
notfound_title: 'Lehte ei leitud',
notfound_link: 'See link viitab lehele, mis on eemaldatud või mida enam ei eksisteeri.',
notfound: 'Lehte, mida otsite, ei eksisteeri.',
notfound_adaptive_title: 'Selle lehe vaatamiseks logi sisse',
notfound_adaptive:
'See leht võib nõuda sisselogimist. Kui järgisid linki, kontrolli, et see oleks õige.',
notfound_adaptive_title: 'Leht pole saadaval',
notfound_adaptive: 'See leht võib olemas olla, kuid juurdepääsuks võib olla vaja sisse logida.',
notfound_adaptive_login: 'Logi sisse',
notfound_adaptive_registration_hint:
'Registreerimine võib olla saadaval olenevalt organisatsioonist.',
notfound_adaptive_no_access_title: 'Sul ei pruugi olla sellele lehele juurdepääsu',
notfound_adaptive_no_access:
'Seda lehte ei pruugi olla olemas või sinu kontol ei pruugi olla sellele juurdepääsu. Kui järgisid linki, kontrolli, et see oleks õige.',
notfound_adaptive_login_again: 'Logi uuesti sisse',
notfound_goto_home: 'Mine avalehele',
notfound_suggestions_title: 'Võib-olla otsite',
unexpected_error_title: 'Ilmnes tõrge',
+2 -6
View File
@@ -78,16 +78,12 @@ export const fi: TranslationLanguage = {
notfound_title: 'Sivua ei löytynyt',
notfound_link: 'Tämä linkki osoittaa sivulle, joka on poistettu tai jota ei enää ole.',
notfound: 'Etsimääsi sivua ei ole olemassa.',
notfound_adaptive_title: 'Kirjaudu sisään nähdäksesi tämän sivun',
notfound_adaptive_title: 'Sivu ei ole saatavilla',
notfound_adaptive:
'Tämä sivu saattaa vaatia kirjautumisen. Jos seurasit linkkiä, tarkista, että se on oikein.',
'Tämä sivu voi olla olemassa, mutta sen käyttö voi edellyttää kirjautumista.',
notfound_adaptive_login: 'Kirjaudu sisään',
notfound_adaptive_registration_hint:
'Rekisteröityminen voi olla mahdollista organisaatiosta riippuen.',
notfound_adaptive_no_access_title: 'Sinulla ei ehkä ole pääsyä tälle sivulle',
notfound_adaptive_no_access:
'Tätä sivua ei ehkä ole olemassa, tai tililläsi ei ehkä ole pääsyä siihen. Jos seurasit linkkiä, tarkista, että se on oikein.',
notfound_adaptive_login_again: 'Kirjaudu uudelleen',
notfound_goto_home: 'Siirry etusivulle',
notfound_suggestions_title: 'Saatat etsiä',
unexpected_error_title: 'Tapahtui virhe',
+2 -6
View File
@@ -78,15 +78,11 @@ export const fr: TranslationLanguage = {
notfound_title: 'Page introuvable',
notfound_link: "Ce lien pointe vers une page qui a été supprimée ou n'existe plus.",
notfound: 'La page que vous cherchez n’existe pas.',
notfound_adaptive_title: 'Connectez-vous pour afficher cette page',
notfound_adaptive_title: 'Page inaccessible',
notfound_adaptive:
"Cette page peut nécessiter une connexion. Si vous avez suivi un lien, vérifiez qu'il est correct.",
'Cette page existe peut-être, mais vous devez peut-être vous connecter pour y accéder.',
notfound_adaptive_login: 'Se connecter',
notfound_adaptive_registration_hint: "L'inscription peut être disponible selon l'organisation.",
notfound_adaptive_no_access_title: "Vous n'avez peut-être pas accès à cette page",
notfound_adaptive_no_access:
"Cette page n'existe peut-être pas, ou votre compte n'y a peut-être pas accès. Si vous avez suivi un lien, vérifiez qu'il est correct.",
notfound_adaptive_login_again: 'Se reconnecter',
notfound_goto_home: "Aller à l'accueil",
notfound_suggestions_title: 'Vous cherchez peut-être',
unexpected_error_title: 'Erreur inattendue',
+2 -6
View File
@@ -77,14 +77,10 @@ export const he: TranslationLanguage = {
notfound_title: 'הדף לא נמצא',
notfound_link: 'קישור זה מפנה לדף שהוסר או אינו קיים עוד.',
notfound: 'הדף שחיפשת אינו קיים.',
notfound_adaptive_title: 'יש להתחבר כדי לצפות בדף זה',
notfound_adaptive: 'ייתכן שדף זה דורש התחברות. אם הגעת דרך קישור, יש לוודא שהוא נכון.',
notfound_adaptive_title: 'הדף אינו זמין',
notfound_adaptive: 'ייתכן שהדף קיים, אך ייתכן שעליך להתחבר כדי לגשת אליו.',
notfound_adaptive_login: 'התחברות',
notfound_adaptive_registration_hint: 'ייתכן שההרשמה זמינה בהתאם לארגון.',
notfound_adaptive_no_access_title: 'ייתכן שאין לך גישה לדף זה',
notfound_adaptive_no_access:
'ייתכן שדף זה אינו קיים, או שלחשבון שלך אין גישה אליו. אם הגעת דרך קישור, יש לוודא שהוא נכון.',
notfound_adaptive_login_again: 'התחברות מחדש',
notfound_goto_home: 'מעבר לדף הבית',
notfound_suggestions_title: 'אולי אתה מחפש',
unexpected_error_title: 'אירעה שגיאה',
+2 -7
View File
@@ -77,15 +77,10 @@ export const hi: TranslationLanguage = {
notfound_title: 'पृष्ठ नहीं मिला',
notfound_link: 'यह लिंक ऐसे पृष्ठ पर जाता है जिसे हटा दिया गया है या जो अब मौजूद नहीं है।',
notfound: 'आप जिस पृष्ठ को खोज रहे हैं वह मौजूद नहीं है।',
notfound_adaptive_title: 'यह पृष्ठ देखने के लिए लॉग इन करें',
notfound_adaptive:
'इस पृष्ठ के लिए लॉग इन करना आवश्यक हो सकता है। यदि आप किसी लिंक से आए हैं, तो जांच लें कि वह सही है।',
notfound_adaptive_title: 'पृष्ठ उपलब्ध नहीं',
notfound_adaptive: 'यह पृष्ठ मौजूद हो सकता है, लेकिन इसे देखने के लिए आपको लॉग इन करना पड़ सकता है।',
notfound_adaptive_login: 'लॉग इन करें',
notfound_adaptive_registration_hint: 'संगठन के आधार पर पंजीकरण उपलब्ध हो सकता है।',
notfound_adaptive_no_access_title: 'हो सकता है कि आपके पास इस पृष्ठ की पहुंच न हो',
notfound_adaptive_no_access:
'हो सकता है कि यह पृष्ठ मौजूद न हो, या आपके खाते के पास इसकी पहुंच न हो। यदि आप किसी लिंक से आए हैं, तो जांच लें कि वह सही है।',
notfound_adaptive_login_again: 'फिर से लॉग इन करें',
notfound_goto_home: 'मुखपृष्ठ पर जाएं',
notfound_suggestions_title: 'शायद आप यह ढूँढ रहे हैं',
unexpected_error_title: 'त्रुटि हुई',
+2 -6
View File
@@ -77,15 +77,11 @@ export const hr: TranslationLanguage = {
notfound_title: 'Stranica nije pronađena',
notfound_link: 'Ova poveznica vodi na stranicu koja je uklonjena ili više ne postoji.',
notfound: 'Stranica koju tražite ne postoji.',
notfound_adaptive_title: 'Prijavite se za prikaz ove stranice',
notfound_adaptive_title: 'Stranica nije dostupna',
notfound_adaptive:
'Ova stranica možda zahtijeva prijavu. Ako ste slijedili poveznicu, provjerite je li ispravna.',
'Ova stranica možda postoji, ali možda se morate prijaviti da biste joj pristupili.',
notfound_adaptive_login: 'Prijava',
notfound_adaptive_registration_hint: 'Registracija može biti dostupna ovisno o organizaciji.',
notfound_adaptive_no_access_title: 'Možda nemate pristup ovoj stranici',
notfound_adaptive_no_access:
'Ova stranica možda ne postoji ili vaš račun nema pristup njoj. Ako ste slijedili poveznicu, provjerite je li ispravna.',
notfound_adaptive_login_again: 'Ponovna prijava',
notfound_goto_home: 'Idi na početnu stranicu',
notfound_suggestions_title: 'Možda tražite',
unexpected_error_title: 'Došlo je do pogreške',
+2 -7
View File
@@ -78,15 +78,10 @@ export const hu: TranslationLanguage = {
notfound_title: 'Az oldal nem található',
notfound_link: 'Ez a hivatkozás egy eltávolított vagy már nem létező oldalra mutat.',
notfound: 'A keresett oldal nem létezik.',
notfound_adaptive_title: 'Jelentkezzen be az oldal megtekintéséhez',
notfound_adaptive:
'Ehhez az oldalhoz bejelentkezés szükséges lehet. Ha egy hivatkozást követett, ellenőrizze, hogy helyes-e.',
notfound_adaptive_title: 'Az oldal nem érhető el',
notfound_adaptive: 'Ez az oldal létezhet, de a hozzáféréshez lehet, hogy be kell jelentkeznie.',
notfound_adaptive_login: 'Bejelentkezés',
notfound_adaptive_registration_hint: 'A regisztráció a szervezettől függően elérhető lehet.',
notfound_adaptive_no_access_title: 'Lehet, hogy nincs hozzáférése ehhez az oldalhoz',
notfound_adaptive_no_access:
'Lehet, hogy ez az oldal nem létezik, vagy a fiókja nem fér hozzá. Ha egy hivatkozást követett, ellenőrizze, hogy helyes-e.',
notfound_adaptive_login_again: 'Újbóli bejelentkezés',
notfound_goto_home: 'Ugrás a kezdőlapra',
notfound_suggestions_title: 'Talán ezt keresi',
unexpected_error_title: 'Hiba történt',
+2 -6
View File
@@ -77,15 +77,11 @@ export const id: TranslationLanguage = {
notfound_title: 'Halaman tidak ditemukan',
notfound_link: 'Tautan ini mengarah ke halaman yang telah dihapus atau sudah tidak ada.',
notfound: 'Halaman yang Anda cari tidak ada.',
notfound_adaptive_title: 'Masuk untuk melihat halaman ini',
notfound_adaptive_title: 'Halaman tidak tersedia',
notfound_adaptive:
'Halaman ini mungkin mengharuskan Anda masuk. Jika Anda mengikuti tautan, periksa apakah tautan tersebut benar.',
'Halaman ini mungkin ada, tetapi Anda mungkin perlu masuk untuk mengaksesnya.',
notfound_adaptive_login: 'Masuk',
notfound_adaptive_registration_hint: 'Pendaftaran mungkin tersedia tergantung pada organisasi.',
notfound_adaptive_no_access_title: 'Anda mungkin tidak memiliki akses ke halaman ini',
notfound_adaptive_no_access:
'Halaman ini mungkin tidak ada, atau akun Anda mungkin tidak memiliki akses ke halaman ini. Jika Anda mengikuti tautan, periksa apakah tautan tersebut benar.',
notfound_adaptive_login_again: 'Masuk lagi',
notfound_goto_home: 'Buka beranda',
notfound_suggestions_title: 'Mungkin Anda mencari',
unexpected_error_title: 'Terjadi kesalahan',
+2 -6
View File
@@ -79,16 +79,12 @@ export const it: TranslationLanguage = {
notfound_title: 'Pagina non trovata',
notfound_link: 'Questo link punta a una pagina che è stata rimossa o non esiste più.',
notfound: 'La pagina che cerchi non esiste.',
notfound_adaptive_title: 'Accedi per visualizzare questa pagina',
notfound_adaptive_title: 'Pagina non disponibile',
notfound_adaptive:
"Questa pagina potrebbe richiedere l'accesso. Se hai seguito un link, verifica che sia corretto.",
"Questa pagina potrebbe esistere, ma potrebbe essere necessario effettuare l'accesso per visualizzarla.",
notfound_adaptive_login: 'Accedi',
notfound_adaptive_registration_hint:
"La registrazione potrebbe essere disponibile a seconda dell'organizzazione.",
notfound_adaptive_no_access_title: 'Potresti non avere accesso a questa pagina',
notfound_adaptive_no_access:
'Questa pagina potrebbe non esistere, oppure il tuo account potrebbe non avervi accesso. Se hai seguito un link, verifica che sia corretto.',
notfound_adaptive_login_again: 'Accedi di nuovo',
notfound_goto_home: 'Vai alla home',
notfound_suggestions_title: 'Forse stai cercando',
unexpected_error_title: 'Si è verificato un errore',
+2 -6
View File
@@ -78,15 +78,11 @@ export const ja: TranslationLanguage = {
notfound_title: 'ページが見つかりません',
notfound_link: 'このリンクは、削除されたか、もはや存在しないページを指しています。',
notfound: 'お探しのページは存在しません。',
notfound_adaptive_title: 'このページを表示するにはログインしてください',
notfound_adaptive_title: 'ページにアクセスできません',
notfound_adaptive:
'このページの閲覧にはログインが必要な場合があります。リンクからアクセスした場合は、リンクが正しいか確認してください。',
'このページは存在する可能性がありますが、アクセスするにはログインが必要な場合があります。',
notfound_adaptive_login: 'ログイン',
notfound_adaptive_registration_hint: '組織によっては登録が可能な場合があります。',
notfound_adaptive_no_access_title: 'このページへのアクセス権がない可能性があります',
notfound_adaptive_no_access:
'このページが存在しないか、お使いのアカウントにアクセス権がない可能性があります。リンクからアクセスした場合は、リンクが正しいか確認してください。',
notfound_adaptive_login_again: '再ログイン',
notfound_goto_home: 'ホームへ移動',
notfound_suggestions_title: 'お探しのページはこちらですか',
unexpected_error_title: 'エラーが発生しました',
+2 -7
View File
@@ -78,15 +78,10 @@ export const ko: TranslationLanguage = {
notfound_title: '페이지를 찾을 수 없음',
notfound_link: '이 링크는 삭제되었거나 더 이상 존재하지 않는 페이지를 가리킵니다.',
notfound: '찾으시는 페이지가 존재하지 않습니다.',
notfound_adaptive_title: '이 페이지를 보려면 로그인하세요',
notfound_adaptive:
'이 페이지는 로그인이 필요할 수 있습니다. 링크를 통해 접속했다면 링크가 올바른지 확인하세요.',
notfound_adaptive_title: '페이지에 접근할 수 없음',
notfound_adaptive: '이 페이지는 존재할 수 있지만, 접근하려면 로그인해야 할 수 있습니다.',
notfound_adaptive_login: '로그인',
notfound_adaptive_registration_hint: '조직에 따라 등록이 가능할 수 있습니다.',
notfound_adaptive_no_access_title: '이 페이지에 대한 접근 권한이 없을 수 있습니다',
notfound_adaptive_no_access:
'이 페이지가 존재하지 않거나 계정에 이 페이지에 대한 접근 권한이 없을 수 있습니다. 링크를 통해 접속했다면 링크가 올바른지 확인하세요.',
notfound_adaptive_login_again: '다시 로그인',
notfound_goto_home: '홈으로 이동',
notfound_suggestions_title: '찾고 계신 내용일 수 있어요',
unexpected_error_title: '오류가 발생했습니다',
+2 -6
View File
@@ -77,16 +77,12 @@ export const lt: TranslationLanguage = {
notfound_title: 'Puslapis nerastas',
notfound_link: 'Ši nuoroda veda į puslapį, kuris buvo pašalintas arba nebeegzistuoja.',
notfound: 'Puslapis, kurio ieškote, neegzistuoja.',
notfound_adaptive_title: 'Prisijunkite, kad peržiūrėtumėte šį puslapį',
notfound_adaptive_title: 'Puslapis nepasiekiamas',
notfound_adaptive:
'Šiam puslapiui gali reikėti prisijungti. Jei sekėte nuoroda, patikrinkite, ar ji teisinga.',
'Šis puslapis gali egzistuoti, bet norint jį pasiekti gali reikėti prisijungti.',
notfound_adaptive_login: 'Prisijungti',
notfound_adaptive_registration_hint:
'Registracija gali būti galima priklausomai nuo organizacijos.',
notfound_adaptive_no_access_title: 'Galbūt neturite prieigos prie šio puslapio',
notfound_adaptive_no_access:
'Šis puslapis gali neegzistuoti arba jūsų paskyra gali neturėti prieigos prie jo. Jei sekėte nuoroda, patikrinkite, ar ji teisinga.',
notfound_adaptive_login_again: 'Prisijungti iš naujo',
notfound_goto_home: 'Eiti į pagrindinį puslapį',
notfound_suggestions_title: 'Galbūt ieškote',
unexpected_error_title: 'Įvyko klaida',
+2 -7
View File
@@ -77,15 +77,10 @@ export const lv: TranslationLanguage = {
notfound_title: 'Lapa nav atrasta',
notfound_link: 'Šī saite norāda uz lapu, kas ir noņemta vai vairs nepastāv.',
notfound: 'Meklētā lapa nepastāv.',
notfound_adaptive_title: 'Pierakstieties, lai skatītu šo lapu',
notfound_adaptive:
'Šai lapai, iespējams, nepieciešams pierakstīties. Ja sekojāt saitei, pārbaudiet, vai tā ir pareiza.',
notfound_adaptive_title: 'Lapa nav pieejama',
notfound_adaptive: 'Šī lapa var pastāvēt, bet, iespējams, jums jāpierakstās, lai tai piekļūtu.',
notfound_adaptive_login: 'Pierakstīties',
notfound_adaptive_registration_hint: 'Reģistrācija var būt pieejama atkarībā no organizācijas.',
notfound_adaptive_no_access_title: 'Iespējams, jums nav piekļuves šai lapai',
notfound_adaptive_no_access:
'Šī lapa, iespējams, neeksistē, vai arī jūsu kontam nav piekļuves tai. Ja sekojāt saitei, pārbaudiet, vai tā ir pareiza.',
notfound_adaptive_login_again: 'Pierakstīties vēlreiz',
notfound_goto_home: 'Doties uz sākumlapu',
notfound_suggestions_title: 'Iespējams, meklējat',
unexpected_error_title: 'Radās kļūda',
+2 -6
View File
@@ -77,15 +77,11 @@ export const ms: TranslationLanguage = {
notfound_title: 'Halaman tidak ditemui',
notfound_link: 'Pautan ini menghala ke halaman yang telah dialih keluar atau tidak lagi wujud.',
notfound: 'Halaman yang anda cari tidak wujud.',
notfound_adaptive_title: 'Log masuk untuk melihat halaman ini',
notfound_adaptive_title: 'Halaman tidak tersedia',
notfound_adaptive:
'Halaman ini mungkin memerlukan anda log masuk. Jika anda mengikuti pautan, semak sama ada pautan itu betul.',
'Halaman ini mungkin wujud, tetapi anda mungkin perlu log masuk untuk mengaksesnya.',
notfound_adaptive_login: 'Log masuk',
notfound_adaptive_registration_hint: 'Pendaftaran mungkin tersedia bergantung pada organisasi.',
notfound_adaptive_no_access_title: 'Anda mungkin tidak mempunyai akses ke halaman ini',
notfound_adaptive_no_access:
'Halaman ini mungkin tidak wujud, atau akaun anda mungkin tidak mempunyai akses kepadanya. Jika anda mengikuti pautan, semak sama ada pautan itu betul.',
notfound_adaptive_login_again: 'Log masuk semula',
notfound_goto_home: 'Pergi ke halaman utama',
notfound_suggestions_title: 'Mungkin anda mencari',
unexpected_error_title: 'Ralat berlaku',
+2 -6
View File
@@ -79,16 +79,12 @@ export const nl: TranslationLanguage = {
notfound_title: 'Pagina niet gevonden',
notfound_link: 'Deze link verwijst naar een pagina die is verwijderd of niet meer bestaat.',
notfound: 'De pagina die je zoekt, bestaat niet.',
notfound_adaptive_title: 'Log in om deze pagina te bekijken',
notfound_adaptive_title: 'Pagina niet beschikbaar',
notfound_adaptive:
'Voor deze pagina moet je mogelijk inloggen. Als je een link hebt gevolgd, controleer dan of deze klopt.',
'Deze pagina bestaat mogelijk, maar je moet mogelijk inloggen om toegang te krijgen.',
notfound_adaptive_login: 'Inloggen',
notfound_adaptive_registration_hint:
'Registratie is mogelijk beschikbaar, afhankelijk van de organisatie.',
notfound_adaptive_no_access_title: 'Je hebt mogelijk geen toegang tot deze pagina',
notfound_adaptive_no_access:
'Deze pagina bestaat mogelijk niet, of je account heeft er geen toegang toe. Als je een link hebt gevolgd, controleer dan of deze klopt.',
notfound_adaptive_login_again: 'Opnieuw inloggen',
notfound_goto_home: 'Naar startpagina',
notfound_suggestions_title: 'Misschien zoek je',
unexpected_error_title: 'Er is een fout opgetreden',
+2 -7
View File
@@ -79,16 +79,11 @@ export const no: TranslationLanguage = {
notfound_link:
'Denne lenken peker til en side som har blitt fjernet eller ikke lenger eksisterer.',
notfound: 'Siden du leter etter eksisterer ikke.',
notfound_adaptive_title: 'Logg inn for å se denne siden',
notfound_adaptive:
'Denne siden kan kreve at du logger inn. Hvis du fulgte en lenke, sjekk at den er riktig.',
notfound_adaptive_title: 'Siden er ikke tilgjengelig',
notfound_adaptive: 'Denne siden kan finnes, men du må kanskje logge inn for å få tilgang.',
notfound_adaptive_login: 'Logg inn',
notfound_adaptive_registration_hint:
'Registrering kan være tilgjengelig avhengig av organisasjonen.',
notfound_adaptive_no_access_title: 'Du har kanskje ikke tilgang til denne siden',
notfound_adaptive_no_access:
'Denne siden finnes kanskje ikke, eller kontoen din har kanskje ikke tilgang til den. Hvis du fulgte en lenke, sjekk at den er riktig.',
notfound_adaptive_login_again: 'Logg inn på nytt',
notfound_goto_home: 'Gå til forsiden',
notfound_suggestions_title: 'Kanskje du leter etter',
unexpected_error_title: 'En feil oppstod',
+2 -7
View File
@@ -77,16 +77,11 @@ export const pl: TranslationLanguage = {
notfound_title: 'Nie znaleziono strony',
notfound_link: 'Ten link prowadzi do strony, która została usunięta lub już nie istnieje.',
notfound: 'Strona, której szukasz, nie istnieje.',
notfound_adaptive_title: 'Zaloguj się, aby wyświetlić tę stronę',
notfound_adaptive:
'Ta strona może wymagać zalogowania. Jeśli przechodzisz z linku, sprawdź, czy jest poprawny.',
notfound_adaptive_title: 'Strona niedostępna',
notfound_adaptive: 'Ta strona może istnieć, ale dostęp do niej może wymagać zalogowania.',
notfound_adaptive_login: 'Zaloguj się',
notfound_adaptive_registration_hint:
'Rejestracja może być dostępna w zależności od organizacji.',
notfound_adaptive_no_access_title: 'Możesz nie mieć dostępu do tej strony',
notfound_adaptive_no_access:
'Ta strona może nie istnieć lub Twoje konto może nie mieć do niej dostępu. Jeśli przechodzisz z linku, sprawdź, czy jest poprawny.',
notfound_adaptive_login_again: 'Zaloguj się ponownie',
notfound_goto_home: 'Przejdź do strony głównej',
notfound_suggestions_title: 'Być może szukasz',
unexpected_error_title: 'Wystąpił błąd',
@@ -79,16 +79,12 @@ export const pt_br: TranslationLanguage = {
notfound_title: 'Página não encontrada',
notfound_link: 'Este link aponta para uma página que foi removida ou não existe mais.',
notfound: 'A página que você está procurando não existe.',
notfound_adaptive_title: 'Faça login para ver esta página',
notfound_adaptive_title: 'Página indisponível',
notfound_adaptive:
'Esta página pode exigir login. Se você seguiu um link, verifique se ele está correto.',
'Esta página pode existir, mas talvez você precise fazer login para acessá-la.',
notfound_adaptive_login: 'Fazer login',
notfound_adaptive_registration_hint:
'O registro pode estar disponível dependendo da organização.',
notfound_adaptive_no_access_title: 'Talvez você não tenha acesso a esta página',
notfound_adaptive_no_access:
'Esta página pode não existir ou sua conta pode não ter acesso a ela. Se você seguiu um link, verifique se ele está correto.',
notfound_adaptive_login_again: 'Fazer login novamente',
notfound_goto_home: 'Ir para a página inicial',
notfound_suggestions_title: 'Você pode estar procurando por',
unexpected_error_title: 'Aconteceu um erro',
+2 -6
View File
@@ -78,16 +78,12 @@ export const pt: TranslationLanguage = {
notfound_title: 'Página não encontrada',
notfound_link: 'Esta ligação aponta para uma página que foi removida ou já não existe.',
notfound: 'A página que procura não existe.',
notfound_adaptive_title: 'Inicie sessão para ver esta página',
notfound_adaptive_title: 'Página indisponível',
notfound_adaptive:
'Esta página pode exigir que inicie sessão. Se seguiu uma ligação, verifique se está correta.',
'Esta página pode existir, mas talvez tenha de iniciar sessão para lhe aceder.',
notfound_adaptive_login: 'Iniciar sessão',
notfound_adaptive_registration_hint:
'O registo pode estar disponível dependendo da organização.',
notfound_adaptive_no_access_title: 'Pode não ter acesso a esta página',
notfound_adaptive_no_access:
'Esta página pode não existir ou a sua conta pode não ter acesso à mesma. Se seguiu uma ligação, verifique se está correta.',
notfound_adaptive_login_again: 'Iniciar sessão novamente',
notfound_goto_home: 'Ir para a página inicial',
notfound_suggestions_title: 'Talvez esteja à procura de',
unexpected_error_title: 'Ocorreu um erro',
+2 -6
View File
@@ -78,16 +78,12 @@ export const ro: TranslationLanguage = {
notfound_title: 'Pagina nu a fost găsită',
notfound_link: 'Acest link indică o pagină care a fost eliminată sau nu mai există.',
notfound: 'Pagina pe care o cauți nu există.',
notfound_adaptive_title: 'Autentifică-te pentru a vedea această pagină',
notfound_adaptive_title: 'Pagina nu este disponibilă',
notfound_adaptive:
'Această pagină poate necesita autentificare. Dacă ai urmat un link, verifică dacă este corect.',
'Această pagină poate exista, dar este posibil să trebuiască să te autentifici pentru a o accesa.',
notfound_adaptive_login: 'Autentificare',
notfound_adaptive_registration_hint:
'Înregistrarea poate fi disponibilă în funcție de organizație.',
notfound_adaptive_no_access_title: 'Este posibil să nu ai acces la această pagină',
notfound_adaptive_no_access:
'Este posibil ca această pagină să nu existe sau contul tău să nu aibă acces la ea. Dacă ai urmat un link, verifică dacă este corect.',
notfound_adaptive_login_again: 'Reautentificare',
notfound_goto_home: 'Mergi la pagina principală',
notfound_suggestions_title: 'Poate cauți',
unexpected_error_title: 'A apărut o eroare',
+2 -6
View File
@@ -79,16 +79,12 @@ export const ru: TranslationLanguage = {
notfound_title: 'Страница не найдена',
notfound_link: 'Эта ссылка ведёт на страницу, которая была удалена или больше не существует.',
notfound: 'Страница, которую вы ищете, не существует.',
notfound_adaptive_title: 'Войдите, чтобы просмотреть эту страницу',
notfound_adaptive_title: 'Страница недоступна',
notfound_adaptive:
'Для просмотра этой страницы может потребоваться вход. Если вы перешли по ссылке, проверьте, что она верна.',
'Эта страница может существовать, но для доступа к ней может потребоваться вход.',
notfound_adaptive_login: 'Войти',
notfound_adaptive_registration_hint:
'Регистрация может быть доступна в зависимости от организации.',
notfound_adaptive_no_access_title: 'Возможно, у вас нет доступа к этой странице',
notfound_adaptive_no_access:
'Возможно, эта страница не существует или у вашей учётной записи нет к ней доступа. Если вы перешли по ссылке, проверьте, что она верна.',
notfound_adaptive_login_again: 'Войти снова',
notfound_goto_home: 'Перейти на главную',
notfound_suggestions_title: 'Возможно, вы ищете',
unexpected_error_title: 'Произошла ошибка',
+2 -6
View File
@@ -78,16 +78,12 @@ export const sk: TranslationLanguage = {
notfound_title: 'Stránka sa nenašla',
notfound_link: 'Tento odkaz smeruje na stránku, ktorá bola odstránená alebo už neexistuje.',
notfound: 'Stránka, ktorú hľadáte, neexistuje.',
notfound_adaptive_title: 'Na zobrazenie tejto stránky sa prihláste',
notfound_adaptive_title: 'Stránka nie je dostupná',
notfound_adaptive:
'Táto stránka môže vyžadovať prihlásenie. Ak ste prešli z odkazu, skontrolujte, či je správny.',
'Táto stránka môže existovať, ale na prístup sa možno budete musieť prihlásiť.',
notfound_adaptive_login: 'Prihlásiť sa',
notfound_adaptive_registration_hint:
'Registrácia môže byť dostupná v závislosti od organizácie.',
notfound_adaptive_no_access_title: 'K tejto stránke možno nemáte prístup',
notfound_adaptive_no_access:
'Táto stránka možno neexistuje alebo k nej váš účet nemá prístup. Ak ste prešli z odkazu, skontrolujte, či je správny.',
notfound_adaptive_login_again: 'Prihlásiť sa znova',
notfound_goto_home: 'Prejsť na domovskú stránku',
notfound_suggestions_title: 'Možno hľadáte',
unexpected_error_title: 'Vyskytla sa chyba',
+2 -7
View File
@@ -78,15 +78,10 @@ export const sl: TranslationLanguage = {
notfound_title: 'Strani ni bilo mogoče najti',
notfound_link: 'Ta povezava kaže na stran, ki je bila odstranjena ali ne obstaja več.',
notfound: 'Stran, ki jo iščete, ne obstaja.',
notfound_adaptive_title: 'Za ogled te strani se prijavite',
notfound_adaptive:
'Ta stran morda zahteva prijavo. Če ste sledili povezavi, preverite, ali je pravilna.',
notfound_adaptive_title: 'Stran ni na voljo',
notfound_adaptive: 'Ta stran morda obstaja, vendar se boste za dostop morda morali prijaviti.',
notfound_adaptive_login: 'Prijava',
notfound_adaptive_registration_hint: 'Registracija je morda na voljo, odvisno od organizacije.',
notfound_adaptive_no_access_title: 'Morda nimate dostopa do te strani',
notfound_adaptive_no_access:
'Ta stran morda ne obstaja ali pa vaš račun nima dostopa do nje. Če ste sledili povezavi, preverite, ali je pravilna.',
notfound_adaptive_login_again: 'Ponovna prijava',
notfound_goto_home: 'Pojdi na domačo stran',
notfound_suggestions_title: 'Morda iščete',
unexpected_error_title: 'Prišlo je do napake',
+2 -7
View File
@@ -77,16 +77,11 @@ export const sv: TranslationLanguage = {
notfound_title: 'Sidan hittades inte',
notfound_link: 'Den här länken pekar på en sida som har tagits bort eller inte längre finns.',
notfound: 'Sidan du letar efter finns inte.',
notfound_adaptive_title: 'Logga in för att visa den här sidan',
notfound_adaptive:
'Den här sidan kan kräva att du loggar in. Om du följde en länk, kontrollera att den är korrekt.',
notfound_adaptive_title: 'Sidan är inte tillgänglig',
notfound_adaptive: 'Sidan kan finnas, men du kan behöva logga in för att få åtkomst.',
notfound_adaptive_login: 'Logga in',
notfound_adaptive_registration_hint:
'Registrering kan vara tillgänglig beroende på organisationen.',
notfound_adaptive_no_access_title: 'Du kanske inte har åtkomst till den här sidan',
notfound_adaptive_no_access:
'Den här sidan kanske inte finns, eller så har ditt konto inte åtkomst till den. Om du följde en länk, kontrollera att den är korrekt.',
notfound_adaptive_login_again: 'Logga in igen',
notfound_goto_home: 'Gå till startsidan',
notfound_suggestions_title: 'Du kanske letar efter',
unexpected_error_title: 'Ett fel uppstod',
+2 -6
View File
@@ -76,14 +76,10 @@ export const th: TranslationLanguage = {
notfound_title: 'ไม่พบหน้า',
notfound_link: 'ลิงก์นี้ชี้ไปยังหน้าที่ถูกลบหรือไม่มีอยู่อีกต่อไป',
notfound: 'หน้าที่คุณกำลังค้นหาไม่มีอยู่',
notfound_adaptive_title: 'เข้าสู่ระบบเพื่อดูหน้านี้',
notfound_adaptive: 'หน้านี้อาจต้องเข้าสู่ระบบ หากคุณเปิดจากลิงก์ โปรดตรวจสอบว่าลิงก์ถูกต้อง',
notfound_adaptive_title: 'หน้าไม่พร้อมใช้งาน',
notfound_adaptive: 'หน้านี้อาจมีอยู่ แต่คุณอาจต้องเข้าสู่ระบบเพื่อเข้าถึง',
notfound_adaptive_login: 'เข้าสู่ระบบ',
notfound_adaptive_registration_hint: 'การลงทะเบียนอาจใช้ได้ ขึ้นอยู่กับองค์กร',
notfound_adaptive_no_access_title: 'คุณอาจไม่มีสิทธิ์เข้าถึงหน้านี้',
notfound_adaptive_no_access:
'หน้านี้อาจไม่มีอยู่ หรือบัญชีของคุณอาจไม่มีสิทธิ์เข้าถึง หากคุณเปิดจากลิงก์ โปรดตรวจสอบว่าลิงก์ถูกต้อง',
notfound_adaptive_login_again: 'เข้าสู่ระบบอีกครั้ง',
notfound_goto_home: 'ไปที่หน้าแรก',
notfound_suggestions_title: 'คุณอาจกำลังมองหา',
unexpected_error_title: 'เกิดข้อผิดพลาด',
+2 -7
View File
@@ -77,15 +77,10 @@ export const tr: TranslationLanguage = {
notfound_title: 'Sayfa bulunamadı',
notfound_link: 'Bu bağlantı kaldırılmış veya artık mevcut olmayan bir sayfaya işaret ediyor.',
notfound: 'Aradığınız sayfa mevcut değil.',
notfound_adaptive_title: 'Bu sayfayı görüntülemek için oturum açın',
notfound_adaptive:
'Bu sayfa oturum açmanızı gerektirebilir. Bir bağlantıyı izlediyseniz doğru olduğunu kontrol edin.',
notfound_adaptive_title: 'Sayfa kullanılamıyor',
notfound_adaptive: 'Bu sayfa mevcut olabilir, ancak erişmek için oturum açmanız gerekebilir.',
notfound_adaptive_login: 'Oturum aç',
notfound_adaptive_registration_hint: 'Kayıt, kuruluşa bağlı olarak mevcut olabilir.',
notfound_adaptive_no_access_title: 'Bu sayfaya erişiminiz olmayabilir',
notfound_adaptive_no_access:
'Bu sayfa mevcut olmayabilir veya hesabınızın bu sayfaya erişimi olmayabilir. Bir bağlantıyı izlediyseniz doğru olduğunu kontrol edin.',
notfound_adaptive_login_again: 'Tekrar oturum aç',
notfound_goto_home: 'Ana sayfaya git',
notfound_suggestions_title: 'Şunu arıyor olabilirsiniz',
unexpected_error_title: 'Bir hata oluştu',
+2 -7
View File
@@ -77,15 +77,10 @@ export const uk: TranslationLanguage = {
notfound_title: 'Сторінку не знайдено',
notfound_link: 'Це посилання веде на сторінку, яку видалено або якої більше не існує.',
notfound: 'Сторінка, яку ви шукаєте, не існує.',
notfound_adaptive_title: 'Увійдіть, щоб переглянути цю сторінку',
notfound_adaptive:
'Для перегляду цієї сторінки може знадобитися вхід. Якщо ви перейшли за посиланням, перевірте, чи воно правильне.',
notfound_adaptive_title: 'Сторінка недоступна',
notfound_adaptive: 'Ця сторінка може існувати, але для доступу до неї може знадобитися вхід.',
notfound_adaptive_login: 'Увійти',
notfound_adaptive_registration_hint: 'Реєстрація може бути доступною залежно від організації.',
notfound_adaptive_no_access_title: 'Можливо, у вас немає доступу до цієї сторінки',
notfound_adaptive_no_access:
'Можливо, ця сторінка не існує або ваш обліковий запис не має до неї доступу. Якщо ви перейшли за посиланням, перевірте, чи воно правильне.',
notfound_adaptive_login_again: 'Увійти знову',
notfound_goto_home: 'Перейти на головну',
notfound_suggestions_title: 'Можливо, ви шукаєте',
unexpected_error_title: 'Сталася помилка',
+2 -7
View File
@@ -77,15 +77,10 @@ export const vi: TranslationLanguage = {
notfound_title: 'Không tìm thấy trang',
notfound_link: 'Liên kết này trỏ đến một trang đã bị xóa hoặc không còn tồn tại.',
notfound: 'Trang bạn đang tìm kiếm không tồn tại.',
notfound_adaptive_title: 'Đăng nhập để xem trang này',
notfound_adaptive:
'Trang này có thể yêu cầu bạn đăng nhập. Nếu bạn truy cập qua một liên kết, hãy kiểm tra xem liên kết đó có đúng không.',
notfound_adaptive_title: 'Trang không khả dụng',
notfound_adaptive: 'Trang này có thể tồn tại, nhưng bạn có thể cần đăng nhập để truy cập.',
notfound_adaptive_login: 'Đăng nhập',
notfound_adaptive_registration_hint: 'Việc đăng ký có thể khả dụng tùy theo tổ chức.',
notfound_adaptive_no_access_title: 'Có thể bạn không có quyền truy cập trang này',
notfound_adaptive_no_access:
'Trang này có thể không tồn tại hoặc tài khoản của bạn có thể không có quyền truy cập. Nếu bạn truy cập qua một liên kết, hãy kiểm tra xem liên kết đó có đúng không.',
notfound_adaptive_login_again: 'Đăng nhập lại',
notfound_goto_home: 'Đi tới trang chủ',
notfound_suggestions_title: 'Có thể bạn đang tìm',
unexpected_error_title: 'Đã xảy ra lỗi',
@@ -75,14 +75,10 @@ export const yue: TranslationLanguage = {
notfound_title: '搵唔到頁面',
notfound_link: '呢條連結指向嘅頁面已被移除或已經唔存在。',
notfound: '你搵緊嘅頁面唔存在。',
notfound_adaptive_title: '登入先可以睇呢個頁面',
notfound_adaptive: '呢個頁面可能需要登入。如果你係經連結過嚟,請檢查連結係咪正確。',
notfound_adaptive_title: '頁面無法使用',
notfound_adaptive: '呢個頁面可能存在,但你可能需要登入先可以存取。',
notfound_adaptive_login: '登入',
notfound_adaptive_registration_hint: '視乎機構,可能可以註冊。',
notfound_adaptive_no_access_title: '你可能冇權限存取呢個頁面',
notfound_adaptive_no_access:
'呢個頁面可能唔存在,或者你嘅帳戶可能冇權限存取。如果你係經連結過嚟,請檢查連結係咪正確。',
notfound_adaptive_login_again: '重新登入',
notfound_goto_home: '前往首頁',
notfound_suggestions_title: '你可能喺度搵緊',
unexpected_error_title: '發生錯誤',
@@ -75,14 +75,10 @@ export const zh_tw: TranslationLanguage = {
notfound_title: '找不到頁面',
notfound_link: '此連結指向的頁面已被移除或不再存在。',
notfound: '您要尋找的頁面不存在。',
notfound_adaptive_title: '登入以檢視此頁面',
notfound_adaptive: '此頁面可能需要登入。如果您是透過連結前往,請確認連結是否正確。',
notfound_adaptive_title: '頁面無法使用',
notfound_adaptive: '此頁面可能存在,但您可能需要登入才能存取。',
notfound_adaptive_login: '登入',
notfound_adaptive_registration_hint: '視組織而定,可能可以註冊。',
notfound_adaptive_no_access_title: '您可能沒有此頁面的存取權限',
notfound_adaptive_no_access:
'此頁面可能不存在,或您的帳戶可能沒有存取權限。如果您是透過連結前往,請確認連結是否正確。',
notfound_adaptive_login_again: '重新登入',
notfound_goto_home: '前往首頁',
notfound_suggestions_title: '您可能在尋找',
unexpected_error_title: '發生錯誤',
+2 -6
View File
@@ -76,14 +76,10 @@ export const zh: TranslationLanguage = {
notfound_title: '页面未找到',
notfound_link: '此链接指向已被删除或不再存在的页面。',
notfound: '您要找的页面不存在。',
notfound_adaptive_title: '登录以查看此页面',
notfound_adaptive: '此页面可能需要登录。如果您是通过链接访问的,请检查链接是否正确。',
notfound_adaptive_title: '页面无法访问',
notfound_adaptive: '该页面可能存在,但您可能需要登录后才能访问。',
notfound_adaptive_login: '登录',
notfound_adaptive_registration_hint: '视组织而定,可能可以注册。',
notfound_adaptive_no_access_title: '您可能没有此页面的访问权限',
notfound_adaptive_no_access:
'此页面可能不存在,或您的账户可能没有访问权限。如果您是通过链接访问的,请检查链接是否正确。',
notfound_adaptive_login_again: '重新登录',
notfound_goto_home: '前往首页',
notfound_suggestions_title: '您可能在寻找',
unexpected_error_title: '发生错误',
+2 -1
View File
@@ -508,7 +508,8 @@ async function serveSiteRoutes(requestURL: URL, request: NextRequest) {
siteId: siteURLData.site,
events,
request: {
url: siteRequestURL.toString(),
// A proxied site's request URL is the proxy's (`/sites/site_xxx/...`), not its public one.
url: siteCanonicalURL.toString(),
headers: requestHeaders,
},
})
@@ -1,93 +0,0 @@
import { describe, expect, it, mock } from 'bun:test';
import type { RevisionPageDocument } from '@gitbook/api';
import type { GitBookSiteContext } from '@/lib/context';
import { createLinker } from '@/lib/links';
mock.module('server-only', () => ({}));
const { servePageMarkdown, toMarkdownDestination } = await import('./markdownPage');
const page = {
id: 'page-1',
title: 'New page',
kind: 'sheet',
type: 'document',
path: 'new-page',
slug: 'new-page',
pages: [],
} as unknown as RevisionPageDocument;
function createContext(options: {
siteRedirect?: { target: string; permanent?: boolean };
spaceRedirectPageId?: string;
}) {
return {
organizationId: 'org-1',
site: { id: 'site-1' },
siteSpace: { id: 'site-space-1' },
space: { id: 'space-1', revision: 'revision-1' },
revisionId: 'revision-1',
revision: { pages: [page] },
linker: createLinker({
host: 'docs.example.com',
siteBasePath: '/docs/',
spaceBasePath: '/docs/',
}),
dataFetcher: {
getSiteRedirectBySource: async ({ source }: { source: string }) =>
options.siteRedirect && source === '/old-page'
? {
data: {
target: options.siteRedirect.target,
redirect: { permanent: options.siteRedirect.permanent ?? false },
},
}
: { error: { code: 404, message: 'Not found' } },
getRevisionPageByPath: async () =>
options.spaceRedirectPageId
? { data: { id: options.spaceRedirectPageId } }
: { error: { code: 404, message: 'Not found' } },
},
} as unknown as GitBookSiteContext;
}
describe('servePageMarkdown', () => {
it('redirects to the markdown version of a site redirect target', async () => {
const context = createContext({
siteRedirect: { target: 'https://docs.example.com/docs/new-page', permanent: true },
});
const response = await servePageMarkdown(context, 'old-page');
expect(response.status).toBe(308);
expect(response.headers.get('Location')).toBe('/docs/new-page.md');
});
it('redirects to the markdown version of a space redirect target', async () => {
const context = createContext({ spaceRedirectPageId: page.id });
const response = await servePageMarkdown(context, 'old-page');
expect(response.status).toBe(307);
expect(response.headers.get('Location')).toBe('/docs/new-page.md');
});
});
describe('toMarkdownDestination', () => {
it('appends .md to same-site paths', () => {
expect(toMarkdownDestination('/docs/new-page')).toBe('/docs/new-page.md');
expect(toMarkdownDestination('/docs/new-page/?a=1#b')).toBe('/docs/new-page.md?a=1#b');
});
it('points the site root to its markdown route', () => {
expect(toMarkdownDestination('/')).toBe('/.md');
expect(toMarkdownDestination('/?a=1#b')).toBe('/.md?a=1#b');
});
it('leaves markdown paths and external URLs untouched', () => {
expect(toMarkdownDestination('/docs/new-page.md')).toBe('/docs/new-page.md');
expect(toMarkdownDestination('https://example.com/page')).toBe('https://example.com/page');
});
});
+6 -61
View File
@@ -1,6 +1,5 @@
import type { RevisionPageDocument, RevisionPageGroup } from '@gitbook/api';
import { resolveMissingPagePath } from '@/components/SitePage/fetch';
import { isAIEnabled } from '@/components/utils/isAIChatEnabled';
import { renderQueryingDocumentation } from '@/lib/ask-prompt';
import type { GitBookSiteContext } from '@/lib/context';
@@ -24,36 +23,12 @@ export async function servePageMarkdown(baseContext: GitBookSiteContext, pagePat
linker: linkerWithMarkdownPages(baseContext.linker),
};
const pageLookup =
resolveSiteSpacePagePathDocumentOrGroup(
context.siteSpace,
context.revision.pages,
pagePath
) ??
// Page paths are lowercase, match the case-insensitive lookup of HTML pages.
resolveSiteSpacePagePathDocumentOrGroup(
context.siteSpace,
context.revision.pages,
pagePath.toLowerCase()
);
const pageLookup = resolveSiteSpacePagePathDocumentOrGroup(
context.siteSpace,
context.revision.pages,
pagePath
);
if (!pageLookup) {
const fallback = await resolveMissingPagePath(baseContext, pagePath);
if (fallback?.type === 'redirect') {
return markdownRedirect(
toMarkdownDestination(fallback.destination),
fallback.permanent
);
}
if (fallback?.type === 'page') {
return markdownRedirect(
context.linker.toPathForPage({
pages: context.revision.pages,
page: fallback.page.page,
}),
false
);
}
// Generates a markdown body for missing pages. Return this with a 200 status (not 404) because agents discard 404 response bodies.=
return {
markdown: renderNotFoundMarkdown(context, pagePath),
@@ -89,33 +64,6 @@ function getMarkdownRobots(
return context.isAiAgent ? 'index, follow' : 'noindex';
}
/**
* Point a redirect destination to its markdown version, so agents keep receiving markdown.
* Destinations outside the site are returned as full URLs and left untouched.
*/
export function toMarkdownDestination(destination: string): string {
if (!destination.startsWith('/')) {
return destination;
}
const url = new URL(destination, 'https://gitbook.invalid');
const pathname = url.pathname.replace(/\/+$/, '');
if (pathname.endsWith('.md')) {
return destination;
}
// A root destination trims to an empty pathname; its markdown route is `/.md`.
return `${pathname || '/'}.md${url.search}${url.hash}`;
}
function markdownRedirect(location: string, permanent: boolean) {
// Same status codes as Next's `redirect` / `permanentRedirect`.
return new Response(null, {
status: permanent ? 308 : 307,
headers: { Location: location, Vary: 'Accept' },
});
}
function renderNotFoundMarkdown(context: GitBookSiteContext, pagePath: string) {
const similarPages = getSimilarPages(context.revision.pages, pagePath, 5);
const sitemapUrl = context.linker.toAbsoluteURL(context.linker.toPathInSite('sitemap.md'));
@@ -200,14 +148,11 @@ Use this mechanism when the answer is not explicitly present in the current page
* Return a markdown content.
*/
export async function serveMarkdown(
fn: () => Promise<string | { markdown: string; robots: string } | Response>,
fn: () => Promise<string | { markdown: string; robots: string }>,
isChatGPT?: boolean
) {
try {
const result = await fn();
if (result instanceof Response) {
return result;
}
const { markdown, robots } =
typeof result === 'string' ? { markdown: result, robots: 'noindex' } : result;
return new Response(markdown, {