feat: Introduce dedicated settings page with API URL configuration and data management hooks, and update Dockerfile for runtime env injection.

This commit is contained in:
2025-12-26 15:55:55 +01:00
parent 23b3c5000f
commit 7840227649
14 changed files with 368 additions and 89 deletions

View File

@@ -2,6 +2,9 @@
"{{count}} selected_one": "{{count}} selected",
"{{count}} selected_other": "{{count}} selected",
"Add a new note to your collection.": "Add a new note to your collection.",
"API Configuration": "API Configuration",
"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.",
"Archive": "Archive",
"Archived {{count}} note_one": "Archived {{count}} notes",
"Archived {{count}} note_other": "Archived {{count}} notes",
@@ -9,11 +12,15 @@
"Are you sure you want to delete {{count}} note?_other": "Are you sure you want to delete {{count}} notes?",
"Are you sure?": "Are you sure?",
"Backend URL": "Backend URL",
"Choose your preferred language": "Choose your preferred language",
"Color": "Color",
"Configure the application settings.": "Configure the application settings.",
"Configure the backend API URL for this application": "Configure the backend API URL for this application",
"Content": "Content",
"Create": "Create",
"Create Note": "Create Note",
"Current API URL": "Current API URL",
"Custom API URL": "Custom API URL",
"Data Management": "Data Management",
"Delete": "Delete",
"Delete tag \"{{name}}\"? Notes will keep their content.": "Delete tag \"{{name}}\"? Notes will keep their content.",
@@ -29,9 +36,10 @@
"Import Data": "Import Data",
"Import failed": "Import failed",
"Import successful. Reloading...": "Import successful. Reloading...",
"Invalid URL": "Invalid URL",
"Invalid URL format. Please enter a valid URL.": "Invalid URL format. Please enter a valid URL.",
"K-Notes": "K-Notes",
"Language": "Language",
"Leave empty to use the default or Docker-injected URL": "Leave empty to use the default or Docker-injected URL",
"List View": "List View",
"New Note": "New Note",
"No archived notes yet": "No archived notes yet",
@@ -45,7 +53,11 @@
"Others": "Others",
"Pin this note": "Pin this note",
"Pinned": "Pinned",
"Please enter a URL": "Please enter a URL",
"Reload": "Reload",
"Rename": "Rename",
"Reset to Default": "Reset to Default",
"Save": "Save",
"Save changes": "Save changes",
"Saving": {
"": {
@@ -56,7 +68,6 @@
},
"Search your notes...": "Search your notes...",
"Settings": "Settings",
"Settings saved. Please refresh the page.": "Settings saved. Please refresh the page.",
"Tag deleted": "Tag deleted",
"Tag renamed": "Tag renamed",
"Tags": "Tags",