l10n para español

FossilOrigin-Name: 14fbc5a27803a412a221c4bd7dce664c078c5c9a4d79f6facb0803a62c94546d
This commit is contained in:
me@ow.nekobit.net 2022-02-04 03:53:32 +00:00
parent 6cf51eb557
commit 4fe3cabab5
2 changed files with 35 additions and 3 deletions

View file

@ -20,7 +20,7 @@
* Example: "RatFE"
*/
static const char* config_canonical_name = "RatFE";
static char* const config_canonical_name = "RatFE";
/*
* String: config_instance_url
@ -31,6 +31,6 @@ static const char* config_canonical_name = "RatFE";
*
* Example: https://cum.desupost.soy/
*/
static char* config_instance_url = "https://desuposter.club/";
static char* const config_instance_url = "https://desuposter.club/";
#endif // CONFIG_H

View file

@ -22,6 +22,7 @@
enum l10n_locale
{
L10N_EN_US = 0,
L10N_ES_ES,
};
enum l10n_string
@ -52,9 +53,10 @@ enum l10n_string
L10N_LIGHT,
L10N_DARK,
L10N_SAVE,
_L10N_LEN,
};
static const char* L10N[][] = {
static const char* const L10N[][_L10N_LEN] = {
// EN_US
{
/* GENERAL */
@ -84,6 +86,36 @@ static const char* L10N[][] = {
"Dark",
"Save",
},
// ES_ES
{
/* GENERAL */
"RataFE :D", // L10N_APP_NAME
"Casa",
"Local",
"Federado",
"Notificaciones",
"Liza",
"Directo",
"Configuración",
"Búsqueda",
"Búsqueda",
/* CONFIG */
"General",
"JavaScript",
"Acciones rápidas - Me gusta, Impulsos, etc. hechos en segundo plano",
"Respuesta rápidas - Replies don't require redirects",
"Estados en vivo - los estados se obtienen sobre la marcha",
"Apariencia",
"Variante de tema",
"RatFE 2.0 - Tema simple predeterminado",
"RatFE 3.0 - Tema plano y moderno",
"Esquema de colores",
"Clara",
"Oscura",
"Guardar",
},
};
#endif // RATFE_L10N_H