Alexandre Ardhuin
7d7ac7c32b
start multiline strings with newline ( #50825 )
2020-02-20 10:16:28 +01:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Shi-Hao Hong
5dfa8e9c05
Remove redundant gen_l10n tests ( #50301 )
2020-02-07 13:59:45 -08:00
Alexandre Ardhuin
b953c3e5a8
use raw strings to avoid escaping ( #50322 )
2020-02-07 16:35:55 +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
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
Hans Muller
7539826d7b
Update gen_l10n handling of plurals, numbers, and dates ( #49357 )
2020-01-27 16:18:02 -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
c525988c8c
Reorganize tests in l10n tool ( #47704 )
2020-01-08 12:29:18 -08:00
Shi-Hao Hong
b038b40941
gen_l10n Number Format Handling ( #47706 )
2020-01-07 22:38:02 -08: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
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
2eed59c1d5
Add gen_l10n sorting tests ( #46247 )
...
* Add tests for sorting arbPathString, supportedLocales and supportedLanguageCodes alphabetically
* Plural arbPathStrings
* Factor out singleZhMessageArbFileString
* Make translations more accurate and generic
2019-12-13 10:03:56 -08:00
Shi-Hao Hong
37e66b2179
gen_l10n.dart tool testing ( #44856 )
...
* Add tests to gen_l10n.dart tool
* Separate out LocalizationsGenerator class to improve testability of code
* Add testing dependencies to dev/tools
* Integrate dev/tools testing to flutter CI
* Restructure dev/tools folder for testing
* Fix license headers
2019-12-06 11:35:08 -08:00