forked from eatvio/eatvio_app
feat(vidoe_calls): global cideo call state, connection, loading and error screens for video calls
This commit is contained in:
@@ -875,9 +875,17 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
),
|
||||
"video_call": MessageLookupByLibrary.simpleMessage("Video call"),
|
||||
"video_call_chat": MessageLookupByLibrary.simpleMessage("Chat"),
|
||||
"video_call_close": MessageLookupByLibrary.simpleMessage("Close"),
|
||||
"video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage(
|
||||
"It looks like there is an internet issue. We\'re trying to restore the connection...",
|
||||
),
|
||||
"video_call_connection_lost_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Connection lost",
|
||||
),
|
||||
"video_call_counterpart_default": MessageLookupByLibrary.simpleMessage(
|
||||
"Participant",
|
||||
),
|
||||
"video_call_enter": MessageLookupByLibrary.simpleMessage("Enter"),
|
||||
"video_call_leave": MessageLookupByLibrary.simpleMessage("Leave"),
|
||||
"video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage(
|
||||
"Attention!\nYour microphone is muted",
|
||||
@@ -904,7 +912,21 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"video_call_role_consultant": MessageLookupByLibrary.simpleMessage(
|
||||
"Eatvio consultant",
|
||||
),
|
||||
"video_call_screen_connecting_subtitle":
|
||||
MessageLookupByLibrary.simpleMessage("This may take a few seconds"),
|
||||
"video_call_screen_connecting_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Connecting to\nthe consultation",
|
||||
),
|
||||
"video_call_screen_loading_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Loading…",
|
||||
),
|
||||
"video_call_screen_reconnecting_subtitle":
|
||||
MessageLookupByLibrary.simpleMessage("Check your internet and wait"),
|
||||
"video_call_screen_reconnecting_title":
|
||||
MessageLookupByLibrary.simpleMessage("Reconnecting"),
|
||||
"video_call_sound": MessageLookupByLibrary.simpleMessage("Sound"),
|
||||
"video_call_status_online": MessageLookupByLibrary.simpleMessage("Online"),
|
||||
"video_call_try_again": MessageLookupByLibrary.simpleMessage("Retry"),
|
||||
"video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"),
|
||||
"video_call_video": MessageLookupByLibrary.simpleMessage("Video"),
|
||||
"video_call_you": MessageLookupByLibrary.simpleMessage("You"),
|
||||
|
||||
@@ -355,9 +355,17 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
),
|
||||
"video_call": MessageLookupByLibrary.simpleMessage("Видеозвонок"),
|
||||
"video_call_chat": MessageLookupByLibrary.simpleMessage("Чат"),
|
||||
"video_call_close": MessageLookupByLibrary.simpleMessage("Закрыть"),
|
||||
"video_call_connection_lost_message": MessageLookupByLibrary.simpleMessage(
|
||||
"Похоже, возникли проблемы с интернетом. Мы пытаемся восстановить соединение...",
|
||||
),
|
||||
"video_call_connection_lost_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Связь прервалась",
|
||||
),
|
||||
"video_call_counterpart_default": MessageLookupByLibrary.simpleMessage(
|
||||
"Собеседник",
|
||||
),
|
||||
"video_call_enter": MessageLookupByLibrary.simpleMessage("Войти"),
|
||||
"video_call_leave": MessageLookupByLibrary.simpleMessage("Выйти"),
|
||||
"video_call_muted_mic_warning": MessageLookupByLibrary.simpleMessage(
|
||||
"Внимание!\nУ вас выключен микрофон",
|
||||
@@ -384,7 +392,21 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||
"video_call_role_consultant": MessageLookupByLibrary.simpleMessage(
|
||||
"Консультант Итвио",
|
||||
),
|
||||
"video_call_screen_connecting_subtitle":
|
||||
MessageLookupByLibrary.simpleMessage("Это займёт несколько секунд"),
|
||||
"video_call_screen_connecting_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Подключение\nк консультации",
|
||||
),
|
||||
"video_call_screen_loading_title": MessageLookupByLibrary.simpleMessage(
|
||||
"Загрузка…",
|
||||
),
|
||||
"video_call_screen_reconnecting_subtitle":
|
||||
MessageLookupByLibrary.simpleMessage("Проверьте интернет и подождите"),
|
||||
"video_call_screen_reconnecting_title":
|
||||
MessageLookupByLibrary.simpleMessage("Восстанавливаем соединение"),
|
||||
"video_call_sound": MessageLookupByLibrary.simpleMessage("Звук"),
|
||||
"video_call_status_online": MessageLookupByLibrary.simpleMessage("Онлайн"),
|
||||
"video_call_try_again": MessageLookupByLibrary.simpleMessage("Повторить"),
|
||||
"video_call_unknown_initial": MessageLookupByLibrary.simpleMessage("?"),
|
||||
"video_call_video": MessageLookupByLibrary.simpleMessage("Видео"),
|
||||
"video_call_you": MessageLookupByLibrary.simpleMessage("Вы"),
|
||||
|
||||
@@ -4079,6 +4079,15 @@ class S {
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_status_online {
|
||||
return Intl.message(
|
||||
'Online',
|
||||
name: 'video_call_status_online',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Chat`
|
||||
String get video_call_chat {
|
||||
return Intl.message('Chat', name: 'video_call_chat', desc: '', args: []);
|
||||
@@ -4148,6 +4157,86 @@ class S {
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_screen_loading_title {
|
||||
return Intl.message(
|
||||
'Loading…',
|
||||
name: 'video_call_screen_loading_title',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_screen_connecting_title {
|
||||
return Intl.message(
|
||||
'Connecting to\nthe consultation',
|
||||
name: 'video_call_screen_connecting_title',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_screen_connecting_subtitle {
|
||||
return Intl.message(
|
||||
'This may take a few seconds',
|
||||
name: 'video_call_screen_connecting_subtitle',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_screen_reconnecting_title {
|
||||
return Intl.message(
|
||||
'Reconnecting',
|
||||
name: 'video_call_screen_reconnecting_title',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_screen_reconnecting_subtitle {
|
||||
return Intl.message(
|
||||
'Check your internet and wait',
|
||||
name: 'video_call_screen_reconnecting_subtitle',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_connection_lost_title {
|
||||
return Intl.message(
|
||||
'Connection lost',
|
||||
name: 'video_call_connection_lost_title',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_connection_lost_message {
|
||||
return Intl.message(
|
||||
'It looks like there is an internet issue. We\'re trying to restore the connection...',
|
||||
name: 'video_call_connection_lost_message',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_try_again {
|
||||
return Intl.message(
|
||||
'Retry',
|
||||
name: 'video_call_try_again',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
String get video_call_enter {
|
||||
return Intl.message('Enter', name: 'video_call_enter', desc: '', args: []);
|
||||
}
|
||||
|
||||
String get video_call_close {
|
||||
return Intl.message('Close', name: 'video_call_close', desc: '', args: []);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
||||
Reference in New Issue
Block a user