Refactor AIImages UI to use localized strings for labels and descriptions, enhancing user experience and accessibility. Update binary AIImages.dll to the latest version.

This commit is contained in:
Leonid Pershin
2025-10-26 17:21:30 +03:00
parent d5746f4c84
commit 710317e147
8 changed files with 117 additions and 22 deletions

View File

@@ -43,9 +43,9 @@ namespace AIImages
{
yield return new Command_Action
{
defaultLabel = "AI Image",
defaultDesc = "Open AI Image window",
icon = ContentFinder<Texture2D>.Get("UI/Commands/AttackMelee", true),
defaultLabel = "AIImages.Gizmo.Label".Translate(),
defaultDesc = "AIImages.Gizmo.Description".Translate(),
icon = ContentFinder<Texture2D>.Get("UI/Commands/AIImage", true),
action = delegate()
{
// Проверяем, открыто ли уже окно AI Image