forked from eatvio/eatvio_app
added notifications layoute
This commit is contained in:
@@ -20,6 +20,30 @@ typedef String MessageIfAbsent(String messageStr, List<dynamic> args);
|
||||
class MessageLookup extends MessageLookupByLibrary {
|
||||
String get localeName => 'en';
|
||||
|
||||
static String m0(date) => "Консультант прокомментировал день ${date}";
|
||||
|
||||
static String m1(planName) => "План «${planName}» начался";
|
||||
|
||||
static String m2(planName, name) =>
|
||||
"План «${planName}» с пользователем ${name} начался";
|
||||
|
||||
static String m3(planName, name) =>
|
||||
"Завтра начинается план «${planName}» с пользователем ${name}";
|
||||
|
||||
static String m4(planName) =>
|
||||
"Завтра начнется прохождение плана «${planName}»";
|
||||
|
||||
static String m5(name, planName) =>
|
||||
"Пользователь ${name} отменил подписку на план «${planName}»";
|
||||
|
||||
static String m6(name, planName) =>
|
||||
"Пользователь ${name} оплатил план «${planName}»";
|
||||
|
||||
static String m7(name, planName) =>
|
||||
"Пользователь ${name} подписался на план «${planName}»";
|
||||
|
||||
static String m8(planName) => "Вы отменили подписку на план «${planName}»";
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"Moscow": MessageLookupByLibrary.simpleMessage("Москва"),
|
||||
@@ -153,6 +177,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"congratsYouHaveFinishedPlan": MessageLookupByLibrary.simpleMessage(
|
||||
"Поздравляем, Вы закончили план",
|
||||
),
|
||||
"consultantLeftComment": m0,
|
||||
"consultations_count": MessageLookupByLibrary.simpleMessage(
|
||||
"Кол-во проведенных консулдьтаций",
|
||||
),
|
||||
@@ -301,6 +326,9 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"Ваши любимые/нелюбимые продукты питания?",
|
||||
),
|
||||
"female": MessageLookupByLibrary.simpleMessage("Женский"),
|
||||
"fillYasterday": MessageLookupByLibrary.simpleMessage(
|
||||
"Заполните вчерашний день",
|
||||
),
|
||||
"fill_in_information": MessageLookupByLibrary.simpleMessage(
|
||||
"Заполните информацию:",
|
||||
),
|
||||
@@ -504,9 +532,11 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"Физическая форма",
|
||||
),
|
||||
"place_of_living": MessageLookupByLibrary.simpleMessage("Место проживания"),
|
||||
"planStarted": m1,
|
||||
"planWillBeConfirmedAfterThreeDays": MessageLookupByLibrary.simpleMessage(
|
||||
"Если вы не подтвердите, то план через три дня подтвердится автоматически",
|
||||
),
|
||||
"planWithUserStarted": m2,
|
||||
"plan_author": MessageLookupByLibrary.simpleMessage("Автор плана"),
|
||||
"plan_desc": MessageLookupByLibrary.simpleMessage("Описание плана"),
|
||||
"plan_desc_example": MessageLookupByLibrary.simpleMessage(
|
||||
@@ -640,6 +670,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"toOffer": MessageLookupByLibrary.simpleMessage("Предложить"),
|
||||
"to_draft": MessageLookupByLibrary.simpleMessage("В черновик"),
|
||||
"to_order": MessageLookupByLibrary.simpleMessage("Заказать"),
|
||||
"tommorowPlanWithUserWillStart": m3,
|
||||
"tomorrowYourPlanWillStart": m4,
|
||||
"try_again": MessageLookupByLibrary.simpleMessage("Попробовать снова"),
|
||||
"try_again_2": MessageLookupByLibrary.simpleMessage("Попробуйте ещё раз"),
|
||||
"typeAmoutOfReturn": MessageLookupByLibrary.simpleMessage(
|
||||
@@ -664,9 +696,16 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"Верхние показатели давления:",
|
||||
),
|
||||
"upper": MessageLookupByLibrary.simpleMessage("Верхнее"),
|
||||
"userCanceldThePlanSubscription": m5,
|
||||
"userConfirmedPlanCompletion": MessageLookupByLibrary.simpleMessage(
|
||||
"Пользователь подтвердил прохождения плана. В ближайшее время Вы получите",
|
||||
),
|
||||
"userConfirmedPlanCompletionWithoutSum":
|
||||
MessageLookupByLibrary.simpleMessage(
|
||||
"Пользователь подтвердил прохождения плана.",
|
||||
),
|
||||
"userPaidThePlan": m6,
|
||||
"userSubscribedToPlan": m7,
|
||||
"user_authorization": MessageLookupByLibrary.simpleMessage(
|
||||
"Аутентификация",
|
||||
),
|
||||
@@ -716,6 +755,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"youCanComplain": MessageLookupByLibrary.simpleMessage(
|
||||
"Если вас что-то не устроило, вы можете подать жалобу",
|
||||
),
|
||||
"youCanceledSubscriptionToPlan": m8,
|
||||
"youShureYouWantToCancelOrder": MessageLookupByLibrary.simpleMessage(
|
||||
"Вы уверены, что хотите отменить заказ?",
|
||||
),
|
||||
|
||||
@@ -3095,6 +3095,16 @@ class S {
|
||||
);
|
||||
}
|
||||
|
||||
/// `Пользователь подтвердил прохождения плана.`
|
||||
String get userConfirmedPlanCompletionWithoutSum {
|
||||
return Intl.message(
|
||||
'Пользователь подтвердил прохождения плана.',
|
||||
name: 'userConfirmedPlanCompletionWithoutSum',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Получить выплату`
|
||||
String get collectCharge {
|
||||
return Intl.message(
|
||||
@@ -3224,6 +3234,106 @@ class S {
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Пользователь {name} оплатил план «{planName}»`
|
||||
String userPaidThePlan(Object name, Object planName) {
|
||||
return Intl.message(
|
||||
'Пользователь $name оплатил план «$planName»',
|
||||
name: 'userPaidThePlan',
|
||||
desc: '',
|
||||
args: [name, planName],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Завтра начинается план «{planName}» с пользователем {name}`
|
||||
String tommorowPlanWithUserWillStart(Object planName, Object name) {
|
||||
return Intl.message(
|
||||
'Завтра начинается план «$planName» с пользователем $name',
|
||||
name: 'tommorowPlanWithUserWillStart',
|
||||
desc: '',
|
||||
args: [planName, name],
|
||||
);
|
||||
}
|
||||
|
||||
/// `План «{planName}» с пользователем {name} начался`
|
||||
String planWithUserStarted(Object planName, Object name) {
|
||||
return Intl.message(
|
||||
'План «$planName» с пользователем $name начался',
|
||||
name: 'planWithUserStarted',
|
||||
desc: '',
|
||||
args: [planName, name],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Вы отменили подписку на план «{planName}»`
|
||||
String youCanceledSubscriptionToPlan(Object planName) {
|
||||
return Intl.message(
|
||||
'Вы отменили подписку на план «$planName»',
|
||||
name: 'youCanceledSubscriptionToPlan',
|
||||
desc: '',
|
||||
args: [planName],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Консультант прокомментировал день {date}`
|
||||
String consultantLeftComment(Object date) {
|
||||
return Intl.message(
|
||||
'Консультант прокомментировал день $date',
|
||||
name: 'consultantLeftComment',
|
||||
desc: '',
|
||||
args: [date],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Заполните вчерашний день`
|
||||
String get fillYasterday {
|
||||
return Intl.message(
|
||||
'Заполните вчерашний день',
|
||||
name: 'fillYasterday',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Завтра начнется прохождение плана «{planName}»`
|
||||
String tomorrowYourPlanWillStart(Object planName) {
|
||||
return Intl.message(
|
||||
'Завтра начнется прохождение плана «$planName»',
|
||||
name: 'tomorrowYourPlanWillStart',
|
||||
desc: '',
|
||||
args: [planName],
|
||||
);
|
||||
}
|
||||
|
||||
/// `План «{planName}» начался`
|
||||
String planStarted(Object planName) {
|
||||
return Intl.message(
|
||||
'План «$planName» начался',
|
||||
name: 'planStarted',
|
||||
desc: '',
|
||||
args: [planName],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Пользователь {name} отменил подписку на план «{planName}»`
|
||||
String userCanceldThePlanSubscription(Object name, Object planName) {
|
||||
return Intl.message(
|
||||
'Пользователь $name отменил подписку на план «$planName»',
|
||||
name: 'userCanceldThePlanSubscription',
|
||||
desc: '',
|
||||
args: [name, planName],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Пользователь {name} подписался на план «{planName}»`
|
||||
String userSubscribedToPlan(Object name, Object planName) {
|
||||
return Intl.message(
|
||||
'Пользователь $name подписался на план «$planName»',
|
||||
name: 'userSubscribedToPlan',
|
||||
desc: '',
|
||||
args: [name, planName],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
||||
Reference in New Issue
Block a user