mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Add Croatian and Slovenian localizations, implement locale preferences, and update settings screen
- Created `app_localizations_hr.dart` and `app_localizations_sl.dart` for Croatian and Slovenian translations. - Added `app_sl.arb` file for Slovenian localization strings. - Enhanced `main.dart` to support locale selection and initialization. - Updated `home_screen.dart` and `settings_screen.dart` to handle locale changes and display current language. - Implemented `locale_preferences.dart` service for managing locale settings using SharedPreferences. - Modified `pubspec.yaml` to include `flutter_localizations` and enable localization file generation.
This commit is contained in:
@@ -1,54 +1,14 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(flutter analyze:*)",
|
||||
"Bash(flutter devices:*)",
|
||||
"Bash(flutter build:*)",
|
||||
"Bash(flutter install:*)",
|
||||
"Bash(open:*)",
|
||||
"Bash(xcrun devicectl device uninstall app:*)",
|
||||
"Bash(pod repo update:*)",
|
||||
"Bash(pod install)",
|
||||
"Bash(flutter clean:*)",
|
||||
"Bash(flutter pub get:*)",
|
||||
"Bash(flutter run:*)",
|
||||
"Bash(nc:*)",
|
||||
"Bash(pkill:*)",
|
||||
"WebFetch(domain:github.com)",
|
||||
"WebFetch(domain:raw.githubusercontent.com)",
|
||||
"Bash(dart run:*)",
|
||||
"Bash(dart test_sar_debug.dart:*)",
|
||||
"Read(//Users/dz0ny/meshcore-sar/MeshCore/**)",
|
||||
"Bash(cat:*)",
|
||||
"Read(//Users/dz0ny/.pub-cache/hosted/pub.dev/**)",
|
||||
"Bash(find:*)",
|
||||
"Read(//Users/dz0ny/meshcore-sar/**)",
|
||||
"Bash(git grep:*)",
|
||||
"Bash(dart analyze:*)",
|
||||
"Bash(flutter logs --clear)",
|
||||
"Bash(for file in /Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/contacts_provider.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/connection_provider.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/messages_provider.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/messages_tab.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/map_management_screen.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/home_screen.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_connection_manager.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_response_handler.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_command_sender.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/meshcore_ble_service.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/contact_storage_service.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/message_storage_service.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/cayenne_lpp_parser.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/tile_cache_service.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/background_location_service.dart )",
|
||||
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/widgets/contacts/room_login_sheet.dart)",
|
||||
"Bash(do)",
|
||||
"Bash(if grep -q \"debugPrint(\" \"$file\")",
|
||||
"Bash(! grep -q \"import.*debug_print.dart\" \"$file\")",
|
||||
"Bash(then)",
|
||||
"Bash(echo:*)",
|
||||
"Bash(fi)",
|
||||
"Bash(done)"
|
||||
"Bash(flutter gen-l10n:*)",
|
||||
"Bash(flutter pub run:*)",
|
||||
"Bash(flutter pub run build_runner build:*)",
|
||||
"Bash(flutter packages pub run intl_translation:generate_from_arb:*)",
|
||||
"Bash(dart pub global activate:*)",
|
||||
"Bash(dart pub global run intl_utils:generate:*)",
|
||||
"Bash(dart pub global deactivate:*)",
|
||||
"Bash(flutter precache:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
Reference in New Issue
Block a user