chore(i18n,curriculum): update translations (#44484)

This commit is contained in:
camperbot
2021-12-13 22:11:12 +05:30
committed by GitHub
parent cd9c57a8c5
commit fc3756656a
4 changed files with 63 additions and 63 deletions

View File

@ -1,6 +1,6 @@
---
id: bd7158d8c443edefaeb5bd0f
title: File Metadata Microservice
title: Мікросервіс метаданих файлу
challengeType: 4
forumTopicId: 301506
dashedName: file-metadata-microservice
@ -8,21 +8,21 @@ dashedName: file-metadata-microservice
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://file-metadata-microservice.freecodecamp.rocks/>. Working on this project will involve you writing your code using one of the following methods:
Створіть full stack додаток на JavaScript, який функціонально схожий до цього:<https://file-metadata-microservice.freecodecamp.rocks/>. Робота над цим проектом залучатиме тебе писати свій код використовуючи один з наступних методів:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-filemetadata/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-filemetadata) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Клонувати [цей репозиторій з GitHub](https://github.com/freeCodeCamp/boilerplate-project-filemetadata/) та локально завершити свій проект.
- Використати [наш проект для початківців на Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-filemetadata) для завершення свого проекту.
- Використати конструктор сайтів на свій вибір для завершення проекту. Впевніться, що ви зберегли всі файли із нашого GitHub репозиторію.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
По завершенню переконайтеся, що працююча демоверсія вашого проекту розміщена у відкритому доступі. Потім введіть його URL-адресу в поле `Solution Link`. За бажанням також можете ввести посилання на вихідний код вашого проєкту в полі `GitHub Link`.
# --instructions--
**HINT:** You can use the `multer` npm package to handle file uploading.
**ПІДКАЗКА:** Ви можете використовувати npm пакет `multer` щоб опрацювати завантаження файлу.
# --hints--
You should provide your own project, not the example URL.
Вам необхідно вказати свій власний проект, а не приклад URL-адреси.
```js
(getUserInput) => {
@ -34,7 +34,7 @@ You should provide your own project, not the example URL.
};
```
You can submit a form that includes a file upload.
Ви можете надіслати форму, що включає в себе завантаження файлу.
```js
async (getUserInput) => {
@ -45,7 +45,7 @@ async (getUserInput) => {
};
```
The form file input field has the `name` attribute set to `upfile`.
Поле вводу файлу форми має параметр `name` встановлений в `upfile`.
```js
async (getUserInput) => {
@ -56,7 +56,7 @@ async (getUserInput) => {
};
```
When you submit a file, you receive the file `name`, `type`, and `size` in bytes within the JSON response.
Коли ви надсилаєте файл, ви отримуєте `name`, `type` і `size` файлу в байтах у відповіді JSON.
```js
async (getUserInput) => {

View File

@ -1,6 +1,6 @@
---
id: bd7158d8c443edefaeb5bdef
title: Timestamp Microservice
title: Мікросервіс часової мітки
challengeType: 4
forumTopicId: 301508
dashedName: timestamp-microservice
@ -8,19 +8,19 @@ dashedName: timestamp-microservice
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://timestamp-microservice.freecodecamp.rocks/>. Working on this project will involve you writing your code using one of the following methods:
Створіть full stack додаток на JavaScript, який функціонально схожий до цього: <https://timestamp-microservice.freecodecamp.rocks/>. Робота над цим проектом залучатиме тебе писати свій код використовуючи один з наступних методів:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-timestamp/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-timestamp) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Клонувати [цей репозиторій з GitHub](https://github.com/freeCodeCamp/boilerplate-project-timestamp/) та локально завершити свій проект.
- Використати [наш проект для початківців на Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-timestamp) для завершення свого проекту.
- Використати конструктор сайтів на свій вибір для завершення проекту. Впевніться, що ви зберегли всі файли із нашого GitHub репозиторію.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
По завершенню переконайтеся, що працююча демоверсія вашого проєкту розміщена у відкритому доступі. Потім введіть його URL-адресу в поле `Solution Link`. За бажанням також можете ввести посилання на вихідний код вашого проєкту в полі `GitHub Link`.
**Note:** Time zones conversion is not a purpose of this project, so assume all sent valid dates will be parsed with `new Date()` as GMT dates.
**Зверніть увагу:** оскільки мета проєкту не в перетворенні часу, припускайте, що усі відправлені дати будуть розглянуті `new Date()` як GMT.
# --hints--
You should provide your own project, not the example URL.
Вам необхідно вказати свій власний проект, а не приклад URL-адреси.
```js
(getUserInput) => {
@ -30,7 +30,7 @@ You should provide your own project, not the example URL.
};
```
A request to `/api/:date?` with a valid date should return a JSON object with a `unix` key that is a Unix timestamp of the input date in milliseconds
Запит на `/api/:date?` з дійсною датою має повернути об’єкт JSON з `unix` ключем, який є часовою міткою Unix введеної дати в мілісекундах
```js
(getUserInput) =>
@ -48,7 +48,7 @@ A request to `/api/:date?` with a valid date should return a JSON object with a
);
```
A request to `/api/:date?` with a valid date should return a JSON object with a `utc` key that is a string of the input date in the format: `Thu, 01 Jan 1970 00:00:00 GMT`
Запит на `/api/:date?` з дійсною датою має повернути об'єкт JSON з `utc` ключем, який є рядком введеної дати в форматі: `Thu, 01 Jan 1970 00:00:00 GMT`
```js
(getUserInput) =>
@ -66,7 +66,7 @@ A request to `/api/:date?` with a valid date should return a JSON object with a
);
```
A request to `/api/1451001600000` should return `{ unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }`
Запит до `/api/1451001600000` має повертати `{ unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }`
```js
(getUserInput) =>
@ -83,7 +83,7 @@ A request to `/api/1451001600000` should return `{ unix: 1451001600000, utc: "Fr
);
```
Your project can handle dates that can be successfully parsed by `new Date(date_string)`
Ваш проєкт може обробляти дати, які можуть бути успішно розпарсені за допомогою `new Date(date_string)`
```js
(getUserInput) =>
@ -100,7 +100,7 @@ Your project can handle dates that can be successfully parsed by `new Date(date_
);
```
If the input date string is invalid, the api returns an object having the structure `{ error : "Invalid Date" }`
Якщо введений рядок дати невірний, api повертає об'єкт, що має структуру `{ error : "Invalid Date" }`
```js
(getUserInput) =>
@ -114,7 +114,7 @@ If the input date string is invalid, the api returns an object having the struct
);
```
An empty date parameter should return the current time in a JSON object with a `unix` key
Порожній параметр дати має повернути поточний час в об'єкті JSON з ключем `unix`
```js
(getUserInput) =>
@ -129,7 +129,7 @@ An empty date parameter should return the current time in a JSON object with a `
);
```
An empty date parameter should return the current time in a JSON object with a `utc` key
Порожній параметр дати має повернути поточний час в об'єкті JSON з ключем `utc`
```js
(getUserInput) =>

View File

@ -1,6 +1,6 @@
---
id: bd7158d8c443edefaeb5bd0e
title: URL Shortener Microservice
title: Мікросервіс скорочування URL-адрес
challengeType: 4
forumTopicId: 301509
dashedName: url-shortener-microservice
@ -8,21 +8,21 @@ dashedName: url-shortener-microservice
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://url-shortener-microservice.freecodecamp.rocks/>. Working on this project will involve you writing your code using one of the following methods:
Створіть повний пакет додатку на JavaScript, який функціонально схожий до цього:<https://url-shortener-microservice.freecodecamp.rocks/>. Робота над цим проєктом включатиме написання коду одним із таких методів:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-urlshortener/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-urlshortener) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Клонувати [цей репозиторій з GitHub](https://github.com/freeCodeCamp/boilerplate-project-urlshortener/) та локально завершити свій проект.
- Використати [наш проект для початківців на Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-urlshortener) для завершення свого проекту.
- Використати конструктор сайту на свій вибір для завершення проекту. Впевнитися, що включили всі файли з нашого репозиторію GitHub.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
По завершенню переконайтеся, що працююча демо-версія вашого проекту розміщена у відкритому доступі. Потім введіть його URL-адресу в поле `Solution Link`. За бажанням також можете ввести посилання на вихідний код вашого проєкту в полі `GitHub Link`.
# --instructions--
**HINT:** Do not forget to use a body parsing middleware to handle the POST requests. Also, you can use the function `dns.lookup(host, cb)` from the `dns` core module to verify a submitted URL.
**ПІДКАЗКА:** не забудьте використовувати проміжне програмне забезпечення body parsing для обробки запитів POST. Також ви можете використовувати функцію `dns.lookup(host, cb)` з основного модуля `dns` для перевірки надісланої URL-адреси.
# --hints--
You should provide your own project, not the example URL.
Вам необхідно вказати свій власний проект, а не приклад URL-адреси.
```js
(getUserInput) => {
@ -34,7 +34,7 @@ You should provide your own project, not the example URL.
};
```
You can POST a URL to `/api/shorturl` and get a JSON response with `original_url` and `short_url` properties. Here's an example: `{ original_url : 'https://freeCodeCamp.org', short_url : 1}`
Ви можете POST URL до `/api/shorturl` та отримати відповідь JSON з властивостями `original_url` і `short_url`. Ось приклад: `{ original_url : 'https://freeCodeCamp.org', short_url : 1}`
```js
async (getUserInput) => {
@ -56,7 +56,7 @@ async (getUserInput) => {
};
```
When you visit `/api/shorturl/<short_url>`, you will be redirected to the original URL.
Коли ви відкриєте `/api/shorturl/<short_url>`, вас буде перенаправлено на оригінальне URL.
```js
async (getUserInput) => {
@ -88,7 +88,7 @@ async (getUserInput) => {
};
```
If you pass an invalid URL that doesn't follow the valid `http://www.example.com` format, the JSON response will contain `{ error: 'invalid url' }`
Якщо ви введете недійсний URL, який не відповідає дійсному формату `http://www.example.com` , то відповідь JSON буде містити `{ error: 'invalid url' }`
```js
async (getUserInput) => {