feat: Internationalize login and registration pages by adding new translation keys and applying them to UI texts.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"{{count}} selected_one": "{{count}} ausgewählt",
|
"{{count}} selected_one": "{{count}} ausgewählt",
|
||||||
"{{count}} selected_other": "{{count}} ausgewählt",
|
"{{count}} selected_other": "{{count}} ausgewählt",
|
||||||
"Add a new note to your collection.": "Füge eine neue Notiz zu deiner Sammlung hinzu.",
|
"Add a new note to your collection.": "Füge eine neue Notiz zu deiner Sammlung hinzu.",
|
||||||
|
"Already have an account?": "Hast du schon ein Konto?",
|
||||||
"API Configuration": "API-Konfiguration",
|
"API Configuration": "API-Konfiguration",
|
||||||
"API URL reset to default. Please reload the page.": "API-URL auf Standard zurückgesetzt. Bitte Seite neu laden.",
|
"API URL reset to default. Please reload the page.": "API-URL auf Standard zurückgesetzt. Bitte Seite neu laden.",
|
||||||
"API URL updated successfully. Please reload the page.": "API-URL erfolgreich aktualisiert. Bitte Seite neu laden.",
|
"API URL updated successfully. Please reload the page.": "API-URL erfolgreich aktualisiert. Bitte Seite neu laden.",
|
||||||
@@ -14,12 +15,16 @@
|
|||||||
"Backend URL": "Backend-URL",
|
"Backend URL": "Backend-URL",
|
||||||
"Choose your preferred language": "Wähle deine bevorzugte Sprache",
|
"Choose your preferred language": "Wähle deine bevorzugte Sprache",
|
||||||
"Color": "Farbe",
|
"Color": "Farbe",
|
||||||
|
"Confirm Password": "Passwort bestätigen",
|
||||||
"Configure the application settings.": "Konfiguriere die Anwendungseinstellungen.",
|
"Configure the application settings.": "Konfiguriere die Anwendungseinstellungen.",
|
||||||
"Configure the backend API URL for this application": "Konfiguriere die Backend-API-URL für diese Anwendung",
|
"Configure the backend API URL for this application": "Konfiguriere die Backend-API-URL für diese Anwendung",
|
||||||
"Content": "Inhalt",
|
"Content": "Inhalt",
|
||||||
"Copy note": "Notiz kopieren",
|
"Copy note": "Notiz kopieren",
|
||||||
"Create": "Erstellen",
|
"Create": "Erstellen",
|
||||||
|
"Create account": "Konto erstellen",
|
||||||
|
"Create an account": "Konto erstellen",
|
||||||
"Create Note": "Notiz erstellen",
|
"Create Note": "Notiz erstellen",
|
||||||
|
"Creating account...": "Konto wird erstellt...",
|
||||||
"Current API URL": "Aktuelle API-URL",
|
"Current API URL": "Aktuelle API-URL",
|
||||||
"Custom API URL": "Benutzerdefinierte API-URL",
|
"Custom API URL": "Benutzerdefinierte API-URL",
|
||||||
"Data Management": "Datenverwaltung",
|
"Data Management": "Datenverwaltung",
|
||||||
@@ -27,12 +32,18 @@
|
|||||||
"Delete tag \"{{name}}\"? Notes will keep their content.": "Tag \"{{name}}\" löschen? Notizen behalten ihren Inhalt.",
|
"Delete tag \"{{name}}\"? Notes will keep their content.": "Tag \"{{name}}\" löschen? Notizen behalten ihren Inhalt.",
|
||||||
"Deleted {{count}} note_one": "{{count}} Notiz gelöscht",
|
"Deleted {{count}} note_one": "{{count}} Notiz gelöscht",
|
||||||
"Deleted {{count}} note_other": "{{count}} Notizen gelöscht",
|
"Deleted {{count}} note_other": "{{count}} Notizen gelöscht",
|
||||||
|
"Don't have an account?": "Hast du noch kein Konto?",
|
||||||
"Edit Note": "Notiz bearbeiten",
|
"Edit Note": "Notiz bearbeiten",
|
||||||
|
"Email": "E-Mail",
|
||||||
|
"Enter your email below to create your account": "Gib deine E-Mail ein, um dein Konto zu erstellen",
|
||||||
|
"Enter your email to sign in to your account": "Gib deine E-Mail ein, um dich anzumelden",
|
||||||
"Export Data": "Daten exportieren",
|
"Export Data": "Daten exportieren",
|
||||||
"Export failed": "Export fehlgeschlagen",
|
"Export failed": "Export fehlgeschlagen",
|
||||||
"Export successful": "Export erfolgreich",
|
"Export successful": "Export erfolgreich",
|
||||||
"Export your notes for backup or import from a JSON file.": "Exportiere deine Notizen für ein Backup oder importiere aus einer JSON-Datei.",
|
"Export your notes for backup or import from a JSON file.": "Exportiere deine Notizen für ein Backup oder importiere aus einer JSON-Datei.",
|
||||||
"Failed to copy note": "Fehler beim Kopieren der Notiz",
|
"Failed to copy note": "Fehler beim Kopieren der Notiz",
|
||||||
|
"Failed to login": "Anmeldung fehlgeschlagen",
|
||||||
|
"Failed to register": "Registrierung fehlgeschlagen",
|
||||||
"Grid View": "Rasteransicht",
|
"Grid View": "Rasteransicht",
|
||||||
"History": "Verlauf",
|
"History": "Verlauf",
|
||||||
"Import Data": "Daten importieren",
|
"Import Data": "Daten importieren",
|
||||||
@@ -53,24 +64,24 @@
|
|||||||
"Note created": "Notiz erstellt",
|
"Note created": "Notiz erstellt",
|
||||||
"Note title": "Notiztitel",
|
"Note title": "Notiztitel",
|
||||||
"Note updated": "Notiz aktualisiert",
|
"Note updated": "Notiz aktualisiert",
|
||||||
|
"Notes": "Notizen",
|
||||||
"Others": "Andere",
|
"Others": "Andere",
|
||||||
|
"Password": "Passwort",
|
||||||
"Pin this note": "Diese Notiz anheften",
|
"Pin this note": "Diese Notiz anheften",
|
||||||
"Pinned": "Angeheftet",
|
"Pinned": "Angeheftet",
|
||||||
"Please enter a URL": "Bitte gib eine URL ein",
|
"Please enter a URL": "Bitte gib eine URL ein",
|
||||||
|
"Registration is currently disabled": "Registrierung ist derzeit deaktiviert",
|
||||||
"Reload": "Neu laden",
|
"Reload": "Neu laden",
|
||||||
"Rename": "Umbenennen",
|
"Rename": "Umbenennen",
|
||||||
"Reset to Default": "Auf Standard zurücksetzen",
|
"Reset to Default": "Auf Standard zurücksetzen",
|
||||||
"Save": "Speichern",
|
"Save": "Speichern",
|
||||||
"Save changes": "Änderungen speichern",
|
"Save changes": "Änderungen speichern",
|
||||||
"Saving": {
|
"Saving...": "Speichern...",
|
||||||
"": {
|
|
||||||
"": {
|
|
||||||
"": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Search your notes...": "Durchsuche deine Notizen...",
|
"Search your notes...": "Durchsuche deine Notizen...",
|
||||||
"Settings": "Einstellungen",
|
"Settings": "Einstellungen",
|
||||||
|
"Sign in": "Anmelden",
|
||||||
|
"Sign up": "Registrieren",
|
||||||
|
"Signing in...": "Anmeldung läuft...",
|
||||||
"Tag deleted": "Tag gelöscht",
|
"Tag deleted": "Tag gelöscht",
|
||||||
"Tag renamed": "Tag umbenannt",
|
"Tag renamed": "Tag umbenannt",
|
||||||
"Tags": "Tags",
|
"Tags": "Tags",
|
||||||
@@ -79,6 +90,7 @@
|
|||||||
"Title is required": "Titel ist erforderlich",
|
"Title is required": "Titel ist erforderlich",
|
||||||
"Title too long": "Titel zu lang",
|
"Title too long": "Titel zu lang",
|
||||||
"Update": "Aktualisieren",
|
"Update": "Aktualisieren",
|
||||||
|
"Welcome back": "Willkommen zurück",
|
||||||
"work, todo, ideas": "Arbeit, Aufgaben, Ideen",
|
"work, todo, ideas": "Arbeit, Aufgaben, Ideen",
|
||||||
"Your notes will appear here. Click + to create one.": "Deine Notizen werden hier erscheinen. Klicke +, um eine zu erstellen."
|
"Your notes will appear here. Click + to create one.": "Deine Notizen werden hier erscheinen. Klicke +, um eine zu erstellen."
|
||||||
}
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
"{{count}} selected_one": "{{count}} selected",
|
"{{count}} selected_one": "{{count}} selected",
|
||||||
"{{count}} selected_other": "{{count}} selected",
|
"{{count}} selected_other": "{{count}} selected",
|
||||||
"Add a new note to your collection.": "Add a new note to your collection.",
|
"Add a new note to your collection.": "Add a new note to your collection.",
|
||||||
|
"Already have an account?": "Already have an account?",
|
||||||
"API Configuration": "API Configuration",
|
"API Configuration": "API Configuration",
|
||||||
"API URL reset to default. Please reload the page.": "API URL reset to default. Please reload the page.",
|
"API URL reset to default. Please reload the page.": "API URL reset to default. Please reload the page.",
|
||||||
"API URL updated successfully. Please reload the page.": "API URL updated successfully. Please reload the page.",
|
"API URL updated successfully. Please reload the page.": "API URL updated successfully. Please reload the page.",
|
||||||
@@ -14,12 +15,16 @@
|
|||||||
"Backend URL": "Backend URL",
|
"Backend URL": "Backend URL",
|
||||||
"Choose your preferred language": "Choose your preferred language",
|
"Choose your preferred language": "Choose your preferred language",
|
||||||
"Color": "Color",
|
"Color": "Color",
|
||||||
|
"Confirm Password": "Confirm Password",
|
||||||
"Configure the application settings.": "Configure the application settings.",
|
"Configure the application settings.": "Configure the application settings.",
|
||||||
"Configure the backend API URL for this application": "Configure the backend API URL for this application",
|
"Configure the backend API URL for this application": "Configure the backend API URL for this application",
|
||||||
"Content": "Content",
|
"Content": "Content",
|
||||||
"Copy note": "Copy note",
|
"Copy note": "Copy note",
|
||||||
"Create": "Create",
|
"Create": "Create",
|
||||||
|
"Create account": "Create account",
|
||||||
|
"Create an account": "Create an account",
|
||||||
"Create Note": "Create Note",
|
"Create Note": "Create Note",
|
||||||
|
"Creating account...": "Creating account...",
|
||||||
"Current API URL": "Current API URL",
|
"Current API URL": "Current API URL",
|
||||||
"Custom API URL": "Custom API URL",
|
"Custom API URL": "Custom API URL",
|
||||||
"Data Management": "Data Management",
|
"Data Management": "Data Management",
|
||||||
@@ -27,12 +32,18 @@
|
|||||||
"Delete tag \"{{name}}\"? Notes will keep their content.": "Delete tag \"{{name}}\"? Notes will keep their content.",
|
"Delete tag \"{{name}}\"? Notes will keep their content.": "Delete tag \"{{name}}\"? Notes will keep their content.",
|
||||||
"Deleted {{count}} note_one": "Deleted {{count}} notes",
|
"Deleted {{count}} note_one": "Deleted {{count}} notes",
|
||||||
"Deleted {{count}} note_other": "Deleted {{count}} notes",
|
"Deleted {{count}} note_other": "Deleted {{count}} notes",
|
||||||
|
"Don't have an account?": "Don't have an account?",
|
||||||
"Edit Note": "Edit Note",
|
"Edit Note": "Edit Note",
|
||||||
|
"Email": "Email",
|
||||||
|
"Enter your email below to create your account": "Enter your email below to create your account",
|
||||||
|
"Enter your email to sign in to your account": "Enter your email to sign in to your account",
|
||||||
"Export Data": "Export Data",
|
"Export Data": "Export Data",
|
||||||
"Export failed": "Export failed",
|
"Export failed": "Export failed",
|
||||||
"Export successful": "Export successful",
|
"Export successful": "Export successful",
|
||||||
"Export your notes for backup or import from a JSON file.": "Export your notes for backup or import from a JSON file.",
|
"Export your notes for backup or import from a JSON file.": "Export your notes for backup or import from a JSON file.",
|
||||||
"Failed to copy note": "Failed to copy note",
|
"Failed to copy note": "Failed to copy note",
|
||||||
|
"Failed to login": "Failed to login",
|
||||||
|
"Failed to register": "Failed to register",
|
||||||
"Grid View": "Grid View",
|
"Grid View": "Grid View",
|
||||||
"History": "History",
|
"History": "History",
|
||||||
"Import Data": "Import Data",
|
"Import Data": "Import Data",
|
||||||
@@ -53,24 +64,24 @@
|
|||||||
"Note created": "Note created",
|
"Note created": "Note created",
|
||||||
"Note title": "Note title",
|
"Note title": "Note title",
|
||||||
"Note updated": "Note updated",
|
"Note updated": "Note updated",
|
||||||
|
"Notes": "Notes",
|
||||||
"Others": "Others",
|
"Others": "Others",
|
||||||
|
"Password": "Password",
|
||||||
"Pin this note": "Pin this note",
|
"Pin this note": "Pin this note",
|
||||||
"Pinned": "Pinned",
|
"Pinned": "Pinned",
|
||||||
"Please enter a URL": "Please enter a URL",
|
"Please enter a URL": "Please enter a URL",
|
||||||
|
"Registration is currently disabled": "Registration is currently disabled",
|
||||||
"Reload": "Reload",
|
"Reload": "Reload",
|
||||||
"Rename": "Rename",
|
"Rename": "Rename",
|
||||||
"Reset to Default": "Reset to Default",
|
"Reset to Default": "Reset to Default",
|
||||||
"Save": "Save",
|
"Save": "Save",
|
||||||
"Save changes": "Save changes",
|
"Save changes": "Save changes",
|
||||||
"Saving": {
|
"Saving...": "Saving...",
|
||||||
"": {
|
|
||||||
"": {
|
|
||||||
"": "Saving..."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Search your notes...": "Search your notes...",
|
"Search your notes...": "Search your notes...",
|
||||||
"Settings": "Settings",
|
"Settings": "Settings",
|
||||||
|
"Sign in": "Sign in",
|
||||||
|
"Sign up": "Sign up",
|
||||||
|
"Signing in...": "Signing in...",
|
||||||
"Tag deleted": "Tag deleted",
|
"Tag deleted": "Tag deleted",
|
||||||
"Tag renamed": "Tag renamed",
|
"Tag renamed": "Tag renamed",
|
||||||
"Tags": "Tags",
|
"Tags": "Tags",
|
||||||
@@ -79,6 +90,7 @@
|
|||||||
"Title is required": "Title is required",
|
"Title is required": "Title is required",
|
||||||
"Title too long": "Title too long",
|
"Title too long": "Title too long",
|
||||||
"Update": "Update",
|
"Update": "Update",
|
||||||
|
"Welcome back": "Welcome back",
|
||||||
"work, todo, ideas": "work, todo, ideas",
|
"work, todo, ideas": "work, todo, ideas",
|
||||||
"Your notes will appear here. Click + to create one.": "Your notes will appear here. Click + to create one."
|
"Your notes will appear here. Click + to create one.": "Your notes will appear here. Click + to create one."
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
"{{count}} selected_many": "",
|
"{{count}} selected_many": "",
|
||||||
"{{count}} selected_other": "{{count}} seleccionados",
|
"{{count}} selected_other": "{{count}} seleccionados",
|
||||||
"Add a new note to your collection.": "Añade una nueva nota a tu colección.",
|
"Add a new note to your collection.": "Añade una nueva nota a tu colección.",
|
||||||
|
"Already have an account?": "¿Ya tienes una cuenta?",
|
||||||
"API Configuration": "Configuración de API",
|
"API Configuration": "Configuración de API",
|
||||||
"API URL reset to default. Please reload the page.": "URL de API restablecido a predeterminado. Recarga la página.",
|
"API URL reset to default. Please reload the page.": "URL de API restablecido a predeterminado. Recarga la página.",
|
||||||
"API URL updated successfully. Please reload the page.": "URL de API actualizado correctamente. Recarga la página.",
|
"API URL updated successfully. Please reload the page.": "URL de API actualizado correctamente. Recarga la página.",
|
||||||
@@ -17,12 +18,16 @@
|
|||||||
"Backend URL": "URL del backend",
|
"Backend URL": "URL del backend",
|
||||||
"Choose your preferred language": "Elige tu idioma preferido",
|
"Choose your preferred language": "Elige tu idioma preferido",
|
||||||
"Color": "Color",
|
"Color": "Color",
|
||||||
|
"Confirm Password": "Confirmar contraseña",
|
||||||
"Configure the application settings.": "Configura los ajustes de la aplicación.",
|
"Configure the application settings.": "Configura los ajustes de la aplicación.",
|
||||||
"Configure the backend API URL for this application": "Configura la URL de API del backend para esta aplicación",
|
"Configure the backend API URL for this application": "Configura la URL de API del backend para esta aplicación",
|
||||||
"Content": "Contenido",
|
"Content": "Contenido",
|
||||||
"Copy note": "Copiar nota",
|
"Copy note": "Copiar nota",
|
||||||
"Create": "Crear",
|
"Create": "Crear",
|
||||||
|
"Create account": "Crear cuenta",
|
||||||
|
"Create an account": "Crear una cuenta",
|
||||||
"Create Note": "Crear nota",
|
"Create Note": "Crear nota",
|
||||||
|
"Creating account...": "Creando cuenta...",
|
||||||
"Current API URL": "URL de API actual",
|
"Current API URL": "URL de API actual",
|
||||||
"Custom API URL": "URL de API personalizado",
|
"Custom API URL": "URL de API personalizado",
|
||||||
"Data Management": "Gestión de datos",
|
"Data Management": "Gestión de datos",
|
||||||
@@ -31,12 +36,18 @@
|
|||||||
"Deleted {{count}} note_one": "{{count}} nota eliminada",
|
"Deleted {{count}} note_one": "{{count}} nota eliminada",
|
||||||
"Deleted {{count}} note_many": "",
|
"Deleted {{count}} note_many": "",
|
||||||
"Deleted {{count}} note_other": "{{count}} notas eliminadas",
|
"Deleted {{count}} note_other": "{{count}} notas eliminadas",
|
||||||
|
"Don't have an account?": "¿No tienes una cuenta?",
|
||||||
"Edit Note": "Editar nota",
|
"Edit Note": "Editar nota",
|
||||||
|
"Email": "Correo electrónico",
|
||||||
|
"Enter your email below to create your account": "Ingresa tu correo electrónico para crear tu cuenta",
|
||||||
|
"Enter your email to sign in to your account": "Ingresa tu correo electrónico para iniciar sesión",
|
||||||
"Export Data": "Exportar datos",
|
"Export Data": "Exportar datos",
|
||||||
"Export failed": "Exportación fallida",
|
"Export failed": "Exportación fallida",
|
||||||
"Export successful": "Exportación exitosa",
|
"Export successful": "Exportación exitosa",
|
||||||
"Export your notes for backup or import from a JSON file.": "Exporta tus notas para hacer una copia de seguridad o importa desde un archivo JSON.",
|
"Export your notes for backup or import from a JSON file.": "Exporta tus notas para hacer una copia de seguridad o importa desde un archivo JSON.",
|
||||||
"Failed to copy note": "Error al copiar la nota",
|
"Failed to copy note": "Error al copiar la nota",
|
||||||
|
"Failed to login": "Error al iniciar sesión",
|
||||||
|
"Failed to register": "Error al registrarse",
|
||||||
"Grid View": "Vista de cuadrícula",
|
"Grid View": "Vista de cuadrícula",
|
||||||
"History": "Historial",
|
"History": "Historial",
|
||||||
"Import Data": "Importar datos",
|
"Import Data": "Importar datos",
|
||||||
@@ -57,24 +68,24 @@
|
|||||||
"Note created": "Nota creada",
|
"Note created": "Nota creada",
|
||||||
"Note title": "Título de la nota",
|
"Note title": "Título de la nota",
|
||||||
"Note updated": "Nota actualizada",
|
"Note updated": "Nota actualizada",
|
||||||
|
"Notes": "Notas",
|
||||||
"Others": "Otros",
|
"Others": "Otros",
|
||||||
|
"Password": "Contraseña",
|
||||||
"Pin this note": "Fijar esta nota",
|
"Pin this note": "Fijar esta nota",
|
||||||
"Pinned": "Fijadas",
|
"Pinned": "Fijadas",
|
||||||
"Please enter a URL": "Por favor, introduce una URL",
|
"Please enter a URL": "Por favor, introduce una URL",
|
||||||
|
"Registration is currently disabled": "El registro está actualmente deshabilitado",
|
||||||
"Reload": "Recargar",
|
"Reload": "Recargar",
|
||||||
"Rename": "Renombrar",
|
"Rename": "Renombrar",
|
||||||
"Reset to Default": "Restablecer a predeterminado",
|
"Reset to Default": "Restablecer a predeterminado",
|
||||||
"Save": "Guardar",
|
"Save": "Guardar",
|
||||||
"Save changes": "Guardar cambios",
|
"Save changes": "Guardar cambios",
|
||||||
"Saving": {
|
"Saving...": "Guardando...",
|
||||||
"": {
|
|
||||||
"": {
|
|
||||||
"": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Search your notes...": "Busca tus notas...",
|
"Search your notes...": "Busca tus notas...",
|
||||||
"Settings": "Configuración",
|
"Settings": "Configuración",
|
||||||
|
"Sign in": "Iniciar sesión",
|
||||||
|
"Sign up": "Registrarse",
|
||||||
|
"Signing in...": "Iniciando sesión...",
|
||||||
"Tag deleted": "Etiqueta eliminada",
|
"Tag deleted": "Etiqueta eliminada",
|
||||||
"Tag renamed": "Etiqueta renombrada",
|
"Tag renamed": "Etiqueta renombrada",
|
||||||
"Tags": "Etiquetas",
|
"Tags": "Etiquetas",
|
||||||
@@ -83,6 +94,7 @@
|
|||||||
"Title is required": "El título es obligatorio",
|
"Title is required": "El título es obligatorio",
|
||||||
"Title too long": "Título demasiado largo",
|
"Title too long": "Título demasiado largo",
|
||||||
"Update": "Actualizar",
|
"Update": "Actualizar",
|
||||||
|
"Welcome back": "Bienvenido de nuevo",
|
||||||
"work, todo, ideas": "trabajo, tareas, ideas",
|
"work, todo, ideas": "trabajo, tareas, ideas",
|
||||||
"Your notes will appear here. Click + to create one.": "Tus notas aparecerán aquí. Haz clic en + para crear una."
|
"Your notes will appear here. Click + to create one.": "Tus notas aparecerán aquí. Haz clic en + para crear una."
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
"{{count}} selected_many": "",
|
"{{count}} selected_many": "",
|
||||||
"{{count}} selected_other": "{{count}} sélectionnés",
|
"{{count}} selected_other": "{{count}} sélectionnés",
|
||||||
"Add a new note to your collection.": "Ajoute une nouvelle note à ta collection.",
|
"Add a new note to your collection.": "Ajoute une nouvelle note à ta collection.",
|
||||||
|
"Already have an account?": "Tu as déjà un compte ?",
|
||||||
"API Configuration": "Configuration de l'API",
|
"API Configuration": "Configuration de l'API",
|
||||||
"API URL reset to default. Please reload the page.": "URL de l'API réinitialisée par défaut. Veuillez recharger la page.",
|
"API URL reset to default. Please reload the page.": "URL de l'API réinitialisée par défaut. Veuillez recharger la page.",
|
||||||
"API URL updated successfully. Please reload the page.": "URL de l'API mise à jour avec succès. Veuillez recharger la page.",
|
"API URL updated successfully. Please reload the page.": "URL de l'API mise à jour avec succès. Veuillez recharger la page.",
|
||||||
@@ -17,12 +18,16 @@
|
|||||||
"Backend URL": "URL du backend",
|
"Backend URL": "URL du backend",
|
||||||
"Choose your preferred language": "Choisis ta langue préférée",
|
"Choose your preferred language": "Choisis ta langue préférée",
|
||||||
"Color": "Couleur",
|
"Color": "Couleur",
|
||||||
|
"Confirm Password": "Confirmer le mot de passe",
|
||||||
"Configure the application settings.": "Configure les paramètres de l'application.",
|
"Configure the application settings.": "Configure les paramètres de l'application.",
|
||||||
"Configure the backend API URL for this application": "Configure l'URL de l'API backend pour cette application",
|
"Configure the backend API URL for this application": "Configure l'URL de l'API backend pour cette application",
|
||||||
"Content": "Contenu",
|
"Content": "Contenu",
|
||||||
"Copy note": "Copier la note",
|
"Copy note": "Copier la note",
|
||||||
"Create": "Créer",
|
"Create": "Créer",
|
||||||
|
"Create account": "Créer un compte",
|
||||||
|
"Create an account": "Créer un compte",
|
||||||
"Create Note": "Créer une note",
|
"Create Note": "Créer une note",
|
||||||
|
"Creating account...": "Création du compte...",
|
||||||
"Current API URL": "URL de l'API actuelle",
|
"Current API URL": "URL de l'API actuelle",
|
||||||
"Custom API URL": "URL de l'API personnalisée",
|
"Custom API URL": "URL de l'API personnalisée",
|
||||||
"Data Management": "Gestion des données",
|
"Data Management": "Gestion des données",
|
||||||
@@ -31,12 +36,18 @@
|
|||||||
"Deleted {{count}} note_one": "{{count}} note supprimée",
|
"Deleted {{count}} note_one": "{{count}} note supprimée",
|
||||||
"Deleted {{count}} note_many": "",
|
"Deleted {{count}} note_many": "",
|
||||||
"Deleted {{count}} note_other": "{{count}} notes supprimées",
|
"Deleted {{count}} note_other": "{{count}} notes supprimées",
|
||||||
|
"Don't have an account?": "Tu n'as pas de compte ?",
|
||||||
"Edit Note": "Modifier la note",
|
"Edit Note": "Modifier la note",
|
||||||
|
"Email": "Email",
|
||||||
|
"Enter your email below to create your account": "Entre ton email ci-dessous pour créer ton compte",
|
||||||
|
"Enter your email to sign in to your account": "Entre ton email pour te connecter",
|
||||||
"Export Data": "Exporter les données",
|
"Export Data": "Exporter les données",
|
||||||
"Export failed": "Échec de l'exportation",
|
"Export failed": "Échec de l'exportation",
|
||||||
"Export successful": "Exportation réussie",
|
"Export successful": "Exportation réussie",
|
||||||
"Export your notes for backup or import from a JSON file.": "Exporte tes notes pour une sauvegarde ou importe depuis un fichier JSON.",
|
"Export your notes for backup or import from a JSON file.": "Exporte tes notes pour une sauvegarde ou importe depuis un fichier JSON.",
|
||||||
"Failed to copy note": "Échec de la copie de la note",
|
"Failed to copy note": "Échec de la copie de la note",
|
||||||
|
"Failed to login": "Échec de la connexion",
|
||||||
|
"Failed to register": "Échec de l'inscription",
|
||||||
"Grid View": "Vue en grille",
|
"Grid View": "Vue en grille",
|
||||||
"History": "Historique",
|
"History": "Historique",
|
||||||
"Import Data": "Importer les données",
|
"Import Data": "Importer les données",
|
||||||
@@ -57,24 +68,24 @@
|
|||||||
"Note created": "Note créée",
|
"Note created": "Note créée",
|
||||||
"Note title": "Titre de la note",
|
"Note title": "Titre de la note",
|
||||||
"Note updated": "Note mise à jour",
|
"Note updated": "Note mise à jour",
|
||||||
|
"Notes": "Notes",
|
||||||
"Others": "Autres",
|
"Others": "Autres",
|
||||||
|
"Password": "Mot de passe",
|
||||||
"Pin this note": "Épingler cette note",
|
"Pin this note": "Épingler cette note",
|
||||||
"Pinned": "Épinglées",
|
"Pinned": "Épinglées",
|
||||||
"Please enter a URL": "Veuillez entrer une URL",
|
"Please enter a URL": "Veuillez entrer une URL",
|
||||||
|
"Registration is currently disabled": "L'inscription est actuellement désactivée",
|
||||||
"Reload": "Recharger",
|
"Reload": "Recharger",
|
||||||
"Rename": "Renommer",
|
"Rename": "Renommer",
|
||||||
"Reset to Default": "Réinitialiser par défaut",
|
"Reset to Default": "Réinitialiser par défaut",
|
||||||
"Save": "Enregistrer",
|
"Save": "Enregistrer",
|
||||||
"Save changes": "Enregistrer les modifications",
|
"Save changes": "Enregistrer les modifications",
|
||||||
"Saving": {
|
"Saving...": "Enregistrement...",
|
||||||
"": {
|
|
||||||
"": {
|
|
||||||
"": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Search your notes...": "Recherche dans tes notes...",
|
"Search your notes...": "Recherche dans tes notes...",
|
||||||
"Settings": "Paramètres",
|
"Settings": "Paramètres",
|
||||||
|
"Sign in": "Se connecter",
|
||||||
|
"Sign up": "S'inscrire",
|
||||||
|
"Signing in...": "Connexion en cours...",
|
||||||
"Tag deleted": "Étiquette supprimée",
|
"Tag deleted": "Étiquette supprimée",
|
||||||
"Tag renamed": "Étiquette renommée",
|
"Tag renamed": "Étiquette renommée",
|
||||||
"Tags": "Étiquettes",
|
"Tags": "Étiquettes",
|
||||||
@@ -83,6 +94,7 @@
|
|||||||
"Title is required": "Le titre est requis",
|
"Title is required": "Le titre est requis",
|
||||||
"Title too long": "Titre trop long",
|
"Title too long": "Titre trop long",
|
||||||
"Update": "Mettre à jour",
|
"Update": "Mettre à jour",
|
||||||
|
"Welcome back": "Bon retour",
|
||||||
"work, todo, ideas": "travail, tâches, idées",
|
"work, todo, ideas": "travail, tâches, idées",
|
||||||
"Your notes will appear here. Click + to create one.": "Tes notes apparaîtront ici. Clique sur + pour en créer une."
|
"Your notes will appear here. Click + to create one.": "Tes notes apparaîtront ici. Clique sur + pour en créer une."
|
||||||
}
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
"{{count}} selected_many": "{{count}} zaznaczonych",
|
"{{count}} selected_many": "{{count}} zaznaczonych",
|
||||||
"{{count}} selected_other": "{{count}} zaznaczonych",
|
"{{count}} selected_other": "{{count}} zaznaczonych",
|
||||||
"Add a new note to your collection.": "Dodaj nową notatkę do swojej kolekcji.",
|
"Add a new note to your collection.": "Dodaj nową notatkę do swojej kolekcji.",
|
||||||
|
"Already have an account?": "Masz już konto?",
|
||||||
"API Configuration": "Konfiguracja API",
|
"API Configuration": "Konfiguracja API",
|
||||||
"API URL reset to default. Please reload the page.": "URL API zresetowano do domyślnego. Przeładuj stronę.",
|
"API URL reset to default. Please reload the page.": "URL API zresetowano do domyślnego. Przeładuj stronę.",
|
||||||
"API URL updated successfully. Please reload the page.": "URL API zaktualizowano pomyślnie. Przeładuj stronę.",
|
"API URL updated successfully. Please reload the page.": "URL API zaktualizowano pomyślnie. Przeładuj stronę.",
|
||||||
@@ -20,12 +21,16 @@
|
|||||||
"Backend URL": "Adres URL backendu",
|
"Backend URL": "Adres URL backendu",
|
||||||
"Choose your preferred language": "Wybierz preferowany język",
|
"Choose your preferred language": "Wybierz preferowany język",
|
||||||
"Color": "Kolor",
|
"Color": "Kolor",
|
||||||
|
"Confirm Password": "Potwierdź hasło",
|
||||||
"Configure the application settings.": "Skonfiguruj ustawienia aplikacji.",
|
"Configure the application settings.": "Skonfiguruj ustawienia aplikacji.",
|
||||||
"Configure the backend API URL for this application": "Skonfiguruj URL API backendu dla tej aplikacji",
|
"Configure the backend API URL for this application": "Skonfiguruj URL API backendu dla tej aplikacji",
|
||||||
"Content": "Treść",
|
"Content": "Treść",
|
||||||
"Copy note": "Kopiuj notatkę",
|
"Copy note": "Kopiuj notatkę",
|
||||||
"Create": "Utwórz",
|
"Create": "Utwórz",
|
||||||
|
"Create account": "Utwórz konto",
|
||||||
|
"Create an account": "Utwórz konto",
|
||||||
"Create Note": "Utwórz notatkę",
|
"Create Note": "Utwórz notatkę",
|
||||||
|
"Creating account...": "Tworzenie konta...",
|
||||||
"Current API URL": "Aktualny URL API",
|
"Current API URL": "Aktualny URL API",
|
||||||
"Custom API URL": "Własny URL API",
|
"Custom API URL": "Własny URL API",
|
||||||
"Data Management": "Zarządzanie danymi",
|
"Data Management": "Zarządzanie danymi",
|
||||||
@@ -35,12 +40,18 @@
|
|||||||
"Deleted {{count}} note_few": "Usunięto {{count}} notatki",
|
"Deleted {{count}} note_few": "Usunięto {{count}} notatki",
|
||||||
"Deleted {{count}} note_many": "Usunięto {{count}} notatek",
|
"Deleted {{count}} note_many": "Usunięto {{count}} notatek",
|
||||||
"Deleted {{count}} note_other": "Usunięto {{count}} notatek",
|
"Deleted {{count}} note_other": "Usunięto {{count}} notatek",
|
||||||
|
"Don't have an account?": "Nie masz konta?",
|
||||||
"Edit Note": "Edytuj notatkę",
|
"Edit Note": "Edytuj notatkę",
|
||||||
|
"Email": "Email",
|
||||||
|
"Enter your email below to create your account": "Wpisz swój email poniżej, aby utworzyć konto",
|
||||||
|
"Enter your email to sign in to your account": "Wpisz swój email, aby się zalogować",
|
||||||
"Export Data": "Eksportuj dane",
|
"Export Data": "Eksportuj dane",
|
||||||
"Export failed": "Eksport nie powiódł się",
|
"Export failed": "Eksport nie powiódł się",
|
||||||
"Export successful": "Eksport zakończony sukcesem",
|
"Export successful": "Eksport zakończony sukcesem",
|
||||||
"Export your notes for backup or import from a JSON file.": "Wyeksportuj swoje notatki do kopii zapasowej lub zaimportuj z pliku JSON.",
|
"Export your notes for backup or import from a JSON file.": "Wyeksportuj swoje notatki do kopii zapasowej lub zaimportuj z pliku JSON.",
|
||||||
"Failed to copy note": "Nie udało się skopiować notatki",
|
"Failed to copy note": "Nie udało się skopiować notatki",
|
||||||
|
"Failed to login": "Nie udało się zalogować",
|
||||||
|
"Failed to register": "Nie udało się zarejestrować",
|
||||||
"Grid View": "Widok siatki",
|
"Grid View": "Widok siatki",
|
||||||
"History": "Historia",
|
"History": "Historia",
|
||||||
"Import Data": "Importuj dane",
|
"Import Data": "Importuj dane",
|
||||||
@@ -61,24 +72,24 @@
|
|||||||
"Note created": "Notatka utworzona",
|
"Note created": "Notatka utworzona",
|
||||||
"Note title": "Tytuł notatki",
|
"Note title": "Tytuł notatki",
|
||||||
"Note updated": "Notatka zaktualizowana",
|
"Note updated": "Notatka zaktualizowana",
|
||||||
|
"Notes": "Notatki",
|
||||||
"Others": "Inne",
|
"Others": "Inne",
|
||||||
|
"Password": "Hasło",
|
||||||
"Pin this note": "Przypnij tę notatkę",
|
"Pin this note": "Przypnij tę notatkę",
|
||||||
"Pinned": "Przypięte",
|
"Pinned": "Przypięte",
|
||||||
"Please enter a URL": "Proszę podać URL",
|
"Please enter a URL": "Proszę podać URL",
|
||||||
|
"Registration is currently disabled": "Rejestracja jest obecnie wyłączona",
|
||||||
"Reload": "Przeładuj",
|
"Reload": "Przeładuj",
|
||||||
"Rename": "Zmień nazwę",
|
"Rename": "Zmień nazwę",
|
||||||
"Reset to Default": "Przywróć domyślne",
|
"Reset to Default": "Przywróć domyślne",
|
||||||
"Save": "Zapisz",
|
"Save": "Zapisz",
|
||||||
"Save changes": "Zapisz zmiany",
|
"Save changes": "Zapisz zmiany",
|
||||||
"Saving": {
|
"Saving...": "Zapisywanie...",
|
||||||
"": {
|
|
||||||
"": {
|
|
||||||
"": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Search your notes...": "Szukaj swoich notatek...",
|
"Search your notes...": "Szukaj swoich notatek...",
|
||||||
"Settings": "Ustawienia",
|
"Settings": "Ustawienia",
|
||||||
|
"Sign in": "Zaloguj się",
|
||||||
|
"Sign up": "Zarejestruj się",
|
||||||
|
"Signing in...": "Logowanie...",
|
||||||
"Tag deleted": "Tag usunięty",
|
"Tag deleted": "Tag usunięty",
|
||||||
"Tag renamed": "Nazwę tagu zmieniono",
|
"Tag renamed": "Nazwę tagu zmieniono",
|
||||||
"Tags": "Tagi",
|
"Tags": "Tagi",
|
||||||
@@ -87,6 +98,7 @@
|
|||||||
"Title is required": "Tytuł jest wymagany",
|
"Title is required": "Tytuł jest wymagany",
|
||||||
"Title too long": "Tytuł za długi",
|
"Title too long": "Tytuł za długi",
|
||||||
"Update": "Aktualizuj",
|
"Update": "Aktualizuj",
|
||||||
|
"Welcome back": "Witaj ponownie",
|
||||||
"work, todo, ideas": "praca, zadania, pomysły",
|
"work, todo, ideas": "praca, zadania, pomysły",
|
||||||
"Your notes will appear here. Click + to create one.": "Twoje notatki pojawią się tutaj. Kliknij +, aby utworzyć notatkę."
|
"Your notes will appear here. Click + to create one.": "Twoje notatki pojawią się tutaj. Kliknij +, aby utworzyć notatkę."
|
||||||
}
|
}
|
||||||
@@ -13,6 +13,7 @@ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
|
|||||||
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
|
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
|
||||||
import { ApiError } from "@/lib/api";
|
import { ApiError } from "@/lib/api";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const loginSchema = z.object({
|
const loginSchema = z.object({
|
||||||
email: z.string().email("Invalid email address"),
|
email: z.string().email("Invalid email address"),
|
||||||
@@ -24,6 +25,7 @@ type LoginFormValues = z.infer<typeof loginSchema>;
|
|||||||
export default function LoginPage() {
|
export default function LoginPage() {
|
||||||
const { mutate: login, isPending } = useLogin();
|
const { mutate: login, isPending } = useLogin();
|
||||||
const { data: config } = useConfig();
|
const { data: config } = useConfig();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const form = useForm<LoginFormValues>({
|
const form = useForm<LoginFormValues>({
|
||||||
resolver: zodResolver(loginSchema),
|
resolver: zodResolver(loginSchema),
|
||||||
@@ -39,7 +41,7 @@ export default function LoginPage() {
|
|||||||
if (error instanceof ApiError) {
|
if (error instanceof ApiError) {
|
||||||
toast.error(error.message);
|
toast.error(error.message);
|
||||||
} else {
|
} else {
|
||||||
toast.error("Failed to login");
|
toast.error(t("Failed to login"));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -56,9 +58,9 @@ export default function LoginPage() {
|
|||||||
</div>
|
</div>
|
||||||
<Card className="w-full max-w-md">
|
<Card className="w-full max-w-md">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-2xl font-bold">Welcome back</CardTitle>
|
<CardTitle className="text-2xl font-bold">{t("Welcome back")}</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
Enter your email to sign in to your account
|
{t("Enter your email to sign in to your account")}
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
@@ -69,7 +71,7 @@ export default function LoginPage() {
|
|||||||
name="email"
|
name="email"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Email</FormLabel>
|
<FormLabel>{t("Email")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="name@example.com" {...field} />
|
<Input placeholder="name@example.com" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -82,7 +84,7 @@ export default function LoginPage() {
|
|||||||
name="password"
|
name="password"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Password</FormLabel>
|
<FormLabel>{t("Password")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" {...field} />
|
<Input type="password" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -91,7 +93,7 @@ export default function LoginPage() {
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<Button type="submit" className="w-full" disabled={isPending}>
|
<Button type="submit" className="w-full" disabled={isPending}>
|
||||||
{isPending ? "Signing in..." : "Sign in"}
|
{isPending ? t("Signing in...") : t("Sign in")}
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
</Form>
|
</Form>
|
||||||
@@ -99,9 +101,9 @@ export default function LoginPage() {
|
|||||||
<CardFooter className="flex justify-center">
|
<CardFooter className="flex justify-center">
|
||||||
{config?.allow_registration !== false && (
|
{config?.allow_registration !== false && (
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400">
|
<p className="text-sm text-gray-500 dark:text-gray-400">
|
||||||
Don't have an account?{" "}
|
{t("Don't have an account?")}{" "}
|
||||||
<Link to="/register" className="font-semibold text-primary hover:underline">
|
<Link to="/register" className="font-semibold text-primary hover:underline">
|
||||||
Sign up
|
{t("Sign up")}
|
||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
|
|||||||
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
|
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
|
||||||
import { ApiError } from "@/lib/api";
|
import { ApiError } from "@/lib/api";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const registerSchema = z.object({
|
const registerSchema = z.object({
|
||||||
email: z.string().email("Invalid email address"),
|
email: z.string().email("Invalid email address"),
|
||||||
@@ -29,13 +30,14 @@ export default function RegisterPage() {
|
|||||||
const { mutate: register, isPending } = useRegister();
|
const { mutate: register, isPending } = useRegister();
|
||||||
const { data: config, isLoading: isConfigLoading } = useConfig();
|
const { data: config, isLoading: isConfigLoading } = useConfig();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isConfigLoading && config?.allow_registration === false) {
|
if (!isConfigLoading && config?.allow_registration === false) {
|
||||||
toast.error("Registration is currently disabled");
|
toast.error(t("Registration is currently disabled"));
|
||||||
navigate("/login");
|
navigate("/login");
|
||||||
}
|
}
|
||||||
}, [config, isConfigLoading, navigate]);
|
}, [config, isConfigLoading, navigate, t]);
|
||||||
|
|
||||||
if (isConfigLoading || config?.allow_registration === false) {
|
if (isConfigLoading || config?.allow_registration === false) {
|
||||||
return null; // Or a loading spinner
|
return null; // Or a loading spinner
|
||||||
@@ -59,7 +61,7 @@ export default function RegisterPage() {
|
|||||||
if (error instanceof ApiError) {
|
if (error instanceof ApiError) {
|
||||||
toast.error(error.message);
|
toast.error(error.message);
|
||||||
} else {
|
} else {
|
||||||
toast.error("Failed to register");
|
toast.error(t("Failed to register"));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -76,9 +78,9 @@ export default function RegisterPage() {
|
|||||||
</div>
|
</div>
|
||||||
<Card className="w-full max-w-md">
|
<Card className="w-full max-w-md">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-2xl font-bold">Create an account</CardTitle>
|
<CardTitle className="text-2xl font-bold">{t("Create an account")}</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
Enter your email below to create your account
|
{t("Enter your email below to create your account")}
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
@@ -89,7 +91,7 @@ export default function RegisterPage() {
|
|||||||
name="email"
|
name="email"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Email</FormLabel>
|
<FormLabel>{t("Email")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="name@example.com" {...field} />
|
<Input placeholder="name@example.com" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -102,7 +104,7 @@ export default function RegisterPage() {
|
|||||||
name="password"
|
name="password"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Password</FormLabel>
|
<FormLabel>{t("Password")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" {...field} />
|
<Input type="password" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -115,7 +117,7 @@ export default function RegisterPage() {
|
|||||||
name="confirmPassword"
|
name="confirmPassword"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Confirm Password</FormLabel>
|
<FormLabel>{t("Confirm Password")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" {...field} />
|
<Input type="password" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -124,16 +126,16 @@ export default function RegisterPage() {
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<Button type="submit" className="w-full" disabled={isPending}>
|
<Button type="submit" className="w-full" disabled={isPending}>
|
||||||
{isPending ? "Creating account..." : "Create account"}
|
{isPending ? t("Creating account...") : t("Create account")}
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
</Form>
|
</Form>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
<CardFooter className="flex justify-center">
|
<CardFooter className="flex justify-center">
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400">
|
<p className="text-sm text-gray-500 dark:text-gray-400">
|
||||||
Already have an account?{" "}
|
{t("Already have an account?")}{" "}
|
||||||
<Link to="/login" className="font-semibold text-primary hover:underline">
|
<Link to="/login" className="font-semibold text-primary hover:underline">
|
||||||
Sign in
|
{t("Sign in")}
|
||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
</CardFooter>
|
</CardFooter>
|
||||||
|
|||||||
Reference in New Issue
Block a user