Add localization support for new features and update existing translations

- Added "unknown" status to model states in English and Chinese locales.
- Introduced new actions for checking updates and support in both locales.
- Added settings for Civitai API key with help text in both locales.
- Updated context menus and control components to use localized strings.
- Enhanced help and support modals with localization.
- Updated update modal to reflect current and new version information in localized format.
- Refactored various templates to utilize the translation function for better internationalization.
This commit is contained in:
Will Miao
2025-08-30 22:32:44 +08:00
parent 52acbd954a
commit b36fea002e
12 changed files with 210 additions and 134 deletions

View File

@@ -57,7 +57,8 @@
"failed": "Failed",
"cancelled": "Cancelled",
"pending": "Pending",
"ready": "Ready"
"ready": "Ready",
"unknown": "Unknown"
},
"language": {
"current": "Language",
@@ -115,8 +116,17 @@
"switchToLight": "Switch to light theme",
"switchToDark": "Switch to dark theme",
"switchToAuto": "Switch to auto theme"
},
"actions": {
"checkUpdates": "Check Updates",
"support": "Support"
}
},
"settings": {
"civitaiApiKey": "Civitai API Key",
"civitaiApiKeyPlaceholder": "Enter your Civitai API key",
"civitaiApiKeyHelp": "Used for authentication when downloading models from Civitai"
},
"loras": {
"title": "LoRA Models",
"controls": {
@@ -141,11 +151,14 @@
"download": "Download from URL",
"bulk": "Bulk Operations",
"duplicates": "Find Duplicates",
"favorites": "Show Favorites Only"
"favorites": "Show Favorites Only",
"filterActive": "Filter Active"
},
"bulkOperations": {
"title": "Bulk Operations",
"selected": "{count} selected",
"selectedSuffix": "selected",
"viewSelected": "Click to view selected items",
"sendToWorkflow": "Send all selected LoRAs to workflow",
"copyAll": "Copy all selected LoRAs syntax",
"refreshAll": "Refresh CivitAI metadata for selected models",
@@ -161,7 +174,7 @@
"copyRecipeSyntax": "Copy Recipe Syntax",
"sendToWorkflowAppend": "Send to Workflow (Append)",
"sendToWorkflowReplace": "Send to Workflow (Replace)",
"openExamplesFolder": "Open Examples Folder",
"openExamples": "Open Examples Folder",
"downloadExamples": "Download Example Images",
"replacePreview": "Replace Preview",
"setContentRating": "Set Content Rating",
@@ -448,6 +461,31 @@
"search": "Search models by name, tags, or other criteria",
"filter": "Filter models by various criteria",
"sort": "Sort models by different attributes",
"backToTop": "Scroll back to top of page"
"tooltiptext": "Scroll back to top of page"
},
"help": {
"title": "Help & Tutorials",
"tabs": {
"gettingStarted": "Getting Started",
"updateVlogs": "Update Vlogs",
"documentation": "Documentation"
},
"gettingStarted": {
"title": "Getting Started with LoRA Manager"
}
},
"update": {
"title": "Check for Updates",
"currentVersion": "Current Version",
"newVersion": "New Version",
"commit": "Commit"
},
"support": {
"title": "Support the Project",
"message": "If you find LoRA Manager useful, I'd really appreciate your support! 🙌",
"feedback": {
"title": "Provide Feedback",
"description": "Your feedback helps shape future updates! Share your thoughts:"
}
}
}