chore(i18n,learn): processed translations (#45395)
This commit is contained in:
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -30,7 +30,7 @@ Quando hai finito, assicurati che una demo funzionante del tuo progetto sia ospi
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
Una richiesta a `/api/:date?` con una data valida dovrebbe restituire un oggetto JSON con una chiave `unix` che è il tempo Unix in millisecondi della data di input
|
Una richiesta a `/api/:date?` con una data valida dovrebbe restituire un oggetto JSON con una chiave `unix` che è un timestamp Unix della data di input in millisecondi (di tipo Number)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
(getUserInput) =>
|
(getUserInput) =>
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
@ -96,7 +96,7 @@ async (getUserInput) => {
|
|||||||
const res = await fetch(url + '/api/shorturl', {
|
const res = await fetch(url + '/api/shorturl', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
body: `url=ftp:/john-doe.org`
|
body: `url=ftp:/john-doe.invalidTLD`
|
||||||
});
|
});
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const { error } = await res.json();
|
const { error } = await res.json();
|
||||||
|
Reference in New Issue
Block a user