Skip to content

Commit

Permalink
Add support for Polish language (DJDavid98#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavid98 authored Nov 8, 2021
1 parent 86627e5 commit 208068a
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ English and Hungarian translations have been included, so no translators will be
- Arabic: Raphael Santiago (raphael.santiago.53)
- Brazilian Portuguese: LeonardoC06
- Dutch: Jesse (Jessuh)
- Polish: Dawid (MinerPL)
4 changes: 4 additions & 0 deletions public/locales/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"nativeName": "Nederlands",
"countryCode": "NL"
},
"pl": {
"nativeName": "Polski",
"countryCode": "PL"
},
"pt-BR": {
"nativeName": "Português do Brasil",
"countryCode": "BR",
Expand Down
22 changes: 22 additions & 0 deletions public/locales/pl/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"seoDescription": "Generuj znacznik czasu dla wiadomości czatu Discord",
"howTo": "Wybierz datę, skopiuj znacznik czasu z kolumny {{syntaxColName}}, a następnie wklej go gdziekolwiek w wiadomości czatu. Rezultatem będzie dynamiczny znacznik czasu, który będzie wyświetlał się inaczej dla każdego w oparciu o własną strefę czasową.",
"input": {
"date": "Data i czas",
"timezone": "Strefa czasowa"
},
"table": {
"syntax": "Składania czatu",
"example": "Przykładowy wynik"
},
"changeLanguage": "Zmień język",
"current": "Aktualny",
"notFound": {
"heading": "Nie znaleziono",
"content": "Niczego tutaj nie ma."
},
"builtWith": "Strona stworzona z <1>Font Awesome Free</1>",
"openSource": "Oprogramowanie open-source",
"viewSource": "Zobacz kod źródłowy",
"notAffiliated": "Ten projekt nie jest powiązany z Discord."
}
Binary file added public/social/pl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/moment-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import 'moment/locale/de';
import 'moment/locale/en-gb';
import 'moment/locale/fr';
import 'moment/locale/hu';
import 'moment/locale/ru';
import 'moment/locale/pt-br';
import 'moment/locale/nl';
import 'moment/locale/pl';
import 'moment/locale/pt-br';
import 'moment/locale/ru';
import moment from 'moment-timezone';
import latestTimezoneData from 'moment-timezone/data/packed/latest.json';

Expand Down

0 comments on commit 208068a

Please sign in to comment.