chore: update room code error message (#3538)
This commit is contained in:
parent
268ae8c443
commit
8319a8698d
4 changed files with 4 additions and 6 deletions
|
|
@ -3310,7 +3310,6 @@
|
|||
"iWantALanguagePartnerWhoIsLearning": "Is learning:",
|
||||
"joinWithClassCode": "Join space",
|
||||
"joinWithClassCodeHint": "Enter invite code",
|
||||
"unableToFindClass": "There's no space with that code. Please try again.",
|
||||
"languageLevelPreA1": "True Beginner (Pre A1)",
|
||||
"languageLevelA1": "Beginner (A1)",
|
||||
"languageLevelA2": "Elementary (A2)",
|
||||
|
|
@ -5092,5 +5091,6 @@
|
|||
"translationError": "Translation error",
|
||||
"errorFetchingTranslation": "Failed to fetch translation",
|
||||
"errorFetchingActivity": "Failed to fetch activity",
|
||||
"check": "Check"
|
||||
"check": "Check",
|
||||
"unableToFindRoom": "No chat or space found with that code. Please try again."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4439,7 +4439,6 @@
|
|||
"joinWithClassCode": "Únete a una clase o a un intercambio",
|
||||
"joinWithClassCodeDesc": "Conéctese a una clase o espacio de intercambio con el código de invitación de 6 dígitos proporcionado por el administrador del espacio.",
|
||||
"joinWithClassCodeHint": "Introduzca el código de invitación",
|
||||
"unableToFindClass": "No hay espacio con ese código. Por favor inténtalo de nuevo.",
|
||||
"welcomeToYourNewClass": "Bienvenido 🙂",
|
||||
"welcomeToClass": "Bienvenido! 🙂\n- ¡Prueba a unirte a un chat!\n- ¡Diviértete chateando!",
|
||||
"unableToFindClassCode": "No se puede encontrar el código.",
|
||||
|
|
|
|||
|
|
@ -1821,7 +1821,6 @@
|
|||
"joinWithClassCode": "Tham gia không gian",
|
||||
"joinWithClassCodeDesc": "Nhập mã mời 6 ký tự mà quản trị viên cung cấp.",
|
||||
"joinWithClassCodeHint": "Nhập mã mời",
|
||||
"unableToFindClass": "Không có không gian nào với mã này. Vui lòng thử lại.",
|
||||
"languageLevelPreA1": "Hoàn toàn mới (Pre A1)",
|
||||
"languageLevelA1": "Sơ cấp (A1)",
|
||||
"languageLevelA2": "Căn bản (A2)",
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ class ClassController extends BaseController {
|
|||
return "429";
|
||||
}
|
||||
if (knockResponse.statusCode != 200) {
|
||||
throw notFoundError ?? L10n.of(context).unableToFindClass;
|
||||
throw notFoundError ?? L10n.of(context).unableToFindRoom;
|
||||
}
|
||||
|
||||
final knockResult = jsonDecode(knockResponse.body);
|
||||
|
|
@ -160,7 +160,7 @@ class ClassController extends BaseController {
|
|||
}
|
||||
|
||||
if (foundClasses.isEmpty) {
|
||||
throw notFoundError ?? L10n.of(context).unableToFindClass;
|
||||
throw notFoundError ?? L10n.of(context).unableToFindRoom;
|
||||
}
|
||||
|
||||
final chosenClassId = foundClasses.first;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue