Darren Austin
b4788f290c
Updated gen_missing_localizations to copy the english strings instead of using 'TBD' for other locales. ( #57053 )
2020-05-14 11:12:05 -07:00
Shi-Hao Hong
eadd30eb6c
Improve arb FormatException error message ( #56373 )
2020-05-07 18:09:03 -07:00
Shi-Hao Hong
13501af6e6
[gen_l10n] Optionally generate list of inputs/outputs ( #56490 )
2020-05-07 11:46:02 -07:00
Shi-Hao Hong
c01c46c896
Test to ensure _kn.arb files are properly escaped ( #56091 )
...
* Run encode kn character encoding tool when gen_localizations is run
* Add test that ensures *_kn.arb files are properly encoded/escaped in order to be checked in
* Fix *_no.arb test to not incorrectly pass
2020-05-01 18:13:55 -07:00
Hans Muller
b039fc7c09
Fixed a typo ( #56146 )
2020-05-01 15:39:02 -07:00
Shi-Hao Hong
de4f052703
[gen_l10n] Fix unintended breaking change introduced by output-dir option ( #55909 )
...
* Fix breaking change introduced by gen_l10n output-dir option
2020-04-28 16:25:59 -07:00
Shi-Hao Hong
9d7af39a5b
[gen_l10n] Output directory option ( #55792 )
...
* Add new output-dir option for gen_l10n tool
2020-04-28 13:10:27 -07:00
Shi-Hao Hong
bec1b734bd
Cleanup in gen_l10n files ( #54401 )
2020-04-10 10:35:33 -07:00
Per Classon
4451ffca23
Add option for deferred loading to gen_l10n ( #53824 )
2020-04-09 03:57:01 -07:00
Shi-Hao Hong
5d63637e43
[gen_l10n] Fallback feature for untranslated messages ( #53374 )
...
* Generate methods using template resources if they do not exist in other locales
* Added a flag to either output of messages that have not been translated with detail into a file, or display a summary on the terminal.
* Add integration test for fallback message usage
2020-04-08 18:55:50 -07:00
Shi-Hao Hong
592f7886e5
Remove escape dollar parameter in localizations_utils ( #54219 )
2020-04-08 12:52:03 -07:00
Per Classon
e8d2907595
[gen_l10n] Handle single, double quotes, and dollar signs in strings ( #54185 )
2020-04-07 12:21:02 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
Shi-Hao Hong
4e811d2819
[gen_l10n] Fix plural parsing for translated messages ( #53954 )
2020-04-03 15:46:01 -07:00
Shi-Hao Hong
365528aad6
Use no
locale as synonym for nb
( #53880 )
2020-04-03 11:56:02 -07:00
Shi-Hao Hong
6837b0e353
[gen_l10n] Add scriptCode handling ( #53868 )
...
* [gen_l10n] Add scriptCode handling
2020-04-03 09:46:01 -07:00
Shi-Hao Hong
19e7db585d
[gen_l10n] Escape special JSON characters in generateString utility function ( #53605 )
2020-04-01 11:16:01 -07:00
gaaclarke
83a74e11d2
Started caching results from iana. ( #53286 )
2020-03-25 18:16:02 -07:00
Darren Austin
142b526f1b
Material Date Picker redesign ( #50546 )
...
Date Picker UI redesign
2020-03-24 18:44:57 -07:00
Shi-Hao Hong
351457cdd0
[gen_l10n] Separate out AppLocalizations classes and subclasses by language code ( #52335 )
2020-03-17 08:46:02 -07:00
Shi-Hao Hong
183da8f837
[gen_l10n] Fix suppportedLocales list ( #52448 )
...
* Fix suppportedLocales list
* Refactor integration tests for gen_l10n tool to catch exceptions
2020-03-12 12:58:13 -07:00
Shi-Hao Hong
96fd143cd7
[gen_l10n] Optional Headers ( #52125 )
...
* Expose --header and --header-file arguments for gen_l10n
2020-03-11 13:55:54 -07:00
Flutter GitHub Bot
9c5009b251
[gen_l10n] Escape quote characters in ARB files ( #51952 )
2020-03-04 20:41:03 -08:00
Shi-Hao Hong
c98500dea3
Update gen_l10n tool to require base locale; Stocks app refresh ( #51602 )
2020-02-28 22:21:01 -08:00
Hans Muller
13e1336e6c
Generate message lookup in gen_l10n ( #50733 )
2020-02-24 20:17:13 -08:00
Alexandre Ardhuin
0bd45bc222
update lint list + enable unnecessary_string_interpolations ( #50593 )
2020-02-14 09:43:52 +01:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Alexandre Ardhuin
5c28e3eeea
unnecessary escapes fixes ( #50178 )
...
* unnecessary escapes fixes
* replace some strings with raw strings
* update regexp
* address review comments
2020-02-07 06:35:50 +01:00
Hans Muller
82c00c915c
Move the localization_utils camelCase function to LocaleInfo ( #50152 )
2020-02-05 06:35:49 -08:00
Hans Muller
c3e0f2d462
Add Message.isPlural, Message.getCountPlaceholder() to gen_l10n_types ( #50132 )
2020-02-05 06:35:29 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Alexandre Ardhuin
5a8de59a66
refactor generateString to emit simpler dart code ( #49334 )
2020-01-31 11:57:54 +01:00
Hans Muller
3f2c6ea724
Integration test for the gen_l10n tool ( #49586 )
2020-01-29 12:45:03 -08:00
Dan Field
fabeb2a16f
Revert string interp ( #49602 )
2020-01-28 07:56:51 -08:00
Darren Austin
9980d6e550
Script to generate missing localization resources ( #49379 )
...
Added a new script to generate missing localizations for use when adding new localizations to the Flutter framework.
2020-01-27 17:50:59 -08:00
Hans Muller
7539826d7b
Update gen_l10n handling of plurals, numbers, and dates ( #49357 )
2020-01-27 16:18:02 -08:00
Alexandre Ardhuin
92cbaa3efe
remove unnecessary string interpolations ( #49352 )
2020-01-23 20:43:01 -08:00
Alexandre Ardhuin
3800bb7b10
fix missing spaces in adjacent strings ( #49159 )
2020-01-21 16:43:03 -08:00
Hans Muller
667c38d551
gen_l10n: generated Intl.message parameter should be an ordinary string ( #48929 )
2020-01-16 07:20:38 -08:00
Shi-Hao Hong
47bba44920
L10n Currency Formatting, Fixes to Named vs Positional Parameters ( #48445 )
...
* Add currency formatting for l10n tool, fix positional vs named params
2020-01-10 14:19:40 -08:00
Shi-Hao Hong
b038b40941
gen_l10n Number Format Handling ( #47706 )
2020-01-07 22:38:02 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Shi-Hao Hong
173322dc78
Support preferred locales for gen_l10n ( #47845 )
...
* Add preferred-supported-locales option to gen_l10n.dart executable
2019-12-30 11:22:01 -08:00
Shi-Hao Hong
88cd1135bf
Handle plural gen_l10n regular placeholders and DateTime placeholders ( #47483 )
...
* Handle simple placeholders in plurals
* Handle Date plural placeholders
* Improve variable names
* Turn assert into exceptions, add tests
2019-12-20 16:22:44 -08:00
Alexandre Ardhuin
78db965642
Reland implicit-casts: false ( #47431 )
2019-12-19 02:23:01 -08:00
Lau Ching Jun
a4858782da
Revert "implicit-casts: false ( #47199 )" ( #47428 )
...
This reverts commit c235998acf
.
2019-12-18 23:53:00 -08:00
Alexandre Ardhuin
c235998acf
implicit-casts: false ( #47199 )
2019-12-18 23:23:01 -08:00
Shi-Hao Hong
c319f5f8d8
gen_l10n localizations date formatting (simple messages) ( #47006 )
...
* Implement date parsing for the gen_l10n tool
2019-12-17 14:03:43 -08:00
Shi-Hao Hong
7874bca248
Move localization executables to bin folder ( #46251 )
2019-12-16 17:30:57 -08:00
Shi-Hao Hong
e7fec2bc33
Add helpful message about how to use localizationsDelegates list ( #46250 )
2019-12-13 12:00:35 -08:00