Alex Li
4ae2d3b6df
🔥 Do not format the messages file for gen-l10n
( #119596 )
...
* 🔥 Do not format the messages file
* ✅ Add test
* ✅ Add the link to the test
* ✅ Respect the path separator from the file system
* ✅ Add the untranslated messages file existence test
2023-02-01 23:45:38 +00:00
Jackson Gardner
db1c3e208d
Platform binaries reland ( #115502 )
...
You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified.
This also uses precompiled platform kernel files for both ddc and dart2js
2022-12-02 14:13:40 -08:00
Tae Hyung Kim
7802c7acd8
[gen_l10n] Improvements to gen_l10n
( #116202 )
...
* init
* fix tests
* fix lint
* extra changes
* oops missed some merge conflicts
* fix lexer add tests
* consistent warnings and errors
* throw error at the end
* improve efficiency, improve code generation
* fix
* nit
* fix test
* remove helper method class
* two d's
* oops
* empty commit as google testing won't pass :(
2022-11-30 15:07:06 -08:00
Tae Hyung Kim
39a73cabed
Add Escaping Option for ICU MessageFormat Syntax ( #116137 )
...
* init
* make more descriptive
* fix lint
2022-11-28 19:35:06 -08:00
Tae Hyung Kim
646666f8e7
[gen_l10n] Add option to format generated localizations files ( #109171 )
...
* init
* fix
* fix 2
* fix 3
* tests
* fix tests
* clarify help text
* fix all tests
* fix formatting?
* add second test
* unused import
* remove print
* trailing spaces
* artifacts is never null
* fix
2022-08-19 14:03:42 -07:00
Tae Hyung Kim
001c499f24
[gen_l10n] Warn users when placeholder types are converted to 'num' when using pluralization ( #108036 )
...
* init
* asdf
* fix tests
* change warning slightly
* fix test again
* fix spacing and comment
* fix lint
2022-07-26 14:13:06 -07:00
Aman Verma
f86dfdd2b7
[flutter_tools] boolArg refactor ( #102088 )
2022-05-09 21:54:08 -07:00
Jesús S Guerrero
596e9d1c47
[flutter_tools] stringArg refactor ( #103231 )
2022-05-09 09:54:12 -07:00
Taha Tesser
d6d3283c8d
Fix flutter gen-l10n help message ( #98147 )
2022-02-11 01:40:14 -08:00
Jenn Magder
5be462f550
Migrate doctor, format, and a few other commands to null safety ( #92952 )
2021-11-03 17:36:32 -07:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Pierre-Louis
3e43c3e110
Categorize flutter tool commands ( #87747 )
2021-10-05 17:28:04 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Jenn Magder
b4175e9b86
Refactor LocalizationsGenerator initialize instance method into factory ( #80605 )
2021-04-19 20:24:04 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Shi-Hao Hong
134aa8e9da
[gen-l10n] Add nullable-getter
flag ( #79263 )
2021-03-29 20:59:04 -07:00
Ian Hickson
ce318b7b53
All arguments must be documented. ( #75888 )
2021-02-14 12:56:05 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Shi-Hao Hong
a912030982
[gen_l10n] Use l10n.yaml file instead of command line arguments if it exists ( #72950 )
...
* Reorganize files
* Use l10n.yaml instead of command line args
2021-01-05 11:50:32 +08:00
Shi-Hao Hong
a1a096e35a
[gen-l10n] Fix untranslated messages ( #68553 )
2020-11-05 16:24:02 -08:00
Shi-Hao Hong
0963d72582
Make resource attributes optional for simple cases ( #68774 )
2020-11-05 08:11:53 +08:00
Tim Sneath
b8397f69d3
Improve consistency of top-level help text ( #66748 )
2020-09-27 15:12:03 -07:00
Herbert Poul
8dfd42f6b7
[gen_l10n] Support string list as preferred-supported-locales ( #63649 )
...
* [gen_l10n] Support string list as preferred-supported-locales, as documented.
* [gen_l10n] Convert preferredSupportedLocale to a list of strings.
* [gen_l10n] Accept a multi option instead of a json string in the command line.
2020-09-10 07:32:40 +08:00
Shi-Hao Hong
b80b432555
Move gen_l10n into flutter_tools ( #65025 )
2020-09-03 09:26:58 -07:00