Skip to content

Commit

Permalink
Build: move l10n into common
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackiu1997 committed Feb 18, 2023
1 parent ae80898 commit 0d294af
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/index.dart
@@ -1,7 +1,7 @@
library common;

export 'api/index.dart';
export '../generated/l10n.dart';
export 'l10n/generated/l10n.dart';
export 'models/index.dart';
export 'services/index.dart';
export 'style/index.dart';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions pubspec.yaml
Expand Up @@ -146,6 +146,8 @@ flutter:
# see https://flutter.dev/custom-fonts/#from-packages
flutter_intl:
enabled: true
arb_dir: lib/common/l10n
output_dir: lib/common/l10n/generated

# windows msix package
msix_config:
Expand Down

0 comments on commit 0d294af

Please sign in to comment.