- 17 Mar, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 12 Mar, 2020 1 commit
-
-
Shi-Hao Hong authored
* Fix suppportedLocales list * Refactor integration tests for gen_l10n tool to catch exceptions
-
- 11 Mar, 2020 1 commit
-
-
Shi-Hao Hong authored
* Expose --header and --header-file arguments for gen_l10n
-
- 05 Mar, 2020 1 commit
-
-
Flutter GitHub Bot authored
-
- 25 Feb, 2020 1 commit
-
-
Hans Muller authored
-
- 14 Feb, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Feb, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 05 Feb, 2020 1 commit
-
-
Hans Muller authored
-
- 31 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 29 Jan, 2020 1 commit
-
-
Hans Muller authored
-
- 28 Jan, 2020 1 commit
-
-
Hans Muller authored
-
- 22 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Jan, 2020 1 commit
-
-
Hans Muller authored
-
- 10 Jan, 2020 1 commit
-
-
Shi-Hao Hong authored
* Add currency formatting for l10n tool, fix positional vs named params
-
- 08 Jan, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Dec, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add preferred-supported-locales option to gen_l10n.dart executable
-
- 21 Dec, 2019 1 commit
-
-
Shi-Hao Hong authored
* Handle simple placeholders in plurals * Handle Date plural placeholders * Improve variable names * Turn assert into exceptions, add tests
-
- 19 Dec, 2019 3 commits
-
-
Alexandre Ardhuin authored
-
Lau Ching Jun authored
This reverts commit c235998a.
-
Alexandre Ardhuin authored
-
- 17 Dec, 2019 1 commit
-
-
Shi-Hao Hong authored
* Implement date parsing for the gen_l10n tool
-
- 13 Dec, 2019 2 commits
-
-
Shi-Hao Hong authored
-
Shi-Hao Hong authored
* Add tests for sorting arbPathString, supportedLocales and supportedLanguageCodes alphabetically * Plural arbPathStrings * Factor out singleZhMessageArbFileString * Make translations more accurate and generic
-
- 06 Dec, 2019 1 commit
-
-
Shi-Hao Hong authored
* 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
-
- 05 Dec, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 19 Nov, 2019 1 commit
-
-
Per Classon authored
* Allow plural localized strings to not specify every case
-
- 13 Nov, 2019 2 commits
-
-
Shi-Hao Hong authored
* Canonicalize locale string for gen_l10n.dart script * Refresh stocks example to use canonicalized locale
-
Shi-Hao Hong authored
* Sort locales and method/properties/getters alphabetically * Refresh stocks example to show proper sorting
-
- 11 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add check for placeholders being an empty map * Remove unnecessary properties from en_ES.arb in the stocks example * Use getter instead of methods in the stocks example * Fixed "annotating types for function expression parameters" lint issue from generated localizations delegate code
-
- 09 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
* Use raw string for l10n description * Stock app refresh
-
- 07 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
* Add pubspec.yaml comment * Add --help flag
-
- 06 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
* Use l10n tool to generate stocks i18n files * Rename *_en_EN.arb to *_en_US.arb * Fix l10n script
-
- 05 Nov, 2019 1 commit
-
-
Shi-Hao Hong authored
*Starting with arb files in lib/l10n, the tool creates the following by default: 1. An AppLocalizations class containing: - an `AppLocalizationsDelegate` - a `supportedLocales` property that returns a list of all supported locales. - a `localizationsDelegate` property that returns a list containing this delegate along with `GlobalMaterialLocalizations.delegate`, `GlobalCupertinoLocalizations.delegate`, and `GlobalWidgetsLocalizations.delegate`. 2. One Dart `message_<locale>.dart` file for each arb file, as well as a `messages_all.dart` file that performs the locale message lookup. The tool infers the locale of each arb file from the @@Locale property or the arb file's name.
-