Skip to content

Commit

Permalink
Docs: translate Updating Arrays in State (#448)
Browse files Browse the repository at this point in the history
* doc: translate updating arrays in state

* perf: more italian translations on the document
  • Loading branch information
paolapog committed Oct 19, 2023
1 parent 672c424 commit e2aecff
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 113 deletions.
4 changes: 2 additions & 2 deletions src/components/Layout/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
<>
<div className="flex flex-col items-center m-4 p-4">
<p className="font-bold text-primary dark:text-primary-dark text-lg mb-4">
How do you like these docs?
Ti sta piacendo questa documentazione?
</p>
<div>
<ButtonLink
Expand All @@ -164,7 +164,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
type="primary"
size="md"
target="_blank">
Take our survey!
Partecipa al nostro sondaggio!
<IconNavArrow
displayDirection="end"
className="inline ms-1"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/ExpandableCallout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const variantMap = {
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
note: {
title: 'Nota',
title: 'Nota bene',
Icon: IconNote,
containerClasses:
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/Sandpack/CustomPreset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const SandboxShell = memo(function SandboxShell({
className="inline me-1.5 text-xl"
displayDirection={isExpanded ? 'up' : 'down'}
/>
{isExpanded ? 'Show less' : 'Show more'}
{isExpanded ? 'Mostra meno' : 'Mostra di più'}
</span>
</button>
)}
Expand Down
Loading

0 comments on commit e2aecff

Please sign in to comment.