@elice/material-quiz 1.240521.0 → 1.240521.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/material-quiz/MaterialQuiz.js +1 -2
- package/cjs/components/material-quiz/locales/index.d.ts +1 -0
- package/cjs/components/material-quiz/locales/ja.json.js +7 -0
- package/cjs/components/material-quiz/locales/th.json.js +2 -2
- package/cjs/components/material-quiz-edit/MaterialQuizEdit.js +1 -2
- package/cjs/components/material-quiz-edit/locales/index.d.ts +1 -0
- package/cjs/components/material-quiz-edit/locales/ja.json.js +7 -0
- package/cjs/components/material-quiz-edit/locales/th.json.js +2 -2
- package/es/components/material-quiz/MaterialQuiz.js +1 -2
- package/es/components/material-quiz/locales/index.d.ts +1 -0
- package/es/components/material-quiz/locales/ja.json.js +3 -0
- package/es/components/material-quiz/locales/th.json.js +2 -2
- package/es/components/material-quiz-edit/MaterialQuizEdit.js +1 -2
- package/es/components/material-quiz-edit/locales/index.d.ts +1 -0
- package/es/components/material-quiz-edit/locales/ja.json.js +3 -0
- package/es/components/material-quiz-edit/locales/th.json.js +2 -2
- package/package.json +5 -5
|
@@ -11,7 +11,6 @@ var styled = require('styled-components');
|
|
|
11
11
|
var MaterialQuizContext = require('./context/MaterialQuizContext.js');
|
|
12
12
|
var en = require('./locales/en.json.js');
|
|
13
13
|
var ko = require('./locales/ko.json.js');
|
|
14
|
-
var th = require('./locales/th.json.js');
|
|
15
14
|
var MaterialQuizShimmer = require('./MaterialQuizShimmer.js');
|
|
16
15
|
var MaterialQuizInfo = require('./MaterialQuizInfo.js');
|
|
17
16
|
|
|
@@ -101,6 +100,6 @@ const MaterialQuizContainer = ({
|
|
|
101
100
|
onNext: onNext
|
|
102
101
|
}, React.createElement(MaterialQuiz, null)));
|
|
103
102
|
};
|
|
104
|
-
var MaterialQuiz$1 = new intl.IntlComponentBuilder(MaterialQuizContainer).add('en', en.default).add('ko', ko.default).
|
|
103
|
+
var MaterialQuiz$1 = new intl.IntlComponentBuilder(MaterialQuizContainer).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('./locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('./locales/ja.json.js'); })).build();
|
|
105
104
|
|
|
106
105
|
exports.default = MaterialQuiz$1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ja = {"materialQuiz.error":"クイズの取得に失敗しました。","materialQuiz.submit":"提出","materialQuiz.submittedAnswer":"提出された回答","materialQuiz.answer":"回答","materialQuiz.next":"次の質問 >","materialQuiz.selectOne.answer.title":"以下から選択してください。","materialQuiz.selectMultiple.answer.title":"以下から選択してください。 (冗長な選択肢も利用可能)","materialQuiz.selectMultipleOrder.answer.title":"ドラッグして回答をドロップしてください。","materialQuiz.text.answer.title":"回答を記入してください。","materialQuiz.empty.title":"クイズは今準備中です。","materialQuiz.empty.description":"クイズの投稿後にもう一度確認してください!","materialQuiz.survey.empty.title":"調査は現在準備中です。","materialQuiz.survey.empty.description":"調査投稿後にもう一度ご確認ください!","materialQuiz.submitStatus.success":"提出済","materialQuiz.submitStatus.failure":"提出に失敗しました。","materialQuiz.resultStatus.correct":"正しい","materialQuiz.resultStatus.wrong":"間違った","materialQuiz.resultStatus.submitted":"提出済","materialQuiz.explanation.close":"クイズの説明を閉じる","materialQuiz.explanation.show":"クイズの説明を表示します","materialQuiz.explanation.empty":"いいです。","materialQuiz.text.placeholder":"回答を入力してください","materialQuiz.text.correct":"その通りです!","materialQuiz.text.wrong":"それは間違っています。もう一度やってみてください!","materialQuiz.order.answerEmpty":"オプションをここに戻すことができます。","materialQuiz.bottomSheet.title":"オプション","materialQuiz.bottomSheet.optionEmpty":"すべてのビューがグループに配置されました。","materialQuiz.dropzone.desktop.answerEmpty":"ビューをエリアにドラッグしてください。","materialQuiz.dropzone.mobile.answerEmpty":"ここをクリックしてビューを追加してください。","materialQuiz.dropzone.optionEmpty":"オプション","materialQuiz.dropzone.optionReset":"回答をリセットします"};
|
|
6
|
+
|
|
7
|
+
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"materialQuiz.error":"ไม่สามารถดึงควิซได้","materialQuiz.submit":"ส่งใบสมัคร","materialQuiz.submittedAnswer":"ฉันสามารถตอบคำถามเช่นนี้ได้","materialQuiz.answer":"ตอบ","materialQuiz.next":"คำถามถัดไป >","materialQuiz.selectOne.answer.title":"เลือกจากมุมมองด้านล่างนี้","materialQuiz.selectMultiple.answer.title":"เลือกจากรายการด้านล่าง (มีการเลือกที่ซ้ำซ้อน)","materialQuiz.selectMultipleOrder.answer.title":"ลากและวางคำตอบของคุณ","materialQuiz.text.answer.title":"กรุณากรอกคำตอบ","materialQuiz.empty.title":"ควิซกำลังเตรียมอยู่ตอนนี้","materialQuiz.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์ควิซ!","materialQuiz.survey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialQuiz.survey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialQuiz.submitStatus.success":"เสนอ","materialQuiz.submitStatus.failure":"การส่งล้มเหลว","materialQuiz.resultStatus.correct":"ถูกต้อง","materialQuiz.resultStatus.wrong":"ผิด","materialQuiz.resultStatus.submitted":"เสนอ","materialQuiz.explanation.close":"ปิดคำอธิบายควิซ","materialQuiz.explanation.show":"แสดงคำอธิบายของควิซ","materialQuiz.explanation.empty":"ไม่ให้อธิบาย","materialQuiz.text.placeholder":"กรุณากรอกคำตอบ","materialQuiz.text.correct":"ถูกต้อง!","materialQuiz.text.wrong":"นั่นผิด ลองอีกครั้ง!","materialQuiz.order.answerEmpty":"คุณสามารถย้ายตัวเลือกกลับมาที่นี่ได้","materialQuiz.bottomSheet.title":"ตัวเลือก","materialQuiz.bottomSheet.optionEmpty":"ทุกมุมมองได้ถูกวางไว้ในกลุ่มแล้ว","materialQuiz.dropzone.desktop.answerEmpty":"ลากมุมมองเข้าสู่พื้นที่","materialQuiz.dropzone.mobile.answerEmpty":"คลิกที่นี่เพื่อเพิ่มมุมมอง","materialQuiz.dropzone.optionEmpty":"ตัวเลือก","materialQuiz.dropzone.optionReset":"รีเซ็ตคำตอบ"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -10,7 +10,6 @@ var editValue = require('./utils/editValue.js');
|
|
|
10
10
|
var context = require('./context.js');
|
|
11
11
|
var en = require('./locales/en.json.js');
|
|
12
12
|
var ko = require('./locales/ko.json.js');
|
|
13
|
-
var th = require('./locales/th.json.js');
|
|
14
13
|
var MaterialQuizEditContent = require('./MaterialQuizEditContent.js');
|
|
15
14
|
|
|
16
15
|
const MaterialQuizEdit = React.forwardRef(({
|
|
@@ -88,6 +87,6 @@ const MaterialQuizEdit = React.forwardRef(({
|
|
|
88
87
|
}
|
|
89
88
|
}, React.createElement(reactHookForm.FormProvider, Object.assign({}, useFormMethods), React.createElement(MaterialQuizEditContent.default, null)))));
|
|
90
89
|
});
|
|
91
|
-
var MaterialQuizEdit$1 = new intl.IntlComponentBuilder(MaterialQuizEdit).add('en', en.default).add('ko', ko.default).
|
|
90
|
+
var MaterialQuizEdit$1 = new intl.IntlComponentBuilder(MaterialQuizEdit).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('./locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('./locales/ja.json.js'); })).build();
|
|
92
91
|
|
|
93
92
|
exports.default = MaterialQuizEdit$1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ja = {"common.option":"オプション {number}","common.group":"グループ {group}","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","content.title":"質問","content.title.errorMessage.required":"質問を入力してください。","content.title.placeholder":"問題の質問を入力してください。","content.description.title":"問題の説明","content.description.placeholder":"詳細な問題の説明、コード、画像などを入力してください。","content.option.title":"回答","content.option.tooltip.disabled":"クイズが公開されているか、{_termPathRoleStudent}さんが問題を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.select.items.selectOne":"マルチプルチョイス(一つ選択)","content.option.select.items.selectMultiple":"複数選択肢(複数回答)","content.option.select.items.selectMultipleOrder":"ドラッグアンドドロップ","content.option.select.items.text":"主観的","content.option.optionsSetEnabled.label":"回答の順番をシャッフルする","content.option.optionsSetEnabled.tooltip":"機能が有効になると、回答の順序はそれぞれの {_termPathRoleStudent} にシャッフルされます。","content.option.alert.randomized.title":"回答の順番をシャッフルする機能が有効になっています","content.option.alert.randomized.description":"{_termPathRoleStudent} は、回答の順番がシャッフルされます。","content.option.select.items.group":"ドラッグアンドドロップ(グループタイプ)","content.option.statusText.dragNDrop":"オプションを入力した後、正しい答えの順にクリックしてください。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.statusText.dragNDropGroup":"左側の学習者の{_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.errorMessage.required":"回答を選択してください。","content.answerHint.title":"入力フィールドのヒントテキストを指定してください。","content.answerHint.description":"入力フィールドのヒントテキストを指定できます。","content.answerHint.placeholder":"入力フィールドのヒントテキスト","content.explanationInfo.title":"説明を書いてください","content.explanationInfo.description":"この説明は問題が解決された後に表示されます。","content.explanationInfo.checkbox.label":"使用","content.explanationInfo.textarea.placeholder":"説明を入力してください。","content.explanationInfo.textarea.errorMessage.required":"問題の説明を書いてください。","option.common.select.errorMessage.required":"オプションを入力してください。","option.common.select.placeholder":"オプションを入力してください","option.common.select.tooltip.minOptionInfoItem":"少なくとも2つのオプションを入力する必要があります。","option.common.select.tooltip.maxOptionInfoItem":"20個以上のオプションを入力することはできません。","option.common.select.addButton":"オプションを追加","option.text.answerInfo.errorMessage.required":"正しい答えを入力してください。","option.text.answerInfo.hintText":"回答は正規表現を使用して評価されます。正しい答えにメタ文字(^[]$()|*+?{}.\\)が含まれる場合は、バックスラッシュ(\\)を前置してください。\n例:正しい答えが^^の場合 → \\^\\^","option.text.isAutoGrade.checkbox.label":"手動で採点してください。","group.option.title":"グループ","group.option.addButton":"グループを追加","group.option.errorMessage.required":"グループ名を入力してください。","group.option.errorMessage.notChild":"どのオプションにも属さないグループが作成されました。","group.option.tooltip.minDisabled":"少なくとも2つのグループを設定する必要があります。","group.option.tooltip.maxDisabled":"最大6つのグループを設定できます。","answer.option.errorMessage":"オプションやファイルの値が必要です。","answer.option.title.text":"オプション","answer.option.title.file":"ファイル","answer.option.title.group":"オプションが属するグループ","answer.option.addButton":"オプションを追加","answer.option.file.label":"ファイルをアップロード","answer.option.file.description.imageSize":"ファイルの推奨アスペクト比は1:1(185 x 185px)です。","answer.option.file.description.fileSize":"ファイルは最大3MBまでアップロードできます。","answer.option.file.description.extension":"サポートされている拡張子は .mp3、.mp4、.mov、.png、.jpg、.svg、.gif です。","answer.option.file.errorMessage.maxSize":"最大{size}MBまでアップロードできます。","answer.option.default.group":"なし","answer.option.tooltip.minDisabled":"少なくとも2つのオプションを設定する必要があります。","answer.option.tooltip.maxDisabled":"最大20のオプションを設定できます。"};
|
|
6
|
+
|
|
7
|
+
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"common.option":"ตัวเลือก {number}","common.group":"กลุ่ม {group}","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","content.title":"คำถาม","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.placeholder":"กรุณากรอกคำถามสำหรับปัญหานี้ค่ะ","content.description.title":"คำอธิบายของปัญหา","content.description.placeholder":"กรุณากรอกคำอธิบายปัญหาอย่างละเอียดพร้อมโค้ดหรือรูปภาพ เป็นต้น","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้ถ้าควิซเป็นสาธารณะหรือถ้ามีนักเรียนที่ส่งปัญหาไปแล้ว {_termPathRoleStudent} คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้เลย","content.option.select.items.selectOne":"การเลือกคำตอบหลายตัวเลือก (เลือกได้เพียงหนึ่งคำตอบ)","content.option.select.items.selectMultiple":"ตัวเลือกหลายตัวเลือก (ตอบได้หลายตัวเลือก)","content.option.select.items.selectMultipleOrder":"ลากและวาง","content.option.select.items.text":"อาการที่เป็นเรื่องส่วนบุคคล","content.option.optionsSetEnabled.label":"สับเปลี่ยนลำดับคำตอบ","content.option.optionsSetEnabled.tooltip":"เมื่อเปิดใช้งานคุณลักษณะนี้ ลำดับของคำตอบจะถูกสลับสลายสำหรับแต่ละ {_termPathRoleStudent}","content.option.alert.randomized.title":"การสับเปลี่ยนลำดับของคำตอบถูกเปิดใช้งาน","content.option.alert.randomized.description":"{_termPathRoleStudent} จะเห็นการเรียงลำดับของคำตอบของพวกเขาที่สลับกัน","content.option.select.items.group":"ลากและวาง (ประเภทกลุ่ม)","content.option.statusText.dragNDrop":"หลังจากป้อนตัวเลือกเสร็จ ให้คลิกตามลำดับของคำตอบที่ถูกต้อง\nคุณสามารถเช็คปัญหาที่กำหนดค่าไว้ได้ในแท็บ {_termLibraryLecturePage} ทางซ้าย","content.option.statusText.dragNDropGroup":"คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางด้านซ้ายได้","content.option.errorMessage.required":"โปรดเลือกคำตอบ","content.answerHint.title":"ระบุข้อความในช่องข้อมูลที่แสดงคำใบ้","content.answerHint.description":"คุณสามารถระบุข้อความใบ้สำหรับช่องป้อนที่จะใส่คำตอบได้","content.answerHint.placeholder":"ป้อนข้อความในช่องใส่ข้อมูล","content.explanationInfo.title":"เขียนอธิบาย","content.explanationInfo.description":"คำอธิบายนี้จะปรากฏหลังจากปัญหาได้รับการแก้ไขแล้ว","content.explanationInfo.checkbox.label":"ใช้","content.explanationInfo.textarea.placeholder":"กรุณาใส่คำอธิบาย","content.explanationInfo.textarea.errorMessage.required":"โปรดเขียนคำอธิบายเกี่ยวกับปัญหา","option.common.select.errorMessage.required":"กรุณากรอกตัวเลือก","option.common.select.placeholder":"ป้อนตัวเลือก","option.common.select.tooltip.minOptionInfoItem":"คุณต้องป้อนตัวเลือกอย่างน้อย 2 ตัวเลือก","option.common.select.tooltip.maxOptionInfoItem":"คุณไม่สามารถป้อนตัวเลือกได้มากกว่า 20 ตัวเลือก","option.common.select.addButton":"เพิ่มตัวเลือก","option.text.answerInfo.errorMessage.required":"กรุณากรอกคำตอบที่ถูกต้อง","option.text.answerInfo.hintText":"คำตอบจะถูกให้คะแนนโดยใช้ regular expressions หากคำตอบที่ถูกต้องรวมถึง meta-characters (^[]$()|*+?{}.\\) โปรดเติมเครื่องหมาย backslash (\\) ไว้ข้างหน้า","option.text.isAutoGrade.checkbox.label":"การให้คะแนนโดยการตรวจสอบโดยไม่ระบุคำตอบ","group.option.title":"กลุ่ม","group.option.addButton":"เพิ่มกลุ่ม","group.option.errorMessage.required":"กรุณาใส่ชื่อกลุ่ม","group.option.errorMessage.notChild":"มีกลุ่มที่ถูกสร้างขึ้นแล้ว ซึ่งไม่ได้อยู่ในตัวเลือกใดๆ ","group.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 กลุ่ม","group.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่ากลุ่มได้สูงสุด 6 กลุ่ม","answer.option.errorMessage":"ต้องมีตัวเลือกหรือค่าไฟล์","answer.option.title.text":"ตัวเลือก","answer.option.title.file":"ไฟล์","answer.option.title.group":"กลุ่มที่ตัวเลือกเป็นส่วนหนึ่งของ","answer.option.addButton":"เพิ่มตัวเลือก","answer.option.file.label":"อัพโหลดไฟล์","answer.option.file.description.imageSize":"อัตราส่วนที่แนะนำสำหรับไฟล์คือ 1:1 (185 x 185px)","answer.option.file.description.fileSize":"คุณสามารถอัพโหลดไฟล์ได้สูงสุด 3MB","answer.option.file.description.extension":"รองรับสกุลไฟล์ .mp3, .mp4, .mov, .png, .jpg, .svg และ .gif","answer.option.file.errorMessage.maxSize":"คุณสามารถอัพโหลดได้สูงสุด {size}MB.","answer.option.default.group":"ไม่มี","answer.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 ตัวเลือก","answer.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่าตั้งค่าได้สูงสุด 20 ตัวเลือก"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -7,7 +7,6 @@ import styled from 'styled-components';
|
|
|
7
7
|
import { MaterialQuizProvider, useMaterialQuizState, useMaterialQuizDispatch } from './context/MaterialQuizContext.js';
|
|
8
8
|
import messageEn from './locales/en.json.js';
|
|
9
9
|
import messageKo from './locales/ko.json.js';
|
|
10
|
-
import messageTh from './locales/th.json.js';
|
|
11
10
|
import MaterialQuizShimmer from './MaterialQuizShimmer.js';
|
|
12
11
|
import MaterialQuizInfo from './MaterialQuizInfo.js';
|
|
13
12
|
|
|
@@ -97,6 +96,6 @@ const MaterialQuizContainer = ({
|
|
|
97
96
|
onNext: onNext
|
|
98
97
|
}, React.createElement(MaterialQuiz, null)));
|
|
99
98
|
};
|
|
100
|
-
var MaterialQuiz$1 = new IntlComponentBuilder(MaterialQuizContainer).add('en', messageEn).add('ko', messageKo).
|
|
99
|
+
var MaterialQuiz$1 = new IntlComponentBuilder(MaterialQuizContainer).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
101
100
|
|
|
102
101
|
export { MaterialQuiz$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var ja = {"materialQuiz.error":"クイズの取得に失敗しました。","materialQuiz.submit":"提出","materialQuiz.submittedAnswer":"提出された回答","materialQuiz.answer":"回答","materialQuiz.next":"次の質問 >","materialQuiz.selectOne.answer.title":"以下から選択してください。","materialQuiz.selectMultiple.answer.title":"以下から選択してください。 (冗長な選択肢も利用可能)","materialQuiz.selectMultipleOrder.answer.title":"ドラッグして回答をドロップしてください。","materialQuiz.text.answer.title":"回答を記入してください。","materialQuiz.empty.title":"クイズは今準備中です。","materialQuiz.empty.description":"クイズの投稿後にもう一度確認してください!","materialQuiz.survey.empty.title":"調査は現在準備中です。","materialQuiz.survey.empty.description":"調査投稿後にもう一度ご確認ください!","materialQuiz.submitStatus.success":"提出済","materialQuiz.submitStatus.failure":"提出に失敗しました。","materialQuiz.resultStatus.correct":"正しい","materialQuiz.resultStatus.wrong":"間違った","materialQuiz.resultStatus.submitted":"提出済","materialQuiz.explanation.close":"クイズの説明を閉じる","materialQuiz.explanation.show":"クイズの説明を表示します","materialQuiz.explanation.empty":"いいです。","materialQuiz.text.placeholder":"回答を入力してください","materialQuiz.text.correct":"その通りです!","materialQuiz.text.wrong":"それは間違っています。もう一度やってみてください!","materialQuiz.order.answerEmpty":"オプションをここに戻すことができます。","materialQuiz.bottomSheet.title":"オプション","materialQuiz.bottomSheet.optionEmpty":"すべてのビューがグループに配置されました。","materialQuiz.dropzone.desktop.answerEmpty":"ビューをエリアにドラッグしてください。","materialQuiz.dropzone.mobile.answerEmpty":"ここをクリックしてビューを追加してください。","materialQuiz.dropzone.optionEmpty":"オプション","materialQuiz.dropzone.optionReset":"回答をリセットします"};
|
|
2
|
+
|
|
3
|
+
export { ja as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"materialQuiz.error":"ไม่สามารถดึงควิซได้","materialQuiz.submit":"ส่งใบสมัคร","materialQuiz.submittedAnswer":"ฉันสามารถตอบคำถามเช่นนี้ได้","materialQuiz.answer":"ตอบ","materialQuiz.next":"คำถามถัดไป >","materialQuiz.selectOne.answer.title":"เลือกจากมุมมองด้านล่างนี้","materialQuiz.selectMultiple.answer.title":"เลือกจากรายการด้านล่าง (มีการเลือกที่ซ้ำซ้อน)","materialQuiz.selectMultipleOrder.answer.title":"ลากและวางคำตอบของคุณ","materialQuiz.text.answer.title":"กรุณากรอกคำตอบ","materialQuiz.empty.title":"ควิซกำลังเตรียมอยู่ตอนนี้","materialQuiz.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์ควิซ!","materialQuiz.survey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialQuiz.survey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialQuiz.submitStatus.success":"เสนอ","materialQuiz.submitStatus.failure":"การส่งล้มเหลว","materialQuiz.resultStatus.correct":"ถูกต้อง","materialQuiz.resultStatus.wrong":"ผิด","materialQuiz.resultStatus.submitted":"เสนอ","materialQuiz.explanation.close":"ปิดคำอธิบายควิซ","materialQuiz.explanation.show":"แสดงคำอธิบายของควิซ","materialQuiz.explanation.empty":"ไม่ให้อธิบาย","materialQuiz.text.placeholder":"กรุณากรอกคำตอบ","materialQuiz.text.correct":"ถูกต้อง!","materialQuiz.text.wrong":"นั่นผิด ลองอีกครั้ง!","materialQuiz.order.answerEmpty":"คุณสามารถย้ายตัวเลือกกลับมาที่นี่ได้","materialQuiz.bottomSheet.title":"ตัวเลือก","materialQuiz.bottomSheet.optionEmpty":"ทุกมุมมองได้ถูกวางไว้ในกลุ่มแล้ว","materialQuiz.dropzone.desktop.answerEmpty":"ลากมุมมองเข้าสู่พื้นที่","materialQuiz.dropzone.mobile.answerEmpty":"คลิกที่นี่เพื่อเพิ่มมุมมอง","materialQuiz.dropzone.optionEmpty":"ตัวเลือก","materialQuiz.dropzone.optionReset":"รีเซ็ตคำตอบ"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { th as default };
|
|
@@ -6,7 +6,6 @@ import { manipulateValue, restoreValue } from './utils/editValue.js';
|
|
|
6
6
|
import MaterialQuizEditContext from './context.js';
|
|
7
7
|
import messageEn from './locales/en.json.js';
|
|
8
8
|
import messageKo from './locales/ko.json.js';
|
|
9
|
-
import messageTh from './locales/th.json.js';
|
|
10
9
|
import MaterialQuizEditContent from './MaterialQuizEditContent.js';
|
|
11
10
|
|
|
12
11
|
const MaterialQuizEdit = forwardRef(({
|
|
@@ -84,6 +83,6 @@ const MaterialQuizEdit = forwardRef(({
|
|
|
84
83
|
}
|
|
85
84
|
}, React.createElement(FormProvider, Object.assign({}, useFormMethods), React.createElement(MaterialQuizEditContent, null)))));
|
|
86
85
|
});
|
|
87
|
-
var MaterialQuizEdit$1 = new IntlComponentBuilder(MaterialQuizEdit).add('en', messageEn).add('ko', messageKo).
|
|
86
|
+
var MaterialQuizEdit$1 = new IntlComponentBuilder(MaterialQuizEdit).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
88
87
|
|
|
89
88
|
export { MaterialQuizEdit$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var ja = {"common.option":"オプション {number}","common.group":"グループ {group}","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","content.title":"質問","content.title.errorMessage.required":"質問を入力してください。","content.title.placeholder":"問題の質問を入力してください。","content.description.title":"問題の説明","content.description.placeholder":"詳細な問題の説明、コード、画像などを入力してください。","content.option.title":"回答","content.option.tooltip.disabled":"クイズが公開されているか、{_termPathRoleStudent}さんが問題を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.select.items.selectOne":"マルチプルチョイス(一つ選択)","content.option.select.items.selectMultiple":"複数選択肢(複数回答)","content.option.select.items.selectMultipleOrder":"ドラッグアンドドロップ","content.option.select.items.text":"主観的","content.option.optionsSetEnabled.label":"回答の順番をシャッフルする","content.option.optionsSetEnabled.tooltip":"機能が有効になると、回答の順序はそれぞれの {_termPathRoleStudent} にシャッフルされます。","content.option.alert.randomized.title":"回答の順番をシャッフルする機能が有効になっています","content.option.alert.randomized.description":"{_termPathRoleStudent} は、回答の順番がシャッフルされます。","content.option.select.items.group":"ドラッグアンドドロップ(グループタイプ)","content.option.statusText.dragNDrop":"オプションを入力した後、正しい答えの順にクリックしてください。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.statusText.dragNDropGroup":"左側の学習者の{_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.errorMessage.required":"回答を選択してください。","content.answerHint.title":"入力フィールドのヒントテキストを指定してください。","content.answerHint.description":"入力フィールドのヒントテキストを指定できます。","content.answerHint.placeholder":"入力フィールドのヒントテキスト","content.explanationInfo.title":"説明を書いてください","content.explanationInfo.description":"この説明は問題が解決された後に表示されます。","content.explanationInfo.checkbox.label":"使用","content.explanationInfo.textarea.placeholder":"説明を入力してください。","content.explanationInfo.textarea.errorMessage.required":"問題の説明を書いてください。","option.common.select.errorMessage.required":"オプションを入力してください。","option.common.select.placeholder":"オプションを入力してください","option.common.select.tooltip.minOptionInfoItem":"少なくとも2つのオプションを入力する必要があります。","option.common.select.tooltip.maxOptionInfoItem":"20個以上のオプションを入力することはできません。","option.common.select.addButton":"オプションを追加","option.text.answerInfo.errorMessage.required":"正しい答えを入力してください。","option.text.answerInfo.hintText":"回答は正規表現を使用して評価されます。正しい答えにメタ文字(^[]$()|*+?{}.\\)が含まれる場合は、バックスラッシュ(\\)を前置してください。\n例:正しい答えが^^の場合 → \\^\\^","option.text.isAutoGrade.checkbox.label":"手動で採点してください。","group.option.title":"グループ","group.option.addButton":"グループを追加","group.option.errorMessage.required":"グループ名を入力してください。","group.option.errorMessage.notChild":"どのオプションにも属さないグループが作成されました。","group.option.tooltip.minDisabled":"少なくとも2つのグループを設定する必要があります。","group.option.tooltip.maxDisabled":"最大6つのグループを設定できます。","answer.option.errorMessage":"オプションやファイルの値が必要です。","answer.option.title.text":"オプション","answer.option.title.file":"ファイル","answer.option.title.group":"オプションが属するグループ","answer.option.addButton":"オプションを追加","answer.option.file.label":"ファイルをアップロード","answer.option.file.description.imageSize":"ファイルの推奨アスペクト比は1:1(185 x 185px)です。","answer.option.file.description.fileSize":"ファイルは最大3MBまでアップロードできます。","answer.option.file.description.extension":"サポートされている拡張子は .mp3、.mp4、.mov、.png、.jpg、.svg、.gif です。","answer.option.file.errorMessage.maxSize":"最大{size}MBまでアップロードできます。","answer.option.default.group":"なし","answer.option.tooltip.minDisabled":"少なくとも2つのオプションを設定する必要があります。","answer.option.tooltip.maxDisabled":"最大20のオプションを設定できます。"};
|
|
2
|
+
|
|
3
|
+
export { ja as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"common.option":"ตัวเลือก {number}","common.group":"กลุ่ม {group}","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","content.title":"คำถาม","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.placeholder":"กรุณากรอกคำถามสำหรับปัญหานี้ค่ะ","content.description.title":"คำอธิบายของปัญหา","content.description.placeholder":"กรุณากรอกคำอธิบายปัญหาอย่างละเอียดพร้อมโค้ดหรือรูปภาพ เป็นต้น","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้ถ้าควิซเป็นสาธารณะหรือถ้ามีนักเรียนที่ส่งปัญหาไปแล้ว {_termPathRoleStudent} คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้เลย","content.option.select.items.selectOne":"การเลือกคำตอบหลายตัวเลือก (เลือกได้เพียงหนึ่งคำตอบ)","content.option.select.items.selectMultiple":"ตัวเลือกหลายตัวเลือก (ตอบได้หลายตัวเลือก)","content.option.select.items.selectMultipleOrder":"ลากและวาง","content.option.select.items.text":"อาการที่เป็นเรื่องส่วนบุคคล","content.option.optionsSetEnabled.label":"สับเปลี่ยนลำดับคำตอบ","content.option.optionsSetEnabled.tooltip":"เมื่อเปิดใช้งานคุณลักษณะนี้ ลำดับของคำตอบจะถูกสลับสลายสำหรับแต่ละ {_termPathRoleStudent}","content.option.alert.randomized.title":"การสับเปลี่ยนลำดับของคำตอบถูกเปิดใช้งาน","content.option.alert.randomized.description":"{_termPathRoleStudent} จะเห็นการเรียงลำดับของคำตอบของพวกเขาที่สลับกัน","content.option.select.items.group":"ลากและวาง (ประเภทกลุ่ม)","content.option.statusText.dragNDrop":"หลังจากป้อนตัวเลือกเสร็จ ให้คลิกตามลำดับของคำตอบที่ถูกต้อง\nคุณสามารถเช็คปัญหาที่กำหนดค่าไว้ได้ในแท็บ {_termLibraryLecturePage} ทางซ้าย","content.option.statusText.dragNDropGroup":"คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางด้านซ้ายได้","content.option.errorMessage.required":"โปรดเลือกคำตอบ","content.answerHint.title":"ระบุข้อความในช่องข้อมูลที่แสดงคำใบ้","content.answerHint.description":"คุณสามารถระบุข้อความใบ้สำหรับช่องป้อนที่จะใส่คำตอบได้","content.answerHint.placeholder":"ป้อนข้อความในช่องใส่ข้อมูล","content.explanationInfo.title":"เขียนอธิบาย","content.explanationInfo.description":"คำอธิบายนี้จะปรากฏหลังจากปัญหาได้รับการแก้ไขแล้ว","content.explanationInfo.checkbox.label":"ใช้","content.explanationInfo.textarea.placeholder":"กรุณาใส่คำอธิบาย","content.explanationInfo.textarea.errorMessage.required":"โปรดเขียนคำอธิบายเกี่ยวกับปัญหา","option.common.select.errorMessage.required":"กรุณากรอกตัวเลือก","option.common.select.placeholder":"ป้อนตัวเลือก","option.common.select.tooltip.minOptionInfoItem":"คุณต้องป้อนตัวเลือกอย่างน้อย 2 ตัวเลือก","option.common.select.tooltip.maxOptionInfoItem":"คุณไม่สามารถป้อนตัวเลือกได้มากกว่า 20 ตัวเลือก","option.common.select.addButton":"เพิ่มตัวเลือก","option.text.answerInfo.errorMessage.required":"กรุณากรอกคำตอบที่ถูกต้อง","option.text.answerInfo.hintText":"คำตอบจะถูกให้คะแนนโดยใช้ regular expressions หากคำตอบที่ถูกต้องรวมถึง meta-characters (^[]$()|*+?{}.\\) โปรดเติมเครื่องหมาย backslash (\\) ไว้ข้างหน้า","option.text.isAutoGrade.checkbox.label":"การให้คะแนนโดยการตรวจสอบโดยไม่ระบุคำตอบ","group.option.title":"กลุ่ม","group.option.addButton":"เพิ่มกลุ่ม","group.option.errorMessage.required":"กรุณาใส่ชื่อกลุ่ม","group.option.errorMessage.notChild":"มีกลุ่มที่ถูกสร้างขึ้นแล้ว ซึ่งไม่ได้อยู่ในตัวเลือกใดๆ ","group.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 กลุ่ม","group.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่ากลุ่มได้สูงสุด 6 กลุ่ม","answer.option.errorMessage":"ต้องมีตัวเลือกหรือค่าไฟล์","answer.option.title.text":"ตัวเลือก","answer.option.title.file":"ไฟล์","answer.option.title.group":"กลุ่มที่ตัวเลือกเป็นส่วนหนึ่งของ","answer.option.addButton":"เพิ่มตัวเลือก","answer.option.file.label":"อัพโหลดไฟล์","answer.option.file.description.imageSize":"อัตราส่วนที่แนะนำสำหรับไฟล์คือ 1:1 (185 x 185px)","answer.option.file.description.fileSize":"คุณสามารถอัพโหลดไฟล์ได้สูงสุด 3MB","answer.option.file.description.extension":"รองรับสกุลไฟล์ .mp3, .mp4, .mov, .png, .jpg, .svg และ .gif","answer.option.file.errorMessage.maxSize":"คุณสามารถอัพโหลดได้สูงสุด {size}MB.","answer.option.default.group":"ไม่มี","answer.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 ตัวเลือก","answer.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่าตั้งค่าได้สูงสุด 20 ตัวเลือก"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { th as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.240521.
|
|
3
|
+
"version": "1.240521.2",
|
|
4
4
|
"description": "User view and editing components of Elice material quiz",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"@elice/design-tokens": "^1.220803.0",
|
|
63
63
|
"@elice/icons": "^1.230814.0",
|
|
64
64
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
65
|
-
"@elice/intl": "0.240425.0-rc.
|
|
65
|
+
"@elice/intl": "0.240425.0-rc.2",
|
|
66
66
|
"@elice/markdown": "^1.240124.0",
|
|
67
|
-
"@elice/material-shared-types": "1.240521.
|
|
68
|
-
"@elice/material-shared-utils": "1.240521.
|
|
67
|
+
"@elice/material-shared-types": "1.240521.2",
|
|
68
|
+
"@elice/material-shared-utils": "1.240521.2",
|
|
69
69
|
"@elice/mui-system": "^5.240108.1",
|
|
70
70
|
"@elice/types": "1.240131.0",
|
|
71
71
|
"@emotion/react": "^11.10.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"react-use": "^17.2.4",
|
|
88
88
|
"styled-components": "^5.3.0"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "b7335a4ad3c869dde5ac7407cdd270d53f1864bf"
|
|
91
91
|
}
|