Hans Muller
0cc9ee5bf8
Updated Material translations ( #21744 )
...
Replaced about 535 "TBD" translations with the real thing.
Added remainingTextFieldCharacterCountTwo, remainingTextFieldCharacterCountMany, remainingTextFieldCharacterCountFew, to GlobalMaterialLocalizations
2018-09-12 13:03:01 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Jonah Williams
3b309bda07
Add a localization for counter text, separate into own semantic node ( #21029 )
2018-08-28 12:39:24 -07:00
Ian Hickson
b7261586e5
Audit TODO
syntax ( #20837 )
...
Fixes the pattern for some TODOs to match our style guide.
(Also, a couple of minor code order fixes.)
2018-08-21 14:02:11 -07:00
Hans Muller
db58c665a3
Replace Intl.plural() with Intl.pluralLogic() in MaterialLocalizations ( #20314 )
2018-08-08 10:36:38 -07:00
Ian Hickson
75960f35d4
Cleanup in localizations code ( #20018 )
...
The following changes are made by this PR:
* Translation bundles now implement MaterialLocalizations directly,
and are public so that they can be directly extended.
* The list of supported languages is now a generated constant.
* The icuShortTimePattern/TimeOfDayFormat values are now pre-parsed.
* Various other changes for consistency with the style guide and the
rest of the codebase, e.g. the class names don't use `_`, the
`path` library is imported as such, more dartdocs, fewer `//
ignore`s, validation using exceptions.
This reduces our technical debt benchmark.
2018-08-03 16:41:21 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
Michael Goderbauer
02e9afef64
Der Datumsauswahldialog spricht jetzt deutsch ( #20115 )
2018-08-02 01:13:53 -07:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Hans Muller
73960e7569
Added 20 new supported locales to Material ( #19567 )
2018-07-19 14:19:21 -07:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec6752af992d3db0265cf04cc90bfd13.
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Hans Muller
d65acfc867
Updated the material localizations ( #19174 )
2018-07-09 16:47:45 -07:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
Michael Goderbauer
d5a103402c
Expandable Search ( #17629 )
2018-05-24 09:30:37 -07:00
Hans Muller
1396b8139d
Change the Norwegian language code from "no" to "nb" ( #17788 )
2018-05-22 07:47:39 -07:00
Hans Muller
286cdf43f0
Add support for the Malay (ms) locale ( #17121 )
2018-04-30 11:12:25 -07:00
Hans Muller
fee0374f9e
Added Vietnamese translations ( #16896 )
2018-04-23 15:54:17 -07:00
血心
286cd35951
Fix bug for calling isEmpty on null object. ( #16782 )
2018-04-23 13:53:00 -07:00
Jonah Williams
b1ecf1ea9a
Add localizations for navigation menu, popup menu, dialog, and alert ( #16633 )
...
* add localizations for navigation menu, popup menu, dialog, and alert
2018-04-16 14:09:20 -07:00
Hans Muller
076594b3fd
Added Indonesian (id) and Norwegian (no) locales ( #15708 )
2018-03-19 15:07:13 -07:00
Marcin Urbański
2609876c8f
Fix misspelling in tab description ( #15449 )
...
Actual text: "Tab 2 of $3"
Expected text: "Tab 2 of 3"
2018-03-14 16:04:06 -07:00
Hans Muller
f14397ae11
Correct DefaultMaterialLocalizations.delegate supported locales list ( #15260 )
2018-03-08 11:06:31 -08:00
Alexandre Ardhuin
c02b6a8bcf
some whitespace cleanup ( #14443 )
2018-02-02 23:27:29 +01:00
Ali Bitek
50a5e98322
Add support for romanian locale ( #13807 )
2018-01-04 09:14:56 -08:00
Yegor
291602db92
localize a11y tab labels in the TabBar ( #13714 )
...
* localize a11y tab labels in the TabBar
* break import cycle
* test boilerplate
* fix German translation
* more test boilerplate fixes
2017-12-20 17:10:32 -08:00
Yegor
6873608184
Make UserAccountsDrawerHeader accessible ( #13711 )
...
* other accounts a11y; show accounts button a11y
* layout with bigger tap areas; all semantics
* internationalize UserAccountsDrawerHeader a11y labels
* better Russian translation
* break import cycle
* address comments
2017-12-20 17:10:06 -08:00
Hans Muller
31418570a2
Gen localization classes intead of a big map ( #13653 )
...
* Gen localization classes intead of a big map
* tighten up the newlines so that std output matches file output
* restore locale sorting
2017-12-19 14:02:22 -08:00
Hans Muller
12f405578f
Added five new locales to flutter_localizations ( #13621 )
2017-12-19 11:09:50 -08:00
Yegor
235b64ed2f
make date picker accessible ( #13502 )
...
* make date picker accessible
* make test file lookup location-independent
* address some comments
* always wrap in IgnorePointer
* no bitmasks for flags and actions
* recommend List<*>
2017-12-14 20:38:39 -08:00
Michael Goderbauer
f9cf5a1f3d
Add a11y label to modal barrier ( #13543 )
2017-12-14 15:03:51 -08:00
Yegor
b80751cdc3
Make time picker accessible ( #13152 )
...
* make time picker accessible
* use new CustomPaint a11y API
* flutter_localizations tests; use bigger distance delta
* fix am/pm control; selected values
* fix translations; remove @mustCallSuper in describeSemanticsConfiguration
* exclude AM/PM announcement from iOS as on iOS the label is read back automatically
2017-12-08 14:29:28 -08:00
Ian Hickson
d6f496cab8
Localize the Chip delete button's default tooltip ( #13312 )
...
...and document what I did.
2017-12-04 12:59:48 -08:00
Greg Spencer
0259be90b8
Fix spelling errors in all the dartdocs. ( #13061 )
...
I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
2017-11-17 10:05:21 -08:00
Yegor
f4b0ccd9fd
Use alwaysUse24HourFormat when formatting time of day ( #12517 )
...
* alwaysUse24HourFormat in MediaQuery and time picker
* docs; dead code
* address some comments
* MaterialLocalizations.timeOfDayFormat is the single source of 24-hour-formattedness
* Make TimePickerDialog private again
* wire up MediaQueryData.fromWindow to Window
2017-11-01 14:52:28 -07:00
Yegor
41bd66f210
remove locale "sd" (not supported by ICU/CLDR); unify localizations script options ( #12803 )
...
* remove locale "sd" (not supported by ICU/CLDR); unify localizations scripts CLI
* address comments
2017-10-31 20:23:58 -07:00
Yegor
9b5d663efa
Upgrade intl: use the new API for locale data and localized numerals ( #12736 )
...
* upgrade intl data; use local numerals in date picker
* use the shiny new public intl API
* address comments
2017-10-26 13:42:49 -07:00
Yegor
3206fb63ad
Generate date localizations ( #12466 )
...
* merge with Hans; address comments
* merge material_localizations.dart
2017-10-23 15:30:34 -07:00
Alexandre Ardhuin
1fce14a31c
enable lint prefer_single_quotes ( #12665 )
2017-10-22 18:11:36 +02:00
Hans Muller
796c5439f6
Language-specific LocalizationDelegates ( #12645 )
2017-10-20 10:45:28 -07:00
Hans Muller
c3d56b1dad
flutter_localization optional package ( #12410 )
2017-10-11 16:01:13 -07:00