Skip to content

Translation of the Home page #5

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 3 commits into from
Feb 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
44 changes: 42 additions & 2 deletions TRANSLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,20 +122,60 @@ Om consistentie te behouden en de teksten zo toegankelijk mogelijk te maken, geb

# Woordenlijst

Om de consistentie in de documentatie te behouden vind je hieronder de vertalingen voor de _vaktermen_ in het Nederlands.
Om de consistentie in de documentatie te behouden vind je hieronder de vertalingen voor de _vaktermen_ in het Nederlands. Ook de woorden die expliciet in het Engels worden behouden vind je hier terug.

| Origineel | Vertaling |
|:---|:---|
| agnostic | agnostisch |
| application | applicatie |
| architectural pattern | architectuurpatroon |
| array | _array_ |
| authentication | authenticatie |
| authorization | autorisatie |
| backend | _backend_ |
| client | _client_ |
| Code of Conduct | gedragscode |
| codebase | _codebase_ |
| community | _community_ |
| configuration | configuratie |
| convension | conventie |
| data layer | _data layer_ |
| database | _database_ |
| defaults | standaardinstellingen / -waarden |
| deploy | uitrollen |
| end-to-end | _end-to-end_ |
| (code) execution | uitvoering (van de code) |
| fetch (data) | (data) opvragen |
| file structure | bestandsstructuur |
| form | _form_ |
| framework | _framework_ |
| frontend | _frontend_ |
| fullstack | _fullstack_ |
| hooks | _hooks_ |
| identity provider | identiteitsprovider |
| library | _library_ |
| log in / login | inloggen (_verb_) / login (_noun_) |
| middleware | _middleware_ |
| migrate | migreren |
| monolithic | monolitisch |
| password | wachtwoord |
| pluggable | pluggable |
| production | productie |
| promise | _promise_ |
| prototyping | _prototyping_ |
| recipe | _recipe_ |
| release | _release_ |
| release cycle | _release cycle_ |
| reset | opnieuw instellen (_verb_) / reset (_noun_) |
| routing / router | _routing_ / _router_ |
| scalable | schaalbaar |
| scale | schalen / opschalen |
| server | _server_ |
| serverless | _serverless_ |
| set up / setup | opzetten (_verb_) / setup (_noun_) |
| sign up / signup | registreren (_verb_) / registratie (_noun_) |
| styling | _styling_ |
| templates | _templates_ |
| token | _token_ |

| user | gebruiker |
| username | gebruikersnaam |
2 changes: 1 addition & 1 deletion app/components/SponsorPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const SponsorPack = () => {
}
>
<p className="whitespace-nowrap font-bold">{circle.data.name}</p>
<p className="whitespace-nowrap">${circle.data.cost} / month</p>
<p className="whitespace-nowrap">${circle.data.cost} / maand</p>
</div>
</a>
)
Expand Down
18 changes: 9 additions & 9 deletions app/components/home/HeroCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const pageTokenized = tokenize.jsx(
`// app/pages/projects/new.tsx
import { Link, useRouter, useMutation, BlitzPage } from "blitz"
import Layout from "app/core/layouts/Layout"
// Notice how we import the server function directly
// Merk op hoe we de server functie rechtstreeks importeren
import createProject, {CreateProject} from "app/projects/mutations/createProject"
import { ProjectForm, FORM_ERROR } from "app/projects/components/ProjectForm"

Expand All @@ -17,14 +17,14 @@ const NewProjectPage: BlitzPage = () => {

return (
<div>
<h1>Create New Project</h1>
<h1>Nieuw project aanmaken</h1>

<ProjectForm
submitText="Create Project"
submitText="Project aanmaken"
schema={CreateProject}
onSubmit={async (values) => {
try {
// This is equivalent to calling the server function directly
// Dit is hetzelfde als de server functie rechtstreeks te callen
const project = await createProjectMutation(values)
router.push("/projects/" + project.id)
} catch (error) {
Expand All @@ -49,19 +49,19 @@ import { resolver } from "blitz"
import db from "db"
import * as z from "zod"

// This provides runtime validation + type safety
// Dit zorgt voor runtime validatie + type safety
export const CreateProject = z
.object({
name: z.string(),
})

// resolver.pipe is a functional pipe
// resolver.pipe is een functional pipe
export default resolver.pipe(
// Validate the input data
// Valideer de input data
resolver.zod(CreateProject),
// Ensure user is logged in
// Wees zeker dat de gebruiker is ingelogd
resolver.authorize(),
// Perform business logic
// Voer business logica uit
async (input) => {
const project = await db.project.create({ data: input })
return project
Expand Down
Loading