mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
- 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.
17 lines
451 B
JSON
17 lines
451 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"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": []
|
|
}
|
|
}
|