forked from eatvio/eatvio_app
added new analyzer exclude options and fixed naming in sorting filter types
This commit is contained in:
@@ -19,7 +19,7 @@ class S {
|
||||
|
||||
static S get current {
|
||||
assert(_current != null,
|
||||
'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.',);
|
||||
'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.');
|
||||
return _current!;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class S {
|
||||
static S of(BuildContext context) {
|
||||
final instance = S.maybeOf(context);
|
||||
assert(instance != null,
|
||||
'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?',);
|
||||
'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?');
|
||||
return instance!;
|
||||
}
|
||||
|
||||
@@ -1409,6 +1409,66 @@ class S {
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Популярные`
|
||||
String get popular {
|
||||
return Intl.message(
|
||||
'Популярные',
|
||||
name: 'popular',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Самые новые`
|
||||
String get most_new {
|
||||
return Intl.message(
|
||||
'Самые новые',
|
||||
name: 'most_new',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Самые старые`
|
||||
String get most_old {
|
||||
return Intl.message(
|
||||
'Самые старые',
|
||||
name: 'most_old',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Больше всего лайкнутых`
|
||||
String get most_liked {
|
||||
return Intl.message(
|
||||
'Больше всего лайкнутых',
|
||||
name: 'most_liked',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Больше всего пройденных`
|
||||
String get most_copleted {
|
||||
return Intl.message(
|
||||
'Больше всего пройденных',
|
||||
name: 'most_copleted',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `По умолчянию`
|
||||
String get by_default {
|
||||
return Intl.message(
|
||||
'По умолчянию',
|
||||
name: 'by_default',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
||||
Reference in New Issue
Block a user