Implement AI Images gallery feature in RimWorld mod, allowing users to view, delete, and manage generated images. Update UI components to include a gallery button and enhance image management functionality. Add localization strings for gallery features in English and Russian. Update AIImages.dll to reflect these changes.

This commit is contained in:
Leonid Pershin
2025-10-31 18:20:39 +03:00
parent 1b35cb6a44
commit a99fa16763
8 changed files with 799 additions and 36 deletions

View File

@@ -104,4 +104,18 @@
<AIImages.Settings.ClearAllImages>Clear All Generated Images</AIImages.Settings.ClearAllImages>
<AIImages.Settings.ClearAllImagesConfirm>Are you sure you want to delete all generated portrait images? This action cannot be undone.</AIImages.Settings.ClearAllImagesConfirm>
<AIImages.Settings.ClearAllImagesSuccess>Successfully deleted {0} portrait image(s)</AIImages.Settings.ClearAllImagesSuccess>
<!-- Gallery -->
<AIImages.Gallery.Title>AI Images Gallery</AIImages.Gallery.Title>
<AIImages.Gallery.Count>Total images: {0}</AIImages.Gallery.Count>
<AIImages.Gallery.Empty>Gallery is empty</AIImages.Gallery.Empty>
<AIImages.Gallery.LoadError>Load error</AIImages.Gallery.LoadError>
<AIImages.Gallery.DeleteSelected>Delete selected</AIImages.Gallery.DeleteSelected>
<AIImages.Gallery.DeleteAll>Delete all ({0})</AIImages.Gallery.DeleteAll>
<AIImages.Gallery.ConfirmDelete>Delete selected image?</AIImages.Gallery.ConfirmDelete>
<AIImages.Gallery.ConfirmDeleteAll>Delete all {0} images? This action cannot be undone.</AIImages.Gallery.ConfirmDeleteAll>
<AIImages.Gallery.DeleteError>Delete error: {0}</AIImages.Gallery.DeleteError>
<AIImages.Gallery.Deleted>Image successfully deleted</AIImages.Gallery.Deleted>
<AIImages.Gallery.AllDeleted>Successfully deleted {0} images</AIImages.Gallery.AllDeleted>
<AIImages.Gallery.OpenGallery>Open gallery</AIImages.Gallery.OpenGallery>
<AIImages.Gallery.ImagesCount>({0})</AIImages.Gallery.ImagesCount>
</LanguageData>