Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/app/plugins/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,18 @@
"messages": {
"submitTest": "هل أنت متأكد أنك تريد تقديم هذا الاختبار؟",
"submitOnce": "هل أنت متأكد أنك تريد تقديم اختبارك؟ يمكنك القيام بذلك مرة واحدة فقط.",
"noHeuristics": "هذا الاختبار ليس لديه أي استدلالات"
"noHeuristics": "هذا الاختبار ليس لديه أي استدلالات",
"noHeuristicsConfigured": "لم يتم تكوين أي استدلالات",
"answerSaved": "تم حفظ الإجابة بنجاح"
},
"unknownHeuristic": "استدلال غير معروف",
"unknownQuestion": "سؤال غير معروف",
"selectAnOption": "يرجى تحديد خيار",
"errors": {
"questionNotLoaded": "تعذر تحميل السؤال",
"noAnswerData": "لم يتم العثور على بيانات الإجابة",
"failedToSaveAnswer": "فشل في حفظ الإجابة. يرجى المحاولة مرة أخرى.",
"failedToSubmitAnswer": "فشل في تقديم الإجابة. يرجى المحاولة مرة أخرى."
},
"actions": {
"cancel": "إلغاء",
Expand All @@ -610,6 +621,9 @@
"notMail": "ليس {userEmail}؟",
"changeAccount": "تغيير الحساب",
"startTest": "بدء الاختبار"
},
"headers": {
"heuristics": "الاستدلالات"
}
},
"HeuristicsEditTest": {
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "Sind Sie sicher, dass Sie diesen Test einreichen möchten?",
"submitOnce": "Sind Sie sicher, dass Sie Ihren Test einreichen möchten? Sie können dies nur einmal tun.",
"noHeuristics": "Dieser Test hat keine Heuristiken"
"noHeuristics": "Dieser Test hat keine Heuristiken",
"noHeuristicsConfigured": "Konfigurationsfehler: Dieser Test hat keine konfigurierten Heuristiken. Bitte Heuristiken hinzufügen, um fortzufahren.",
"answerSaved": "Antwort erfolgreich gespeichert"
},
"errors": {
"questionNotLoaded": "Frage konnte nicht geladen werden",
"noAnswerData": "Keine Antwortdaten gefunden",
"failedToSaveAnswer": "Fehler beim Speichern der Antwort. Bitte versuchen Sie es erneut.",
"failedToSubmitAnswer": "Fehler beim Einreichen der Antwort. Bitte versuchen Sie es erneut."
},
"unknownHeuristic": "Unbekannte Heuristik",
"unknownQuestion": "Unbekannte Frage",
"selectAnOption": "Wählen Sie eine Option",
"headers": {
"heuristics": "HEURISTIKEN"
},
"actions": {
"cancel": "Abbrechen",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "Are you sure you want to submit this test?",
"submitOnce": "Are you sure you want to submit your test. You can only do it once.",
"noHeuristics": "This test don't have any heuristic"
"noHeuristics": "This test don't have any heuristic",
"noHeuristicsConfigured": "Configuration Error: This test has no heuristics configured. Please add heuristics to proceed.",
"answerSaved": "Answer saved successfully"
},
"errors": {
"questionNotLoaded": "Question could not be loaded",
"noAnswerData": "No answer data found",
"failedToSaveAnswer": "Failed to save answer. Please try again.",
"failedToSubmitAnswer": "Failed to submit answer. Please try again."
},
"unknownHeuristic": "Unknown Heuristic",
"unknownQuestion": "Unknown Question",
"selectAnOption": "Select an Option",
"headers": {
"heuristics": "HEURISTICS"
},
"actions": {
"cancel": "Cancel",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "¿Estás seguro de que deseas enviar esta prueba?",
"submitOnce": "¿Estás seguro de que deseas enviar tu prueba? Solo puedes enviarla una vez.",
"noHeuristics": "Esta prueba no tiene ninguna heurística"
"noHeuristics": "Esta prueba no tiene ninguna heurística",
"noHeuristicsConfigured": "Error de configuración: esta prueba no tiene heurísticas configuradas. Por favor, agregue heurísticas para continuar.",
"answerSaved": "Respuesta guardada con éxito"
},
"errors": {
"questionNotLoaded": "No se pudo cargar la pregunta",
"noAnswerData": "No se encontraron datos de respuesta",
"failedToSaveAnswer": "Error al guardar la respuesta. Por favor, inténtelo de nuevo.",
"failedToSubmitAnswer": "Error al enviar la respuesta. Por favor, inténtelo de nuevo."
},
"unknownHeuristic": "Heurística desconocida",
"unknownQuestion": "Pregunta desconocida",
"selectAnOption": "Seleccionar una opción",
"headers": {
"heuristics": "HEURÍSTICAS"
},
"actions": {
"cancel": "Cancelar",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,18 @@
"messages": {
"submitTest": "Êtes-vous sûr de vouloir soumettre ce test ?",
"submitOnce": "Êtes-vous sûr de vouloir soumettre votre test ? Vous ne pouvez le faire qu'une seule fois.",
"noHeuristics": "Ce test n'a aucune heuristique"
"noHeuristics": "Ce test n'a aucune heuristique",
"noHeuristicsConfigured": "Aucune heuristique configurée",
"answerSaved": "Réponse enregistrée avec succès"
},
"unknownHeuristic": "Heuristique inconnue",
"unknownQuestion": "Question inconnue",
"selectAnOption": "Veuillez sélectionner une option",
"errors": {
"questionNotLoaded": "La question n'a pas pu être chargée",
"noAnswerData": "Aucune donnée de réponse trouvée",
"failedToSaveAnswer": "Échec de l'enregistrement de la réponse. Veuillez réessayer.",
"failedToSubmitAnswer": "Échec de la soumission de la réponse. Veuillez réessayer."
},
"actions": {
"cancel": "Annuler",
Expand All @@ -610,6 +621,9 @@
"notMail": "Pas {userEmail} ?",
"changeAccount": "Changer de compte",
"startTest": "Commencer le test"
},
"headers": {
"heuristics": "Heuristiques"
}
},
"HeuristicsEditTest": {
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "क्या आप वाकई यह परीक्षण जमा करना चाहते हैं?",
"submitOnce": "क्या आप वाकई अपना परीक्षण जमा करना चाहते हैं? आप इसे केवल एक बार जमा कर सकते हैं।",
"noHeuristics": "इस परीक्षण के लिए कोई हीयुरिस्टिक्स उपलब्ध नहीं हैं"
"noHeuristics": "इस परीक्षण के लिए कोई हीयुरिस्टिक्स उपलब्ध नहीं हैं",
"noHeuristicsConfigured": "कन्फ़िगरेशन त्रुटि: इस परीक्षण में कोई हीयुरिस्टिक्स कन्फ़िगर नहीं किया गया है। कृपया आगे बढ़ने के लिए हीयुरिस्टिक्स जोड़ें।",
"answerSaved": "उत्तर सफलतापूर्वक सहेजा गया"
},
"errors": {
"questionNotLoaded": "प्रश्न लोड नहीं किया जा सका",
"noAnswerData": "कोई उत्तर डेटा नहीं मिला",
"failedToSaveAnswer": "उत्तर सहेजने में विफल। कृपया पुन: प्रयास करें।",
"failedToSubmitAnswer": "उत्तर जमा करने में विफल। कृपया पुन: प्रयास करें।"
},
"unknownHeuristic": "अज्ञात हीयुरिस्टिक",
"unknownQuestion": "अज्ञात प्रश्न",
"selectAnOption": "एक विकल्प चुनें",
"headers": {
"heuristics": "हीयुरिस्टिक्स"
},
"actions": {
"cancel": "रद्द करें",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "このテストを提出してもよろしいですか?",
"submitOnce": "このテストを提出してもよろしいですか?提出は一度だけです。",
"noHeuristics": "このテストにはヒューリスティックがありません"
"noHeuristics": "このテストにはヒューリスティックがありません",
"noHeuristicsConfigured": "設定エラー:このテストにはヒューリスティックが構成されていません。続行するにはヒューリスティックを追加してください。",
"answerSaved": "回答が正常に保存されました"
},
"errors": {
"questionNotLoaded": "質問を読み込めませんでした",
"noAnswerData": "回答データが見つかりません",
"failedToSaveAnswer": "回答の保存に失敗しました。もう一度お試しください。",
"failedToSubmitAnswer": "回答の提出に失敗しました。もう一度お試しください。"
},
"unknownHeuristic": "不明なヒューリスティック",
"unknownQuestion": "不明な質問",
"selectAnOption": "オプションを選択してください",
"headers": {
"heuristics": "ヒューリスティック"
},
"actions": {
"cancel": "キャンセル",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/pt_br.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,18 @@
"messages": {
"submitTest": "Tem certeza de que deseja enviar este teste?",
"submitOnce": "Tem certeza de que deseja enviar seu teste? Você só pode enviá-lo uma vez.",
"noHeuristics": "Este teste não tem heurísticas"
"noHeuristics": "Este teste não tem heurísticas",
"noHeuristicsConfigured": "Nenhuma heurística configurada",
"answerSaved": "Resposta salva com sucesso"
},
"unknownHeuristic": "Heurística desconhecida",
"unknownQuestion": "Pergunta desconhecida",
"selectAnOption": "Por favor, selecione uma opção",
"errors": {
"questionNotLoaded": "A pergunta não pôde ser carregada",
"noAnswerData": "Nenhum dado de resposta encontrado",
"failedToSaveAnswer": "Falha ao salvar a resposta. Por favor, tente novamente.",
"failedToSubmitAnswer": "Falha ao enviar a resposta. Por favor, tente novamente."
},
"actions": {
"cancel": "Cancelar",
Expand All @@ -610,6 +621,9 @@
"notMail": "Não é {userEmail}?",
"changeAccount": "Mudar conta",
"startTest": "Iniciar teste"
},
"headers": {
"heuristics": "Heurísticas"
}
},
"HeuristicsEditTest": {
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,21 @@
"messages": {
"submitTest": "Вы уверены, что хотите отправить этот тест?",
"submitOnce": "Вы уверены, что хотите отправить ваш тест? Это можно сделать только один раз.",
"noHeuristics": "В этом тесте нет эвристик"
"noHeuristics": "В этом тесте нет эвристик",
"noHeuristicsConfigured": "Ошибка конфигурации: в этом тесте не настроены эвристики. Пожалуйста, добавьте эвристики, чтобы продолжить.",
"answerSaved": "Ответ успешно сохранен"
},
"errors": {
"questionNotLoaded": "Не удалось загрузить вопрос",
"noAnswerData": "Данные ответа не найдены",
"failedToSaveAnswer": "Не удалось сохранить ответ. Пожалуйста, попробуйте снова.",
"failedToSubmitAnswer": "Не удалось отправить ответ. Пожалуйста, попробуйте снова."
},
"unknownHeuristic": "Неизвестная эвристика",
"unknownQuestion": "Неизвестный вопрос",
"selectAnOption": "Выберите вариант",
"headers": {
"heuristics": "ЭВРИСТИКИ"
},
"actions": {
"cancel": "Отмена",
Expand Down
16 changes: 15 additions & 1 deletion src/app/plugins/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,18 @@
"messages": {
"submitTest": "您确定要提交此测试吗?",
"submitOnce": "您确定要提交您的测试吗?您只能提交一次。",
"noHeuristics": "此测试没有任何启发式"
"noHeuristics": "此测试没有任何启发式",
"noHeuristicsConfigured": "未配置启发式",
"answerSaved": "回答保存成功"
},
"unknownHeuristic": "未知启发式",
"unknownQuestion": "未知问题",
"selectAnOption": "请选择一个选项",
"errors": {
"questionNotLoaded": "无法加载问题",
"noAnswerData": "未找到回答数据",
"failedToSaveAnswer": "保存回答失败。请再试一次。",
"failedToSubmitAnswer": "提交回答失败。请再试一次。"
},
"actions": {
"cancel": "取消",
Expand All @@ -610,6 +621,9 @@
"notMail": "不是 {userEmail}?",
"changeAccount": "更改账户",
"startTest": "开始测试"
},
"headers": {
"heuristics": "启发式"
}
},
"HeuristicsEditTest": {
Expand Down
10 changes: 5 additions & 5 deletions src/shared/views/SettingsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
:label="$t('common.title')"
:rules="titleRequired"
counter="200"
maxlength="200"
:error="websiteDetails.siteURL?.length === 200"
:error-messages="websiteDetails.siteURL?.length === 200 ? $t('studyCreation.details.validation.max200Characters') : []"
maxlength="200"
variant="outlined"
density="comfortable"
:placeholder="$t('TestDialog.template.title')"
Expand Down Expand Up @@ -538,9 +536,11 @@ const createObjectFromTest = (testData) => {
watch(
test,
(newTest) => {
if (newTest !== null && newTest !== undefined) {
if (newTest) {
const mappedObject = createObjectFromTest(newTest)
object.value = mappedObject
if (mappedObject) {
object.value = mappedObject
}
}
},
{ immediate: true },
Expand Down
Loading