Unverified Commit bec1b734 authored by Shi-Hao Hong's avatar Shi-Hao Hong Committed by GitHub

Cleanup in gen_l10n files (#54401)

parent 16761c75
...@@ -875,7 +875,7 @@ class LocalizationsGenerator { ...@@ -875,7 +875,7 @@ class LocalizationsGenerator {
stdout.writeln('"$locale": ${messages.length} untranslated message(s).'); stdout.writeln('"$locale": ${messages.length} untranslated message(s).');
}); });
stdout.writeln( stdout.writeln(
'To see a detailed report, use the --unimplemented-messages-file \n' 'To see a detailed report, use the --untranslated-messages-file \n'
'option in the tool to generate a JSON format file containing \n' 'option in the tool to generate a JSON format file containing \n'
'all messages that need to be translated.' 'all messages that need to be translated.'
); );
......
...@@ -10,13 +10,10 @@ import 'dart:async'; ...@@ -10,13 +10,10 @@ import 'dart:async';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_localizations/flutter_localizations.dart';
// ignore: unused_import
import 'package:intl/intl.dart' as intl; import 'package:intl/intl.dart' as intl;
@(messageClassImports) @(messageClassImports)
// ignore_for_file: unnecessary_brace_in_string_interps
/// Callers can lookup localized strings with an instance of @(class) returned /// Callers can lookup localized strings with an instance of @(class) returned
/// by `@(class).of(context)`. /// by `@(class).of(context)`.
/// ///
...@@ -44,8 +41,7 @@ import 'package:intl/intl.dart' as intl; ...@@ -44,8 +41,7 @@ import 'package:intl/intl.dart' as intl;
/// # Internationalization support. /// # Internationalization support.
/// flutter_localizations: /// flutter_localizations:
/// sdk: flutter /// sdk: flutter
/// intl: 0.16.0 /// intl: 0.16.1
/// intl_translation: 0.17.7
/// ///
/// # rest of dependencies /// # rest of dependencies
/// ``` /// ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment