@asteby/metacore-i18n 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +78 -0
- package/dist/config.d.ts +57 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +48 -0
- package/dist/config.js.map +1 -0
- package/dist/direction-provider.d.ts +44 -0
- package/dist/direction-provider.d.ts.map +1 -0
- package/dist/direction-provider.js +47 -0
- package/dist/direction-provider.js.map +1 -0
- package/dist/hooks.d.ts +27 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +40 -0
- package/dist/hooks.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/language-switcher.d.ts +37 -0
- package/dist/language-switcher.d.ts.map +1 -0
- package/dist/language-switcher.js +29 -0
- package/dist/language-switcher.js.map +1 -0
- package/dist/locales/en.json +174 -0
- package/dist/locales/es.json +174 -0
- package/dist/locales/index.d.ts +365 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/index.js +14 -0
- package/dist/locales/index.js.map +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Languages } from 'lucide-react';
|
|
3
|
+
import { useTranslation } from 'react-i18next';
|
|
4
|
+
import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '@asteby/metacore-ui/primitives';
|
|
5
|
+
const DEFAULT_LANGUAGES = [
|
|
6
|
+
{ code: 'en', label: 'English' },
|
|
7
|
+
{ code: 'es', label: 'Español' },
|
|
8
|
+
];
|
|
9
|
+
/**
|
|
10
|
+
* Layout-agnostic dropdown that swaps the active i18next language.
|
|
11
|
+
*
|
|
12
|
+
* Ships no app-specific styling beyond the shadcn primitives re-exported from
|
|
13
|
+
* `@asteby/metacore-ui`. Apps can inject their own list of languages (with
|
|
14
|
+
* optional flag emojis) via the `languages` prop.
|
|
15
|
+
*/
|
|
16
|
+
export function LanguageSwitcher({ languages = DEFAULT_LANGUAGES, align = 'end', size = 'icon', variant = 'ghost', className, onChange, }) {
|
|
17
|
+
const { i18n, t } = useTranslation();
|
|
18
|
+
const toggleLabel = t('language.toggle', { defaultValue: 'Toggle language' });
|
|
19
|
+
const handleChange = (code) => {
|
|
20
|
+
void i18n.changeLanguage(code).then(() => {
|
|
21
|
+
onChange?.(code);
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
return (_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsxs(Button, { variant: variant, size: size, className: className ?? 'h-9 w-9', "aria-label": toggleLabel, children: [_jsx(Languages, { className: 'h-[1.2rem] w-[1.2rem]' }), _jsx("span", { className: 'sr-only', children: toggleLabel })] }) }), _jsx(DropdownMenuContent, { align: align, children: languages.map((lang) => {
|
|
25
|
+
const isActive = i18n.language === lang.code;
|
|
26
|
+
return (_jsxs(DropdownMenuItem, { onClick: () => handleChange(lang.code), children: [lang.flag ? _jsx("span", { className: 'mr-2', children: lang.flag }) : null, lang.label, isActive ? _jsx("span", { className: 'ml-2', children: "\u2713" }) : null] }, lang.code));
|
|
27
|
+
}) })] }));
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=language-switcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language-switcher.js","sourceRoot":"","sources":["../src/language-switcher.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EACL,MAAM,EACN,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,gCAAgC,CAAA;AAsCvC,MAAM,iBAAiB,GAAqB;IAC1C,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;IAChC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;CACjC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAC/B,SAAS,GAAG,iBAAiB,EAC7B,KAAK,GAAG,KAAK,EACb,IAAI,GAAG,MAAM,EACb,OAAO,GAAG,OAAO,EACjB,SAAS,EACT,QAAQ,GACc;IACtB,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,WAAW,GAAG,CAAC,CAAC,iBAAiB,EAAE,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC,CAAA;IAE7E,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;QACpC,KAAK,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;YACvC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAA;QAClB,CAAC,CAAC,CAAA;IACJ,CAAC,CAAA;IAED,OAAO,CACL,MAAC,YAAY,eACX,KAAC,mBAAmB,IAAC,OAAO,kBAC1B,MAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,IAAI,SAAS,gBACrB,WAAW,aAEvB,KAAC,SAAS,IAAC,SAAS,EAAC,uBAAuB,GAAG,EAC/C,eAAM,SAAS,EAAC,SAAS,YAAE,WAAW,GAAQ,IACvC,GACW,EACtB,KAAC,mBAAmB,IAAC,KAAK,EAAE,KAAK,YAC9B,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACtB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,IAAI,CAAA;oBAC5C,OAAO,CACL,MAAC,gBAAgB,IAEf,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,aAErC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,MAAM,YAAE,IAAI,CAAC,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC5D,IAAI,CAAC,KAAK,EACV,QAAQ,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,MAAM,uBAAS,CAAC,CAAC,CAAC,IAAI,KAL7C,IAAI,CAAC,IAAI,CAMG,CACpB,CAAA;gBACH,CAAC,CAAC,GACkB,IACT,CAChB,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auth": {
|
|
3
|
+
"signIn": {
|
|
4
|
+
"title": "Sign in",
|
|
5
|
+
"description": "Enter your email and password below to log into your account",
|
|
6
|
+
"email": "Email",
|
|
7
|
+
"password": "Password",
|
|
8
|
+
"forgotPassword": "Forgot password?",
|
|
9
|
+
"signInButton": "Sign in",
|
|
10
|
+
"orContinueWith": "Or continue with",
|
|
11
|
+
"terms": "By clicking sign in, you agree to our",
|
|
12
|
+
"termsLink": "Terms of Service",
|
|
13
|
+
"and": "and",
|
|
14
|
+
"privacyLink": "Privacy Policy"
|
|
15
|
+
},
|
|
16
|
+
"signUp": {
|
|
17
|
+
"title": "Create an account",
|
|
18
|
+
"description": "Enter your details below to create your account",
|
|
19
|
+
"name": "Name",
|
|
20
|
+
"email": "Email",
|
|
21
|
+
"password": "Password",
|
|
22
|
+
"confirmPassword": "Confirm password",
|
|
23
|
+
"signUpButton": "Sign up",
|
|
24
|
+
"haveAccount": "Already have an account?",
|
|
25
|
+
"signInLink": "Sign in"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"common": {
|
|
29
|
+
"all": "All",
|
|
30
|
+
"search": "Search...",
|
|
31
|
+
"search_placeholder": "Search...",
|
|
32
|
+
"search_command": "Type a command or search...",
|
|
33
|
+
"no_results": "No results found",
|
|
34
|
+
"theme": "Theme",
|
|
35
|
+
"theme_light": "Light",
|
|
36
|
+
"theme_dark": "Dark",
|
|
37
|
+
"theme_system": "System",
|
|
38
|
+
"logout": "Logout",
|
|
39
|
+
"profile": "Profile",
|
|
40
|
+
"settings": "Settings",
|
|
41
|
+
"notifications": "Notifications",
|
|
42
|
+
"save": "Save",
|
|
43
|
+
"cancel": "Cancel",
|
|
44
|
+
"delete": "Delete",
|
|
45
|
+
"edit": "Edit",
|
|
46
|
+
"view": "View",
|
|
47
|
+
"create": "Create",
|
|
48
|
+
"actions": "Actions",
|
|
49
|
+
"loading": "Loading...",
|
|
50
|
+
"noData": "No data found",
|
|
51
|
+
"success": "Success",
|
|
52
|
+
"error": "Error",
|
|
53
|
+
"connected": "Connected",
|
|
54
|
+
"disconnected": "Disconnected",
|
|
55
|
+
"connecting": "Connecting...",
|
|
56
|
+
"reset": "Reset",
|
|
57
|
+
"refresh": "Refresh",
|
|
58
|
+
"add": "Add",
|
|
59
|
+
"remove": "Remove",
|
|
60
|
+
"manage": "Manage",
|
|
61
|
+
"save_changes": "Save changes",
|
|
62
|
+
"save_preferences": "Save preferences",
|
|
63
|
+
"saving": "Saving...",
|
|
64
|
+
"name": "Name",
|
|
65
|
+
"description": "Description",
|
|
66
|
+
"status": "Status",
|
|
67
|
+
"active": "Active",
|
|
68
|
+
"inactive": "Inactive",
|
|
69
|
+
"select": "Select",
|
|
70
|
+
"select_placeholder": "Select...",
|
|
71
|
+
"new": "New",
|
|
72
|
+
"created": "Created",
|
|
73
|
+
"updated": "Updated",
|
|
74
|
+
"back": "Back",
|
|
75
|
+
"next": "Next",
|
|
76
|
+
"previous": "Previous",
|
|
77
|
+
"finish": "Finish",
|
|
78
|
+
"close": "Close",
|
|
79
|
+
"appearance": "Appearance",
|
|
80
|
+
"change": "Change",
|
|
81
|
+
"retry": "Retry",
|
|
82
|
+
"continue": "Continue",
|
|
83
|
+
"done": "Done"
|
|
84
|
+
},
|
|
85
|
+
"errors": {
|
|
86
|
+
"generic": "Something went wrong",
|
|
87
|
+
"network": "Network error. Please check your connection.",
|
|
88
|
+
"unauthorized": "You are not authorized to perform this action",
|
|
89
|
+
"not_found": "Resource not found",
|
|
90
|
+
"validation": "Please check the form and try again",
|
|
91
|
+
"required": "This field is required",
|
|
92
|
+
"invalid_email": "Enter a valid email",
|
|
93
|
+
"password_min_length": "Password must be at least {{min}} characters",
|
|
94
|
+
"name_min_length": "Name must be at least {{min}} characters"
|
|
95
|
+
},
|
|
96
|
+
"datatable": {
|
|
97
|
+
"search_placeholder": "Search...",
|
|
98
|
+
"filter_by_date": "Filter by date",
|
|
99
|
+
"no_results_title": "No results found",
|
|
100
|
+
"no_results_description": "There is no data to display right now.",
|
|
101
|
+
"delete_confirmation_title": "Are you absolutely sure?",
|
|
102
|
+
"delete_confirmation_description": "This action cannot be undone. This will permanently delete the selected record from our servers.",
|
|
103
|
+
"delete_button": "Delete",
|
|
104
|
+
"deleting": "Deleting...",
|
|
105
|
+
"delete_success": "Record deleted successfully",
|
|
106
|
+
"delete_error": "Error deleting record",
|
|
107
|
+
"bulk_delete_title": "Delete multiple records?",
|
|
108
|
+
"bulk_delete_running_title": "Deleting records...",
|
|
109
|
+
"bulk_delete_description": "This action cannot be undone. It will permanently delete {{count}} record(s).",
|
|
110
|
+
"bulk_delete_progress": "Processing {{current}} of {{total}} records...",
|
|
111
|
+
"bulk_delete_confirm": "Delete all",
|
|
112
|
+
"bulk_delete_success": "{{count}} record(s) deleted successfully",
|
|
113
|
+
"bulk_delete_error": "{{count}} record(s) could not be deleted",
|
|
114
|
+
"delete_selected": "Delete {{count}} selected",
|
|
115
|
+
"rows_per_page": "Rows per page",
|
|
116
|
+
"page_x_of_y": "Page {{current}} of {{total}}",
|
|
117
|
+
"go_first_page": "Go to the first page",
|
|
118
|
+
"go_previous_page": "Go to the previous page",
|
|
119
|
+
"go_next_page": "Go to the next page",
|
|
120
|
+
"go_last_page": "Go to the last page",
|
|
121
|
+
"go_page": "Go to page {{page}}",
|
|
122
|
+
"refresh": "Refresh",
|
|
123
|
+
"asc": "Asc",
|
|
124
|
+
"desc": "Desc",
|
|
125
|
+
"hide": "Hide",
|
|
126
|
+
"columns": "Columns",
|
|
127
|
+
"view": "View"
|
|
128
|
+
},
|
|
129
|
+
"settings": {
|
|
130
|
+
"profile": {
|
|
131
|
+
"title": "Profile",
|
|
132
|
+
"photo": "Profile photo",
|
|
133
|
+
"photo_description": "JPG, PNG or GIF. Maximum 2MB.",
|
|
134
|
+
"name": "Name",
|
|
135
|
+
"name_placeholder": "Your name",
|
|
136
|
+
"name_description": "This is the name that will be displayed on your profile.",
|
|
137
|
+
"name_min_length": "Name must be at least 2 characters.",
|
|
138
|
+
"name_max_length": "Name cannot be more than 100 characters.",
|
|
139
|
+
"email": "Email",
|
|
140
|
+
"email_placeholder": "your@email.com",
|
|
141
|
+
"email_description": "Your email address.",
|
|
142
|
+
"email_invalid": "Enter a valid email.",
|
|
143
|
+
"profile_updated": "Profile updated successfully",
|
|
144
|
+
"error_updating": "Error updating profile"
|
|
145
|
+
},
|
|
146
|
+
"appearance": {
|
|
147
|
+
"font": "Font",
|
|
148
|
+
"font_description": "Select the font you prefer for the interface.",
|
|
149
|
+
"theme": "Theme",
|
|
150
|
+
"theme_description": "Select the application theme.",
|
|
151
|
+
"light": "Light",
|
|
152
|
+
"dark": "Dark",
|
|
153
|
+
"preferences_saved": "Preferences saved"
|
|
154
|
+
},
|
|
155
|
+
"notifications": {
|
|
156
|
+
"new_messages": "New messages",
|
|
157
|
+
"new_messages_description": "Receive an email when new messages arrive.",
|
|
158
|
+
"news_promotions": "News and promotions",
|
|
159
|
+
"news_promotions_description": "Receive emails about new features and offers.",
|
|
160
|
+
"preferences_saved": "Preferences saved"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"coming_soon": {
|
|
164
|
+
"default_title": "Under construction",
|
|
165
|
+
"default_description": "We're working on something amazing for you",
|
|
166
|
+
"access_soon": "You'll have access to this feature soon"
|
|
167
|
+
},
|
|
168
|
+
"language": {
|
|
169
|
+
"label": "Language",
|
|
170
|
+
"toggle": "Toggle language",
|
|
171
|
+
"english": "English",
|
|
172
|
+
"spanish": "Spanish"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auth": {
|
|
3
|
+
"signIn": {
|
|
4
|
+
"title": "Iniciar sesión",
|
|
5
|
+
"description": "Ingresa tu correo electrónico y contraseña a continuación para iniciar sesión en tu cuenta",
|
|
6
|
+
"email": "Correo electrónico",
|
|
7
|
+
"password": "Contraseña",
|
|
8
|
+
"forgotPassword": "¿Olvidaste tu contraseña?",
|
|
9
|
+
"signInButton": "Iniciar sesión",
|
|
10
|
+
"orContinueWith": "O continuar con",
|
|
11
|
+
"terms": "Al hacer clic en iniciar sesión, aceptas nuestros",
|
|
12
|
+
"termsLink": "Términos de servicio",
|
|
13
|
+
"and": "y",
|
|
14
|
+
"privacyLink": "Política de privacidad"
|
|
15
|
+
},
|
|
16
|
+
"signUp": {
|
|
17
|
+
"title": "Crear una cuenta",
|
|
18
|
+
"description": "Ingresa tus datos a continuación para crear tu cuenta",
|
|
19
|
+
"name": "Nombre",
|
|
20
|
+
"email": "Correo electrónico",
|
|
21
|
+
"password": "Contraseña",
|
|
22
|
+
"confirmPassword": "Confirmar contraseña",
|
|
23
|
+
"signUpButton": "Registrarse",
|
|
24
|
+
"haveAccount": "¿Ya tienes una cuenta?",
|
|
25
|
+
"signInLink": "Iniciar sesión"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"common": {
|
|
29
|
+
"all": "Todos",
|
|
30
|
+
"search": "Buscar...",
|
|
31
|
+
"search_placeholder": "Buscar...",
|
|
32
|
+
"search_command": "Escribe un comando o busca...",
|
|
33
|
+
"no_results": "No se encontraron resultados.",
|
|
34
|
+
"theme": "Tema",
|
|
35
|
+
"theme_light": "Claro",
|
|
36
|
+
"theme_dark": "Oscuro",
|
|
37
|
+
"theme_system": "Sistema",
|
|
38
|
+
"logout": "Cerrar sesión",
|
|
39
|
+
"profile": "Perfil",
|
|
40
|
+
"settings": "Configuración",
|
|
41
|
+
"notifications": "Notificaciones",
|
|
42
|
+
"save": "Guardar",
|
|
43
|
+
"cancel": "Cancelar",
|
|
44
|
+
"delete": "Eliminar",
|
|
45
|
+
"edit": "Editar",
|
|
46
|
+
"view": "Ver",
|
|
47
|
+
"create": "Crear",
|
|
48
|
+
"actions": "Acciones",
|
|
49
|
+
"loading": "Cargando...",
|
|
50
|
+
"noData": "No se encontraron datos",
|
|
51
|
+
"success": "Éxito",
|
|
52
|
+
"error": "Error",
|
|
53
|
+
"connected": "Conectado",
|
|
54
|
+
"disconnected": "Desconectado",
|
|
55
|
+
"connecting": "Conectando...",
|
|
56
|
+
"reset": "Restablecer",
|
|
57
|
+
"refresh": "Actualizar",
|
|
58
|
+
"add": "Agregar",
|
|
59
|
+
"remove": "Eliminar",
|
|
60
|
+
"manage": "Gestionar",
|
|
61
|
+
"save_changes": "Guardar cambios",
|
|
62
|
+
"save_preferences": "Guardar preferencias",
|
|
63
|
+
"saving": "Guardando...",
|
|
64
|
+
"name": "Nombre",
|
|
65
|
+
"description": "Descripción",
|
|
66
|
+
"status": "Estado",
|
|
67
|
+
"active": "Activo",
|
|
68
|
+
"inactive": "Inactivo",
|
|
69
|
+
"select": "Seleccionar",
|
|
70
|
+
"select_placeholder": "Seleccionar...",
|
|
71
|
+
"new": "Nuevo",
|
|
72
|
+
"created": "Creado",
|
|
73
|
+
"updated": "Actualizado",
|
|
74
|
+
"back": "Atrás",
|
|
75
|
+
"next": "Siguiente",
|
|
76
|
+
"previous": "Anterior",
|
|
77
|
+
"finish": "Finalizar",
|
|
78
|
+
"close": "Cerrar",
|
|
79
|
+
"appearance": "Apariencia",
|
|
80
|
+
"change": "Cambiar",
|
|
81
|
+
"retry": "Reintentar",
|
|
82
|
+
"continue": "Continuar",
|
|
83
|
+
"done": "Listo"
|
|
84
|
+
},
|
|
85
|
+
"errors": {
|
|
86
|
+
"generic": "Algo salió mal",
|
|
87
|
+
"network": "Error de red. Verifica tu conexión.",
|
|
88
|
+
"unauthorized": "No estás autorizado para realizar esta acción",
|
|
89
|
+
"not_found": "Recurso no encontrado",
|
|
90
|
+
"validation": "Por favor revisa el formulario e inténtalo de nuevo",
|
|
91
|
+
"required": "Este campo es obligatorio",
|
|
92
|
+
"invalid_email": "Introduce un correo válido",
|
|
93
|
+
"password_min_length": "La contraseña debe tener al menos {{min}} caracteres",
|
|
94
|
+
"name_min_length": "El nombre debe tener al menos {{min}} caracteres"
|
|
95
|
+
},
|
|
96
|
+
"datatable": {
|
|
97
|
+
"search_placeholder": "Buscar...",
|
|
98
|
+
"filter_by_date": "Filtrar por fecha",
|
|
99
|
+
"no_results_title": "No se encontraron resultados",
|
|
100
|
+
"no_results_description": "No hay datos para mostrar en este momento.",
|
|
101
|
+
"delete_confirmation_title": "¿Estás completamente seguro?",
|
|
102
|
+
"delete_confirmation_description": "Esta acción no se puede deshacer. Eliminará permanentemente el registro seleccionado de nuestros servidores.",
|
|
103
|
+
"delete_button": "Eliminar",
|
|
104
|
+
"deleting": "Eliminando...",
|
|
105
|
+
"delete_success": "Registro eliminado correctamente",
|
|
106
|
+
"delete_error": "Error al eliminar el registro",
|
|
107
|
+
"bulk_delete_title": "¿Eliminar múltiples registros?",
|
|
108
|
+
"bulk_delete_running_title": "Eliminando registros...",
|
|
109
|
+
"bulk_delete_description": "Esta acción no se puede deshacer. Eliminará permanentemente {{count}} registro(s).",
|
|
110
|
+
"bulk_delete_progress": "Procesando {{current}} de {{total}} registros...",
|
|
111
|
+
"bulk_delete_confirm": "Eliminar todo",
|
|
112
|
+
"bulk_delete_success": "{{count}} registro(s) eliminados correctamente",
|
|
113
|
+
"bulk_delete_error": "No se pudieron eliminar {{count}} registro(s)",
|
|
114
|
+
"delete_selected": "Eliminar {{count}} seleccionados",
|
|
115
|
+
"rows_per_page": "Filas por página",
|
|
116
|
+
"page_x_of_y": "Página {{current}} de {{total}}",
|
|
117
|
+
"go_first_page": "Ir a la primera página",
|
|
118
|
+
"go_previous_page": "Ir a la página anterior",
|
|
119
|
+
"go_next_page": "Ir a la página siguiente",
|
|
120
|
+
"go_last_page": "Ir a la última página",
|
|
121
|
+
"go_page": "Ir a la página {{page}}",
|
|
122
|
+
"refresh": "Actualizar",
|
|
123
|
+
"asc": "Asc",
|
|
124
|
+
"desc": "Desc",
|
|
125
|
+
"hide": "Ocultar",
|
|
126
|
+
"columns": "Columnas",
|
|
127
|
+
"view": "Ver"
|
|
128
|
+
},
|
|
129
|
+
"settings": {
|
|
130
|
+
"profile": {
|
|
131
|
+
"title": "Perfil",
|
|
132
|
+
"photo": "Foto de perfil",
|
|
133
|
+
"photo_description": "JPG, PNG o GIF. Máximo 2MB.",
|
|
134
|
+
"name": "Nombre",
|
|
135
|
+
"name_placeholder": "Tu nombre",
|
|
136
|
+
"name_description": "Este es el nombre que se mostrará en tu perfil.",
|
|
137
|
+
"name_min_length": "El nombre debe tener al menos 2 caracteres.",
|
|
138
|
+
"name_max_length": "El nombre no puede tener más de 100 caracteres.",
|
|
139
|
+
"email": "Correo electrónico",
|
|
140
|
+
"email_placeholder": "tu@email.com",
|
|
141
|
+
"email_description": "Tu dirección de correo electrónico.",
|
|
142
|
+
"email_invalid": "Ingresa un correo válido.",
|
|
143
|
+
"profile_updated": "Perfil actualizado correctamente",
|
|
144
|
+
"error_updating": "Error al actualizar el perfil"
|
|
145
|
+
},
|
|
146
|
+
"appearance": {
|
|
147
|
+
"font": "Fuente",
|
|
148
|
+
"font_description": "Selecciona la fuente que prefieras para la interfaz.",
|
|
149
|
+
"theme": "Tema",
|
|
150
|
+
"theme_description": "Selecciona el tema de la aplicación.",
|
|
151
|
+
"light": "Claro",
|
|
152
|
+
"dark": "Oscuro",
|
|
153
|
+
"preferences_saved": "Preferencias guardadas"
|
|
154
|
+
},
|
|
155
|
+
"notifications": {
|
|
156
|
+
"new_messages": "Nuevos mensajes",
|
|
157
|
+
"new_messages_description": "Recibe un correo cuando lleguen nuevos mensajes.",
|
|
158
|
+
"news_promotions": "Novedades y promociones",
|
|
159
|
+
"news_promotions_description": "Recibe correos sobre nuevas funciones y ofertas.",
|
|
160
|
+
"preferences_saved": "Preferencias guardadas"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"coming_soon": {
|
|
164
|
+
"default_title": "En construcción",
|
|
165
|
+
"default_description": "Estamos trabajando en algo increíble para ti",
|
|
166
|
+
"access_soon": "Pronto tendrás acceso a esta funcionalidad"
|
|
167
|
+
},
|
|
168
|
+
"language": {
|
|
169
|
+
"label": "Idioma",
|
|
170
|
+
"toggle": "Cambiar idioma",
|
|
171
|
+
"english": "Inglés",
|
|
172
|
+
"spanish": "Español"
|
|
173
|
+
}
|
|
174
|
+
}
|