Skip to content

Commit

Permalink
chore(i18n,learn): processed translations (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
camperbot authored Dec 25, 2024
1 parent 08bbb20 commit a0f9dba
Show file tree
Hide file tree
Showing 2,349 changed files with 108,469 additions and 9,043 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Agrega un elemento `link` dentro de tu elemento `head`. Para ese elemento `link`

# --hints--

Debes tener un elemento `link`.
You should have a `link` element.

```js
assert.match(code, /<link/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You should use `let` to declare a variable named `selectedCategory`.
assert.match(code, /\s*let\s+selectedCategory\s*/);
```

Your should assign an empty object to the `selectedCategory` variable.
You should assign an empty object to the `selectedCategory` variable.

```js
assert.match(code, /\s*let\s+selectedCategory\s*=\s*{\s*}\s*/);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ Deberías pasar `i` como argumento a tu método `.repeat()`.
assert.match(__helpers.removeJSComments(code), /character\.repeat\(\s*i\s*\)/)
```

You should use the `.repeat()` method in the `.push()` method

```js
assert.match(__helpers.removeJSComments(code), /rows\.push\(\s*character\.repeat\(\s*i\s*\)\s*\)/);
```

# --seed--

## --seed-contents--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Esto no es una permutación válida, porque 12 se anteponen a su divisor 6.

Podemos verificar que $F(6) = 5$, $F(8) = 9$, $F(20) = 450$ y $F(1000).8521816557e\\,21$.

Calcular $F({10}^{18})$. Dar como respuesta una cadena en su noción científica redondeada a diez dígitos después del punto decimal. Al dar tu respuesta, usa una minúscula `e` para separar mantissa y exponente. Ejemplo. si la respuesta es $112\\,233\\,445\\,566\\,778\\,899$, entonces el formato de respuesta sería `1.1223344557e17`.
Calcular $F({10}^{18})$. Give your answer as a string in scientific notation rounded to ten digits after the decimal point. Al dar tu respuesta, usa una minúscula `e` para separar mantissa y exponente. Ejemplo. si la respuesta es $112\\,233\\,445\\,566\\,778\\,899$, entonces el formato de respuesta sería `1.1223344557e17`.

# --hints--

`permutationOf3SmoothNumbers()` debería devolver una cadena.

```js
assert.strictEqual(typeof permutationOf3SmoothNumbers() === 'string');
assert.strictEqual(typeof permutationOf3SmoothNumbers(), 'string');
```

`permutationOf3SmoothNumbers()` debe devolver la cadena `5.5350769703e1512`.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
---
id: 674f0332ec59564081ec8b87
title: "Dialogue 1: Scheduled Maintenance to Prevent DoS Attacks"
challengeType: 21
dashedName: dialogue-1-scheduled-maintenance-to-prevent-dos-attacks
---

# --description--

Watch the video below to understand the context of the upcoming lessons.

# --assignment--

Watch the video.

# --scene--

```json
{
"setup": {
"background": "company2-boardroom.png",
"characters": [
{
"character": "Jessica",
"position": { "x": -25, "y": 0, "z": 1 }
},
{
"character": "Brian",
"position": { "x": 125, "y": 0, "z": 1 }
}
],
"audio": {
"filename": "B1_6-1.mp3",
"startTime": 1
},
"alwaysShowDialogue": true
},
"commands": [
{
"character": "Jessica",
"position": { "x": 25, "y": 0, "z": 1 },
"startTime": 0
},
{
"character": "Brian",
"position": { "x": 70, "y": 0, "z": 1 },
"startTime": 0.5
},
{
"character": "Jessica",
"startTime": 1,
"finishTime": 4.62,
"dialogue": {
"text": "Hey Brian, I heard we're running some tests on the website this weekend.",
"align": "left"
}
},
{
"character": "Jessica",
"startTime": 5.08,
"finishTime": 7.26,
"dialogue": {
"text": "Are you going to be online during the scheduled maintenance?",
"align": "left"
}
},
{
"character": "Brian",
"startTime": 7.7,
"finishTime": 11.06,
"dialogue": {
"text": "Yes, I'll be monitoring the system to make sure everything goes smoothly.",
"align": "right"
}
},
{
"character": "Brian",
"startTime": 11.22,
"finishTime": 14.94,
"dialogue": {
"text": "We've been preparing for it all week. Are you planning to join us?",
"align": "right"
}
},
{
"character": "Jessica",
"startTime": 15.34,
"finishTime": 16.66,
"dialogue": {
"text": "Yes, I will be joining you.",
"align": "left"
}
},
{
"character": "Jessica",
"startTime": 16.74,
"finishTime": 21.22,
"dialogue": {
"text": "I want to double check the new security features to prevent any potential denial of service attacks.",
"align": "left"
}
},
{
"character": "Jessica",
"startTime": 21.8,
"finishTime": 23.22,
"dialogue": {
"text": "When do we expect the maintenance to start?",
"align": "left"
}
},
{
"character": "Brian",
"startTime": 23.7,
"finishTime": 27.04,
"dialogue": {
"text": "It's going to start around 2 a.m. and should last a couple of hours.",
"align": "right"
}
},
{
"character": "Brian",
"startTime": 27.44,
"finishTime": 29.94,
"dialogue": {
"text": "We'll be testing the server load to ensure it's stable.",
"align": "right"
}
},
{
"character": "Jessica",
"startTime": 29.94,
"finishTime": 33.3,
"dialogue": {
"text": "Sounds good. Are the other developers going to help you with the tests?",
"align": "left"
}
},
{
"character": "Brian",
"startTime": 33.9,
"finishTime": 39.34,
"dialogue": {
"text": "Yes, they're going to run additional stress tests to ensure that we don't have any unexpected issues.",
"align": "right"
}
},
{
"character": "Brian",
"startTime": 39.78,
"finishTime": 42.26,
"dialogue": {
"text": "Do you think we'll need to update the users about the downtime?",
"align": "right"
}
},
{
"character": "Jessica",
"startTime": 43,
"finishTime": 46.94,
"dialogue": {
"text": "Yes, I'll send out a notification to our users letting them know about the maintenance window.",
"align": "left"
}
},
{
"character": "Jessica",
"startTime": 47.26,
"finishTime": 49,
"dialogue": {
"text": "It's better to inform them in advance.",
"align": "left"
}
},
{
"character": "Brian",
"startTime": 49.66,
"finishTime": 53.56,
"dialogue": {
"text": "Good idea. We don't want anyone getting frustrated because they can't access the site.",
"align": "right"
}
},
{
"character": "Brian",
"position": { "x": 125, "y": 0, "z": 1 },
"startTime": 54.06
},
{
"character": "Jessica",
"position": { "x": -25, "y": 0, "z": 1 },
"startTime": 54.56
}
]
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
id: 674f0495e5f4b0485ed38cd4
title: Task 1
challengeType: 22
dashedName: task-1
---

<!-- (Audio) Jessica: Hey Brian, I heard we're running some tests on the website this weekend. -->

# --instructions--

Listen to the audio and complete the sentence below.

# --fillInTheBlank--

## --sentence--

`Hey Brian, I heard we're running some BLANK on the BLANK this weekend.`

## --blanks--

`tests`

### --feedback--

This word in the plural form refers to activities or processes to check or evaluate something's performance or functionality.

---

`website`

### --feedback--

This word refers to an online location with related pages and content. It is something accessed using the internet.

# --explanation--

`Tests` are actions or procedures to check the quality, performance, or reliability of something. For example:

`The team conducted tests to ensure the app doesn't crash.` - This means the team evaluated the app to make sure it works correctly without errors.

`Website` is a collection of related web pages and content accessible on the internet. For example:

`The company's website has information about their products and services.` - This means the company has an online platform where people can find details about what they offer.

# --scene--

```json
{
"setup": {
"background": "company2-boardroom.png",
"characters": [
{
"character": "Jessica",
"position": {
"x": 50,
"y": 15,
"z": 1.2
},
"opacity": 0
}
],
"audio": {
"filename": "B1_6-1.mp3",
"startTime": 1,
"startTimestamp": 0,
"finishTimestamp": 3.62
}
},
"commands": [
{
"character": "Jessica",
"opacity": 1,
"startTime": 0
},
{
"character": "Jessica",
"startTime": 1,
"finishTime": 4.62,
"dialogue": {
"text": "Hey Brian, I heard we're running some tests on the website this weekend.",
"align": "center"
}
},
{
"character": "Jessica",
"opacity": 0,
"startTime": 5.12
}
]
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
id: 674f06b4b4d6eb4f6139ad61
title: Task 2
challengeType: 19
dashedName: task-2
---

# --instructions--

This task doesn't have audio. Read the question below and select the correct answer.

# --questions--

## --text--

What might be involved in website tests?

## --answers--

Checking for grammar errors in blog posts.

### --feedback--

This is important for content quality but is not typically the focus of website tests, which are more about functionality and performance.

---

Evaluating the website's speed and functionality.

---

Designing new web pages for a marketing campaign.

### --feedback--

While creating new designs is important, it is not directly part of testing a website's existing features or performance.

---

Uploading new images to the homepage.

### --feedback--

This is a content update task, not part of testing the website's performance or functionality.

## --video-solution--

2

# --explanation--

Website tests usually involve evaluating aspects like speed, functionality, and user experience to ensure the site operates smoothly.
Loading

0 comments on commit a0f9dba

Please sign in to comment.