Fix ISSUE_TEMPLATE Ordering: 10 < 9
, but 10 > 09
(#166455)
Unfortunately `10_google3_bug.yml` comes before `2_bug.yml`. This changes the name (slightly) of the issue templates based on the instructions from GitHub on what to do when you have 10+ issue templates (as a side-note: I wonder if we need/still use umbrella bugs for the feature tracker, or two types of performance bugs)
This commit is contained in:
parent
e359812a51
commit
997f742ac5
@ -171,7 +171,7 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t
|
|||||||
>&2 echo
|
>&2 echo
|
||||||
>&2 echo "It appears that the downloaded file is corrupt; please try again."
|
>&2 echo "It appears that the downloaded file is corrupt; please try again."
|
||||||
>&2 echo "If this problem persists, please report the problem at:"
|
>&2 echo "If this problem persists, please report the problem at:"
|
||||||
>&2 echo " https://github.com/flutter/flutter/issues/new?template=1_activation.yml"
|
>&2 echo " https://github.com/flutter/flutter/issues/new?template=01_activation.yml"
|
||||||
>&2 echo
|
>&2 echo
|
||||||
rm -f -- "$DART_SDK_ZIP"
|
rm -f -- "$DART_SDK_ZIP"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -2,7 +2,7 @@ If you want to write a design doc for people to review, we recommend using Googl
|
|||||||
We have a template you can use, at [flutter.dev/go/template](https://flutter.dev/go/template). It describes the process for minting a `flutter.dev/go/foo` shortlink for your design doc.
|
We have a template you can use, at [flutter.dev/go/template](https://flutter.dev/go/template). It describes the process for minting a `flutter.dev/go/foo` shortlink for your design doc.
|
||||||
We recommend you use that template so that people can immediately recognize that this is a Flutter design document and that it is shared publicly.
|
We recommend you use that template so that people can immediately recognize that this is a Flutter design document and that it is shared publicly.
|
||||||
|
|
||||||
After you have created your design doc, the next step is to create a tracking GitHub issue for it. File a new issue to track the design doc using [the design doc issue template](https://github.com/flutter/flutter/issues/new?template=7_design_doc.yml). Assign it to yourself. Add the label "design doc" to the issue.
|
After you have created your design doc, the next step is to create a tracking GitHub issue for it. File a new issue to track the design doc using [the design doc issue template](https://github.com/flutter/flutter/issues/new?template=07_design_doc.yml). Assign it to yourself. Add the label "design doc" to the issue.
|
||||||
|
|
||||||
Don't forget to configure your document's Sharing settings so that everyone has comment access. The idea of sharing the document in this way is not necessarily to proactively obtain feedback from the entire community; it is to make it _possible_ for people to share the document with anyone in the community, whether they work for your employer or not, and whether you have personally shared the document with them yet or not.
|
Don't forget to configure your document's Sharing settings so that everyone has comment access. The idea of sharing the document in this way is not necessarily to proactively obtain feedback from the entire community; it is to make it _possible_ for people to share the document with anyone in the community, whether they work for your employer or not, and whether you have personally shared the document with them yet or not.
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ The bulk of communication happens on [Discord].
|
|||||||
[flutter-hackers]: https://github.com/orgs/flutter/teams/flutter-hackers
|
[flutter-hackers]: https://github.com/orgs/flutter/teams/flutter-hackers
|
||||||
[golden test build breakage]: /docs/contributing/testing/Writing-a-golden-file-test-for-package-flutter.md#build-breakage
|
[golden test build breakage]: /docs/contributing/testing/Writing-a-golden-file-test-for-package-flutter.md#build-breakage
|
||||||
[new issue]: https://github.com/flutter/flutter/issues/new/choose
|
[new issue]: https://github.com/flutter/flutter/issues/new/choose
|
||||||
[new infra issue]: https://github.com/flutter/flutter/issues/new?template=6_infrastructure.yml
|
[new infra issue]: https://github.com/flutter/flutter/issues/new?template=06_infrastructure.yml
|
||||||
|
|
||||||
[Framework build dashboard]: https://flutter-dashboard.appspot.com/#/build
|
[Framework build dashboard]: https://flutter-dashboard.appspot.com/#/build
|
||||||
[framework benchmarks]: https://flutter-flutter-perf.skia.org/e/
|
[framework benchmarks]: https://flutter-flutter-perf.skia.org/e/
|
||||||
|
@ -24,7 +24,7 @@ An example build: [Linux color_filter_and_fade_perf__e2e_summary](https://ci.chr
|
|||||||
### What to do
|
### What to do
|
||||||
1. Check if the infra failure has happened on earlier builds by clicking (i)
|
1. Check if the infra failure has happened on earlier builds by clicking (i)
|
||||||
2. Check if issue already exists in the [infra bug pool](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22team%3A+infra%22)
|
2. Check if issue already exists in the [infra bug pool](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22team%3A+infra%22)
|
||||||
3. If not, file [an infra bug](https://github.com/flutter/flutter/issues/new?template=6_infrastructure.yml)
|
3. If not, file [an infra bug](https://github.com/flutter/flutter/issues/new?template=06_infrastructure.yml)
|
||||||
5. If you want to get an immediate help, please ask in the discord `hackers-infra` channel
|
5. If you want to get an immediate help, please ask in the discord `hackers-infra` channel
|
||||||
6. If this is an infra flake, and a retry is needed
|
6. If this is an infra flake, and a retry is needed
|
||||||
* For pre-submit test, click `Re-run` in the [check run page](https://github.com/flutter/flutter/pull/83894/checks?check_run_id=2738146673). 
|
* For pre-submit test, click `Re-run` in the [check run page](https://github.com/flutter/flutter/pull/83894/checks?check_run_id=2738146673). 
|
||||||
|
@ -7,6 +7,7 @@ $ sudo softwareupdate --install-rosetta --agree-to-license
|
|||||||
```
|
```
|
||||||
|
|
||||||
If you see CocoaPods crashes related to `ffi`, try reinstalling the Ruby gem with the `--enable-libffi-alloc` flag:
|
If you see CocoaPods crashes related to `ffi`, try reinstalling the Ruby gem with the `--enable-libffi-alloc` flag:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc
|
sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc
|
||||||
```
|
```
|
||||||
@ -29,4 +30,4 @@ We also plan to offer support for compilation directly to ARM64, as well as univ
|
|||||||
|
|
||||||
## Filing Issues
|
## Filing Issues
|
||||||
|
|
||||||
If you experience a problem relating to using Flutter on Apple Silicon hardware, please [file an issue on GitHub](https://github.com/flutter/flutter/issues/new?template=1_activation.yml) with specific repro steps and information about your hardware and software configuration (paste the results of `flutter doctor -v`). Thank you!
|
If you experience a problem relating to using Flutter on Apple Silicon hardware, please [file an issue on GitHub](https://github.com/flutter/flutter/issues/new?template=01_activation.yml) with specific repro steps and information about your hardware and software configuration (paste the results of `flutter doctor -v`). Thank you!
|
||||||
|
@ -40,4 +40,4 @@ Under the hood, the API communicates with Flutter Engine via Dart FFI, calling s
|
|||||||
|
|
||||||
## Reporting bugs
|
## Reporting bugs
|
||||||
|
|
||||||
If you run into issues while using Flutter GPU, please file a bug using the standard [bug report template](https://github.com/flutter/flutter/issues/new?template=2_bug.yml). Additionally, mention "Flutter GPU" in the title, label the bug with the `flutter-gpu` label.
|
If you run into issues while using Flutter GPU, please file a bug using the standard [bug report template](https://github.com/flutter/flutter/issues/new?template=02_bug.yml). Additionally, mention "Flutter GPU" in the title, label the bug with the `flutter-gpu` label.
|
||||||
|
@ -717,7 +717,7 @@ class FlutterErrorDetails with Diagnosticable {
|
|||||||
'provide substantially more information in this error message to help you determine '
|
'provide substantially more information in this error message to help you determine '
|
||||||
'and fix the underlying cause.\n'
|
'and fix the underlying cause.\n'
|
||||||
'In either case, please report this assertion by filing a bug on GitHub:\n'
|
'In either case, please report this assertion by filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -863,7 +863,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
|
|||||||
'\nThis error should still help you solve your problem, '
|
'\nThis error should still help you solve your problem, '
|
||||||
'however please also report this malformed error in the '
|
'however please also report this malformed error in the '
|
||||||
'framework by filing a bug on GitHub:\n'
|
'framework by filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
@ -900,7 +900,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
|
|||||||
'\nThis error should still help you solve your problem, '
|
'\nThis error should still help you solve your problem, '
|
||||||
'however please also report this malformed error in the '
|
'however please also report this malformed error in the '
|
||||||
'framework by filing a bug on GitHub:\n'
|
'framework by filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
throw FlutterError.fromParts(message);
|
throw FlutterError.fromParts(message);
|
||||||
|
@ -2076,7 +2076,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
),
|
),
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not\n'
|
'If you are not writing your own RenderBox subclass, then this is not\n'
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
@ -2188,7 +2188,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
),
|
),
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not\n'
|
'If you are not writing your own RenderBox subclass, then this is not\n'
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
@ -2646,7 +2646,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
DiagnosticsProperty<Size>('Size', _size, style: DiagnosticsTreeStyle.errorProperty),
|
DiagnosticsProperty<Size>('Size', _size, style: DiagnosticsTreeStyle.errorProperty),
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not '
|
'If you are not writing your own RenderBox subclass, then this is not '
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -2738,7 +2738,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
...failures,
|
...failures,
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not\n'
|
'If you are not writing your own RenderBox subclass, then this is not\n'
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -2764,7 +2764,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
ErrorDescription('The constraints used were $constraints.'),
|
ErrorDescription('The constraints used were $constraints.'),
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not\n'
|
'If you are not writing your own RenderBox subclass, then this is not\n'
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -2779,7 +2779,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
ErrorDescription('The constraints used were $constraints.'),
|
ErrorDescription('The constraints used were $constraints.'),
|
||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you are not writing your own RenderBox subclass, then this is not\n'
|
'If you are not writing your own RenderBox subclass, then this is not\n'
|
||||||
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1113,7 +1113,7 @@ class RenderFlex extends RenderBox
|
|||||||
...addendum,
|
...addendum,
|
||||||
ErrorDescription(
|
ErrorDescription(
|
||||||
"If none of the above helps enough to fix this problem, please don't hesitate to file a bug:\n"
|
"If none of the above helps enough to fix this problem, please don't hesitate to file a bug:\n"
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
return true;
|
return true;
|
||||||
|
@ -4143,7 +4143,7 @@ class SemanticsOwner extends ChangeNotifier {
|
|||||||
ErrorHint(
|
ErrorHint(
|
||||||
'Consider removing the above invisible SemanticsNodes if they were added by your '
|
'Consider removing the above invisible SemanticsNodes if they were added by your '
|
||||||
'RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
'RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}());
|
}());
|
||||||
|
@ -2899,7 +2899,7 @@ class BuildOwner {
|
|||||||
ErrorHint(
|
ErrorHint(
|
||||||
'If you did not attempt to call scheduleBuildFor() yourself, then this probably '
|
'If you did not attempt to call scheduleBuildFor() yourself, then this probably '
|
||||||
'indicates a bug in the widgets framework. Please report it:\n'
|
'indicates a bug in the widgets framework. Please report it:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -240,7 +240,7 @@ void main() {
|
|||||||
'This error should still help you solve your problem, however\n'
|
'This error should still help you solve your problem, however\n'
|
||||||
'please also report this malformed error in the framework by\n'
|
'please also report this malformed error in the framework by\n'
|
||||||
'filing a bug on GitHub:\n'
|
'filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml\n'
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml\n'
|
||||||
'═════════════════════════════════════════════════════════════════\n',
|
'═════════════════════════════════════════════════════════════════\n',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -277,7 +277,7 @@ void main() {
|
|||||||
'This error should still help you solve your problem, however\n'
|
'This error should still help you solve your problem, however\n'
|
||||||
'please also report this malformed error in the framework by\n'
|
'please also report this malformed error in the framework by\n'
|
||||||
'filing a bug on GitHub:\n'
|
'filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml\n'
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml\n'
|
||||||
'═════════════════════════════════════════════════════════════════\n',
|
'═════════════════════════════════════════════════════════════════\n',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -306,7 +306,7 @@ void main() {
|
|||||||
'This error should still help you solve your problem, however\n'
|
'This error should still help you solve your problem, however\n'
|
||||||
'please also report this malformed error in the framework by\n'
|
'please also report this malformed error in the framework by\n'
|
||||||
'filing a bug on GitHub:\n'
|
'filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml\n'
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml\n'
|
||||||
'═════════════════════════════════════════════════════════════════\n',
|
'═════════════════════════════════════════════════════════════════\n',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -406,7 +406,7 @@ void main() {
|
|||||||
'provide substantially more information in this error message to help you determine '
|
'provide substantially more information in this error message to help you determine '
|
||||||
'and fix the underlying cause.\n'
|
'and fix the underlying cause.\n'
|
||||||
'In either case, please report this assertion by filing a bug on GitHub:\n'
|
'In either case, please report this assertion by filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
);
|
);
|
||||||
expect(builder.properties[4] is ErrorSpacer, true);
|
expect(builder.properties[4] is ErrorSpacer, true);
|
||||||
final DiagnosticsStackTrace trace = builder.properties[5] as DiagnosticsStackTrace;
|
final DiagnosticsStackTrace trace = builder.properties[5] as DiagnosticsStackTrace;
|
||||||
|
@ -291,7 +291,7 @@ void main() {
|
|||||||
'An invisible SemanticsNode is one whose rect is not on screen hence not reachable for users, and its semantic information is not merged into a visible parent.\n'
|
'An invisible SemanticsNode is one whose rect is not on screen hence not reachable for users, and its semantic information is not merged into a visible parent.\n'
|
||||||
'An invisible SemanticsNode makes the accessibility experience confusing, as it does not provide any visual indication when the user selects it via accessibility technologies.\n'
|
'An invisible SemanticsNode makes the accessibility experience confusing, as it does not provide any visual indication when the user selects it via accessibility technologies.\n'
|
||||||
'Consider removing the above invisible SemanticsNodes if they were added by your RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
'Consider removing the above invisible SemanticsNodes if they were added by your RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -322,7 +322,7 @@ void main() {
|
|||||||
'An invisible SemanticsNode is one whose rect is not on screen hence not reachable for users, and its semantic information is not merged into a visible parent.\n'
|
'An invisible SemanticsNode is one whose rect is not on screen hence not reachable for users, and its semantic information is not merged into a visible parent.\n'
|
||||||
'An invisible SemanticsNode makes the accessibility experience confusing, as it does not provide any visual indication when the user selects it via accessibility technologies.\n'
|
'An invisible SemanticsNode makes the accessibility experience confusing, as it does not provide any visual indication when the user selects it via accessibility technologies.\n'
|
||||||
'Consider removing the above invisible SemanticsNodes if they were added by your RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
'Consider removing the above invisible SemanticsNodes if they were added by your RenderObject.assembleSemanticsNode implementation, or filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -323,7 +323,7 @@ class FlutterWebConnection {
|
|||||||
'If the test uses VM service extensions provided by the Flutter SDK, '
|
'If the test uses VM service extensions provided by the Flutter SDK, '
|
||||||
'then this error is likely caused by a bug in Flutter. Please report it '
|
'then this error is likely caused by a bug in Flutter. Please report it '
|
||||||
'by filing a bug on GitHub:\n'
|
'by filing a bug on GitHub:\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=2_bug.yml',
|
' https://github.com/flutter/flutter/issues/new?template=02_bug.yml',
|
||||||
error,
|
error,
|
||||||
stackTrace,
|
stackTrace,
|
||||||
);
|
);
|
||||||
|
@ -11,7 +11,6 @@ If you're looking for information about internationalizing Flutter
|
|||||||
apps in general, see the
|
apps in general, see the
|
||||||
[Internationalizing Flutter Apps](https://flutter.dev/to/internationalization) tutorial.
|
[Internationalizing Flutter Apps](https://flutter.dev/to/internationalization) tutorial.
|
||||||
|
|
||||||
|
|
||||||
### Translations for one locale: .arb files
|
### Translations for one locale: .arb files
|
||||||
|
|
||||||
The Material and Cupertino libraries use
|
The Material and Cupertino libraries use
|
||||||
@ -80,7 +79,6 @@ to write.
|
|||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Values with Parameters, Plurals
|
### Values with Parameters, Plurals
|
||||||
|
|
||||||
A few of material translations contain `$variable` tokens. The
|
A few of material translations contain `$variable` tokens. The
|
||||||
@ -101,7 +99,6 @@ MaterialLocalizations.of(context).aboutListTileTitle(yourAppTitle)
|
|||||||
The names of the `$variable` tokens must match the names of the
|
The names of the `$variable` tokens must match the names of the
|
||||||
`MaterialLocalizations` method parameters.
|
`MaterialLocalizations` method parameters.
|
||||||
|
|
||||||
|
|
||||||
Plurals are handled similarly, with a lookup method that includes a
|
Plurals are handled similarly, with a lookup method that includes a
|
||||||
quantity parameter. For example `selectedRowCountTitle` returns a
|
quantity parameter. For example `selectedRowCountTitle` returns a
|
||||||
string like "1 item selected" or "no items selected".
|
string like "1 item selected" or "no items selected".
|
||||||
@ -149,18 +146,19 @@ section in the Material spec. The Material theme uses the
|
|||||||
`TextTheme`, see
|
`TextTheme`, see
|
||||||
[Typography.geometryThemeFor](https://api.flutter.dev/flutter/material/Typography/geometryThemeFor.html).
|
[Typography.geometryThemeFor](https://api.flutter.dev/flutter/material/Typography/geometryThemeFor.html).
|
||||||
|
|
||||||
|
### 'generated\_\*\_localizations.dart': all of the localizations
|
||||||
### 'generated_*_localizations.dart': all of the localizations
|
|
||||||
|
|
||||||
All of the localizations are combined in a single file per library
|
All of the localizations are combined in a single file per library
|
||||||
using the gen_localizations script.
|
using the gen_localizations script.
|
||||||
|
|
||||||
You can see what that script would generate by running:
|
You can see what that script would generate by running:
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
dart dev/tools/localization/bin/gen_localizations.dart
|
dart dev/tools/localization/bin/gen_localizations.dart
|
||||||
```
|
```
|
||||||
|
|
||||||
Actually update the generated files with:
|
Actually update the generated files with:
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
dart dev/tools/localization/bin/gen_localizations.dart --overwrite
|
dart dev/tools/localization/bin/gen_localizations.dart --overwrite
|
||||||
```
|
```
|
||||||
@ -172,11 +170,11 @@ class implementations use these to lookup localized resource values.
|
|||||||
|
|
||||||
The gen_localizations script must be run by hand after .arb files have
|
The gen_localizations script must be run by hand after .arb files have
|
||||||
been updated. The script optionally takes parameters
|
been updated. The script optionally takes parameters
|
||||||
|
|
||||||
1. The path to this directory,
|
1. The path to this directory,
|
||||||
2. The file name prefix (the file name less the locale
|
2. The file name prefix (the file name less the locale
|
||||||
suffix) for the .arb files in this directory.
|
suffix) for the .arb files in this directory.
|
||||||
|
|
||||||
|
|
||||||
### Special handling for the Kannada (kn) translations
|
### Special handling for the Kannada (kn) translations
|
||||||
|
|
||||||
Originally, the cupertino_kn.arb and material_kn.arb files contained unicode
|
Originally, the cupertino_kn.arb and material_kn.arb files contained unicode
|
||||||
@ -211,8 +209,7 @@ Google contributes translations for all the languages supported by
|
|||||||
this package. (Googlers, for more details see <go/flutter-l10n>.)
|
this package. (Googlers, for more details see <go/flutter-l10n>.)
|
||||||
|
|
||||||
If you have feedback about the translations please
|
If you have feedback about the translations please
|
||||||
[file an issue on the Flutter github repo](https://github.com/flutter/flutter/issues/new?template=2_bug.yml).
|
[file an issue on the Flutter github repo](https://github.com/flutter/flutter/issues/new?template=02_bug.yml).
|
||||||
|
|
||||||
|
|
||||||
### See Also
|
### See Also
|
||||||
|
|
||||||
|
@ -1244,7 +1244,7 @@ class ArtifactUpdater {
|
|||||||
status.pause();
|
status.pause();
|
||||||
_logger.printWarning(
|
_logger.printWarning(
|
||||||
'Downloading an artifact that may not be reachable in some environments (e.g. firewalled environments): $url\n'
|
'Downloading an artifact that may not be reachable in some environments (e.g. firewalled environments): $url\n'
|
||||||
'This should not have happened. This is likely a Flutter SDK bug. Please file an issue at https://github.com/flutter/flutter/issues/new?template=1_activation.yml',
|
'This should not have happened. This is likely a Flutter SDK bug. Please file an issue at https://github.com/flutter/flutter/issues/new?template=01_activation.yml',
|
||||||
);
|
);
|
||||||
status.resume();
|
status.resume();
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ class SwiftPackageManagerIntegrationMigration extends ProjectMigrator {
|
|||||||
'An error occurred when adding Swift Package Manager integration:\n'
|
'An error occurred when adding Swift Package Manager integration:\n'
|
||||||
' $e\n\n'
|
' $e\n\n'
|
||||||
'Swift Package Manager is currently an experimental feature, please file a bug at\n'
|
'Swift Package Manager is currently an experimental feature, please file a bug at\n'
|
||||||
' https://github.com/flutter/flutter/issues/new?template=1_activation.yml \n'
|
' https://github.com/flutter/flutter/issues/new?template=01_activation.yml \n'
|
||||||
'Consider including a copy of the following files in your bug report:\n'
|
'Consider including a copy of the following files in your bug report:\n'
|
||||||
' ${_platform.name}/Runner.xcodeproj/project.pbxproj\n'
|
' ${_platform.name}/Runner.xcodeproj/project.pbxproj\n'
|
||||||
' ${_platform.name}/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme '
|
' ${_platform.name}/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user