Skip to content

Commit

Permalink
Add support for Spanish language (DJDavid98#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavid98 authored Dec 14, 2021
1 parent bc0a7c2 commit 5d34719
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ English and Hungarian translations have been included, so no translators will be
- Dutch: Jesse (Jessuh)
- Polish: Dawid (MinerPL)
- Malay: Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48.moe) (mnh48)
- Spanish: Pablo Luna (shaulyareaj)
4 changes: 4 additions & 0 deletions public/locales/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"nativeName": "English, US",
"countryCode": "US"
},
"es": {
"nativeName": "Español",
"countryCode": "ES"
},
"fr": {
"nativeName": "Français",
"countryCode": "FR"
Expand Down
22 changes: 22 additions & 0 deletions public/locales/es/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"seoDescription": "Genera marcas de tiempo para mensajes de chat de Discord",
"howTo": "Elige una fecha, copia la marca de tiempo que desees de la columna {{syntaxColName}}, luego cópiala en un mensaje de chat. El resultado será una marca de tiempo dinámica que se mostrará diferente a cada usuario basado en su zona horaria.",
"input": {
"date": "Fecha y Hora",
"timezone": "Zona Horaria"
},
"table": {
"syntax": "Sintaxis de chat",
"example": "Ejemplo del resultado"
},
"changeLanguage": "Cambiar Idioma",
"current": "Actual",
"notFound": {
"heading": "No Encontrado",
"content": "No hay resultados para mostrar."
},
"builtWith": "Página web construida con <1>Font Awesome Free</1>",
"openSource": "Software de código abierto",
"viewSource": "Ver código fuente",
"notAffiliated": "Este proyecto no está afiliado con Discord."
}
Binary file modified public/social/ar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/de.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/en-gb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/social/es.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/fr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/hu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/ms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/nl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 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.
Binary file modified public/social/pt-br.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/social/ru.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 @@ -8,6 +8,7 @@ import 'moment/locale/nl';
import 'moment/locale/pl';
import 'moment/locale/pt-br';
import 'moment/locale/ru';
import 'moment/locale/es';
import moment from 'moment-timezone';
import latestTimezoneData from 'moment-timezone/data/packed/latest.json';

Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,9 @@ callsites@^3.0.0:
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==

caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228:
version "1.0.30001237"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001237.tgz"
integrity sha512-pDHgRndit6p1NR2GhzMbQ6CkRrp4VKuSsqbcLeOQppYPKOYkKT/6ZvZDvKJUqcmtyWIAHuZq3SVS2vc1egCZzw==
version "1.0.30001286"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001286.tgz"
integrity sha512-zaEMRH6xg8ESMi2eQ3R4eZ5qw/hJiVsO/HlLwniIwErij0JDr9P+8V4dtx1l+kLq6j3yy8l8W4fst1lBnat5wQ==

canvas@^2.8.0:
version "2.8.0"
Expand Down

0 comments on commit 5d34719

Please sign in to comment.