mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-14 09:50:30 +00:00
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:
@@ -1801,4 +1801,37 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
String newDrawingsShared(int count, String plural) {
|
||||
return 'Shared $count new drawing$plural';
|
||||
}
|
||||
|
||||
@override
|
||||
String get shareDrawing => 'Share Drawing';
|
||||
|
||||
@override
|
||||
String get shareWithAllNearbyDevices => 'Share with all nearby devices';
|
||||
|
||||
@override
|
||||
String get shareToRoom => 'Share to Room';
|
||||
|
||||
@override
|
||||
String get sendToPersistentStorage => 'Send to persistent room storage';
|
||||
|
||||
@override
|
||||
String get deleteDrawingConfirm =>
|
||||
'Are you sure you want to delete this drawing?';
|
||||
|
||||
@override
|
||||
String get drawingDeleted => 'Drawing deleted';
|
||||
|
||||
@override
|
||||
String yourDrawingsCount(int count) {
|
||||
return 'Your Drawings ($count)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get shared => 'Shared';
|
||||
|
||||
@override
|
||||
String get line => 'Line';
|
||||
|
||||
@override
|
||||
String get rectangle => 'Rectangle';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user