feat(i18n): add Transloco translation framework with EN/ES and 7 language scaffolds (#2681)
* feat(i18n): add Transloco translation framework and translate all settings tabs (EN/ES) * feat(i18n): translate shared, layout, dashboard, library-creator, and app-root components (EN/ES) and scaffold 7 new languages * feat(i18n): translate bookdrop and metadata components (EN/ES), remove i18n-audit from tracking * fix(i18n): deep-merge English as fallback base for incomplete language translations
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
{
|
||||
"title": "User Management",
|
||||
"description": "Manage Booklore users, their permissions, and library access. Configure user roles and capabilities for your book collection.",
|
||||
"currentUsers": {
|
||||
"sectionTitle": "Current Users",
|
||||
"sectionDesc": "View and manage all registered users, their permissions, and library access.",
|
||||
"addUser": "Add User"
|
||||
},
|
||||
"emptyState": {
|
||||
"title": "No users found",
|
||||
"subtitle": "Create your first user to get started"
|
||||
},
|
||||
"admin": "Admin",
|
||||
"permBadges": {
|
||||
"bookMgmt": "Book Management: {{count}}/5",
|
||||
"systemAccess": "System Access: {{count}}/3",
|
||||
"systemConfig": "System Configuration: {{count}}/5",
|
||||
"metadataEditing": "Metadata Editing: {{count}}/7",
|
||||
"deviceSync": "Device Sync: {{count}}/3",
|
||||
"bulkReset": "Bulk Reset: {{count}}/3"
|
||||
},
|
||||
"actions": {
|
||||
"editUser": "Edit user",
|
||||
"changePassword": "Change password",
|
||||
"deleteUser": "Delete user",
|
||||
"saveChanges": "Save changes"
|
||||
},
|
||||
"userInfo": {
|
||||
"title": "User Information",
|
||||
"fullName": "Full Name",
|
||||
"email": "Email",
|
||||
"libraries": "Libraries",
|
||||
"notSet": "Not set",
|
||||
"allLibrariesAdmin": "All libraries (Admin)",
|
||||
"selectLibraries": "Select Libraries",
|
||||
"enterFullName": "Enter full name",
|
||||
"enterEmail": "Enter email"
|
||||
},
|
||||
"permGroups": {
|
||||
"administration": "Administration",
|
||||
"bookManagement": "Book Management",
|
||||
"systemAccess": "System Access",
|
||||
"systemConfig": "System Configuration",
|
||||
"metadataEditing": "Metadata Editing",
|
||||
"deviceSync": "Device Sync",
|
||||
"bulkReset": "Bulk Reset"
|
||||
},
|
||||
"perms": {
|
||||
"fullAdmin": "Full Administrator Access",
|
||||
"uploadBooks": "Upload Books",
|
||||
"downloadBooks": "Download Books",
|
||||
"deleteBooks": "Delete Books",
|
||||
"manageLibrary": "Manage Library",
|
||||
"emailBooks": "Email Books",
|
||||
"accessBookdrop": "Access Bookdrop",
|
||||
"viewLibraryStats": "View Library Statistics",
|
||||
"viewUserStats": "View User Reading Statistics",
|
||||
"manageMetadataConfig": "Manage Metadata Configuration",
|
||||
"manageAppPreferences": "Manage Application Preferences",
|
||||
"accessTaskManager": "Access Task Manager",
|
||||
"manageIcons": "Manage Icons",
|
||||
"manageFonts": "Manage Fonts",
|
||||
"editSingleMetadata": "Edit Single Metadata",
|
||||
"bulkAutoFetch": "Bulk Auto Fetch Metadata",
|
||||
"bulkCustomFetch": "Bulk Custom Fetch Metadata",
|
||||
"accessBulkEditor": "Access Bulk Metadata Editor",
|
||||
"bulkRegenerateCover": "Bulk Regenerate Cover",
|
||||
"moveOrganize": "Move/Organize Files",
|
||||
"bulkLockUnlock": "Bulk Lock/Unlock Metadata",
|
||||
"koreaderSync": "KOReader Sync",
|
||||
"koboSync": "Kobo Sync",
|
||||
"opdsFeedAccess": "OPDS Feed Access",
|
||||
"bulkResetBooklore": "Bulk Reset Booklore Read Progress",
|
||||
"bulkResetKoreader": "Bulk Reset KoReader Read Progress",
|
||||
"bulkResetReadStatus": "Bulk Reset Book Read Status"
|
||||
},
|
||||
"permissions": "Permissions",
|
||||
"contentRestrictions": {
|
||||
"title": "Content Restrictions",
|
||||
"description": "Configure which content this user can see based on categories, tags, moods, or age ratings.",
|
||||
"type": "Type",
|
||||
"mode": "Mode",
|
||||
"value": "Value",
|
||||
"selectType": "Select type",
|
||||
"selectMode": "Select mode",
|
||||
"selectValue": "Select value",
|
||||
"searchFilter": "Search...",
|
||||
"addTooltip": "Add restriction",
|
||||
"emptyTitle": "No content restrictions configured",
|
||||
"emptyHint": "This user can access all content in their assigned libraries",
|
||||
"excludeTitle": "Hidden Content (Exclude)",
|
||||
"excludeDesc": "Books matching these criteria will be hidden from this user",
|
||||
"allowOnlyTitle": "Allowed Content Only",
|
||||
"allowOnlyDesc": "Only books matching these criteria will be visible to this user",
|
||||
"infoNote": "Exclude rules take priority over Allow Only rules for safety",
|
||||
"types": {
|
||||
"category": "Category/Genre",
|
||||
"tag": "Tag",
|
||||
"mood": "Mood",
|
||||
"ageRating": "Age Rating",
|
||||
"contentRating": "Content Rating"
|
||||
},
|
||||
"modes": {
|
||||
"exclude": "Exclude (Hide matching)",
|
||||
"allowOnly": "Allow Only (Show only matching)"
|
||||
},
|
||||
"selectAllFields": "Please select all fields",
|
||||
"alreadyExists": "This restriction already exists",
|
||||
"addSuccess": "Content restriction added",
|
||||
"addError": "Failed to add content restriction",
|
||||
"removeSuccess": "Content restriction removed",
|
||||
"removeError": "Failed to remove content restriction",
|
||||
"loadError": "Failed to load content restrictions"
|
||||
},
|
||||
"passwordDialog": {
|
||||
"title": "Change Password",
|
||||
"newPassword": "New Password",
|
||||
"confirmPassword": "Confirm Password",
|
||||
"enterNew": "Enter new password",
|
||||
"confirmNew": "Confirm new password",
|
||||
"changeBtn": "Change Password",
|
||||
"bothRequired": "Both fields are required",
|
||||
"mismatch": "Passwords do not match",
|
||||
"success": "Password changed successfully"
|
||||
},
|
||||
"createDialog": {
|
||||
"title": "Create New User",
|
||||
"description": "Set up a new user account with permissions and library access",
|
||||
"basicInfo": "Basic Information",
|
||||
"fullName": "Full Name",
|
||||
"username": "Username",
|
||||
"email": "Email",
|
||||
"password": "Password",
|
||||
"confirmPassword": "Confirm Password",
|
||||
"enterFullName": "Enter full name...",
|
||||
"enterUsername": "Enter username...",
|
||||
"enterEmail": "Enter email...",
|
||||
"enterPassword": "Enter password...",
|
||||
"confirmPasswordPlaceholder": "Confirm password...",
|
||||
"nameRequired": "Name is required and must be at least 3 characters.",
|
||||
"usernameRequired": "Username is required.",
|
||||
"emailInvalid": "Enter a valid email address.",
|
||||
"passwordMinLength": "Password must be at least 6 characters long.",
|
||||
"confirmRequired": "Password confirmation is required",
|
||||
"passwordMismatch": "Passwords do not match.",
|
||||
"libraryAccess": "Library Access",
|
||||
"accessibleLibraries": "Accessible Libraries",
|
||||
"selectLibraries": "Select Libraries",
|
||||
"libraryRequired": "At least one library must be selected.",
|
||||
"editMetadata": "Edit Metadata",
|
||||
"bulkEditMetadata": "Bulk Edit Metadata",
|
||||
"readBooks": "Read Books",
|
||||
"footerInfo": "All fields are required to create a user",
|
||||
"createUser": "Create User",
|
||||
"validationError": "Please correct errors before submitting.",
|
||||
"createSuccess": "The user has been successfully created.",
|
||||
"createFailed": "Unable to create user: {{message}}",
|
||||
"createError": "An unexpected error occurred while creating the user. Please try again later."
|
||||
},
|
||||
"deleteConfirm": "Are you sure you want to delete {{username}}?",
|
||||
"updateSuccess": "User updated successfully",
|
||||
"updateError": "Failed to update user",
|
||||
"deleteSuccess": "User {{username}} deleted successfully",
|
||||
"deleteError": "Failed to delete user {{username}}",
|
||||
"fetchError": "Failed to fetch users"
|
||||
}
|
||||
Reference in New Issue
Block a user