Justin McCandless
4841a7ed6f
Text Selection Overflow (Android) ( #49391 )
...
Adds an overflow menu to the text selection menu on Android when the items overflow.
2020-03-11 13:36:10 -07:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Alexandre Ardhuin
5a8de59a66
refactor generateString to emit simpler dart code ( #49334 )
2020-01-31 11:57:54 +01:00
Shi-Hao Hong
7874bca248
Move localization executables to bin folder ( #46251 )
2019-12-16 17:30:57 -08:00
Alexandre Ardhuin
36e599eb5d
implicit-casts:false in flutter_localizations ( #45241 )
2019-12-11 07:27:13 +01:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* 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
2019-11-27 15:04:02 -08:00
Greg Spencer
a60bf8e23a
Spell check of Flutter docs ( #45200 )
...
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
Shi-Hao Hong
2b498567a4
Sort Localization generation output ( #44743 )
...
* Sort Localization generation output
- When creating locales that were assumed from existing locales, the
file that is used is non-deterministic. This adds a sort to the iterator
to ensure that the same existing locale is used to generate the assumed
locale
- When generating material, cupertino and date localizations, the generated getters were not sorted. This
introduces an alphabetic sort
* remove main.dart.snapshot
2019-11-12 12:50:51 -08:00
Greg Spencer
d39e2bb776
Check in new diffs to material localizations ( #44736 )
...
Updates localizations to match what is now generated. It's unclear what caused the change: it didn't happen because of a flutter PR change, so we're still looking for where the source of the non-determinism is. In the meantime, this will fix the build.
2019-11-12 10:27:58 -08:00
Shi-Hao Hong
877c6a62d0
Localization refresh ( #42025 )
...
* Refresh .arb files
* Refresh localizations
2019-10-14 09:07:06 -07:00
Hans Muller
82f8ded8d2
Add support for the Kannada (kn) locale ( #37026 )
2019-07-29 16:21:19 -07:00
Hans Muller
a632175fde
Update Localizations: added 24 new locales (reprise) ( #36589 )
2019-07-23 09:40:34 -07:00
Hans Muller
5948b3daca
Updated localizations ( #33883 )
2019-06-04 17:49:15 -07:00
xster
51799d3190
Cupertino localization step 12 try 2: push translation for all supported languages ( #32513 )
2019-05-19 04:10:34 -07:00
Kate Lovett
054d9bb2f1
Updating dart.dev related links ( #32641 )
...
* Updating dart.dev related links
* Update packages/flutter_tools/lib/src/base/context.dart
2019-05-14 10:35:00 -07:00
xster
87d9c553f4
Revert "Cupertino localization step 12: push translation for all supported languages ( #31644 )" ( #32470 )
...
This reverts commit 10922df68e
.
2019-05-10 01:08:59 -07:00
xster
10922df68e
Cupertino localization step 12: push translation for all supported languages ( #31644 )
2019-05-09 23:18:56 -07:00
xster
1ac813a5e6
Cupertino localization step 10: update the flutter_localizations README ( #30224 )
2019-05-09 23:17:43 -07:00
xster
aa450d5660
Cupertino localization step 9: add tests ( #29954 )
2019-05-07 11:47:59 -07:00
Furkan Tektas
299ce6e373
Cupertino Turkish Translation ( #32013 )
2019-05-03 11:03:25 -07:00
Dan Field
fe9512fa72
Re-enable const ( #31600 )
...
* Re-enable const
2019-04-29 16:02:42 -07:00
xster
8cfc92465d
CupertinoPicker fidelity revision ( #31464 )
2019-04-25 00:03:04 -07:00
Hans Muller
0ba67226ee
Add support for the Kazakh language ( #31578 )
2019-04-24 17:18:28 -07:00
xster
c7a09a415d
Cupertino localization step 8: create a gen_cupertino_localizations and generate one for cupertino english and french ( #29824 )
2019-04-24 12:40:17 -07:00
xster
5a6c140d0d
Cupertino localization step 7: modularize material specific things out of gen_localizations.dart ( #29822 )
2019-04-10 01:24:58 -07:00
xster
5a4eaabaf1
Cupertino localization step 11: add more translation clarifications in the instructions ( #30527 )
2019-04-09 17:47:44 -07:00
xster
e2b6a3a7a8
Cupertino localization step 6: add a GlobalCupertinoLocalizations base class with date time formatting ( #29767 )
2019-04-08 16:56:58 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev ( #30562 )
2019-04-05 11:39:30 -07:00
xster
d15b3b1c8b
Cupertino localization step 5: add french arb as translated example ( #29708 )
2019-04-04 15:14:46 -07:00
xster
a83f6eadb8
Add needed singular resources for cupertino_en.arb ( #30160 )
2019-04-02 11:25:06 -07:00
xster
f2d671c15c
Cupertino localization step 3: in-place move some material tools around to make room for cupertino ( #29644 )
2019-03-29 15:57:09 -07:00
xster
4b365fb92a
Cupertino localization step 1.5: fix a resource mismatch in cupertino_en.arb ( #29821 )
2019-03-27 15:41:44 -07:00
Abhijeeth Padarthi
475d93a172
Removes unnecessary "new" in documentation ( #29779 )
2019-03-21 22:59:05 -07:00
xster
59ce7d6bff
Make real JSON in arb ( #29463 )
2019-03-18 11:20:10 -07:00
xster
fa149eea9b
Cupertino localization step 1: add an English arb file ( #29200 )
2019-03-15 12:10:35 -07:00
Hans Muller
fb3094a640
Update flutter_localizations translations ( #29247 )
2019-03-12 16:17:58 -07:00
Phil Quitslund
802eca29d2
set literal conversions ( #27811 )
2019-03-06 11:05:16 -08:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
Hans Muller
16fd0eb512
Add Armenian translations ( #27865 )
2019-02-13 08:35:26 -08:00
Hans Muller
796d89a182
Update material Galician (gl) translations filename ( #27604 )
2019-02-06 11:10:50 -08:00
Hans Muller
53ea2fd123
Added support for the Galician language (material_es_GL.arb) ( #27504 )
2019-02-04 14:57:51 -08:00
Hans Muller
ad075dcd3f
Added support for Swahili (material_sw.arb) ( #27506 )
2019-02-04 14:44:37 -08:00
Dan Field
774e8c18e3
remove ignore_for_file lints ( #26545 )
...
* remove ignore_for_file lints
* update comments
* remove example
2019-01-15 08:42:47 -08:00
Hans Muller
9619b53d06
Update localizations ( #25394 )
2018-12-17 10:23:21 -08:00
Hans Muller
5251306886
Updated an obsolete l10n/README reference to MaterialTextGeometry ( #24556 )
2018-11-20 10:21:36 -08:00
Hans Muller
b9400f9a6f
Added support for the Tamil language, locale ta_IN ( #24553 )
2018-11-20 10:20:18 -08:00
Dan Field
77237c0ed1
add missing entry to material_mr.arb ( #24410 )
...
* add missing entry to material_mr.arb
2018-11-15 16:37:14 -08:00
Dan Field
78c5bb2a8e
Make progress indicators accessible ( #24275 )
...
* Make progress indicators accessible
2018-11-15 15:54:56 -08:00
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