• Shi-Hao Hong's avatar
    Relands "[gen-l10n] Fixes named and positional parameter issue with... · 16913b07
    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: 's avatararish <arishsultan104@gmail.com>
    16913b07
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...