Extract string

This commit is contained in:
Neeraj Gupta
2024-06-14 11:37:30 +05:30
parent 2dc9b015a6
commit 48155692ff
4 changed files with 14 additions and 2 deletions

View File

@@ -1567,6 +1567,7 @@ class MessageLookup extends MessageLookupByLibrary {
"weHaveSendEmailTo": m67,
"weakStrength": MessageLookupByLibrary.simpleMessage("Weak"),
"welcomeBack": MessageLookupByLibrary.simpleMessage("Welcome back!"),
"whatsNew": MessageLookupByLibrary.simpleMessage("What\'s new"),
"yearly": MessageLookupByLibrary.simpleMessage("Yearly"),
"yearsAgo": m68,
"yes": MessageLookupByLibrary.simpleMessage("Yes"),

View File

@@ -8933,6 +8933,16 @@ class S {
args: [],
);
}
/// `What's new`
String get whatsNew {
return Intl.message(
'What\'s new',
name: 'whatsNew',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {

View File

@@ -1249,6 +1249,7 @@
"crop": "Crop",
"rotate": "Rotate",
"left": "Left",
"right": "Right"
"right": "Right",
"whatsNew": "What's new"
}

View File

@@ -41,7 +41,7 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
child: const Padding(
padding: EdgeInsets.symmetric(horizontal: 16.0),
child: TitleBarTitleWidget(
title: "What's new",
title: S.of(context).whatsNew,
),
),
),