Skip to content

Commit

Permalink
Merge pull request #62 from akaMrNagar/dev
Browse files Browse the repository at this point in the history
Migrated from synthetic package localization generation
  • Loading branch information
akaMrNagar authored Feb 18, 2025
2 parents c5b8e85 + 8acecc8 commit b04459d
Show file tree
Hide file tree
Showing 11 changed files with 4,836 additions and 7 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ android {
ndk {
debugSymbolLevel 'full'
}
resValue "string", "app_name", "Mindful"
signingConfig = signingConfigs.release
}

Expand Down
4 changes: 3 additions & 1 deletion l10n.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
fallback-locale: 'en'
nullable-getter: false
synthetic-package: false
arb-dir: lib/l10n
output-dir: lib/l10n/generated
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
nullable-getter: false
untranslated-messages-file: untranslated_strings.json
2 changes: 1 addition & 1 deletion lib/core/extensions/ext_build_context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';
import 'package:mindful/core/extensions/ext_num.dart';
import 'package:mindful/config/app_constants.dart';
import 'package:mindful/l10n/generated/app_localizations.dart';
import 'package:mindful/ui/common/styled_text.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

extension ExtBuildContext on BuildContext {
/// Returns the [AppLocalizations] instance for the current context.
Expand Down
Loading

0 comments on commit b04459d

Please sign in to comment.