Skip to content

🎉 Move existing translations to new repo #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 121 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
aa1c92b
Translate installation
mirorauhala May 2, 2022
bf6ecc1
Add glossary
mirorauhala May 2, 2022
93e4b12
WIP: Quick start
mirorauhala May 2, 2022
81b8d02
style
mirorauhala May 7, 2022
7cad9ab
fix spelling
mirorauhala May 7, 2022
9b694d2
Add props
mirorauhala May 7, 2022
050887a
Finish page
mirorauhala May 7, 2022
830cc71
Add more words
mirorauhala May 7, 2022
723ff86
Translate page
mirorauhala May 7, 2022
81b9b70
Translate menu
mirorauhala May 7, 2022
b7c6f7c
Translate Adding interactivity
mirorauhala May 7, 2022
4f4dc44
Update GLOSSARY.md
mirorauhala May 7, 2022
b5ccb55
Translate "Managing State"
mirorauhala May 7, 2022
c5f0952
fix spelling
mirorauhala May 7, 2022
ffc5592
Change wording
mirorauhala May 8, 2022
867e925
fix heading anchors
mirorauhala May 11, 2022
f8f20e6
add new words
mirorauhala May 11, 2022
b1217ee
translate start-new-react-project
mirorauhala May 11, 2022
76d2576
add container, minify, preprocessor
mirorauhala May 11, 2022
1bdccf0
translate add-react-to-a-website
mirorauhala May 11, 2022
02444d6
add linter
mirorauhala May 12, 2022
10d505c
translate editor-setup
mirorauhala May 12, 2022
59960de
translate react-developer-tools
mirorauhala May 12, 2022
e19f63a
merge and translate from upstream
mirorauhala May 16, 2022
e907922
Translate thinkin-in-react
mirorauhala May 22, 2022
97fd3a8
VScode formats the anchors wrong by default
mirorauhala May 22, 2022
f1d91c0
Merge branch 'main' of https://github.com/reactjs/reactjs.org
mirorauhala May 22, 2022
51256e0
Translate sidebar
mirorauhala May 22, 2022
f1d5c22
Translate your-first-component
mirorauhala May 22, 2022
48d39b9
translate importing-and-exporting-components
mirorauhala May 22, 2022
079bd8b
translate js-in-jsx
mirorauhala May 23, 2022
7f7ef6d
Merge branch 'main' of https://github.com/reactjs/reactjs.org
mirorauhala May 23, 2022
8ca5149
translate passing-props-to-a-component
mirorauhala May 31, 2022
a9b9fe7
translate wrapper
mirorauhala May 31, 2022
0040dbb
Merge branch 'main' of https://github.com/reactjs/reactjs.org
mirorauhala May 31, 2022
1221db0
Merge branch 'main' of https://github.com/reactjs/reactjs.org
mirorauhala Jun 6, 2022
b588b42
Translate conditional-rendering
mirorauhala Jun 19, 2022
37798b0
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Jun 19, 2022
027137f
Translate rendering-lists
mirorauhala Jun 19, 2022
4d3bd9a
Translate keeping-components-pure
mirorauhala Jul 8, 2022
eff530c
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Jul 8, 2022
64d96ed
Translate responding-to-events
mirorauhala Jul 14, 2022
6651ba5
Merge branch 'main' of https://github.com/reactjs/reactjs.org
mirorauhala Jul 14, 2022
34cfe42
Translate miscellaneous words
mirorauhala Jul 14, 2022
41d8d1d
Translate components-memory
mirorauhala Jul 16, 2022
bdbedbf
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Aug 4, 2022
b624deb
Translate Render and commit
mirorauhala Aug 4, 2022
f9bdf0b
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Sep 12, 2022
e89c014
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Sep 14, 2022
68d3773
Translate state-as-a-snapshot
mirorauhala Sep 14, 2022
def1008
Translate queueing-a-series-of-state-updates
mirorauhala Sep 14, 2022
d0b9a0a
Translate updating-objects-in-state
mirorauhala Oct 25, 2022
3e70b66
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Oct 27, 2022
61fb12a
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Oct 27, 2022
c6361c6
Translate updating-arrays-in-state
mirorauhala Oct 27, 2022
987d852
Fix heading links
mirorauhala Oct 29, 2022
9131c57
Add asdf nodejs version
mirorauhala Oct 29, 2022
b76e316
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Oct 29, 2022
9ae6ece
Fix links
mirorauhala Oct 30, 2022
8e3b7ba
Reword trigger
mirorauhala Oct 30, 2022
2f3455a
Fix spelling mistakes
mirorauhala Oct 30, 2022
ad468b7
Translate navigation
mirorauhala Oct 30, 2022
dde1bcd
Translate site name
mirorauhala Oct 30, 2022
9dd3b30
Remove trailing dot
mirorauhala Oct 30, 2022
a5ded6d
Translate homepage
mirorauhala Oct 30, 2022
6bc0f7a
Fix word
mirorauhala Oct 30, 2022
c71f9ce
General translation fixes
mirorauhala Oct 31, 2022
2055709
Fix challenges
mirorauhala Oct 31, 2022
ae41f89
Fix tiny translation issue
mirorauhala Oct 31, 2022
3853a95
Fix translation issues
mirorauhala Oct 31, 2022
d43b4bb
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Oct 31, 2022
7d3597d
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Nov 11, 2022
211e82f
Translate writing-markup-with-jsx
mirorauhala Oct 31, 2022
a6d8855
Merge pull request #3 from mirorauhala/writing-markup-with-jsx
mirorauhala Nov 11, 2022
3fe937c
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Nov 13, 2022
7f01aa1
Translate choosing-state-structure
mirorauhala Nov 13, 2022
61a4069
Merge pull request #4 from mirorauhala/translate-choosing-state-struc…
mirorauhala Nov 30, 2022
1356741
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Nov 30, 2022
c68cf9e
Translate reacting-to-input-with-state
mirorauhala Oct 30, 2022
ce6ddf0
Merge pull request #2 from mirorauhala/reacting-to-input-with-state
mirorauhala Nov 30, 2022
5cce1e0
Translate sharing-state-between-components
mirorauhala Nov 30, 2022
b506c64
Merge pull request #5 from mirorauhala/translate-sharing-state-betwee…
mirorauhala Dec 1, 2022
a1fdd05
Translate preserving-and-resetting-state
mirorauhala Dec 1, 2022
3d396ab
Merge pull request #6 from mirorauhala/translate-preserving-and-reset…
mirorauhala Feb 17, 2023
0018759
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Feb 17, 2023
b19adab
Translate extracting-state-logic-into-a-reducer
mirorauhala Feb 19, 2023
d349352
Merge pull request #7 from mirorauhala/translate-extracting-state-logic
mirorauhala Feb 25, 2023
9a0d93e
Translate passing-data-deeply-with-context
mirorauhala Feb 25, 2023
6e81066
Merge pull request #8 from mirorauhala/translate-passing-data-deeply-…
mirorauhala Feb 25, 2023
57a8ea0
General translations
mirorauhala Feb 25, 2023
a2aa198
Merge pull request #9 from mirorauhala/general-translations
mirorauhala Feb 26, 2023
3417897
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Feb 26, 2023
6661a92
Translate scaling-up-with-reducer-and-context
mirorauhala Feb 26, 2023
ce71346
Merge pull request #10 from mirorauhala/translate-scaling-up-with-red…
mirorauhala Feb 26, 2023
e9f5640
Translate heading
mirorauhala Feb 26, 2023
9db6fec
Merge branch 'main' of github.com:mirorauhala/fi.reactjs.org
mirorauhala Feb 26, 2023
85dc42d
Fix bug with Sandbox
mirorauhala Feb 26, 2023
668acb0
Translate referecing-values-with-refs
mirorauhala Mar 8, 2023
448ca82
Translate referecing-values-with-refs
mirorauhala Mar 8, 2023
be31df9
Merge pull request #11 from mirorauhala/translate-referencing-values-…
mirorauhala Mar 8, 2023
5c2cc21
Revert "Translate referencing values with refs"
mirorauhala Mar 8, 2023
8c2deb0
Merge pull request #12 from mirorauhala/revert-11-translate-referenci…
mirorauhala Mar 8, 2023
eb3c208
Merge pull request #13 from mirorauhala/translate-referencing-values-…
mirorauhala Mar 8, 2023
dc8d1ca
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Mar 8, 2023
12feccf
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Mar 13, 2023
3bbd452
Translate manipulating-the-dom-with-refs
mirorauhala Mar 13, 2023
cd50afe
Merge pull request #14 from mirorauhala/translate-manipulating-dom-wi…
mirorauhala Mar 14, 2023
b14e804
Translate synchronizing-with-effects
mirorauhala Mar 15, 2023
419e1ab
Merge pull request #15 from mirorauhala/translate-syncronizing-with-e…
mirorauhala Mar 19, 2023
10cf151
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala Mar 19, 2023
62a19f3
Merge branch 'main' of github.com:mirorauhala/fi.reactjs.org
mirorauhala Mar 19, 2023
d652eb0
Translate landing page
mirorauhala Mar 19, 2023
092271f
Fix typos
mirorauhala Mar 19, 2023
398ace5
Add missing 'it' (#6061)
mekarthedev May 23, 2023
09185bc
Fix a wrong explanation in "Manipulating the DOM with Refs" (#6055)
smikitky May 23, 2023
940e75c
Merge branch 'main' of github.com:reactjs/reactjs.org
mirorauhala May 23, 2023
1fb3ec2
Merge branch 'main' of mirorauhala/fi.reactjs.org into init-finnish
mirorauhala May 23, 2023
fd7d1c6
Change languageCode to Finnish
mirorauhala May 23, 2023
8256cee
Remove .tool-versions file
mirorauhala May 23, 2023
ca9af84
Remove vscode settings
mirorauhala May 23, 2023
d123b54
Fix homepage details
mirorauhala May 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions GLOSSARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Glossary / Sanasto

## React specific

- **React hook**: React hookki, koukku
- **props**: propsit
- **prop drilling**: propsien poraus
- **reducer**: reducer
- **dispatch**: dispatch, lähettää
- **pure component**: puhdas komponentti
- **fragment**: fragment
- **Strict Mode**: strict mode

## General

- **branching logic**: haaralogiikka
- **control flow**: ohjausvirta
- **destructuring**: (taulukon / olion) levityssyntaksi
- **spread**: (taulukon / olion) levityssyntaksi
- **shortcut**: lyhytoperaatio
- **expression**: lause
- **linting**: lintteri
- **frontend**: frontend
- **backend**: backend, taustajärjestelmä
- **pipeline**: putki
- **bundler**: bundler
- **container**: container
- **wrapper**: wrapper
- **to wrap smth**: kääriä, wräpätä
- **minify**: minifioida, pienentää
- **preprocessor**: esikääntäjä
- **repository**: repository, repo
- **trigger**: käynnistää
- **export**: exportata, viedä
- **import**: importata, tuoda
- **build tool**: käännöstyökalu
- **setter function**: setter funktio. (Asetin kuulostaa tyhmältä)
- **hover**: (as in a user hovering over a button): hoverointi. (Leijuminen ei ehkä ole kovin itsestäänselvää mitä sillä tarkoitetaan.)
- **focus**: (as in a user focusing over a button): focusointi. (^)
- **framework**: ohjelmistokehys
- **codebase**: koodipohja
- **property**: en keksinyt järkevää suomennosta, property
- **scope**: käyttöalue
2 changes: 1 addition & 1 deletion src/components/Layout/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) {
return (
<div className="max-w-xs w-80 lg:w-auto py-3 shadow-lg rounded-lg m-4 bg-wash dark:bg-gray-95 px-4 flex">
<p className="w-full font-bold text-primary dark:text-primary-dark text-lg mr-4">
{isSubmitted ? 'Thank you for your feedback!' : 'Is this page useful?'}
{isSubmitted ? 'Kiitos palautteestasi!' : 'Onko tämä sivu hyödyllinen?'}
</p>
{!isSubmitted && (
<button
Expand Down
239 changes: 125 additions & 114 deletions src/components/Layout/HomeContent.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/Layout/Toc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function Toc({headings}: {headings: Toc}) {
<nav role="navigation" className="pt-20 sticky top-0 right-0">
{headings.length > 0 && (
<h2 className="mb-3 lg:mb-3 uppercase tracking-wide font-bold text-sm text-secondary dark:text-secondary-dark px-4 w-full">
On this page
Tällä sivulla
</h2>
)}
<div
Expand Down
16 changes: 8 additions & 8 deletions src/components/MDX/Challenges/Challenge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function Challenge({
className="text-xl text-primary dark:text-primary-dark mb-2 mt-0 font-medium"
id={currentChallenge.id}>
<div className="font-bold block md:inline">
{isRecipes ? 'Example' : 'Challenge'} {currentChallenge.order} of{' '}
{isRecipes ? 'Esimerkki' : 'Haaste'} {currentChallenge.order} /{' '}
{totalChallenges}
<span className="text-primary dark:text-primary-dark">: </span>
</div>
Expand All @@ -63,14 +63,14 @@ export function Challenge({
<div>
<Button className="mr-2" onClick={toggleHint} active={showHint}>
<IconHint className="mr-1.5" />{' '}
{showHint ? 'Hide hint' : 'Show hint'}
{showHint ? 'Piilota vihje' : 'Näytä vihje'}
</Button>
<Button
className="mr-2"
onClick={toggleSolution}
active={showSolution}>
<IconSolution className="mr-1.5" />{' '}
{showSolution ? 'Hide solution' : 'Show solution'}
{showSolution ? 'Piilota ratkaisu' : 'Näytä ratkaisu'}
</Button>
</div>
) : (
Expand All @@ -80,7 +80,7 @@ export function Challenge({
onClick={toggleSolution}
active={showSolution}>
<IconSolution className="mr-1.5" />{' '}
{showSolution ? 'Hide solution' : 'Show solution'}
{showSolution ? 'Piilota ratkaisu' : 'Näytä ratkaisu'}
</Button>
)
)}
Expand All @@ -94,7 +94,7 @@ export function Challenge({
)}
onClick={handleClickNextChallenge}
active>
Next {isRecipes ? 'Example' : 'Challenge'}
Seuraava {isRecipes ? 'esimerkki' : 'haaste'}
<IconArrowSmall displayDirection="right" className="block ml-1.5" />
</Button>
)}
Expand All @@ -104,12 +104,12 @@ export function Challenge({
{showSolution && (
<div className="mt-6">
<h3 className="text-2xl font-bold text-primary dark:text-primary-dark">
Solution
Ratkaisu
</h3>
{currentChallenge.solution}
<div className="flex justify-between items-center mt-4">
<Button onClick={() => setShowSolution(false)}>
Close solution
Sulje ratkaisu
</Button>
{hasNextChallenge && (
<Button
Expand All @@ -118,7 +118,7 @@ export function Challenge({
)}
onClick={handleClickNextChallenge}
active>
Next Challenge
Seuraava haaste
<IconArrowSmall
displayDirection="right"
className="block ml-1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/Challenges/Challenges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function Challenges({
children,
isRecipes,
noTitle,
titleText = isRecipes ? 'Try out some examples' : 'Try out some challenges',
titleText = isRecipes ? 'Kokeile esimerkkejä' : 'Kokeile haasteita',
titleId = isRecipes ? 'examples' : 'challenges',
}: ChallengesProps) {
const challenges = parseChallengeContents(children);
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/ConsoleBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function ConsoleBlock({level = 'error', children}: ConsoleBlockProps) {
</div>
<div className="flex text-sm px-4">
<div className="border-b-2 border-gray-300 dark:border-gray-90 text-tertiary dark:text-tertiary-dark">
Console
Konsoli
</div>
<div className="px-4 py-2 flex">
<Box className="mr-2 bg-gray-300 dark:bg-gray-70" />
Expand Down
6 changes: 3 additions & 3 deletions src/components/MDX/ExpandableCallout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const variantMap = {
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
note: {
title: 'Note',
title: 'Huomaa',
Icon: IconNote,
containerClasses:
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',
Expand All @@ -35,15 +35,15 @@ const variantMap = {
'linear-gradient(rgba(245, 249, 248, 0), rgba(245, 249, 248, 1)',
},
pitfall: {
title: 'Pitfall',
title: 'Sudenkuoppa',
Icon: IconPitfall,
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
textColor: 'text-yellow-50 dark:text-yellow-40',
overlayGradient:
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
wip: {
title: 'Under Construction',
title: 'Kehitteillä',
Icon: IconNote,
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
textColor: 'text-yellow-50 dark:text-yellow-40',
Expand Down
6 changes: 3 additions & 3 deletions src/components/MDX/ExpandableExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
{isDeepDive && (
<>
<IconDeepDive className="inline mr-2 dark:text-purple-30 text-purple-40" />
Deep Dive
Syväsukellus
</>
)}
{isExample && (
<>
<IconCodeBlock className="inline mr-2 dark:text-yellow-30 text-yellow-50" />
Example
Esimerkki
</>
)}
</h5>
Expand All @@ -101,7 +101,7 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
<span className="mr-1">
<IconChevron displayDirection={isExpanded ? 'up' : 'down'} />
</span>
{isExpanded ? 'Hide Details' : 'Show Details'}
{isExpanded ? 'Piilota' : 'Näytä'}
</Button>
</summary>
<div
Expand Down
4 changes: 2 additions & 2 deletions src/components/MDX/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const Heading = forwardRefWithAs<HeadingProps, 'div'>(function Heading(
{as: Comp = 'div', className, children, id, isPageAnchor = true, ...props},
ref
) {
let label = 'Link for this heading';
let label = 'Linkki tähän otsikkoon';
if (typeof children === 'string') {
label = 'Link for ' + children;
label = 'Linkki otsikkoon ' + children;
}

return (
Expand Down
8 changes: 4 additions & 4 deletions src/components/MDX/MDXComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ function LearnMore({
<section className="p-8 mt-16 mb-16 flex flex-row shadow-inner-border dark:shadow-inner-border-dark justify-between items-center bg-card dark:bg-card-dark rounded-2xl">
<div className="flex-col">
<h2 className="text-primary font-display dark:text-primary-dark font-bold text-2xl leading-tight">
Ready to learn this topic?
Oletko valmis oppimaan tämän aiheen?
</h2>
{children}
{path ? (
<ButtonLink
className="mt-1"
label="Read More"
label="Lue lisää"
href={path}
type="primary">
Read More
Lue lisää
<IconNavArrow displayDirection="right" className="inline ml-1" />
</ButtonLink>
) : null}
Expand Down Expand Up @@ -173,7 +173,7 @@ function YouWillLearn({
children: any;
isChapter?: boolean;
}) {
let title = isChapter ? 'In this chapter' : 'You will learn';
let title = isChapter ? 'Tässä kappaleessa' : 'Tulet oppimaan';
return <SimpleCallout title={title}>{children}</SimpleCallout>;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/Recap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Recap({children}: RecapProps) {
return (
<section>
<H2 isPageAnchor id="recap">
Recap
Kertaus
</H2>
{children}
</section>
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 @@ -119,7 +119,7 @@ const SandboxShell = memo(function SandboxShell({
className="inline mr-1.5 text-xl"
displayDirection={isExpanded ? 'up' : 'down'}
/>
{isExpanded ? 'Show less' : 'Show more'}
{isExpanded ? 'Näytä vähemmän' : 'Näytä enemmän'}
</span>
</button>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/components/MDX/Sandpack/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ ${css}
<button
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1"
onClick={downloadHTML}
title="Download Sandbox"
title="Lataa hiekkalaatikko"
type="button">
<IconDownload className="inline mr-1" /> Download
<IconDownload className="inline mr-1" /> Lataa
</button>
);
}
4 changes: 2 additions & 2 deletions src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export const OpenInCodeSandboxButton = () => {
return (
<UnstyledOpenInCodeSandboxButton
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1 ml-2 md:ml-1"
title="Open in CodeSandbox">
title="Avaa CodeSandbox:ssa">
<IconNewPage
className="inline ml-1 mr-1 relative top-[1px]"
width="1em"
height="1em"
/>
<span className="hidden md:block">Fork</span>
<span className="hidden md:block">Forkkaa</span>
</UnstyledOpenInCodeSandboxButton>
);
};
4 changes: 2 additions & 2 deletions src/components/MDX/Sandpack/ResetButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export function ResetButton({onReset}: ResetButtonProps) {
<button
className="text-sm text-primary dark:text-primary-dark inline-flex items-center hover:text-link duration-100 ease-in transition mx-1"
onClick={onReset}
title="Reset Sandbox"
title="Palauta hiekkalaatikko"
type="button">
<IconRestart className="inline ml-1 mr-1 relative" /> Reset
<IconRestart className="inline ml-1 mr-1 relative" /> Palauta
</button>
);
}
2 changes: 1 addition & 1 deletion src/components/MDX/YouWillLearnCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function YouWillLearnCard({title, path, children}: YouWillLearnCardProps) {
type="primary"
size="md"
label={title}>
Read More
Lue lisää
<IconNavArrow displayDirection="right" className="inline ml-1" />
</ButtonLink>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SocialBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {useRef, useEffect} from 'react';
import cn from 'classnames';
import {ExternalLink} from './ExternalLink';

const bannerText = 'Support Ukraine 🇺🇦';
const bannerText = 'Tue Ukrainaa 🇺🇦';
const bannerLink = 'https://opensource.fb.com/support-ukraine';
const bannerLinkText = 'Help Provide Humanitarian Aid to Ukraine';
const bannerLinkText = 'Auta toimittamaan humanitaarista apua Ukrainalle';

export default function SocialBanner() {
const ref = useRef<HTMLDivElement | null>(null);
Expand Down
10 changes: 5 additions & 5 deletions src/components/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ import type {RouteTag} from './Layout/getRouteMeta';

const variantMap = {
foundation: {
name: 'Foundation',
name: 'Perusta',
classes: 'bg-yellow-50 text-white',
},
intermediate: {
name: 'Intermediate',
name: 'Keskitaso',
classes: 'bg-purple-40 text-white',
},
advanced: {
name: 'Advanced',
name: 'Edistynyt',
classes: 'bg-green-40 text-white',
},
experimental: {
name: 'Experimental',
name: 'Kokeellinen',
classes: 'bg-ui-orange text-white',
},
deprecated: {
name: 'Deprecated',
name: 'Käytöstä poistettu',
classes: 'bg-red-40 text-white',
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ August 18 in Guangzhou, China

[Website](https://react.w3ctech.com)

### React Rally 2018{/*react-rally-2018*/}
### React Rally 2018 {/*react-rally-2018*/}
August 16-17 in Salt Lake City, Utah USA

[Website](http://www.reactrally.com) - [Twitter](https://twitter.com/reactrally)
Expand Down
2 changes: 1 addition & 1 deletion src/content/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: home
title: React – The library for web and native user interfaces
title: React – Kirjasto web- ja natiivikäyttöliittymille
permalink: index.html
---

Expand Down
Loading