Skip to content

[l10n] added caES and esES #4775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions packages/toolpad-core/src/locales/caES.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import type { LocaleText } from '../AppProvider';
import { getLocalization } from './getLocalization';

const caESLabels: Partial<LocaleText> = {
// Account
accountSignInLabel: 'Iniciar sessió',
accountSignOutLabel: 'Tancar sessió',

// AccountPreview
accountPreviewTitle: 'Compte',
accountPreviewIconButtonLabel: 'Usuari actual',

// SignInPage
signInTitle: 'Iniciar sessió',
signInSubtitle: 'Benvingut/da, inicia sessió per continuar',
signInRememberMe: "Recorda'm",
oauthSignInTitle: 'Inicia sessió amb OAuth',
passkeySignInTitle: "Inicia sessió amb Clau d'accés",
magicLinkSignInTitle: 'Inicia sessió amb Magic Link',

// Common authentication labels
email: 'Correu electrònic',
password: 'Contrasenya',
username: "Nom d'usuari",
passkey: "Clau d'accés",

// Common action labels
save: 'Desa',
cancel: 'Cancel·la',
ok: "D'acord",
or: 'O',
to: 'A',
with: 'Amb',
close: 'Tanca',
delete: 'Suprimeix',
alert: 'Alerta',
confirm: 'Confirma',
loading: 'Carregant...',
};

export default getLocalization(caESLabels);
41 changes: 41 additions & 0 deletions packages/toolpad-core/src/locales/esES.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import type { LocaleText } from '../AppProvider';
import { getLocalization } from './getLocalization';

const esESLabels: Partial<LocaleText> = {
// Account
accountSignInLabel: 'Iniciar sesión',
accountSignOutLabel: 'Cerrar sesión',

// AccountPreview
accountPreviewTitle: 'Cuenta',
accountPreviewIconButtonLabel: 'Usuario actual',

// SignInPage
signInTitle: 'Iniciar sesión',
signInSubtitle: 'Bienvenido/a, inicia sesión para continuar',
signInRememberMe: 'Recuérdame',
oauthSignInTitle: 'Inicia sesión con OAuth',
passkeySignInTitle: 'Inicia sesión con Clave de acceso',
magicLinkSignInTitle: 'Inicia sesión con Magic Link',

// Common authentication labels
email: 'Correo electrónico',
password: 'Contraseña',
username: 'Nombre de usuario',
passkey: 'Clave de acceso',

// Common action labels
save: 'Guardar',
cancel: 'Cancelar',
ok: 'Aceptar',
or: 'O',
to: 'A',
with: 'Con',
close: 'Cerrar',
delete: 'Eliminar',
alert: 'Alerta',
confirm: 'Confirmar',
loading: 'Cargando...',
};

export default getLocalization(esESLabels);