Commit Graph

221 Commits

Author SHA1 Message Date
Hans Muller
70d83cc7ac
Add support for the Marathi language, locale mr_IN (#24353) 2018-11-14 15:42:51 -08:00
Gary Qian
aab9244791
scriptCode support in gen_localizations and strip scriptCodes for date l10n. (#23853) 2018-11-08 10:43:40 -08:00
Ian Hickson
f9374fe071
Update the URL to the recommend bug report (#23708)
We have templates now.
2018-11-07 17:12:35 -08:00
Hans Muller
7245c4a6f6
Warn about supported locales that lack localizations (#23850) 2018-11-05 12:39:31 -08:00
Hans Muller
047f9a9e03
Updated supportedLocales doc, etc (#23683) 2018-10-29 17:09:26 -07:00
Hans Muller
cef11417da
Added Mongolian (mn) translations (#23168) 2018-10-16 14:58:02 -07:00
Hans Muller
8521d6334f
Updated Khmer and Turkish translations (#23165) 2018-10-16 14:57:37 -07:00
matthew-carroll
04a26778c5
Revert "Reversion for roll (#22984)" (#23029)
This reverts commit 80f80ab08c.
2018-10-12 16:31:34 -07:00
matthew-carroll
80f80ab08c
Reversion for roll (#22984)
For G3 Roll:

* Revert "MaterialButton must honor its minWidth and height parameters (#22919)"

This reverts commit a02332335a.

* Revert "Update uses of ButtonTheme.bar: pass along the current Theme's colorScheme (#22827)"

This reverts commit 655bf6a290.

* Revert "ButtonTheme.of().colorScheme defers to Theme (#22880)"

This reverts commit a590940e45.

* Revert "Bring TextTheme into alignment with the current Material spec (#22330)"

This reverts commit 8bfb4b3ee5.

* Revert "Added ColorScheme, updated ThemeData, ButtonTheme, material buttons (#22013)"

This reverts commit eea3465ae7.

* Manual adjustments to fix reversion issues.
2018-10-11 18:17:46 -07:00
Hans Muller
8bfb4b3ee5
Bring TextTheme into alignment with the current Material spec (#22330) 2018-10-09 17:00:15 -07:00
Hans Muller
3a87b93fce
Added support for the Khmer (km) language (#22617) 2018-10-03 11:14:56 -07:00
Alexandre Ardhuin
5de96bb734
unnecessary this in field initializers (#22522) 2018-10-02 17:14:59 +02:00
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
Hans Muller
be601c26a5
Correct gen_date_localizations.dart supported locales computation (#20920) 2018-08-23 11:56:33 -07:00
Jonah Williams
09fe34708f
Add localization for expand icon collapse/expand tap hint (#20766) 2018-08-22 10:20:51 -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
David Shuckerow
99d5ef903c
Add custom actions to the reorderable list (#20108) 2018-08-07 12:48:23 -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 cc1cf13eec.
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
fbf9044867
Update translation descriptions: alertDialogLabel, searchFieldLabel (#19234) 2018-07-12 08:21:59 -07: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
Adrian Secord
1680e55c02 Updated links to Material design guidelines to use short links. (#17077) 2018-04-30 20:29:46 -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
0038a2b21c
Updated the material_en.arb description for signedIn (#15306) 2018-03-08 15:42:29 -08:00
Hans Muller
f14397ae11
Correct DefaultMaterialLocalizations.delegate supported locales list (#15260) 2018-03-08 11:06:31 -08:00
Hans Muller
ea155df91e
Roll localizations (#15269) 2018-03-08 11:06:09 -08:00
Josh Soref
c5a5945e92 Spelling (#15229)
* spelling: accommodate

* spelling: allotted

* spelling: anonymous

* spelling: artificial

* spelling: associated

* spelling: asset

* spelling: button

* spelling: canvas

* spelling: compatibility

* spelling: coverage

* spelling: condition

* spelling: decoration

* spelling: deferring

* spelling: diameter

* spelling: direction

* spelling: displacement

* spelling: dropdown

* spelling: needing

* spelling: environment

* spelling: exited

* spelling: expansion

* spelling: explore

* spelling: families

* spelling: horizontal

* spelling: increment

* spelling: indices

* spelling: internationalization

* spelling: labrador

* spelling: localizations

* spelling: midflight

* spelling: milliseconds

* spelling: minimum

* spelling: multiple

* spelling: multiplication

* spelling: navigator

* spelling: overridden

* spelling: package

* spelling: performance

* spelling: platform

* spelling: porsche

* spelling: position

* spelling: preceded

* spelling: precede

* spelling: precedence

* spelling: print

* spelling: property

* spelling: readily

* spelling: reproducibility

* spelling: rounded

* spelling: scroll

* spelling: separate

* spelling: separator

* spelling: services

* spelling: specific

* spelling: specify

* spelling: synchronously

* spelling: through

* spelling: timeout

* spelling: triangle

* spelling: trivial

* spelling: unusual

* spelling: then

* spelling: vertically

* spelling: visible

* spelling: visited

* spelling: voice
2018-03-06 21:36:03 -08:00
Alexandre Ardhuin
3c379aaf43
whitespace cleanup (#14458) 2018-02-05 22:20:21 +01:00
Alexandre Ardhuin
c02b6a8bcf
some whitespace cleanup (#14443) 2018-02-02 23:27:29 +01:00
Hans Muller
e63a63784c
Fix dartdoc errors in generated localization code and RenderEditable (#14132) 2018-01-17 08:37:02 -08:00
Vyacheslav Egorov
b1248de5e3
Strong mode fix for datePatterns in material localizations (#14117)
Code that uses dataPatterns[loc] expects it to contain Map<String, String>, not Map<String, dynamic>.

Change gen_date_localizations.dart to generate datePatterns with a more precise type and regenerate date_localizations.dart.
2018-01-16 21:23:19 +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
Hans Muller
7ce486efa2
Updated flutter_localizations (#13229) 2017-11-29 08:27:17 -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
Hans Muller
b6fb4a8a87
Improved l10 message descriptions (#13016) 2017-11-14 11:00:05 -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
Hans Muller
7987dfe965
Revised the English translation definitions (#12812) 2017-11-01 10:19:43 -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
Chris Bracken
17db2d2335 Fix nextMonthTooltip Japanese translation (#12540) 2017-10-13 16:38:24 -07:00
amirh
72c8d9b4c2 Fix Hebrew translations (#12502) 2017-10-12 09:18:12 -07:00
Julian
8f7c5c700f Fix Italian translations (#12506)
Fix Italian translations for CUT and COPY.
2017-10-12 09:03:28 -07:00
Hans Muller
c3d56b1dad flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00