refactoring
security update
This commit is contained in:
parent
1747ab0245
commit
78fe9e7b09
39 changed files with 289 additions and 132 deletions
|
@ -28,6 +28,9 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"appTitle": MessageLookupByLibrary.simpleMessage("MC Gallery App"),
|
||||
"errorPageMessage": MessageLookupByLibrary.simpleMessage(
|
||||
"Oopsie, there has been an error. Hang tight till we do something about it."),
|
||||
"gallery": MessageLookupByLibrary.simpleMessage("Gallery"),
|
||||
"imageCarousel": MessageLookupByLibrary.simpleMessage("Image carousel"),
|
||||
"imageDetails": MessageLookupByLibrary.simpleMessage(
|
||||
|
|
|
@ -50,6 +50,16 @@ class Strings {
|
|||
return Localizations.of<Strings>(context, Strings);
|
||||
}
|
||||
|
||||
/// `MC Gallery App`
|
||||
String get appTitle {
|
||||
return Intl.message(
|
||||
'MC Gallery App',
|
||||
name: 'appTitle',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Something went wrong`
|
||||
String get somethingWentWrong {
|
||||
return Intl.message(
|
||||
|
@ -60,6 +70,16 @@ class Strings {
|
|||
);
|
||||
}
|
||||
|
||||
/// `Oopsie, there has been an error. Hang tight till we do something about it.`
|
||||
String get errorPageMessage {
|
||||
return Intl.message(
|
||||
'Oopsie, there has been an error. Hang tight till we do something about it.',
|
||||
name: 'errorPageMessage',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Image {imageNumber}: size={imageSide}`
|
||||
String imageNameFetch(Object imageNumber, Object imageSide) {
|
||||
return Intl.message(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue