-
Shi-Hao Hong authored
Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346) *
➕ Added a new template for [NumberFo rmat] with positional parameter(s) *🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate] * [gen-l10n] Fixed generation error for namedParameters and optionalParameters * [gen-l10n] Fixed string value generation for optional parameter * [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters. *🔨 Removed trailing whitespaces *🔨 replaced [_generateStringParameterValue] with [generateString] *🔨 Specified variable types in NumberFormat templates. *➕ Added a new template for [NumberFo rmat] with positional parameter(s) *🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate] * [gen-l10n] Fixed generation error for namedParameters and optionalParameters * [gen-l10n] Fixed string value generation for optional parameter * [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters. *🔨 Removed trailing whitespaces *🔨 replaced [_generateStringParameterValue] with [generateString] *🔨 Specified variable types in NumberFormat templates. * [gen-l10n]✅ added test for parameter having special characters in string value. * Accidental tab added to integration test Co-authored-by:arish <arishsultan104@gmail.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bin | ||
| doc | ||
| gradle | ||
| ide_templates/intellij | ||
| lib | ||
| static | ||
| templates | ||
| test | ||
| tool | ||
| README.md | ||
| analysis_options.yaml | ||
| dart_test.yaml | ||
| pubspec.yaml |