From a513d4e7b425e356dc2c5c663e9bf49b3fcc7207 Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Wed, 15 Feb 2023 19:20:28 +0200 Subject: [PATCH] Fix `flutter_localizations` README references (#120800) --- packages/flutter_localizations/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_localizations/README.md b/packages/flutter_localizations/README.md index a1d1011d0cd..96ae11036eb 100644 --- a/packages/flutter_localizations/README.md +++ b/packages/flutter_localizations/README.md @@ -20,7 +20,7 @@ and `WidgetsLocalizations`, with appropriate name substitutions): String get showMenuTooltip; ``` to the localizations class `MaterialLocalizations`, - in [`packages/flutter/lib/src/material/material_localizations.dart`](https://github.com/harperl-lgtm/flutter/blob/bottomSheetScrimFocus/packages/flutter/lib/src/material/material_localizations.dart); + in [`packages/flutter/lib/src/material/material_localizations.dart`](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/material_localizations.dart); ### For messages with parameters, add new function ``` @@ -41,7 +41,7 @@ and `WidgetsLocalizations`, with appropriate name substitutions): @override String aboutListTileTitle(String applicationName) => 'About $applicationName'; ``` - For messages with parameters, do also add the function to `GlobalMaterialLocalizations` in [`packages/flutter_localizations/lib/src/material_localizations.dart`](https://github.com/harperl-lgtm/flutter/blob/bottomSheetScrimFocus/packages/flutter_localizations/lib/src/material_localizations.dart), and add a raw getter as demonstrated below: + For messages with parameters, do also add the function to `GlobalMaterialLocalizations` in [`packages/flutter_localizations/lib/src/material_localizations.dart`](https://github.com/flutter/flutter/blob/master/packages/flutter_localizations/lib/src/material_localizations.dart), and add a raw getter as demonstrated below: ``` /// The raw version of [aboutListTileTitle], with `$applicationName` verbatim