From fe91da0605c32c3cf0c3fbb9ccba92b1630a2f9a Mon Sep 17 00:00:00 2001 From: camperbot Date: Fri, 26 May 2023 21:50:50 +0530 Subject: [PATCH] chore(i18n,learn): processed translations (#50524) --- .../deep-learning-demystified.md | 2 +- .../book-recommendation-engine-using-knn.md | 2 +- .../cat-and-dog-image-classifier.md | 2 +- ...inear-regression-health-costs-calculator.md | 2 +- .../neural-network-sms-text-classifier.md | 2 +- .../rock-paper-scissors.md | 2 +- .../tensorflow/conclusion.md | 4 ++-- ...learning-algorithms-the-training-process.md | 2 +- .../tensorflow/introduction-to-tensorflow.md | 2 +- ...sing-with-rnns-recurring-neural-networks.md | 2 +- .../build-a-celestial-bodies-database.md | 6 +++--- .../build-a-number-guessing-game.md | 6 +++--- .../build-a-periodic-table-database.md | 6 +++--- .../build-a-salon-appointment-scheduler.md | 6 +++--- .../build-a-world-cup-database.md | 6 +++--- .../build-a-kitty-ipsum-translator.md | 2 +- .../build-five-programs.md | 2 +- .../build-an-sql-reference-object.md | 4 ++-- .../build-a-castle.md | 2 +- .../build-a-mario-database.md | 2 +- .../build-a-student-database-part-2.md | 2 +- .../61adc91467b5d59328b9f781.md | 2 +- .../6148f6f7d8914c78e93136ca.md | 2 +- .../5dc1798ff86c76b9248c6eb3.md | 10 +++++----- .../5dfb655eeacea3f48c6300b3.md | 2 +- .../61fd7b3fcaa5406257abc5d1.md | 2 +- .../620179bc0a6a2358c72b90ad.md | 2 +- .../641cd18eb67c661d8a9e11f3.md | 14 +++++++------- .../641cd91d28bebe226f765d86.md | 8 ++++---- .../641cdebe67ec0f25a4798356.md | 12 ++++++------ .../641cdefa704f232675ed98aa.md | 10 +++++----- .../641cdf57c3f7ee276e1d9b32.md | 18 +++++++++--------- .../641ce03dfeca10293e05dad7.md | 10 +++++----- .../641ce3065c50e62f97406973.md | 6 +++--- .../641ce3dcd0aec8309fbc9971.md | 8 ++++---- 35 files changed, 86 insertions(+), 86 deletions(-) diff --git a/curriculum/challenges/german/11-machine-learning-with-python/how-neural-networks-work/deep-learning-demystified.md b/curriculum/challenges/german/11-machine-learning-with-python/how-neural-networks-work/deep-learning-demystified.md index 142d1071521..121ad070f4b 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/how-neural-networks-work/deep-learning-demystified.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/how-neural-networks-work/deep-learning-demystified.md @@ -14,7 +14,7 @@ How should you assign weights to input neurons before training your network for ## --answers-- -From smallest to largest. +Vom Kleinsten zum Größten. --- diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/book-recommendation-engine-using-knn.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/book-recommendation-engine-using-knn.md index 83991b55931..1c653daab0c 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/book-recommendation-engine-using-knn.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/book-recommendation-engine-using-knn.md @@ -47,7 +47,7 @@ sollte zurückgeben: Notice that the data returned from `get_recommends()` is a list. The first element in the list is the book title passed into the function. The second element in the list is a list of five more lists. Each of the five lists contains a recommended book and the distance from the recommended book to the book passed into the function. -If you graph the dataset (optional), you will notice that most books are not rated frequently. To ensure statistical significance, remove from the dataset users with less than 200 ratings and books with less than 100 ratings. +Wenn du den Datensatz grafisch darstellst (optional), wirst du feststellen, dass die meisten Bücher nicht häufig bewertet werden. To ensure statistical significance, remove from the dataset users with less than 200 ratings and books with less than 100 ratings. The first three cells import libraries you may need and the data to use. The final cell is for testing. Write all your code in between those cells. diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index 5825122e96d..590ca933745 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -20,7 +20,7 @@ For this challenge, you will complete the code to classify images of dogs and c Some of the code is given to you but some code you must fill in to complete this challenge. Read the instruction in each text cell so you will know what you have to do in each code cell. -The first code cell imports the required libraries. The second code cell downloads the data and sets key variables. The third cell is the first place you will write your own code. +The first code cell imports the required libraries. The second code cell downloads the data and sets key variables. Die dritte Zelle ist der erste Ort, an dem du deinen eigenen Code schreiben wirst. The structure of the dataset files that are downloaded looks like this (You will notice that the test directory has no subdirectories and the images are not labeled): diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/linear-regression-health-costs-calculator.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/linear-regression-health-costs-calculator.md index 12b00902ff9..036724bec69 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/linear-regression-health-costs-calculator.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/linear-regression-health-costs-calculator.md @@ -8,7 +8,7 @@ dashedName: linear-regression-health-costs-calculator # --description-- -You will be working on this project with Google Colaboratory. +Du wirst an diesem Projekt mit Google Colaboratory arbeiten. After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/neural-network-sms-text-classifier.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/neural-network-sms-text-classifier.md index 2c24a783132..eacc344b720 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/neural-network-sms-text-classifier.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/neural-network-sms-text-classifier.md @@ -8,7 +8,7 @@ dashedName: neural-network-sms-text-classifier # --description-- -You will be working on this project with Google Colaboratory. +Du wirst an diesem Projekt mit Google Colaboratory arbeiten. After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md index 053406bd340..550f5c55717 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md @@ -8,7 +8,7 @@ dashedName: rock-paper-scissors # --description-- -For this challenge, you will create a program to play Rock, Paper, Scissors. A program that picks at random will usually win 50% of the time. To pass this challenge your program must play matches against four different bots, winning at least 60% of the games in each match. +Für diese Aufgabe wirst du ein Programm zum Spielen von Schere, Stein, Papier erstellen. A program that picks at random will usually win 50% of the time. To pass this challenge your program must play matches against four different bots, winning at least 60% of the games in each match. You will be working on this project with our Replit starter code. diff --git a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/conclusion.md b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/conclusion.md index 884b03adb12..65e60dfb6e1 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/conclusion.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/conclusion.md @@ -18,11 +18,11 @@ Most people that are experts in AI or machine learning usually...: ## --answers-- -have one specialization. +sind auf eine Sache spezialisiert. --- -have many specializations. +sind auf mehrere Sachen spezialisiert. --- diff --git a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/core-learning-algorithms-the-training-process.md b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/core-learning-algorithms-the-training-process.md index 8102ee578f1..fcb0390a87f 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/core-learning-algorithms-the-training-process.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/core-learning-algorithms-the-training-process.md @@ -14,7 +14,7 @@ dashedName: core-learning-algorithms-the-training-process ## --text-- -What are epochs? +Was sind Epochen? ## --answers-- diff --git a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/introduction-to-tensorflow.md b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/introduction-to-tensorflow.md index c6fefa63c92..676f588caf1 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/introduction-to-tensorflow.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/introduction-to-tensorflow.md @@ -1,6 +1,6 @@ --- id: 5e8f2f13c4cdbe86b5c72d88 -title: Introduction to TensorFlow +title: Einführung in TensorFlow challengeType: 11 videoId: r9hRyGGjOgQ bilibiliIds: diff --git a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/natural-language-processing-with-rnns-recurring-neural-networks.md b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/natural-language-processing-with-rnns-recurring-neural-networks.md index 64e8ec9e96b..297ff6627cf 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/natural-language-processing-with-rnns-recurring-neural-networks.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/tensorflow/natural-language-processing-with-rnns-recurring-neural-networks.md @@ -30,7 +30,7 @@ What is true about Recurrent Neural Networks? --- -4: Both 2 and 3. +4: Sowohl 2 und 3. ## --video-solution-- diff --git a/curriculum/challenges/german/13-relational-databases/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database.md b/curriculum/challenges/german/13-relational-databases/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database.md index 5f1a39d091a..f6d9b815e96 100644 --- a/curriculum/challenges/german/13-relational-databases/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database.md +++ b/curriculum/challenges/german/13-relational-databases/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database.md @@ -9,15 +9,15 @@ dashedName: build-a-celestial-bodies-database # --description-- -This is one of the required projects to earn your certification. For this project, you will build a database of celestial bodies using PostgreSQL. +Dies ist eines der Projekte, die für den Erhalt der Zertifizierung erforderlich sind. In diesem Projekt wirst du mit PostgreSQL eine Datenbank mit Himmelskörpern erstellen. # --instructions-- -**Important:** After you pass all the project tests, save a dump of your database into a `universe.sql` file so you can complete step 2. There will be instructions how to do that within the virtual machine. +**Wichtig:** Nachdem du alle Projekttests bestanden hast, speichere einen Auszug deiner Datenbank in einer `universe.sql`-Datei, damit du Schritt 2 abschließen kannst. There will be instructions how to do that within the virtual machine. # --notes-- -Required files: `universe.sql` +Erforderliche Dateien: `universe.sql` # --hints-- diff --git a/curriculum/challenges/german/13-relational-databases/build-a-number-guessing-game-project/build-a-number-guessing-game.md b/curriculum/challenges/german/13-relational-databases/build-a-number-guessing-game-project/build-a-number-guessing-game.md index d369f7704af..2f9b78aa117 100644 --- a/curriculum/challenges/german/13-relational-databases/build-a-number-guessing-game-project/build-a-number-guessing-game.md +++ b/curriculum/challenges/german/13-relational-databases/build-a-number-guessing-game-project/build-a-number-guessing-game.md @@ -9,15 +9,15 @@ dashedName: build-a-number-guessing-game # --description-- -This is one of the required projects to earn your certification. For this project, you will use Bash scripting, PostgreSQL, and Git to create a number guessing game that runs in the terminal and saves user information. +Dies ist eines der Projekte, die für den Erhalt der Zertifizierung erforderlich sind. For this project, you will use Bash scripting, PostgreSQL, and Git to create a number guessing game that runs in the terminal and saves user information. # --instructions-- -**Important:** After you pass all the project tests, save a dump of your database into a `number_guess.sql` file, as well as your `number_guess.sh` file, so you can complete step 2. There will be instructions on how to do that within the virtual machine. +**Wichtig:** Nachdem du alle Projekttests bestanden hast, speichere einen Dump deiner Datenbank in einer `number_guess.sql` Datei, sowie deine `number_guess.sh` Datei, damit du Schritt 2 abschließen kannst. There will be instructions on how to do that within the virtual machine. # --notes-- -Required files: `number_guess.sql`, `number_guess.sh` +Erforderliche Dateien: `number_guess.sql`, `number_guess.sh` # --hints-- diff --git a/curriculum/challenges/german/13-relational-databases/build-a-periodic-table-database-project/build-a-periodic-table-database.md b/curriculum/challenges/german/13-relational-databases/build-a-periodic-table-database-project/build-a-periodic-table-database.md index 9112b4a334b..9df71d0672a 100644 --- a/curriculum/challenges/german/13-relational-databases/build-a-periodic-table-database-project/build-a-periodic-table-database.md +++ b/curriculum/challenges/german/13-relational-databases/build-a-periodic-table-database-project/build-a-periodic-table-database.md @@ -9,15 +9,15 @@ dashedName: build-a-periodic-table-database # --description-- -This is one of the required projects to earn your certification. For this project, you will create Bash a script to get information about chemical elements from a periodic table database. +Dies ist eines der Projekte, die für den Erhalt der Zertifizierung erforderlich sind. In diesem Projekt erstellst du mit Bash ein Skript, das Informationen über chemische Elemente aus einer Datenbank des Periodensystems abruft. # --instructions-- -**Important:** After you pass all the project tests, save a dump of your database into a `periodic_table.sql` file, as well as your `element.sh` file, so you can complete step 2. There will be instructions on how to do that within the virtual machine. +**Wichtig:** Nachdem du alle Projekttests bestanden hast, speichere einen Dump deiner Datenbank in einer `periodic_table.sql`-Datei, sowie deine `element.sh`-Datei, damit du Schritt 2 abschließen kannst. There will be instructions on how to do that within the virtual machine. # --notes-- -Required files: `periodic_table.sql`, `element.sh` +Erforderliche Dateien: `periodic_table.sql`, `element.sh` # --hints-- diff --git a/curriculum/challenges/german/13-relational-databases/build-a-salon-appointment-scheduler-project/build-a-salon-appointment-scheduler.md b/curriculum/challenges/german/13-relational-databases/build-a-salon-appointment-scheduler-project/build-a-salon-appointment-scheduler.md index d91d6918c00..1cb4db76392 100644 --- a/curriculum/challenges/german/13-relational-databases/build-a-salon-appointment-scheduler-project/build-a-salon-appointment-scheduler.md +++ b/curriculum/challenges/german/13-relational-databases/build-a-salon-appointment-scheduler-project/build-a-salon-appointment-scheduler.md @@ -9,15 +9,15 @@ dashedName: build-a-salon-appointment-scheduler # --description-- -This is one of the required projects to earn your certification. For this project, you will create an interactive Bash program that uses PostgreSQL to track the customers and appointments for your salon. +Dies ist eines der Projekte, die für den Erhalt der Zertifizierung erforderlich sind. In diesem Projekt erstellst du ein interaktives Bash-Programm, das PostgreSQL nutzt, um die Kunden und Termine für dein Salon zu verwalten. # --instructions-- -**Important:** After you pass all the project tests, save a dump of your database into a `salon.sql` file, as well as your `salon.sh` file, so you can complete step 2. There will be instructions how to do that within the virtual machine. +**Wichtig:** Nachdem du alle Projekttests bestanden hast, speichere einen Dump deiner Datenbank in einer `salon.sql` Datei, sowie deine `salon.sh` Datei, damit du Schritt 2 abschließen kannst. There will be instructions how to do that within the virtual machine. # --notes-- -Required files: `salon.sql`, `salon.sh` +Erforderliche Dateien: `salon.sql`, `salon.sh` # --hints-- diff --git a/curriculum/challenges/german/13-relational-databases/build-a-world-cup-database-project/build-a-world-cup-database.md b/curriculum/challenges/german/13-relational-databases/build-a-world-cup-database-project/build-a-world-cup-database.md index c6f64c4f4fe..ac3e02d274f 100644 --- a/curriculum/challenges/german/13-relational-databases/build-a-world-cup-database-project/build-a-world-cup-database.md +++ b/curriculum/challenges/german/13-relational-databases/build-a-world-cup-database-project/build-a-world-cup-database.md @@ -9,15 +9,15 @@ dashedName: build-a-world-cup-database # --description-- -This is one of the required projects to earn your certification. For this project, you will create a Bash script that enters information from World Cup games into PostgreSQL, then query the database for useful statistics. +Dies ist eines der Projekte, die für den Erhalt der Zertifizierung erforderlich sind. For this project, you will create a Bash script that enters information from World Cup games into PostgreSQL, then query the database for useful statistics. # --instructions-- -**Important:** After you pass all the project tests, save a dump of your database into a `worldcup.sql` file, as well as your `insert_data.sh` and `queries.sh` files, so you can complete step 2. There will be instructions how to do that within the virtual machine. +**Wichtig:** Nachdem du alle Projekttests bestanden hast, speichere einen Dump deiner Datenbank in einer `worldcup.sql`-Datei, sowie deine `insert_data.sh`-Datei und `queries.sh`, damit du Schritt 2 abschließen kannst. There will be instructions how to do that within the virtual machine. # --notes-- -Required files: `worldcup.sql`, `insert_data.sh`, `queries.sh` +Erforderliche Dateien: `worldcup.sql`, `insert_data.sh`, `queries.sh` # --hints-- diff --git a/curriculum/challenges/german/13-relational-databases/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator.md b/curriculum/challenges/german/13-relational-databases/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator.md index d1701d3a542..7a9c85a8d47 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator.md +++ b/curriculum/challenges/german/13-relational-databases/learn-advanced-bash-by-building-a-kitty-ipsum-translator/build-a-kitty-ipsum-translator.md @@ -9,7 +9,7 @@ dashedName: build-a-kitty-ipsum-translator # --description-- -In this 140-lesson course, you will learn some more complex commands, and the details of how commands work. +In diesem Kurs mit 140 Lektionen lernst du einige komplexere Befehle kennen und erfährst, wie die Befehle im Detail funktionieren. # --instructions-- diff --git a/curriculum/challenges/german/13-relational-databases/learn-bash-scripting-by-building-five-programs/build-five-programs.md b/curriculum/challenges/german/13-relational-databases/learn-bash-scripting-by-building-five-programs/build-five-programs.md index c9d6b750bbd..02b284e7b46 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-bash-scripting-by-building-five-programs/build-five-programs.md +++ b/curriculum/challenges/german/13-relational-databases/learn-bash-scripting-by-building-five-programs/build-five-programs.md @@ -1,6 +1,6 @@ --- id: 5f5904ac738bc2fa9efecf5a -title: Build Five Programs +title: Fünf Programme erstellen challengeType: 12 helpCategory: Backend Development url: https://github.com/freeCodeCamp/learn-bash-scripting-by-building-five-programs diff --git a/curriculum/challenges/german/13-relational-databases/learn-git-by-building-an-sql-reference-object/build-an-sql-reference-object.md b/curriculum/challenges/german/13-relational-databases/learn-git-by-building-an-sql-reference-object/build-an-sql-reference-object.md index bdf04eaef8a..04ad89b8e71 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-git-by-building-an-sql-reference-object/build-an-sql-reference-object.md +++ b/curriculum/challenges/german/13-relational-databases/learn-git-by-building-an-sql-reference-object/build-an-sql-reference-object.md @@ -1,6 +1,6 @@ --- id: 5fa323cdaf6a73463d590659 -title: Build an SQL Reference Object +title: Ein SQL-Referenzobjekt erstellen challengeType: 12 helpCategory: Backend Development url: https://github.com/freeCodeCamp/learn-git-by-building-an-sql-reference-object @@ -9,7 +9,7 @@ dashedName: build-an-sql-reference-object # --description-- -In this 240-lesson course, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands. +In diesem Kurs mit 240 Lektionen lernst du, wie Git den Überblick über deinen Code behält, indem es ein Objekt mit häufig verwendeten SQL-Befehlen erstellt. # --instructions-- diff --git a/curriculum/challenges/german/13-relational-databases/learn-nano-by-building-a-castle/build-a-castle.md b/curriculum/challenges/german/13-relational-databases/learn-nano-by-building-a-castle/build-a-castle.md index 2931bc2e7ee..89ea2a9294b 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-nano-by-building-a-castle/build-a-castle.md +++ b/curriculum/challenges/german/13-relational-databases/learn-nano-by-building-a-castle/build-a-castle.md @@ -9,7 +9,7 @@ dashedName: build-a-castle # --description-- -In this 40-lesson course, you will learn how to edit files in the terminal with Nano while building a castle. +In diesem Kurs mit 40 Lektionen lernst du, wie man Dateien im Terminal mit Nano bearbeitet und dabei eine Burg baut. # --instructions-- diff --git a/curriculum/challenges/german/13-relational-databases/learn-relational-databases-by-building-a-mario-database/build-a-mario-database.md b/curriculum/challenges/german/13-relational-databases/learn-relational-databases-by-building-a-mario-database/build-a-mario-database.md index 7c9b41041dd..9c1e371d28d 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-relational-databases-by-building-a-mario-database/build-a-mario-database.md +++ b/curriculum/challenges/german/13-relational-databases/learn-relational-databases-by-building-a-mario-database/build-a-mario-database.md @@ -1,6 +1,6 @@ --- id: 5f2c289f164c29556da632fd -title: Build a Mario Database +title: Eine Mario Datenbank erstellen challengeType: 12 helpCategory: Backend Development url: https://github.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database diff --git a/curriculum/challenges/german/13-relational-databases/learn-sql-by-building-a-student-database-part-2/build-a-student-database-part-2.md b/curriculum/challenges/german/13-relational-databases/learn-sql-by-building-a-student-database-part-2/build-a-student-database-part-2.md index 47733a36a90..d7868b18dd6 100644 --- a/curriculum/challenges/german/13-relational-databases/learn-sql-by-building-a-student-database-part-2/build-a-student-database-part-2.md +++ b/curriculum/challenges/german/13-relational-databases/learn-sql-by-building-a-student-database-part-2/build-a-student-database-part-2.md @@ -9,7 +9,7 @@ dashedName: build-a-student-database-part-2 # --description-- -In this 140-lesson course, you will complete your student database while diving deeper into SQL commands. +In diesem Kurs mit 140 Lektionen wirst du deine Studenten-Datenbank vervollständigen und gleichzeitig tiefer in SQL-Befehle eintauchen. # --instructions-- diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61adc91467b5d59328b9f781.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61adc91467b5d59328b9f781.md index 5b6e46ca7c7..967076598f4 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61adc91467b5d59328b9f781.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61adc91467b5d59328b9f781.md @@ -9,7 +9,7 @@ dashedName: step-79 In the last project, you learned a little bit about borders and the `border-color` property. -All HTML elements have borders, though they're usually set to `none` by default. With CSS, you can control all aspects of an element's border, and set the border on all sides, or just one side at a time. For a border to be visible, you need to set its width and style. +Alle HTML-Elemente haben Ränder, obwohl sie normalerweise auf `none` eingestellt sind. With CSS, you can control all aspects of an element's border, and set the border on all sides, or just one side at a time. Damit ein Rand sichtbar wird, musst du seine Breite und seinen Stil einstellen. In the `.sleeve` CSS rule, add the `border-left-width` property with the value `10px`. diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6148f6f7d8914c78e93136ca.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6148f6f7d8914c78e93136ca.md index 402a36b8fc3..69093a21bfd 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6148f6f7d8914c78e93136ca.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6148f6f7d8914c78e93136ca.md @@ -9,7 +9,7 @@ dashedName: step-80 Create one final `@media` query for `only screen` with a `max-width` of `420px`. Within, create a `.hero-title` selector with a `font-size` property set to `4.5rem`. -Congratulations! Your magazine is now complete. +Glückwunsch! Dein Magazin ist nun fertig. # --hints-- diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc1798ff86c76b9248c6eb3.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc1798ff86c76b9248c6eb3.md index 1ea796eb403..049d5dee4c4 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc1798ff86c76b9248c6eb3.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc1798ff86c76b9248c6eb3.md @@ -15,13 +15,13 @@ Below the `h1` element, add an `h2` element with this text: # --hints-- -Your `h1` element should have an opening tag. Opening tags have this syntax: ``. +Your `h1` element should have an opening tag. Öffnende Tags haben diese Syntax: ``. ```js assert(document.querySelector('h1')); ``` -Your `h1` element should have a closing tag. Closing tags have a `/` just after the `<` character. +Your `h1` element should have a closing tag. Schließende Tags haben ein `/` genau nach dem `<` Zeichen. ```js assert(code.match(/<\/h1\>/)); @@ -35,19 +35,19 @@ assert( ); ``` -Your `h1` element's text should be 'CatPhotoApp'. You have either omitted the text or have a typo. +Your `h1` element's text should be 'CatPhotoApp'. Du hast entweder den Text weggelassen oder einen Tippfehler gemacht. ```js assert(document.querySelector('h1').innerText.toLowerCase() === 'catphotoapp'); ``` -Your `h2` element should have an opening tag. Opening tags have this syntax: ``. +Your `h2` element should have an opening tag. Öffnende Tags haben folgende Syntax: ``. ```js assert(document.querySelector('h2')); ``` -Your `h2` element should have a closing tag. Closing tags have a `/` just after the `<` character. +Your `h2` element should have a closing tag. Schließende Tags haben ein `/` genau nach dem `<` Zeichen. ```js assert(code.match(/<\/h2\>/)); diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfb655eeacea3f48c6300b3.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfb655eeacea3f48c6300b3.md index edc8ab3edba..c01194b37e8 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfb655eeacea3f48c6300b3.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfb655eeacea3f48c6300b3.md @@ -19,7 +19,7 @@ Your `figure` element should have an opening tag. Öffnende Tags haben die folge assert(document.querySelector('figure')); ``` -Your `figure` element should have a closing tag. Closing tags have a `/` just after the `<` character. +Your `figure` element should have a closing tag. Schließende Tags haben ein `/` direkt nach dem `<` Zeichen. ```js assert(code.match(/<\/figure\>/)); diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/61fd7b3fcaa5406257abc5d1.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/61fd7b3fcaa5406257abc5d1.md index 27024e48e3f..9b2bce1e1ce 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/61fd7b3fcaa5406257abc5d1.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/61fd7b3fcaa5406257abc5d1.md @@ -7,7 +7,7 @@ dashedName: step-17 # --description-- -Time to move on to your second table. Start by giving it a `caption` element set to `Liabilities`. Then add your `thead` and `tbody`. +Es ist Zeit auf deine zweite Tabelle zu wechseln. Start by giving it a `caption` element set to `Liabilities`. Füge dann dein `thead` und `tbody` hinzu. # --hints-- diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/620179bc0a6a2358c72b90ad.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/620179bc0a6a2358c72b90ad.md index d64240ef725..82805706af3 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/620179bc0a6a2358c72b90ad.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet/620179bc0a6a2358c72b90ad.md @@ -1,6 +1,6 @@ --- id: 620179bc0a6a2358c72b90ad -title: Step 45 +title: Schritt 45 challengeType: 0 dashedName: step-45 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd18eb67c661d8a9e11f3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd18eb67c661d8a9e11f3.md index ad0d6d5ba11..b5b702385e8 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd18eb67c661d8a9e11f3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd18eb67c661d8a9e11f3.md @@ -7,41 +7,41 @@ dashedName: step-1 # --description-- -To begin the project, use the `.getElementById()` method to retrieve the `#message-input`, `#result`, and `#check-message-btn` elements from the HTML document, and assign them to the variables `messageInput`, `result`, and `checkMessageButton`, respectively. +Para começar o projeto, use o método `.getElementById()` para obter os elementos `#message-input`, `#result` e `#check-message-btn` do documento HTML. Atribua-os às variáveis `messageInput`, `result` e `checkMessageButton`, respectivamente. # --hints-- -You should use `const` to declare a `messageInput` variable. +Você deve usar `const` para declarar uma variável `messageInput`. ```js assert.match(code, /const\s+messageInput\s*=/); ``` -Your `messageInput` variable should have the value of `document.getElementById('message-input')`. +A variável `messageInput` deve ter o valor de `document.getElementById('message-input')`. ```js assert.deepEqual(messageInput, document.getElementById('message-input')); ``` -You should use `const` to declare a `result` variable. +Você deve usar `const` para declarar uma variável `result`. ```js assert.match(code, /const\s+result\s*=/); ``` -Your `result` variable should have the value of `document.getElementById('result')`. +A variável `result` deve ter o valor de `document.getElementById('result')`. ```js assert.deepEqual(result, document.getElementById('result')); ``` -You should use `const` to declare a `checkMessageButton` variable. +Você deve usar `const` para declarar uma variável `checkMessageButton`. ```js assert.match(code, /const\s+checkMessageButton\s*=/); ``` -Your `checkMessageButton` variable should have the value of `document.getElementById('check-message-btn')`. +A variável `checkMessageButton` deve ter o valor de `document.getElementById('check-message-btn')`. ```js assert.deepEqual(checkMessageButton, document.getElementById('check-message-btn')); diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd91d28bebe226f765d86.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd91d28bebe226f765d86.md index 8019ae50007..7993ab0d9a7 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd91d28bebe226f765d86.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cd91d28bebe226f765d86.md @@ -7,23 +7,23 @@ dashedName: step-2 # --description-- -Attach an event listener to your `checkMessageButton`, listening for the `click` event. Give it an empty callback function. +Anexe um ouvinte de eventos ao seu `checkMessageButton`, ouvindo o evento de `click`. Dê a ele uma função de callback vazia. # --hints-- -You should call `.addEventListener()` on your `checkMessageButton` element. +Você deve chamar o método `.addEventListener()` no elemento `checkMessageButton`. ```js assert.match(code, /checkMessageButton\.addEventListener\(/); ``` -Your `.addEventListener()` method should have a `click` event type. +O método `.addEventListener()` deve "ouvir" o evento de `click`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,/); ``` -Your `.addEventListener()` method should have an empty callback function. +O método `.addEventListener()` deve ter uma função de callback vazia. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/); diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdebe67ec0f25a4798356.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdebe67ec0f25a4798356.md index 7677655c61a..69c23b9572b 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdebe67ec0f25a4798356.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdebe67ec0f25a4798356.md @@ -7,31 +7,31 @@ dashedName: step-3 # --description-- -If the `messageInput` is empty, display an alert to the user with the message `Please enter a message.`. +Se `messageInput` estiver vazio, exiba um alerta ao usuário com a mensagem `Please enter a message.`. -Then, exit the function execution. +Em seguida, saia da execução da função. # --hints-- -Your callback function should have an `if` statement. +A função de callback deve ter uma instrução `if`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(/) ``` -Your `if` statement should check if the `value` of `messageInput` is an empty string. +A instrução `if` deve verificar se `value` de `messageInput` é uma string vazia. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)/) ``` -Your `if` statement should display an alert to the user with the message `Please enter a message.`. +A instrução `if` deve exibir um alerta ao usuário com a mensagem `Please enter a message.`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\)/) ``` -Your `if` statement should exit the function execution. +A instrução `if` deve sair da execução da função. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*\}/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdefa704f232675ed98aa.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdefa704f232675ed98aa.md index 8f3d6ac1c2a..9d6e8d82aec 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdefa704f232675ed98aa.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdefa704f232675ed98aa.md @@ -7,29 +7,29 @@ dashedName: step-4 # --description-- -Create an `isSpam` function using the `const` keyword and arrow syntax. The function should take a single parameter `msg` and implicitly return `false` for now. +Crie uma função `isSpam` usando a palavra-chave `const` e a sintaxe das arrow functions. A função deve receber um único parâmetro `msg` e implicitamente retornar `false`, por enquanto. # --hints-- -You should use `const` to delcare an `isSpam` variable. +Você deve usar `const` para declarar uma variável `isSpam`. ```js assert.match(code, /const\s+isSpam\s*=/); ``` -You should use arrow syntax to assign `isSpam` a function. +Você deve usar a sintaxe das arrow functions para atribuir uma função a `isSpam`. ```js assert.match(code, /const\s+isSpam\s*=\s*\(?.*\)?\s*=>/); ``` -Your `isSpam` function should have a single `msg` parameter. +A função `isSpam` deve receber um argumento único `msg`. ```js assert.match(code, /const\s+isSpam\s*=\s*\(?\s*msg\s*\)?/); ``` -Your `isSpam` function should implicitly return `false`. +A função `isSpam` deve retornar `false` implicitamente. ```js assert.match(code, /const\s+isSpam\s*=\s*\(?\s*msg\s*\)?\s*=>\s*false;?/); diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md index b7ba9d7e024..89ef32d9537 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cdf57c3f7ee276e1d9b32.md @@ -7,45 +7,45 @@ dashedName: step-5 # --description-- -Back in your event listener, you need to update the text of the `result` element. +No ouvinte do evento, você precisa atualizar o texto do elemento `result`. -Use a ternary operator to update the text of the `result` element after the `if` statement. Check the truthiness of calling `isSpam()` on the value of the `messageInput` element. If true, set the text to `Oh no! This looks like a spam message.`. Otherwise, set the text to `This message does not seem to contain any spam.` +Use um operador ternário para atualizar o texto do elemento `result` após a instrução `if`. Verifique se o valor do elemento `messageInput` é verdadeiro ao chamar `isSpam()`. Se for, defina o texto para `Oh no! This looks like a spam message.`. Caso contrário, defina o texto como `This message does not seem to contain any spam.` -Then set the `messageInput` element's value to an empty string. +Em seguida, defina o valor do elemento `messageInput` como uma string vazia. # --hints-- -You should use the assignment operator to set the `textContent` property of the `result` element. +Você deve usar o operador da atribuição para definir a propriedade `textContent` do elemento `result`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*/) ``` -You should assign the `isSpam()` function call to `result.textContent`. +Você deve atribuir a chamada da função `isSpam()` para `result.textContent`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*isSpam\(\s*messageInput\.value\s*\)/) ``` -You should use ternary syntax to check the truthiness of `isSpam(messageInput.value)`. +Você deve usar a sintaxe de operador ternário para verificar se `isSpam(messageInput.value)` é verdadeiro. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*isSpam\(\s*messageInput\.value\s*\)\s*\?/) ``` -The truthy expression of your ternary should set the `textContent` property of the `result` element to `Oh no! This looks like a spam message.`. +A expressão verdadeira do operador ternário deve definir a propriedade `textContent` do elemento `result` como `Oh no! This looks like a spam message.`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*isSpam\(\s*messageInput\.value\s*\)\s*\?\s*('|"|`)Oh no! This looks like a spam message.\4\s*:/); ``` -The falsy expression of your ternary should set the `textContent` property of the `result` element to `This message does not seem to contain any spam.`. +A expressão falsa do operador ternário deve definir a propriedade `textContent` do elemento `result` como `This message does not seem to contain any spam.`. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*isSpam\(\s*messageInput\.value\s*\)\s*\?\s*('|"|`)Oh no! This looks like a spam message.\4\s*:\s*('|"|`)This message does not seem to contain any spam.\5;?\s*/); ``` -After your ternary, set the `value` of `messageInput` to an empty string. +Após o operador ternário, defina `value` em `messageInput` como uma string vazia. ```js assert.match(code, /checkMessageButton\.addEventListener\(\s*('|"|`)click\1\s*,\s*\(\s*\)\s*=>\s*\{\s*if\s*\(\s*messageInput\.value\s*===\s*('|"|`)\2\s*\)\s*\{\s*alert\(\s*('|"|`)Please enter a message\.\3\s*\);?\s*return\s*;?\s*\}\s*result\.textContent\s*\=\s*isSpam\(\s*messageInput\.value\s*\)\s*\?\s*('|"|`)Oh no! This looks like a spam message.\4\s*:\s*('|"|`)This message does not seem to contain any spam.\5;?\s*messageInput\.value\s*=\s*('|"|`)\6;?\s*\}/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce03dfeca10293e05dad7.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce03dfeca10293e05dad7.md index 20194f4c364..d807aa8a328 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce03dfeca10293e05dad7.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce03dfeca10293e05dad7.md @@ -7,9 +7,9 @@ dashedName: step-6 # --description-- -Your first regular expression will be used to catch help requests. Declare a `helpRegex` variable, and assign it a regular expression that matches the string `please help`. +A primeira expressão regular será usada para capturar pedidos de ajuda. Declare uma variável `helpRegex` e atribua-a uma expressão regular que corresponda à string `please help`. -As a refresher, here is a regular expression to match the string `hello world`: +Como lembrete, aqui está uma expressão regular que corresponde à string `hello world`: ```js const regex = /hello world/; @@ -17,19 +17,19 @@ const regex = /hello world/; # --hints-- -You should use `const` to declare a `helpRegex` variable. +Você deve usar `const` para declarar uma variável `helpRegex`. ```js assert.match(code, /const\s+helpRegex\s*=/); ``` -Your `helpRegex` variable should be a regular expression. +A variável `helpRegex` deve ser uma expressão regular. ```js assert.instanceOf(helpRegex, RegExp); ``` -Your `helpRegex` variable should match the string `please help`. +A variável `helpRegex` deve incluir a string `please help`. ```js assert.match('please help', helpRegex); diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md index b694b7dba3b..65be2690843 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3065c50e62f97406973.md @@ -7,13 +7,13 @@ dashedName: step-7 # --description-- -Regular expressions can take flags to modify their behavior. For instance, the `i` flag can be used to make the expression ignore case, causing it to match `hello`, `HELLO`, and `Hello` for the expression `/hello/`. +Expressões regulares podem receber flags (marcadores) para modificar seu comportamento. Por exemplo, a flag `i` pode ser usada para fazer a expressão ignorar a diferença entre maiúsculas e minúsculas, fazendo com que a expressão `/hello/` corresponda a `hello`, `HELLO` e `Hello`. -Flags are added after the trailing backslash. Add the `i` flag to your `helpRegex`. +As flags são adicionadas depois da barra invertida final. Adicione a flag `i` a `helpRegex`. # --hints-- -Your `helpRegex` should have the case-insensitive `i` flag. +`helpRegex` deve usar a flag de ignorar a diferença entre maiúsculas e minúsculas, `i`. ```js assert.include(helpRegex.flags, 'i'); diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3dcd0aec8309fbc9971.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3dcd0aec8309fbc9971.md index e83fa8089ea..6b78309a7c0 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3dcd0aec8309fbc9971.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641ce3dcd0aec8309fbc9971.md @@ -7,15 +7,15 @@ dashedName: step-8 # --description-- -Strings have a `.match()` method, which accepts a regular expression as an argument and determines if the string matches that expression. +Strings têm um método `.match()`, que aceita uma expressão regular como argumento e determina se a string corresponde a essa expressão. -Update your `isSpam()` function to implicitly return the result of calling the `.match()` method on `msg`, passing `helpRegex` as the argument. +Atualize a função `isSpam()` para retornar implicitamente o resultado da chamada do método `.match()` em `msg`, passando `helpRegex` como argumento. -Then, try entering some messages on your page and see the result. +Em seguida, tente inserir algumas mensagens na página e veja o resultado. # --hints-- -Your `isSpam()` function should implicitly return the result of `msg.match(helpRegex)`. +A função `isSpam()` deve retornar implicitamente o resultado de `msg.match(helpRegex)`. ```js assert.match(code, /const\s*isSpam\s*=\s*\(msg\)\s*=>\s*msg\.match\(helpRegex\)/);