Skip to content

Commit 34cdee9

Browse files
committed
updating localization by adding expectedTextResponse
1 parent 8198f96 commit 34cdee9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

apps/api/src/api/attempt/common/utils/localization.service.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export class LocalizationService {
2020
const translations: Record<string, any> = {
2121
en: {
2222
noResponse: "You did not provide a response to this question.",
23-
23+
expectedTextResponse:
24+
"Expected a text response, but did not receive one.",
2425
expectedUrlResponse:
2526
"Expected a URL response, but did not receive one.",
2627
invalidUrl: "Invalid URL: {url}",
@@ -45,6 +46,8 @@ export class LocalizationService {
4546
},
4647
ar: {
4748
noResponse: "لم تقدم إجابة على هذا السؤال.",
49+
expectedTextResponse:
50+
"كان من المتوقع الحصول على نص، ولكن لم يتم الحصول عليه.",
4851
expectedUrlResponse:
4952
"كان من المتوقع الحصول على رابط، ولكن لم يتم الحصول عليه.",
5053
invalidUrl: "رابط غير صالح: {url}",
@@ -67,6 +70,7 @@ export class LocalizationService {
6770
},
6871
id: {
6972
noResponse: "Anda tidak memberikan jawaban untuk pertanyaan ini.",
73+
expectedTextResponse: "Diharapkan respons teks, tetapi tidak diterima.",
7074
expectedUrlResponse: "Diharapkan respons URL, tetapi tidak diterima.",
7175
invalidUrl: "URL tidak valid: {url}",
7276
unableToFetchUrl: "Tidak dapat mengambil konten dari URL: {url}",
@@ -87,6 +91,8 @@ export class LocalizationService {
8791
},
8892
de: {
8993
noResponse: "Sie haben keine Antwort auf diese Frage gegeben.",
94+
expectedTextResponse:
95+
"Eine Textantwort wurde erwartet, aber nicht erhalten.",
9096
expectedUrlResponse:
9197
"Eine URL-Antwort wurde erwartet, aber nicht erhalten.",
9298
invalidUrl: "Ungültige URL: {url}",
@@ -110,6 +116,8 @@ export class LocalizationService {
110116
},
111117
es: {
112118
noResponse: "No proporcionaste una respuesta a esta pregunta.",
119+
expectedTextResponse:
120+
"Se esperaba una respuesta de texto, pero no se recibió.",
113121
expectedUrlResponse:
114122
"Se esperaba una respuesta URL, pero no se recibió.",
115123
invalidUrl: "URL inválida: {url}",
@@ -133,6 +141,8 @@ export class LocalizationService {
133141
},
134142
fr: {
135143
noResponse: "Vous n'avez pas répondu à cette question.",
144+
expectedTextResponse:
145+
"Une réponse texte était attendue, mais non reçue.",
136146
expectedUrlResponse: "Une réponse URL était attendue, mais non reçue.",
137147
invalidUrl: "URL invalide: {url}",
138148
unableToFetchUrl: "Impossible de récupérer le contenu de l'URL: {url}",

0 commit comments

Comments
 (0)