Skip to content

Commit 34599a7

Browse files
committed
chore: components strings translation
1 parent b53c949 commit 34599a7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/components/MDX/ExpandableCallout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ interface ExpandableCalloutProps {
1818

1919
const variantMap = {
2020
deprecated: {
21-
title: 'Deprecated',
21+
title: 'Zastaralé',
2222
Icon: IconWarning,
2323
containerClasses: 'bg-red-5 dark:bg-red-60 dark:bg-opacity-20',
2424
textColor: 'text-red-50 dark:text-red-40',
2525
overlayGradient:
2626
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
2727
},
2828
note: {
29-
title: 'Note',
29+
title: 'Poznámka',
3030
Icon: IconNote,
3131
containerClasses:
3232
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',
@@ -43,7 +43,7 @@ const variantMap = {
4343
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
4444
},
4545
wip: {
46-
title: 'Under Construction',
46+
title: 'Ve fázi přípravy',
4747
Icon: IconNote,
4848
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
4949
textColor: 'text-yellow-50 dark:text-yellow-40',

src/components/MDX/Sandpack/LoadingOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const LoadingOverlay = ({
6363
opacity: stillLoading ? 1 : 0,
6464
transition: `opacity ${FADE_ANIMATION_DURATION}ms ease-out`,
6565
}}>
66-
<div className="sp-cube-wrapper" title="Open in CodeSandbox">
66+
<div className="sp-cube-wrapper" title="Otevřít v CodeSandbox">
6767
<OpenInCodeSandboxButton />
6868
<div className="sp-cube">
6969
<div className="sp-sides">

src/components/MDX/Sandpack/ResetButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export function ResetButton({onReset}: ResetButtonProps) {
1313
<button
1414
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1"
1515
onClick={onReset}
16-
title="Reset Sandbox"
16+
title="Obnovit Sandbox"
1717
type="button">
18-
<IconRestart className="inline ml-1 mr-1 relative" /> Reset
18+
<IconRestart className="inline ml-1 mr-1 relative" /> Obnovit
1919
</button>
2020
);
2121
}

src/components/MDX/TerminalBlock.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
5555
<div className="bg-gray-90 dark:bg-gray-60 w-full rounded-t-lg">
5656
<div className="text-primary-dark dark:text-primary-dark flex text-sm px-4 py-0.5 relative justify-between">
5757
<div>
58-
<IconTerminal className="inline-flex mr-2 self-center" /> Terminal
58+
<IconTerminal className="inline-flex mr-2 self-center" /> Terminál
5959
</div>
6060
<div>
6161
<button
@@ -65,7 +65,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
6565
setCopied(true);
6666
}}>
6767
<IconCopy className="inline-flex mr-2 self-center" />{' '}
68-
{copied ? 'Copied' : 'Copy'}
68+
{copied ? 'Zkopírováno' : 'Kopírovat'}
6969
</button>
7070
</div>
7171
</div>

0 commit comments

Comments
 (0)