chore(i18n,learn): processed translations (#45395)

This commit is contained in:
camperbot
2022-03-09 20:59:59 +05:30
committed by GitHub
parent c3127e14bf
commit 386840bc66
8 changed files with 8 additions and 8 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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) =>

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();