Skip to content

Commit

Permalink
weblate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Jan 25, 2024
1 parent c630316 commit 0fc8edf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
arb-dir: lib/l10n
template-arb-file: intl_messages.arb
template-arb-file: en_messages.arb
output-localization-file: app_localizations.dart
2 changes: 1 addition & 1 deletion lib/Frontend/intnDefs.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:intl/intl.dart';

//generate file for translation. Run when adding new translations
//dart run intl_translation:extract_to_arb --locale=en --output-dir=.\lang .\lib\Frontend\intnDefs.dart
//dart run intl_translation:extract_to_arb --locale=en --output-file='./lib/l10n/en_messages.arb' ./lib/Frontend/intnDefs.dart
//convert to dart TODO:
// dart run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intnDefs.dart lib/l10n/intl_*.arb
String title() => Intl.message('Tail App', name: 'title', desc: 'The name of the app');
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/intl_messages.arb → lib/l10n/en_messages.arb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"@@locale": "en",
"@@last_modified": "2024-01-25T15:33:34.724489",
"@@last_modified": "2024-01-25T17:26:33.089227",
"title": "Tail App",
"@title": {
"description": "The name of the app",
Expand Down

0 comments on commit 0fc8edf

Please sign in to comment.