Add drawing sharing functionality and localization updates

- Implemented sharing options for drawings, including sharing to a public channel and specific rooms.
- Added confirmation dialogs for deleting drawings and sharing drawings.
- Enhanced the drawing toolbar to display a list of user's drawings with options to share or delete.
- Updated localization files for English, Spanish, French, Croatian, Italian, German, Slovenian, and other languages to include new strings related to drawing sharing and management.
- Introduced syncing of drawing messages with the DrawingProvider to restore missing drawings.
- Improved the drawing minimap preview to display a small preview of drawings in the toolbar.
This commit is contained in:
Janez T
2025-10-23 20:50:14 +02:00
parent 19603a1ad9
commit 9d923f8118
21 changed files with 941 additions and 61 deletions

View File

@@ -1810,4 +1810,38 @@ class AppLocalizationsHr extends AppLocalizations {
String newDrawingsShared(int count, String plural) {
return 'Podijeljeno $count novi$plural crtež$plural';
}
@override
String get shareDrawing => 'Podijeli Crtež';
@override
String get shareWithAllNearbyDevices =>
'Podijeli sa svim obližnjim uređajima';
@override
String get shareToRoom => 'Podijeli u Sobu';
@override
String get sendToPersistentStorage => 'Pošalji u trajnu pohranu sobe';
@override
String get deleteDrawingConfirm =>
'Jeste li sigurni da želite izbrisati ovaj crtež?';
@override
String get drawingDeleted => 'Crtež izbrisan';
@override
String yourDrawingsCount(int count) {
return 'Vaši Crteži ($count)';
}
@override
String get shared => 'Podijeljeno';
@override
String get line => 'Linija';
@override
String get rectangle => 'Pravokutnik';
}