Skip to content

Commit

Permalink
Add support for Italian language (DJDavid98#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavid98 authored Jan 24, 2022
1 parent 610a93e commit 98a7e14
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ English and Hungarian translations have been included, so no translators will be
- Polish: Dawid (MinerPL), stha (sthakrk)
- Malay: Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48.moe) (mnh48)
- Spanish: Pablo Luna (shaulyareaj)
- Italian: Lory Pelli (pellilory126)
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions public/locales/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"nativeName": "Magyar",
"countryCode": "HU"
},
"it": {
"nativeName": "Italiano",
"countryCode": "IT"
},
"nl": {
"nativeName": "Nederlands",
"countryCode": "NL"
Expand Down
22 changes: 22 additions & 0 deletions public/locales/it/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"seoDescription": "Genera indicatori di timestamp per i messaggi di chat Discord",
"howTo": "Scegli una data, copia il timestamp desiderato dalla colonna {{syntaxColName}}, quindi incollalo ovunque in un messaggio testuale. Il risultato sarà un timestamp dinamico che ognuno visualizza diversamente in base al proprio fuso orario.",
"input": {
"date": "Data e ora",
"timezone": "Fuso orario"
},
"table": {
"syntax": "Sintassi della chat",
"example": "Risultato d'esempio"
},
"changeLanguage": "Cambia lingua",
"current": "Corrente",
"notFound": {
"heading": "Non Trovato",
"content": "Niente da vedere qui."
},
"builtWith": "Sito Web costruito con <1>Font Awesome Free</1>",
"openSource": "Software open source",
"viewSource": "Visualizza codice sorgente",
"notAffiliated": "Questo progetto non è affiliato con Discord."
}
Binary file added public/social/it.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/moment-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'moment/locale/pl';
import 'moment/locale/pt-br';
import 'moment/locale/ru';
import 'moment/locale/es';
import 'moment/locale/it';
import moment from 'moment-timezone';
import latestTimezoneData from 'moment-timezone/data/packed/latest.json';

Expand Down

0 comments on commit 98a7e14

Please sign in to comment.