- Add modules_order setting in backend settings registry - Update ModulesContext with moduleOrder state and save functions - Create configuration tab in Features page with drag-and-drop reordering - Make feature tabs dynamic based on order (updates in real-time) - Sort sidebar modules based on saved order - Add order-cards CSS with vertical layout - Update API client to support string[] type for modules_order 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
318 lines
10 KiB
JSON
318 lines
10 KiB
JSON
{
|
|
"app": {
|
|
"name": "App Service",
|
|
"tagline": "Service Management"
|
|
},
|
|
"auth": {
|
|
"login": "Login",
|
|
"register": "Register",
|
|
"logout": "Logout",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"email": "Email",
|
|
"loginTitle": "Login",
|
|
"registerTitle": "Register",
|
|
"alreadyHaveAccount": "Already have an account? Login",
|
|
"dontHaveAccount": "Don't have an account? Register",
|
|
"authenticationFailed": "Authentication failed"
|
|
},
|
|
"dashboard": {
|
|
"title": "Dashboard",
|
|
"welcome": "Welcome",
|
|
"profile": "Profile",
|
|
"userId": "User ID",
|
|
"status": "Status",
|
|
"active": "Active",
|
|
"inactive": "Inactive"
|
|
},
|
|
"sidebar": {
|
|
"dashboard": "Dashboard",
|
|
"feature1": "Feature 1",
|
|
"feature2": "Feature 2",
|
|
"feature3": "Feature 3",
|
|
"settings": "Settings",
|
|
"admin": "Administration",
|
|
"users": "Users"
|
|
},
|
|
"common": {
|
|
"save": "Save",
|
|
"cancel": "Cancel",
|
|
"delete": "Delete",
|
|
"edit": "Edit",
|
|
"close": "Close",
|
|
"search": "Search",
|
|
"loading": "Loading...",
|
|
"error": "Error",
|
|
"success": "Success",
|
|
"all": "All",
|
|
"reset": "Reset"
|
|
},
|
|
"features": {
|
|
"feature1": "Feature 1 Management",
|
|
"feature2": "Feature 2 Manager",
|
|
"feature3": "Feature 3 Integration",
|
|
"comingSoon": "Coming Soon"
|
|
},
|
|
"featuresPage": {
|
|
"title": "Features",
|
|
"subtitle": "Configure application features",
|
|
"configTab": "Configuration",
|
|
"orderSection": "Sidebar Order",
|
|
"orderDesc": "Drag to reorder features in the sidebar",
|
|
"applyOrder": "Apply"
|
|
},
|
|
"sourcesPage": {
|
|
"title": "Sources",
|
|
"subtitle": "Manage data sources",
|
|
"comingSoon": "Data sources management coming soon..."
|
|
},
|
|
"admin": {
|
|
"panel": "Admin Panel",
|
|
"description": "Manage users and application settings",
|
|
"userManagement": "User Management",
|
|
"systemSettings": "System Settings",
|
|
"generalTab": "General",
|
|
"usersTab": "Users",
|
|
"playlistsTab": "Playlists",
|
|
"viewMode": "Interface",
|
|
"userModeToggle": "User Mode Button",
|
|
"userModeToggleDesc": "Show a button in the sidebar to quickly switch to user view",
|
|
"sidebarMode": "Sidebar Mode",
|
|
"sidebarModeDesc": "Choose how to display the sidebar",
|
|
"sidebarModeCollapsed": "Always Collapsed",
|
|
"sidebarModeCollapsedDesc": "Always small",
|
|
"sidebarModeDynamic": "Dynamic",
|
|
"sidebarModeDynamicDesc": "Expands on hover",
|
|
"sidebarModeToggle": "Toggleable",
|
|
"sidebarModeToggleDesc": "Collapsible",
|
|
"adminView": "Admin",
|
|
"userView": "User",
|
|
"modulesSection": "Features",
|
|
"playlistsDesc": "Manage playlists for streaming",
|
|
"downloadsDesc": "Download and manage offline content",
|
|
"chromecastDesc": "Cast content to devices",
|
|
"moduleDefaultDesc": "Enable or disable this feature for users",
|
|
"darkModeSettings": "Dark Mode Settings",
|
|
"enableDarkModeToggle": "Enable Dark Mode Toggle",
|
|
"enableDarkModeToggleDesc": "Allow users to switch themes",
|
|
"showOnLoginScreen": "Show on Login Screen",
|
|
"showOnLoginScreenDesc": "Display toggle on login page",
|
|
"controlLocation": "Control Location",
|
|
"controlLocationDesc": "Show in Sidebar (ON) or User Menu (OFF)",
|
|
"languageSettings": "Language Settings",
|
|
"enableLanguageSelector": "Enable Language Selector",
|
|
"enableLanguageSelectorDesc": "Allow users to change language",
|
|
"showLanguageOnLoginDesc": "Display selector on login page",
|
|
"adminRole": "Admin",
|
|
"userRole": "User",
|
|
"active": "Active",
|
|
"inactive": "Inactive"
|
|
},
|
|
"usersPage": {
|
|
"title": "Users",
|
|
"addUser": "Add user",
|
|
"editUser": "Edit user",
|
|
"name": "Username",
|
|
"email": "Email",
|
|
"password": "Password",
|
|
"passwordHintCreate": "(min 8 chars)",
|
|
"passwordHintEdit": "(leave blank to keep current password)",
|
|
"status": "Status",
|
|
"role": "Role",
|
|
"isActive": "Active",
|
|
"isSuperuser": "Superuser",
|
|
"active": "Active",
|
|
"inactive": "Inactive",
|
|
"superuser": "Superuser",
|
|
"regular": "User",
|
|
"actions": "Actions",
|
|
"edit": "Edit",
|
|
"delete": "Delete",
|
|
"save": "Save",
|
|
"confirmDelete": "Delete this user?",
|
|
"selfDeleteWarning": "You cannot delete your own account",
|
|
"noUsers": "No users yet",
|
|
"errorLoading": "Failed to load users",
|
|
"saveError": "Unable to save user",
|
|
"passwordRequired": "Password is required to create a new user",
|
|
"passwordTooShort": "Password must be at least 8 characters",
|
|
"searchPlaceholder": "Search by username or email",
|
|
"filterAll": "All",
|
|
"createdAt": "Created At",
|
|
"lastLogin": "Last Login",
|
|
"permissions": "Module Permissions",
|
|
"customPermissions": "Custom",
|
|
"usingDefaultPermissions": "Using global settings from General tab",
|
|
"moduleDisabledGlobally": "This module is disabled globally",
|
|
"disabled": "Disabled"
|
|
},
|
|
"user": {
|
|
"admin": "Admin",
|
|
"superuser": "Superuser"
|
|
},
|
|
"theme": {
|
|
"title": "Theme Editor",
|
|
"subtitle": "Customize the look and feel of the application",
|
|
"colorsTab": "Colors",
|
|
"appearanceTab": "Appearance",
|
|
"previewTab": "Preview",
|
|
"advancedTab": "Advanced",
|
|
"accentColor": "Accent Color",
|
|
"borderRadius": "Border Radius",
|
|
"sidebarStyle": "Sidebar Style",
|
|
"density": "Density",
|
|
"pageMargin": "Page Margin",
|
|
"fontFamily": "Font Family",
|
|
"preview": "Preview",
|
|
"previewTitle": "Theme Preview",
|
|
"previewText": "This is a live preview of your selected theme settings.",
|
|
"previewCard": "Preview Card",
|
|
"previewDescription": "This is how your content will look with the selected theme settings.",
|
|
"primaryButton": "Primary Button",
|
|
"ghostButton": "Ghost Button",
|
|
"inputPlaceholder": "Input field...",
|
|
"badge": "Badge",
|
|
"toggleMenu": "Toggle menu",
|
|
"advancedColors": "Custom Colors",
|
|
"customColors": "Custom Colors",
|
|
"customColorsDesc": "Fine-tune specific colors for light and dark modes.",
|
|
"advancedColorsDescription": "Customize every theme color in detail",
|
|
"lightThemeColors": "Light Theme Colors",
|
|
"lightMode": "Light Mode",
|
|
"darkThemeColors": "Dark Theme Colors",
|
|
"darkMode": "Dark Mode",
|
|
"background": "Main Background",
|
|
"backgroundCard": "Card Background",
|
|
"backgroundElevated": "Elevated Background",
|
|
"textPrimary": "Primary Text",
|
|
"textSecondary": "Secondary Text",
|
|
"border": "Border",
|
|
"pickColor": "Pick color",
|
|
"useEyedropper": "Use eyedropper",
|
|
"resetColors": "Reset to defaults",
|
|
"sidebar": "Sidebar",
|
|
"sidebarBackground": "Sidebar Background",
|
|
"sidebarText": "Sidebar Text",
|
|
"colors": {
|
|
"blue": "Blue",
|
|
"blueDesc": "Classic & Professional",
|
|
"purple": "Purple",
|
|
"purpleDesc": "Creative & Modern",
|
|
"green": "Green",
|
|
"greenDesc": "Fresh & Natural",
|
|
"orange": "Orange",
|
|
"orangeDesc": "Energetic & Bold",
|
|
"pink": "Pink",
|
|
"pinkDesc": "Playful & Vibrant",
|
|
"red": "Red",
|
|
"redDesc": "Dynamic & Powerful",
|
|
"teal": "Teal",
|
|
"tealDesc": "Calm & Refreshing",
|
|
"amber": "Amber",
|
|
"amberDesc": "Warm & Inviting",
|
|
"indigo": "Indigo",
|
|
"indigoDesc": "Deep & Mysterious",
|
|
"cyan": "Cyan",
|
|
"cyanDesc": "Cool & Electric",
|
|
"rose": "Rose",
|
|
"roseDesc": "Romantic & Soft",
|
|
"auto": "Auto",
|
|
"autoDesc": "Adapts to theme"
|
|
},
|
|
"radius": {
|
|
"small": "Small",
|
|
"smallDesc": "Sharp edges",
|
|
"medium": "Medium",
|
|
"mediumDesc": "Balanced",
|
|
"large": "Large",
|
|
"largeDesc": "Soft curves"
|
|
},
|
|
"sidebarOptions": {
|
|
"default": "Default",
|
|
"defaultDesc": "Adaptive theme",
|
|
"dark": "Dark",
|
|
"darkDesc": "Always dark",
|
|
"light": "Light",
|
|
"lightDesc": "Always light"
|
|
},
|
|
"densityOptions": {
|
|
"compact": "Compact",
|
|
"compactDesc": "More content",
|
|
"comfortable": "Comfortable",
|
|
"comfortableDesc": "Balanced",
|
|
"spacious": "Spacious",
|
|
"spaciousDesc": "More breathing room"
|
|
},
|
|
"fontOptions": {
|
|
"system": "System",
|
|
"systemDesc": "Default system font",
|
|
"inter": "Inter",
|
|
"interDesc": "Modern & clean",
|
|
"roboto": "Roboto",
|
|
"robotoDesc": "Google's classic"
|
|
},
|
|
"palettes": {
|
|
"default": "Default",
|
|
"defaultDesc": "Standard modern palette",
|
|
"monochrome": "Monochrome",
|
|
"monochromeDesc": "Pure black & white",
|
|
"monochromeBlue": "Slate",
|
|
"monochromeBlueDesc": "Elegant blue-gray tones",
|
|
"sepia": "Sepia",
|
|
"sepiaDesc": "Warm vintage tones",
|
|
"nord": "Nord",
|
|
"nordDesc": "Arctic inspired colors",
|
|
"dracula": "Dracula",
|
|
"draculaDesc": "Dark gothic theme",
|
|
"solarized": "Solarized",
|
|
"solarizedDesc": "Easy on the eyes",
|
|
"github": "GitHub",
|
|
"githubDesc": "Clean & minimal",
|
|
"ocean": "Ocean",
|
|
"oceanDesc": "Cool blue depths",
|
|
"forest": "Forest",
|
|
"forestDesc": "Natural green tones",
|
|
"midnight": "Midnight",
|
|
"midnightDesc": "Deep purple nights",
|
|
"sunset": "Sunset",
|
|
"sunsetDesc": "Warm orange glow"
|
|
},
|
|
"colorPalette": "Color Palette",
|
|
"sectionDesc": {
|
|
"accentColor": "Choose your primary accent color",
|
|
"colorPalette": "Choose a complete color scheme",
|
|
"borderRadius": "Adjust corner roundness",
|
|
"sidebarStyle": "Sidebar color scheme",
|
|
"density": "Interface spacing",
|
|
"fontFamily": "Typography style",
|
|
"preview": "See how your theme looks"
|
|
},
|
|
"sampleCard": "Sample Card",
|
|
"sampleCardDesc": "This is another example card to demonstrate how your theme will look across different components.",
|
|
"totalItems": "Total Items",
|
|
"successRate": "Success Rate",
|
|
"currentColor": "Current Color",
|
|
"apply": "Apply"
|
|
},
|
|
"settings": {
|
|
"title": "Settings",
|
|
"subtitle": "Manage application preferences",
|
|
"authentication": "Authentication",
|
|
"allowRegistration": "Allow User Registration",
|
|
"allowRegistrationDesc": "Allow new users to register accounts autonomously",
|
|
"showLogo": "Show Logo in Sidebar",
|
|
"showLogoDesc": "Display the application logo at the top of the sidebar when in dynamic or expanded mode",
|
|
"language": "Language",
|
|
"languageDesc": "Select your preferred language",
|
|
"english": "English",
|
|
"italian": "Italiano",
|
|
"comingSoon": "User settings will be available soon...",
|
|
"placeholderTitle": "Settings"
|
|
},
|
|
"feature1": {
|
|
"title": "Feature 1",
|
|
"subtitle": "Feature 1 management",
|
|
"comingSoon": "Feature coming soon...",
|
|
"management": "Feature 1 Management"
|
|
}
|
|
} |