Merge commit '428fccf04afdab8dfd2b53e38d39ea51c104d28e' into glitch-soc/merge-upstream
This commit is contained in:
commit
51fc3f36f2
39 files changed
+511
-196
No files matched your search
@@ -1,10 +1,6 @@
|
||||
@use '@/styles/mastodon/mixins';
|
||||
|
||||
.wrapper {
|
||||
// Override global body font variable because Storybook
|
||||
// doesn't have the `data-redesign` html attribute
|
||||
--font-body: Inter, sans-serif;
|
||||
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 250px 1fr;
|
||||
|
||||
@@ -7,6 +7,7 @@ const meta = {
|
||||
component: ThemePlayground,
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
redesign: true,
|
||||
},
|
||||
} satisfies Meta<typeof ThemePlayground>;
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ export const IconButton: React.FC<ButtonProps & { icon: IconProp }> = ({
|
||||
children,
|
||||
...props
|
||||
}) => (
|
||||
<BaseButton {...props} className={classNames(classNames, classes.iconOnly)}>
|
||||
<BaseButton {...props} className={classNames(className, classes.iconOnly)}>
|
||||
{props.loading ? (
|
||||
<LoadingIcon />
|
||||
) : (
|
||||
|
||||
@@ -14,6 +14,7 @@ import { useIntl } from 'react-intl';
|
||||
|
||||
import classNames from 'classnames';
|
||||
|
||||
import { useMergedRefs } from '@/mastodon/hooks/useMergedRefs';
|
||||
import KeyboardArrowDownIcon from '@/material-icons/400-24px/keyboard_arrow_down.svg?react';
|
||||
import KeyboardArrowUpIcon from '@/material-icons/400-24px/keyboard_arrow_up.svg?react';
|
||||
import SearchIcon from '@/material-icons/400-24px/search.svg?react';
|
||||
@@ -507,17 +508,7 @@ const ComboboxWithRef = <Item extends ComboboxItem, GroupKey extends string>(
|
||||
);
|
||||
});
|
||||
|
||||
const mergeInputRefs = useCallback(
|
||||
(element: HTMLInputElement | null) => {
|
||||
setInputElement(element);
|
||||
if (typeof ref === 'function') {
|
||||
ref(element);
|
||||
} else if (ref) {
|
||||
ref.current = element;
|
||||
}
|
||||
},
|
||||
[ref],
|
||||
);
|
||||
const mergedRef = useMergedRefs(ref, setInputElement);
|
||||
|
||||
const id = useId();
|
||||
const listId = `${id}-list`;
|
||||
@@ -543,7 +534,7 @@ const ComboboxWithRef = <Item extends ComboboxItem, GroupKey extends string>(
|
||||
onKeyDown={handleInputKeyDown}
|
||||
icon={icon ?? undefined}
|
||||
className={classNames(classes.input, className)}
|
||||
ref={mergeInputRefs}
|
||||
ref={mergedRef}
|
||||
/>
|
||||
{hasMenuContent && (
|
||||
<IconButton
|
||||
|
||||
@@ -0,0 +1,293 @@
|
||||
import { useCallback, useId, useMemo, useState } from 'react';
|
||||
|
||||
interface UseListFocusArgs {
|
||||
/** Array of IDs. */
|
||||
ids: string[];
|
||||
/** The initially selected ID. */
|
||||
initialId?: string;
|
||||
/** Callback for when an item is selected. */
|
||||
onSelectId?: (id: string) => void;
|
||||
/** Callback to determine if a given ID is disabled. */
|
||||
getIsIdDisabled?: (id: string) => boolean;
|
||||
/** Callback when an item is clicked on. */
|
||||
onClickId?: (id: string, event: React.MouseEvent) => void;
|
||||
/** Callback when an item is focused. */
|
||||
onFocusId?: (id: string, event: React.FocusEvent) => void;
|
||||
/** Callback when a key is pressed when an item is focused. */
|
||||
onKeyDownId?: (id: string, event: React.KeyboardEvent) => void;
|
||||
/** Callback when the mouse enters an item space. */
|
||||
onMouseEnterId?: (id: string, event: React.MouseEvent) => void;
|
||||
}
|
||||
|
||||
type ItemComponentProps = {
|
||||
'data-id': string;
|
||||
'data-highlighted': boolean;
|
||||
} & Required<
|
||||
Pick<
|
||||
React.HTMLAttributes<Element>,
|
||||
| 'tabIndex'
|
||||
| 'aria-disabled'
|
||||
| 'aria-selected'
|
||||
| 'onClick'
|
||||
| 'onFocus'
|
||||
| 'onKeyDown'
|
||||
| 'onMouseEnter'
|
||||
>
|
||||
>;
|
||||
|
||||
export function useListFocus({
|
||||
ids,
|
||||
initialId: selectedInitialId,
|
||||
getIsIdDisabled,
|
||||
onMouseEnterId,
|
||||
onFocusId,
|
||||
onKeyDownId,
|
||||
onClickId,
|
||||
onSelectId,
|
||||
}: UseListFocusArgs) {
|
||||
const baseId = useId(); // The baseId is a unique ID prefix to avoid needing a wrapper ref.
|
||||
const [selectedId, setSelectedId] = useState(selectedInitialId ?? null);
|
||||
|
||||
const isDisabled = useCallback(
|
||||
(id: string) => {
|
||||
if (getIsIdDisabled) {
|
||||
return getIsIdDisabled(id);
|
||||
}
|
||||
const element = idToElement(id, baseId);
|
||||
if (element?.ariaDisabled) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
[getIsIdDisabled, baseId],
|
||||
);
|
||||
|
||||
// Calculate the initial ID as either the selected ID or the first non-disabled ID.
|
||||
const initialId = useMemo(() => {
|
||||
if (
|
||||
selectedInitialId &&
|
||||
ids.includes(selectedInitialId) &&
|
||||
!isDisabled(selectedInitialId)
|
||||
) {
|
||||
return selectedInitialId;
|
||||
}
|
||||
return ids.find((id) => !isDisabled(id)) ?? null;
|
||||
}, [ids, isDisabled, selectedInitialId]);
|
||||
|
||||
const [rawHighlightedId, setHighlightedId] = useState(initialId);
|
||||
|
||||
// Get the valid highlighted ID.
|
||||
const highlightedId = useMemo(() => {
|
||||
if (
|
||||
rawHighlightedId !== null &&
|
||||
ids.includes(rawHighlightedId) &&
|
||||
!isDisabled(rawHighlightedId)
|
||||
) {
|
||||
return rawHighlightedId;
|
||||
}
|
||||
return initialId;
|
||||
}, [ids, initialId, isDisabled, rawHighlightedId]);
|
||||
|
||||
// Set the correct highlight, triggering focus on the element.
|
||||
const onHighlight = useCallback(
|
||||
(id?: string | null, focus = true) => {
|
||||
if (!id) {
|
||||
setHighlightedId(null);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isDisabled(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
setHighlightedId(id);
|
||||
const element = document.querySelector(
|
||||
`[data-id="${safeId(id, baseId)}"]`,
|
||||
);
|
||||
if (element instanceof HTMLElement && focus) {
|
||||
element.focus();
|
||||
}
|
||||
},
|
||||
[baseId, isDisabled],
|
||||
);
|
||||
|
||||
// Select the item if it's not disabled.
|
||||
const onSelect = useCallback(
|
||||
(id: string) => {
|
||||
if (isDisabled(id)) {
|
||||
return;
|
||||
}
|
||||
onSelectId?.(id);
|
||||
setSelectedId(id);
|
||||
setHighlightedId(id);
|
||||
},
|
||||
[isDisabled, onSelectId],
|
||||
);
|
||||
|
||||
// Handle keyboard shortcuts.
|
||||
const onKeyDown = useCallback(
|
||||
(id: string, event: React.KeyboardEvent) => {
|
||||
onKeyDownId?.(id, event);
|
||||
if (isDisabled(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const currentIndex = ids.findIndex((indexId) => indexId === id);
|
||||
if (currentIndex === -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
const getValidIdInDirection = (
|
||||
direction: 'prev' | 'next',
|
||||
full = false,
|
||||
) => {
|
||||
if (full) {
|
||||
return (
|
||||
ids[direction === 'next' ? 'findLast' : 'find'](
|
||||
(id) => !isDisabled(id),
|
||||
) ?? null
|
||||
);
|
||||
}
|
||||
|
||||
const delta = direction === 'next' ? 1 : -1;
|
||||
for (let offset = 1; offset <= ids.length; offset += 1) {
|
||||
// Use a modulo to wrap the ids.
|
||||
const index =
|
||||
(currentIndex + offset * delta + ids.length) % ids.length;
|
||||
const indexId = ids[index];
|
||||
if (indexId && !isDisabled(indexId)) {
|
||||
return indexId;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
let foundKey = true;
|
||||
switch (event.key) {
|
||||
case ' ':
|
||||
case 'Enter':
|
||||
onSelect(id);
|
||||
break;
|
||||
case 'ArrowDown':
|
||||
onHighlight(getValidIdInDirection('next'));
|
||||
break;
|
||||
case 'ArrowUp':
|
||||
onHighlight(getValidIdInDirection('prev'));
|
||||
break;
|
||||
case 'Tab':
|
||||
onHighlight(
|
||||
event.shiftKey
|
||||
? getValidIdInDirection('prev')
|
||||
: getValidIdInDirection('next'),
|
||||
);
|
||||
break;
|
||||
case 'Home':
|
||||
onHighlight(getValidIdInDirection('prev', true));
|
||||
break;
|
||||
case 'End':
|
||||
onHighlight(getValidIdInDirection('next', true));
|
||||
break;
|
||||
default:
|
||||
foundKey = false;
|
||||
}
|
||||
|
||||
if (foundKey) {
|
||||
event.preventDefault();
|
||||
}
|
||||
},
|
||||
[ids, isDisabled, onHighlight, onKeyDownId, onSelect],
|
||||
);
|
||||
|
||||
// Callback to get props for a given item.
|
||||
const getItemProps = useCallback(
|
||||
(id: string): ItemComponentProps => {
|
||||
const isHighlighted = id === highlightedId;
|
||||
const isSelected = id === selectedId;
|
||||
return {
|
||||
'data-id': safeId(id, baseId),
|
||||
'data-highlighted': isHighlighted,
|
||||
'aria-disabled': isDisabled(id),
|
||||
'aria-selected': isSelected,
|
||||
// Only allow focus if the item is highlighted.
|
||||
tabIndex: isHighlighted ? 0 : -1,
|
||||
onClick: (event) => {
|
||||
onClickId?.(id, event);
|
||||
onSelect(id);
|
||||
},
|
||||
onFocus: (event) => {
|
||||
onFocusId?.(id, event);
|
||||
if (highlightedId !== id) {
|
||||
setHighlightedId(id);
|
||||
}
|
||||
},
|
||||
onKeyDown: (event) => {
|
||||
onKeyDown(id, event);
|
||||
},
|
||||
onMouseEnter: (event) => {
|
||||
onMouseEnterId?.(id, event);
|
||||
if (highlightedId !== id) {
|
||||
setHighlightedId(id);
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
[
|
||||
baseId,
|
||||
highlightedId,
|
||||
isDisabled,
|
||||
onClickId,
|
||||
onFocusId,
|
||||
onKeyDown,
|
||||
onMouseEnterId,
|
||||
onSelect,
|
||||
selectedId,
|
||||
],
|
||||
);
|
||||
|
||||
return useMemo(
|
||||
() => ({
|
||||
// Has a stable referenced map of id to props in case getItemProps is causing unneeded re-renders.
|
||||
idProps: ids.reduce<Record<string, ItemComponentProps>>((map, id) => {
|
||||
map[id] = getItemProps(id);
|
||||
return map;
|
||||
}, {}),
|
||||
getItemProps,
|
||||
selectedId,
|
||||
onSelect,
|
||||
highlightedId,
|
||||
onHighlight,
|
||||
}),
|
||||
[getItemProps, highlightedId, ids, onHighlight, onSelect, selectedId],
|
||||
);
|
||||
}
|
||||
|
||||
interface ListItem {
|
||||
id: string | number;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export function useListItemsFocus({
|
||||
items,
|
||||
...rest
|
||||
}: Omit<UseListFocusArgs, 'ids' | 'getIsIdDisabled'> & {
|
||||
items: ListItem[];
|
||||
}) {
|
||||
const ids = useMemo(() => items.map(({ id }) => id.toString()), [items]);
|
||||
const getIsIdDisabled = useCallback(
|
||||
(id: string) => !!items.find(({ id: itemId }) => id === itemId)?.disabled,
|
||||
[items],
|
||||
);
|
||||
return useListFocus({
|
||||
ids,
|
||||
getIsIdDisabled,
|
||||
...rest,
|
||||
});
|
||||
}
|
||||
|
||||
function safeId(id: string, baseId: string) {
|
||||
return CSS.escape(`${baseId}-${id}`);
|
||||
}
|
||||
|
||||
function idToElement(id: string, baseId: string) {
|
||||
return document.querySelector(`[data-id="${safeId(id, baseId)}"]`);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import { useCallback } from 'react';
|
||||
|
||||
export function useMergedRefs<T>(...refs: React.Ref<T>[]) {
|
||||
const setRef: React.RefCallback<T> = useCallback(
|
||||
(node: T | null) => {
|
||||
const cleanups: (() => void)[] = [];
|
||||
for (const ref of refs) {
|
||||
if (typeof ref === 'function') {
|
||||
const cleanup = ref(node);
|
||||
if (cleanup) {
|
||||
cleanups.push(cleanup);
|
||||
}
|
||||
} else if (ref) {
|
||||
// eslint-disable-next-line react-hooks/immutability -- Refs can be mutated
|
||||
ref.current = node;
|
||||
}
|
||||
}
|
||||
|
||||
return () => {
|
||||
for (const cleanup of cleanups) {
|
||||
cleanup();
|
||||
}
|
||||
};
|
||||
},
|
||||
[refs],
|
||||
);
|
||||
return setRef;
|
||||
}
|
||||
@@ -42,8 +42,8 @@
|
||||
"account.familiar_followers_two": "Sleduje je {name1} a {name2}",
|
||||
"account.featured": "Zvýrazněné",
|
||||
"account.featured.accounts": "Profily",
|
||||
"account.featured.collections": "Sbírky",
|
||||
"account.featured.new_collection": "Nová sbírka",
|
||||
"account.featured.collections": "Kolekce",
|
||||
"account.featured.new_collection": "Nová kolekce",
|
||||
"account.field_overflow": "Zobrazit celý obsah",
|
||||
"account.filters.all": "Veškerá aktivita",
|
||||
"account.filters.boosts_toggle": "Zobrazit boosty",
|
||||
@@ -86,7 +86,7 @@
|
||||
"account.locked_info": "Stav soukromí tohoto účtu je nastaven na zamčeno. Jeho vlastník ručně posuzuje, kdo ho může sledovat.",
|
||||
"account.media": "Média",
|
||||
"account.mention": "Zmínit @{name}",
|
||||
"account.menu.add_to_collection": "Přidat do sbírky…",
|
||||
"account.menu.add_to_collection": "Přidat do kolekce…",
|
||||
"account.menu.add_to_list": "Přidat do seznamu…",
|
||||
"account.menu.block": "Blokovat účet",
|
||||
"account.menu.block_domain": "Blokovat {domain}",
|
||||
@@ -366,14 +366,14 @@
|
||||
"collection.share_modal.share_link_label": "Sdílet odkaz",
|
||||
"collection.share_modal.share_via_post": "Příspěvek na Mastodon",
|
||||
"collection.share_modal.share_via_system": "Sdílet na…",
|
||||
"collection.share_modal.title": "Sdílet sbírku",
|
||||
"collection.share_modal.title_new": "Sdílejte svou novou sbírku!",
|
||||
"collection.share_template_other": "Podívejte se na tuto skvělou sbírku:",
|
||||
"collection.share_template_own": "Podívejte se na mou novou sbírku:",
|
||||
"collection.share_modal.title": "Sdílet kolekci",
|
||||
"collection.share_modal.title_new": "Sdílejte svou novou kolekci!",
|
||||
"collection.share_template_other": "Podívejte se na tuto skvělou kolekci:",
|
||||
"collection.share_template_own": "Podívejte se na mou novou kolekci:",
|
||||
"collections.account_count": "{count, plural, one {# účet} few {# účty} many {# účtů} other {# účtů}}",
|
||||
"collections.accounts.empty_description": "Přidat nejvýše {count} účtů",
|
||||
"collections.accounts.empty_editor_title": "Ve sbírce zatím nikdo není",
|
||||
"collections.accounts.empty_title": "Tato sbírka je prázdná",
|
||||
"collections.accounts.empty_title": "Tato kolekce je prázdná",
|
||||
"collections.add_to_collection": "Přidat {name} do sbírek",
|
||||
"collections.block_collection_owner": "Blokovat účet",
|
||||
"collections.by_account": "od {account_handle}",
|
||||
@@ -382,23 +382,23 @@
|
||||
"collections.collection_language_none": "Žádný",
|
||||
"collections.collection_name": "Název",
|
||||
"collections.collection_topic": "Téma",
|
||||
"collections.confirm_account_removal": "Jste si jisti, že chcete odstranit tento účet z této sbírky?",
|
||||
"collections.confirm_account_removal": "Jste si jisti, že chcete odstranit tento účet z této kolekce?",
|
||||
"collections.content_warning": "Varování o obsahu",
|
||||
"collections.continue": "Pokračovat",
|
||||
"collections.copy_link": "Zkopírovat odkaz",
|
||||
"collections.copy_link_confirmation": "Odkaz na sbírku zkopírován do schránky",
|
||||
"collections.copy_link_confirmation": "Odkaz na kolekci zkopírován do schránky",
|
||||
"collections.create.accounts_title": "Koho ve sbírce zvýrazníte?",
|
||||
"collections.create.basic_details_title": "Základní údaje",
|
||||
"collections.create.steps": "Krok {step}/{total}",
|
||||
"collections.create_collection": "Vytvořit sbírku",
|
||||
"collections.delete_collection": "Smazat sbírku",
|
||||
"collections.create_collection": "Vytvořit kolekci",
|
||||
"collections.delete_collection": "Smazat kolekci",
|
||||
"collections.description_length_hint": "Nejvýše 100 znaků",
|
||||
"collections.detail.author_added_you_on_date": "{author} tě přidal dne {date}",
|
||||
"collections.detail.loading": "Načítání sbírky…",
|
||||
"collections.detail.loading": "Načítání kolekce…",
|
||||
"collections.detail.revoke_inclusion": "Odebrat mě",
|
||||
"collections.detail.sensitive_content": "Citlivý obsah",
|
||||
"collections.detail.sensitive_note": "Popis a účty nemusí být vhodné pro některé vhodné.",
|
||||
"collections.detail.share": "Sdílet tuto sbírku",
|
||||
"collections.detail.share": "Sdílet tuto kolekci",
|
||||
"collections.detail.you_are_in_this_collection": "Jste v této sbírce zvýrazněn/á",
|
||||
"collections.edit_details": "Upravit podrobnosti",
|
||||
"collections.error_loading_collections": "Při pokusu o načtení těchto sbírek došlo k chybě.",
|
||||
@@ -406,7 +406,7 @@
|
||||
"collections.hidden_accounts_link": "{count, plural, one {# skrytý účet} few {# skryté účty} many {# skrytých účtů} other {# skrytých účtů}}",
|
||||
"collections.hints.accounts_counter": "{count}/{max} účtů",
|
||||
"collections.last_updated_at": "Naposledy aktualizováno: {date}",
|
||||
"collections.list.collections_with_count": "{count, plural, one {Sbírka} few {Sbírky} many {Sbírek} other {Sbírek}}",
|
||||
"collections.list.collections_with_count": "{count, plural, one {Kolekce} few {Kolekce} many {Kolekcí} other {Kolekcí}}",
|
||||
"collections.list.created_by_author": "Vytvořil/a {name}",
|
||||
"collections.list.created_by_you": "Vytvořeno vámi",
|
||||
"collections.list.featuring_you": "Obsahuje vás",
|
||||
@@ -416,12 +416,12 @@
|
||||
"collections.maximum_collection_count_description": "Váš server umožňuje vytvořit až {count} sbírek.",
|
||||
"collections.maximum_collection_count_reached": "Dosáhl/a jste maximálního počtu sbírek",
|
||||
"collections.name_length_hint": "Limit 40 znaků",
|
||||
"collections.new_collection": "Nová sbírka",
|
||||
"collections.new_collection": "Nová kolekce",
|
||||
"collections.pending_accounts.message": "Účty se mohou zobrazovat jako nevyřízené během čekání na odpověď od uživatele nebo jeho/jejího serveru. Pouze vy můžete vidět nevyřízené účty.",
|
||||
"collections.pending_accounts.title": "Proč vidím nevyřízené účty?",
|
||||
"collections.remove_account": "Odebrat",
|
||||
"collections.report_collection": "Nahlásit tuto sbírku",
|
||||
"collections.revoke_collection_inclusion": "Odstranit sebe z této sbírky",
|
||||
"collections.report_collection": "Nahlásit tuto kolekci",
|
||||
"collections.revoke_collection_inclusion": "Odstranit sebe z této kolekce",
|
||||
"collections.revoke_inclusion.confirmation": "Byl/a jsi odstraněn z \"{collection}\"",
|
||||
"collections.revoke_inclusion.error": "Došlo k chybě, zkuste to znovu později.",
|
||||
"collections.search_accounts_label": "Hledat účty pro přidání",
|
||||
@@ -434,14 +434,14 @@
|
||||
"collections.sort_last_active": "Poslední aktivity",
|
||||
"collections.sort_most_followers": "Nejvíce sledujících",
|
||||
"collections.suggestions.can_not_add": "Nelze přidat",
|
||||
"collections.suggestions.can_not_add_desc": "Tyto účty se možná odhlásily z možnosti objevování a nebo jsou na serveru, které nepodporují sbírky.",
|
||||
"collections.suggestions.can_not_add_desc": "Tyto účty se možná odhlásily z možnosti objevování a nebo jsou na serveru, které nepodporují kolekce.",
|
||||
"collections.suggestions.must_follow": "Je třeba nejprve sledovat",
|
||||
"collections.suggestions.must_follow_desc": "Tyto účty kontrolují všechny žádosti o sledování. Sledující je mohou přidat do sbírek.",
|
||||
"collections.topic_hint": "Přidat štítek, který pomůže ostatním pochopit hlavní téma této kolekce.",
|
||||
"collections.topic_special_chars_hint": "Speciální znaky budou při uložení odstraněny",
|
||||
"collections.unlisted_collections_description": "Tyto se na vašem profilu ostatním nezobrazují. Kdokoliv s odkazem je může objevit.",
|
||||
"collections.unlisted_collections_with_count": "Nezařazené sbírky ({count})",
|
||||
"collections.view_collection": "Zobrazit sbírku",
|
||||
"collections.unlisted_collections_with_count": "Nezařazené kolekce ({count})",
|
||||
"collections.view_collection": "Zobrazit kolekci",
|
||||
"collections.visibility_public": "Veřejné",
|
||||
"collections.visibility_public_hint": "Objevitelné ve výsledcích vyhledávání a dalších místech, kde se objevují doporučení.",
|
||||
"collections.visibility_title": "Viditelnost",
|
||||
@@ -466,10 +466,10 @@
|
||||
"column.lists": "Seznamy",
|
||||
"column.mutes": "Skrytí uživatelé",
|
||||
"column.notifications": "Oznámení",
|
||||
"column.other_collections": "Sbírky od {name}",
|
||||
"column.other_collections": "Kolekce od {name}",
|
||||
"column.pins": "Připnuté příspěvky",
|
||||
"column.public": "Federovaná časová osa",
|
||||
"column.your_collections": "Vaše Sbírky",
|
||||
"column.your_collections": "Vaše Kolekce",
|
||||
"column_back_button.label": "Zpět",
|
||||
"column_header.hide_settings": "Skrýt nastavení",
|
||||
"column_header.moveLeft_settings": "Posunout sloupec doleva",
|
||||
@@ -562,8 +562,8 @@
|
||||
"confirmations.remove_from_followers.message": "{name} vás přestane sledovat. Jste si jisti, že chcete pokračovat?",
|
||||
"confirmations.remove_from_followers.title": "Odstranit sledujícího?",
|
||||
"confirmations.revoke_collection_inclusion.confirm": "Odebrat mě",
|
||||
"confirmations.revoke_collection_inclusion.message": "Správce vás nebude moci přidat do této sbírky po dobu 24 hodin. Pokud chcete natrvalo zabránit, aby vás přidával/a do sbírek, můžete ho/ji zablokovat.",
|
||||
"confirmations.revoke_collection_inclusion.title": "Odstranit se z této sbírky?",
|
||||
"confirmations.revoke_collection_inclusion.message": "Správce vás nebude moci přidat do této kolekce po dobu 24 hodin. Pokud chcete natrvalo zabránit, aby vás přidával/a do kolekcí, můžete ho/ji zablokovat.",
|
||||
"confirmations.revoke_collection_inclusion.title": "Odstranit se z této kolekce?",
|
||||
"confirmations.revoke_quote.confirm": "Odstranit příspěvek",
|
||||
"confirmations.revoke_quote.message": "Tuto akci nelze vrátit zpět.",
|
||||
"confirmations.revoke_quote.title": "Odstranit příspěvek?",
|
||||
@@ -636,10 +636,10 @@
|
||||
"emoji_button.symbols": "Symboly",
|
||||
"emoji_button.travel": "Cestování a místa",
|
||||
"empty_column.account_featured.other": "{acct} zatím nic nezvýraznil/a.",
|
||||
"empty_column.account_featured_self.no_collections_button": "Vytvořit sbírku",
|
||||
"empty_column.account_featured_self.no_collections_button": "Vytvořit kolekci",
|
||||
"empty_column.account_featured_self.no_collections_hide_tab": "Raději tuto záložku skrýt",
|
||||
"empty_column.account_featured_self.showcase_accounts": "Představte své oblíbené účty",
|
||||
"empty_column.account_featured_self.showcase_accounts_desc": "Sbírky jsou spravované seznamy účtů, které pomáhají ostatním více objevovat Fediverse.",
|
||||
"empty_column.account_featured_self.showcase_accounts_desc": "Kolekce jsou spravované seznamy účtů, které pomáhají ostatním více objevovat Fediverse.",
|
||||
"empty_column.account_featured_unknown.other": "Tento účet zatím nic nezvýraznil.",
|
||||
"empty_column.account_hides_collections": "Tento uživatel se rozhodl tuto informaci nezveřejňovat",
|
||||
"empty_column.account_suspended": "Účet je pozastaven",
|
||||
@@ -647,10 +647,10 @@
|
||||
"empty_column.account_unavailable": "Profil není dostupný",
|
||||
"empty_column.blocks": "Ještě jste nezablokovali žádného uživatele.",
|
||||
"empty_column.bookmarked_statuses": "Zatím v záložkách nemáte žádné příspěvky. Až si do nich nějaký přidáte, zobrazí se zde.",
|
||||
"empty_column.collections": "{acct} zatím nevytvořil/a žádné sbírky.",
|
||||
"empty_column.collections.featured_in": "Zatím jste nebyl/a do žádné sbírky přidán/a.",
|
||||
"empty_column.collections": "{acct} zatím nevytvořil/a žádné kolekce.",
|
||||
"empty_column.collections.featured_in": "Zatím jste nebyl/a do žádné kolekce přidán/a.",
|
||||
"empty_column.collections.featured_in_undiscoverable": "Aby vás mohli lidé přidat do sbírek, potřebujete povolit zvýrazňování ve vyhledávání pomocí <link>Předvolby > Soukromí a dosah</link>",
|
||||
"empty_column.collections_self": "Zatím jste nevytvořil/a žádnou sbírku.",
|
||||
"empty_column.collections_self": "Zatím jste nevytvořil/a žádnou kolekci.",
|
||||
"empty_column.community": "Místní časová osa je prázdná. Napište něco veřejně a rozhýbejte to tu!",
|
||||
"empty_column.direct": "Zatím nemáte žádné soukromé zmínky. Až nějakou pošlete nebo dostanete, zobrazí se zde.",
|
||||
"empty_column.disabled_feed": "Tento kanál byl zakázán administrátory vašeho serveru.",
|
||||
@@ -909,7 +909,7 @@
|
||||
"navigation_bar.automated_deletion": "Automatické mazání příspěvků",
|
||||
"navigation_bar.blocks": "Blokovaní uživatelé",
|
||||
"navigation_bar.bookmarks": "Záložky",
|
||||
"navigation_bar.collections": "Sbírky",
|
||||
"navigation_bar.collections": "Kolekce",
|
||||
"navigation_bar.direct": "Soukromé zmínky",
|
||||
"navigation_bar.domain_blocks": "Blokované domény",
|
||||
"navigation_bar.favourites": "Oblíbené",
|
||||
@@ -936,7 +936,7 @@
|
||||
"navigation_panel.expand_followed_tags": "Rozbalit menu sledovaných hashtagů",
|
||||
"navigation_panel.expand_lists": "Rozbalit menu",
|
||||
"not_signed_in_indicator.not_signed_in": "Pro přístup k tomuto zdroji se musíte přihlásit.",
|
||||
"notification.added_to_collection": "{name} vás přidal/a do sbírky",
|
||||
"notification.added_to_collection": "{name} vás přidal/a do kolekce",
|
||||
"notification.admin.report": "Uživatel {name} nahlásil {target}",
|
||||
"notification.admin.report_account": "{name} nahlásil {count, plural, one {jeden příspěvek} few {# příspěvky} many {# příspěvků} other {# příspěvků}} od {target} za {category}",
|
||||
"notification.admin.report_account_other": "{name} nahlásil {count, plural, one {jeden příspěvek} few {# příspěvky} many {# příspěvků} other {# příspěvků}} od {target}",
|
||||
@@ -946,7 +946,7 @@
|
||||
"notification.admin.sign_up.name_and_others": "{name} a {count, plural, one {# další} few {# další} many {# dalších} other {# dalších}} se zaregistrovali",
|
||||
"notification.annual_report.message": "Váš #Wrapstodon {year} na Vás čeká! Podívejte se, jak vypadal tento Váš rok na Mastodonu!",
|
||||
"notification.annual_report.view": "Zobrazit #Wrapstodon",
|
||||
"notification.collection_update": "{name} upravil sbírku, ve které se nacházíte",
|
||||
"notification.collection_update": "{name} upravil kolekci, ve které se nacházíte",
|
||||
"notification.favourite": "{name} si oblíbil váš příspěvek",
|
||||
"notification.favourite.name_and_others_with_link": "{name} a {count, plural, one {<a># další</a> si oblíbil} few {<a># další</a> si oblíbili} other {<a># dalších</a> si oblíbilo}} Váš příspěvek",
|
||||
"notification.favourite_pm": "{name} si oblíbil vaši soukromou zmínku",
|
||||
@@ -1008,7 +1008,7 @@
|
||||
"notifications.column_settings.admin.report": "Nová hlášení:",
|
||||
"notifications.column_settings.admin.sign_up": "Nové registrace:",
|
||||
"notifications.column_settings.alert": "Oznámení na počítači",
|
||||
"notifications.column_settings.collections": "Sbírky:",
|
||||
"notifications.column_settings.collections": "Kolekce:",
|
||||
"notifications.column_settings.favourite": "Oblíbené:",
|
||||
"notifications.column_settings.filter_bar.advanced": "Zobrazit všechny kategorie",
|
||||
"notifications.column_settings.filter_bar.category": "Panel rychlého filtrování",
|
||||
@@ -1028,7 +1028,7 @@
|
||||
"notifications.column_settings.update": "Úpravy:",
|
||||
"notifications.filter.all": "Vše",
|
||||
"notifications.filter.boosts": "Boosty",
|
||||
"notifications.filter.collections": "Sbírky",
|
||||
"notifications.filter.collections": "Kolekce",
|
||||
"notifications.filter.favourites": "Oblíbené",
|
||||
"notifications.filter.follows": "Sledování",
|
||||
"notifications.filter.mentions": "Zmínky",
|
||||
@@ -1140,7 +1140,7 @@
|
||||
"report.categories.violation": "Obsah porušuje jedno nebo více pravidel serveru",
|
||||
"report.category.subtitle": "Vyberte nejbližší možnost",
|
||||
"report.category.title_account": "Povězte nám, co se děje s tímto profilem",
|
||||
"report.category.title_collection": "Povězte nám, co se děje s touto sbírkou",
|
||||
"report.category.title_collection": "Povězte nám, co se děje s touto kolekcí",
|
||||
"report.category.title_status": "Povězte nám, co se děje s tímto příspěvkem",
|
||||
"report.close": "Hotovo",
|
||||
"report.comment.title": "Je ještě něco jiného, co myslíte, že bychom měli vědět?",
|
||||
@@ -1203,7 +1203,7 @@
|
||||
"search_popout.user": "uživatel",
|
||||
"search_results.accounts": "Profily",
|
||||
"search_results.all": "Vše",
|
||||
"search_results.collections": "Sbírky",
|
||||
"search_results.collections": "Kolekce",
|
||||
"search_results.hashtags": "Hashtagy",
|
||||
"search_results.no_results": "Nelze najít.",
|
||||
"search_results.no_search_yet": "Zkuste vyhledat příspěvky, profily nebo hashtagy.",
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
"account.languages": "Cambiar idiomas suscritos",
|
||||
"account.last_active": "Última actividad",
|
||||
"account.link_verified_on": "La propiedad de este enlace fue verificada el {date}",
|
||||
"account.locked_info": "El estado de privacidad de esta cuenta está configurado como bloqueado. El proprietario debe revisar manualmente quien puede seguirle.",
|
||||
"account.locked_info": "El estado de privacidad de esta cuenta está configurado como bloqueado. El propietario debe revisar manualmente quien puede seguirle.",
|
||||
"account.media": "Multimedia",
|
||||
"account.mention": "Mencionar a @{name}",
|
||||
"account.menu.add_to_collection": "Añadir a colección…",
|
||||
@@ -293,7 +293,7 @@
|
||||
"annual_report.summary.archetype.booster.desc_public": "{name} estuvo a la caza de publicaciones para impulsar, amplificando otros creadores con una puntería perfecta.",
|
||||
"annual_report.summary.archetype.booster.desc_self": "Estuviste a la caza de publicaciones para impulsar, amplificando otros creadores con una puntería perfecta.",
|
||||
"annual_report.summary.archetype.booster.name": "El Arquero",
|
||||
"annual_report.summary.archetype.die_drei_fragezeichen": "???",
|
||||
"annual_report.summary.archetype.die_drei_fragezeichen": "¿¿¿???",
|
||||
"annual_report.summary.archetype.lurker.desc_public": "Sabemos que {name} estaba allí, en algún lugar, disfrutando de Mastodon a su tranquila forma.",
|
||||
"annual_report.summary.archetype.lurker.desc_self": "Sabemos que estabas allí, en algún lugar, disfrutando de Mastodon a tu tranquila forma.",
|
||||
"annual_report.summary.archetype.lurker.name": "El Estoico",
|
||||
@@ -656,10 +656,10 @@
|
||||
"empty_column.disabled_feed": "Esta cronología ha sido desactivada por los administradores del servidor.",
|
||||
"empty_column.domain_blocks": "Todavía no hay dominios bloqueados.",
|
||||
"empty_column.explore_statuses": "No hay nada en tendencia en este momento. ¡Revisa más tarde!",
|
||||
"empty_column.favourited_statuses": "Todavía no tienes publicaciones favoritas. Cuando marques una publicación como favorita, se mostrarán aquí.",
|
||||
"empty_column.favourited_statuses": "Todavía no tienes publicaciones favoritas. Cuando marques una publicación como favorita, se mostrará aquí.",
|
||||
"empty_column.favourites": "Todavía nadie marcó esta publicación como favorita. Cuando alguien lo haga, se mostrarán aquí.",
|
||||
"empty_column.follow_requests": "No tienes ninguna petición de seguidor. Cuando recibas una, se mostrará aquí.",
|
||||
"empty_column.followed_tags": "No has seguido ninguna etiqueta todavía. Cuando lo hagas, se mostrarán aquí.",
|
||||
"empty_column.followed_tags": "No has seguido ninguna etiqueta todavía. Cuando lo hagas, se mostrará aquí.",
|
||||
"empty_column.hashtag": "No hay nada en esta etiqueta todavía.",
|
||||
"empty_column.home": "¡Tu cronología principal está vacía! Sigue a más personas para rellenarla.",
|
||||
"empty_column.list": "Aún no hay nada en esta lista. Cuando los miembros de esta lista publiquen nuevos estados, estos aparecerán aquí.",
|
||||
@@ -688,7 +688,7 @@
|
||||
"featured_tags.suggestions.add": "Añadir",
|
||||
"featured_tags.suggestions.added": "Controla tus etiquetas destacadas cuando quieras en <link>Editar perfil > Etiquetas destacadas</link>.",
|
||||
"featured_tags.suggestions.dismiss": "No, gracias",
|
||||
"filter_modal.added.context_mismatch_explanation": "Esta categoría de filtro no se aplica al contexto en el que ha accedido a esta publlicación. Si quieres que la publicación sea filtrada también en este contexto, tendrás que editar el filtro.",
|
||||
"filter_modal.added.context_mismatch_explanation": "Esta categoría de filtro no se aplica al contexto en el que ha accedido a esta publicación. Si quieres que la publicación sea filtrada también en este contexto, tendrás que editar el filtro.",
|
||||
"filter_modal.added.context_mismatch_title": "¡El contexto no coincide!",
|
||||
"filter_modal.added.expired_explanation": "Esta categoría de filtro ha caducado, tendrás que cambiar la fecha de caducidad para que se aplique.",
|
||||
"filter_modal.added.expired_title": "¡Filtro caducado!",
|
||||
@@ -820,7 +820,7 @@
|
||||
"keyboard_shortcuts.favourite": "Marcar como favorita la publicación",
|
||||
"keyboard_shortcuts.favourites": "Abrir lista de favoritos",
|
||||
"keyboard_shortcuts.federated": "Abrir la cronología federada",
|
||||
"keyboard_shortcuts.heading": "Keyboard Shortcuts",
|
||||
"keyboard_shortcuts.heading": "Atajos de teclado",
|
||||
"keyboard_shortcuts.home": "Abrir cronología principal",
|
||||
"keyboard_shortcuts.hotkey": "Tecla rápida",
|
||||
"keyboard_shortcuts.keys.alt": "Alt",
|
||||
@@ -911,7 +911,7 @@
|
||||
"navigation_bar.bookmarks": "Marcadores",
|
||||
"navigation_bar.collections": "Colecciones",
|
||||
"navigation_bar.direct": "Menciones privadas",
|
||||
"navigation_bar.domain_blocks": "Dominios ocultos",
|
||||
"navigation_bar.domain_blocks": "Dominios bloqueados",
|
||||
"navigation_bar.favourites": "Favoritos",
|
||||
"navigation_bar.filters": "Palabras silenciadas",
|
||||
"navigation_bar.follow_requests": "Solicitudes para seguirte",
|
||||
@@ -1147,7 +1147,7 @@
|
||||
"report.forward": "Reenviar a {target}",
|
||||
"report.forward_hint": "Esta cuenta es de otro servidor. ¿Enviar una copia anonimizada del informe allí también?",
|
||||
"report.mute": "Silenciar",
|
||||
"report.mute_explanation": "No verás sus publicaciones. Todavía puede seguirte y ver tus mensajes, y no sabrá que está silenciade.",
|
||||
"report.mute_explanation": "No verás sus publicaciones. Todavía pueden seguirte y ver tus mensajes, y no sabrán que están silenciados.",
|
||||
"report.next": "Siguiente",
|
||||
"report.placeholder": "Comentarios adicionales",
|
||||
"report.reasons.dislike": "No me gusta",
|
||||
@@ -1217,7 +1217,7 @@
|
||||
"server_banner.more_about_this_server": "Más información acerca de este servidor",
|
||||
"server_banner.server_stats": "Estadísticas del servidor:",
|
||||
"sign_in_banner.create_account": "Crear cuenta",
|
||||
"sign_in_banner.follow_anyone": "Sigue a cualquier persona en el fediverso y velo todo en orden cronológico. Sin algoritmos, sin anuncios o titulares engañosos.",
|
||||
"sign_in_banner.follow_anyone": "Sigue a cualquier persona en el fediverso y lo verás todo en orden cronológico. Sin algoritmos, sin anuncios o titulares engañosos.",
|
||||
"sign_in_banner.mastodon_is": "Mastodon es el mejor modo de mantenerse al día sobre qué está ocurriendo.",
|
||||
"sign_in_banner.sign_in": "Iniciar sesión",
|
||||
"sign_in_banner.sso_redirect": "Iniciar sesión o Registrarse",
|
||||
@@ -1267,7 +1267,7 @@
|
||||
"status.mute_conversation": "Silenciar conversación",
|
||||
"status.not_quoted": "No se te ha citado en esta publicación",
|
||||
"status.open": "Expandir publicación",
|
||||
"status.pin": "Fijar",
|
||||
"status.pin": "Fijar en el perfil",
|
||||
"status.public_only": "Esta publicación es privada",
|
||||
"status.quote": "Citar",
|
||||
"status.quote.cancel": "Cancelar cita",
|
||||
|
||||
Reference in new issue
Block a user