Index: lams_tool_assessment/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -rc56857991e269aa7f5bd250a05b52c767a9957ad -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision c56857991e269aa7f5bd250a05b52c767a9957ad) +++ lams_tool_assessment/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -1,180 +1,233 @@ -appName = shareresources +appName = assessment #language code: en #locale code: AU # CVS ID: $Id$ Exported from the LAMS Community by Ernie Ghiglione on Wed Nov 19 18:28:29 GMT 2008 -#=================== labels for ShareResources =================# +#=================== labels for Assessment =================# -activity.description =Sharing resources with others. -label.authoring.basic.resource.instructions =Instructions -label.authoring.heading.instructions =Instructions -label.authoring.heading.instructions.desc =Please input online and offline instructions -label.authoring.basic.instruction =Instruction -label.authoring.basic.resource.add.instruction =Add Instruction -label.authoring.online.instruction =Online Instructions -label.authoring.offline.instruction =Offline Instructions -error.resource.item.desc.blank =Comment/Instruction can not be blank -activity.helptext =Uploading your resources to share with others. -tool.display.name =Share Resources Tool -tool.description =Tool for sharing resources. -appName =Share Resources +activity.description =Tool for assessing learners +activity.helptext =Create questions to assess learners. +tool.display.name =Assessment Tool +tool.description =Tool for assessing learners. +appName =Assessment Tool errorPage.title =Error page errorPage.heading =Some error occurs when handling your request -label.authoring.heading =Share Resources -label.author.title =Share Resources Authoring +label.authoring.heading =Assessment Tool +label.author.title =Assessment Tool Authoring label.authoring.heading.basic =Basic -label.next.instruction =Next Instruction -label.authoring.heading.basic.desc =Basic input information for shared resources -msg.no.instruction =No instruction available. -label.authoring.heading.advance.desc =Please input advance options for shared resources +label.authoring.heading.basic.desc =Basic input information for assessment tool +label.authoring.heading.advance.desc =Please input advance options for assessment tool label.authoring.basic.title =Title -label.learning.comment.or.instruction =Comment/Instruction -label.authoring.basic.add.url =Add URL -label.authoring.basic.add.file =Add Single File -label.authoring.basic.resource.list.title =Resource List -label.authoring.basic.resource.url =URL -label.authoring.basic.resource.file =File -label.authoring.basic.resource.website =Website -label.authoring.basic.resource.verify.url =Verify URL -label.authoring.basic.resource.preview =Preview -label.authoring.basic.resource.edit =Edit -label.authoring.basic.resource.delete =Delete -monitoring.tab.instructions =Instruction -label.authoring.advanced.reflectOnActivity =Add Notebook at end of Shared Resources with the following instructions: -label.authoring.basic.resource.title.input =Title -label.authoring.basic.resource.url.input =URL -label.authoring.basic.resource.file.input =File -label.authoring.basic.resource.description.input =Description -label.authoring.basic.resource.zip.file.input =Zip file: +label.authoring.basic.question.name =Question name +label.authoring.basic.question.text =Question text +label.authoring.basic.default.question.grade =Default question grade +label.authoring.basic.penalty.factor =Penalty factor +label.authoring.basic.general.feedback =General feedback +label.authoring.basic.shuffle.the.choices =Shuffle the choices? +label.authoring.basic.add.question =Add question +label.authoring.basic.question.list.title =Question List +label.authoring.basic.list.header.type =Type +label.authoring.basic.list.header.question =Question +label.authoring.basic.type.multiple.choice =Multiple choice +label.authoring.basic.type.matching.pairs =Matching pairs +label.authoring.basic.type.short.answer =Short answer +label.authoring.basic.type.numerical =Numerical +label.authoring.basic.type.true.false =True/False +label.authoring.basic.type.essay =Essay +label.authoring.basic.type.ordering =Ordering +label.authoring.basic.edit =Edit +label.authoring.basic.delete =Delete +label.authoring.basic.down =Move down +label.authoring.basic.up =Move Up +label.authoring.basic.option.answer =Answer +label.authoring.basic.option.question =Question +label.authoring.basic.option.grade =Grade +label.authoring.basic.option.feedback =Feedback +label.authoring.basic.option.accepted.error =Accepted error +label.authoring.basic.unit.unit =Unit +label.authoring.basic.unit.multiplier =Multiplier +label.authoring.basic.none =None +label.authoring.choice.add.multiple.choice =Add Multiple Choice +label.authoring.choice.field.required =This field is required. +label.authoring.choice.enter.integer =Please enter an integer. +label.authoring.choice.enter.float =Please enter a float. +label.authoring.choice.one.multiple.answers =One or multiple answers? +label.authoring.choice.one.answer =One answer only +label.authoring.choice.multiple.answers =Multiple answers allowed +label.authoring.choice.overall.feedback =Overall feedback +label.authoring.choice.feedback.on.correct =For any correct response +label.authoring.choice.feedback.on.partially.correct =For any partially correct response +label.authoring.choice.feedback.on.incorrect =For any incorrect response +label.authoring.choice.add.option =Add Blank Option +label.authoring.matching.pairs.add.matching.pairs =Add Matching Pairs +label.authoring.matching.pairs.matching.pairs =Matching Pairs +label.authoring.matching.pairs.error.one.matching.pair =You should provide at least 1 matching pair. +label.authoring.matching.pairs.add.matching.pair =Add Blank Matching Pair +label.authoring.short.answer.no.case.unimportant =No, case is unimportant +label.authoring.short.answer.yes.case.must.match =Yes, case must match +label.authoring.short.answer.case.sensitivity =Case sensitivity +label.authoring.short.answer.answers =Answers +label.authoring.short.answer.add.answer =Add Blank Answer +label.authoring.short.answer.add.short.answer =Add Short Answer +label.authoring.true.false.question =True/False Question +label.authoring.true.false.correct.answer =Correct answer +label.authoring.true.false.false =False +label.authoring.true.false.true =True +label.authoring.true.false.feedback.on.true =Feedback for the response 'True'. +label.authoring.true.false.feedback.on.false =Feedback for the response 'False'. +label.authoring.true.false.add.true.false =Add True/False +label.authoring.numerical.question =Numerical question +label.authoring.numerical.answers =Answers +label.authoring.numerical.units =Units +label.authoring.numerical.error.answer =You should provide at least one possible answer. +label.authoring.numerical.add.answer =Add Blank Answer +label.authoring.numerical.add.numerical =Add Numerical Question +label.authoring.numerical.add.unit =Add Blank Unit +label.authoring.essay.add.essay =Add Essay +label.authoring.ordering.add.ordering =Add Ordering label.authoring.online.file =Upload online file label.authoring.offline.file =Upload offline file label.authoring.choosefile.button =Choose file label.authoring.upload.online.button =Upload Online label.authoring.upload.offline.button =Upload Offline -label.authoring.online.filelist =Online file list -label.authoring.offline.filelist =Offline file list label.authoring.online.delete =Delete label.authoring.offline.delete =Delete -label.authoring.advance.mini.number.resources.view =Minimum number of resources to view -label.authoring.advance.allow.learner.add.urls =Allow learners to add URLs -label.authoring.advance.allow.learner.add.files =Allow learners to add Files +label.authoring.advance.allow.students.overall.feedback =Allow students to see overall feedback after each question +label.authoring.advance.time.limit =Time limit(minutes) +label.authoring.advance.questions.per.page =Questions per page +label.authoring.advance.all.in.one.page =All in one page +label.authoring.advance.shuffle.questions =Shuffle questions +label.authoring.advance.attempts.allowed =Attempts allowed +label.authoring.advance.unlimited =Unlimited +label.authoring.advance.allow.students.question.feedback =Allow students to see question feedback after each question +label.authoring.advance.allow.students.right.wrong.answers =Allow students to see right/wrong answers +label.authoring.advance.allow.students.grades =Allow students to see grades at the end of each attempt +label.authoring.advance.allow.students.history.responses =Allow students to see history of responses at the end of each attempt +label.authoring.advance.overall.feedback =Overall feedback +label.authoring.advance.grade.boundary =Grade boundary +label.authoring.advance.feedback =Feedback +label.authoring.advance.add.feedback.field =Add feedback field label.authoring.cancel.button =Cancel -label.description =Description: -authoring.exception =There is a problem in shared resources authoring page, the reason is {0} -error.resource.item.title.blank =Title can not be blank. -error.resource.item.url.blank =URL can not be blank. -error.resource.item.file.blank =File can not be blank. -error.resource.item.invalid.url =Invalid URL format. -error.upload.failed =Upload file failed: {0} +label.authoring.basic.answer.options =Answer Options +label.authoring.heading.instructions =Instructions +label.authoring.heading.instructions.desc =Please input online and offline instructions +label.authoring.basic.instruction =Instruction +label.authoring.online.instruction =Online Instructions +label.authoring.offline.instruction =Offline Instructions +error.default.grade.wrong.format =Default question grade should be of numeric format +error.penalty.factor.wrong.format =Penalty factor should be of float format +error.question.name.blank =Question name can not be blank. +error.question.text.blank =Question text can not be blank. error.msg.upload.file.not.found =Could not find upload file {0}. -error.msg.zip.file.exception =Could not handle zip file when uploading file. error.msg.file.not.found =File not found exception occurs when uploading file. -error.msg.ims.application =ImscpApplicationException occurs when uploading resource item file. -error.msg.website.no.initial.file =Website zip can not find out initial file (index.htm/html or default.htm/html). error.msg.io.exception =IOException occurs when uploading file. error.msg.invaid.param.upload =InvalidParameterException occured while trying to upload File. error.msg.default.content.not.find =Could not retrieve default content record for this tool. +error.monitoring.export.excel =Export Assessment report failed because of this reason: {0} authoring.msg.cancel.save =Do you want to close this window without saving? -label.learning.title =Share Resource Learning -label.learning.heading =Share Resources -label.resoruce.to.review =Resources to view -label.learning.minimum.review =You must view at least {0} of the resources. -label.check.for.new =Check for new -label.suggest.new =Suggest a new -label.learning.new.file =New file details: -label.learning.new.url =New URL details: +authoring.msg.one.question.to.be.saved =There must be at least one question to be saved. +label.learning.page =Page: +label.learning.title =Assessment Learning +label.learning.choose.one.answer =Choose one of the following answers. +label.learning.choose.at.least.one.answer =Choose at least one answer. +label.learning.matching.pairs.pick.up =Pick up the corresponding answers +label.learning.matching.pairs.choose =Choose +label.learning.short.answer.answer =Answer: +label.learning.true.false.true =True +label.learning.true.false.false =False +label.learning.ordering.sort.answers =Sort answers in the right order +label.learning.marks =Marks for this submission: {0}/{1}. +label.learning.penalty =This submission attracted a penalty of {0}. +label.learning.finish.test =Finish Test +label.learning.submit.all =Submit All +label.learning.next.activity =Next Activity +label.learning.resubmit =Resubmit +label.learning.summary.started.on =Started on +label.learning.summary.completed.on =Completed on +label.learning.summary.time.taken =Time taken +label.learning.summary.hours =hour(s) +label.learning.summary.minutes =minutes +label.learning.summary.grade =Grade +label.learning.summary.out.of.maximum =out of a maximum of +label.learning.summary.feedback =Feedback +label.learning.question.summary.history.responces =History of Responses: +label.learning.question.summary.response =Response +label.learning.question.summary.grade =Grade +label.learning.countdown.time.left =Time left +label.learning.blockui.time.is.over =Time is over. Processing your answers... +label.learning.blockui.are.you.ready =You are going to participate in activity that has time limitation. Are you ready to start? monitoring.tab.summary =Summary +monitoring.tab.instructions =Instruction monitoring.tab.statistics =Statistic monitoring.tab.edit.activity =Edit Activity monitoring.label.group =Group -monitoring.summary.note =Note: number of learners is the number of learners who have viewed the resource. -monitoring.label.type =Type -monitoring.label.title =Title -monitoring.label.suggest =Suggested By -monitoring.label.number.learners =Number of Learners -monitoring.label.hide =Hide -monitoring.label.show =Show -monitoring.label.user.loginname =Login name monitoring.label.user.name =Name -monitoring.label.hidden =Hidden -label.monitoring.edit.activity.cancel =Cancel -label.monitoring.edit.activity.update =Update label.monitoring.edit.activity.edit =Edit -message.monitoring.edit.activity.not.editable =This Activity is no longer editable -export.label.resource =Resource -export.label.no.learning.object =No offline package available -export.title =Export portfolio of Share Resource -export.init.resource =Initial Resources -errors.header = -errors.footer = -error.valueReqd =Value Required -error.inputFileTooLarge =Input File size is too large! -error.uploading =error uploading -error.title.empty =Title can not be blank -message.msg.maxFileSize =Max 250K -label.open =Open -label.delete =Delete +label.monitoring.summary.summary =Summary +label.monitoring.summary.double.click =Double click on learner's name to get full individual report. +label.monitoring.summary.report.by.question =Report by question +label.monitoring.summary.export.summary =Export summary +label.monitoring.summary.results.question =Detailed question results +label.monitoring.summary.choose =Choose... +label.monitoring.summary.user.name =Name +label.monitoring.summary.total =Total +label.monitoring.summary.learner.summary =Learner summary +label.monitoring.user.summary.history.responses =User's history of responses +label.monitoring.user.summary.user.name =User Name +label.monitoring.user.summary.number.attempts =Number of attempts +label.monitoring.user.summary.time.last.attempt =Time in the last attempt +label.monitoring.user.summary.last.attempt.grade =Last attempt grade +label.monitoring.user.summary.attempt =Attempt +label.monitoring.user.summary.time =Time +label.monitoring.user.summary.response =Response +label.monitoring.user.summary.grade =Grade +label.monitoring.user.summary.title =Title: +label.monitoring.user.summary.question =Question: +label.monitoring.user.summary.ok =Ok +label.monitoring.question.summary.history.responses =Responses for the question +label.monitoring.question.summary.title =Title +label.monitoring.question.summary.question =Question +label.monitoring.question.summary.default.mark =Default mark +label.monitoring.question.summary.penalty =Penalty +label.monitoring.question.summary.average.mark =Average mark +label.monitoring.question.summary.group =Group: +label.monitoring.question.summary.ok =Ok +label.export.portfolio.activity.summary =Activity Summary +label.export.portfolio.question.summaries =Question summaries +message.monitoring.edit.activity.not.editable =This Activity is no longer editable. +output.desc.learner.total.score =User's total score +output.desc.learner.time.taken =Time taken +output.desc.learner.number.of.attempts =Number of attempts made by user +output.user.score.for.question =User's score for the question: +export.title =Export portfolio of Assessment tool +error.form.validation.error =You have 1 error in a form. It has been highlighted +error.form.validation.errors =You have {0} errors in a form. They have been highlighted +error.form.validation.hundred.score =One of the answers should have a grade of 100% so it is possible to get full marks for this question. +error.form.validation.positive.accepted.errors =All the accepted errors should be positive. label.download =Download label.view =View -label.edit =Edit -label.completed =Completed -button.upload =Upload -button.add =Add -button.cancel =Cancel message.monitoring.summary.no.session =No Session Available -label.show =Show -label.hide =Hide -label.save =Save label.cancel =Cancel define.later.message =Please wait for the teacher to complete the contents of this activity. run.offline.message =This activity is not being done on the computer. Please see your instructor for details. -message.monitoring.summary.no.resource.for.group =No resource available for this group. button.try.again =Try again -open.in.new.window =Open URL in pop-up -page.title.monitoring.view.reflection =View Notebook Entries -button.edit =Edit -message.no.reflection.available =No notebook available -error.reflection.emtpy =Please input Notebook Entry -title.reflection =Notebook Entry -monitoring.user.reflection =Notebook Entry activity.title =Assessment label.authoring.save.button =Save -monitoring.label.access.time =Access time -label.authoring.advance.lock.on.finished =Lock when finished label.authoring.heading.advance =Advanced -label.authoring.basic.add.learning.object =Add IMS Content Package -label.authoring.basic.add.website =Add Zipped Website -label.authoring.basic.resource.learning.object =IMS CP -error.msg.ims.package =Invalid IMS CP format. -message.step.of =Step {0} of {1} -label.authoring.advance.run.content.auto =Run content automatically (only available if there is exactly one resource) -label.up =Move Up label.down =Move down -label.continue =Continue -monitoring.user.fullname =Name -button.close =Close -label.monitoring.heading.access =Learners list -errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes -error.attachment.executable =The uploaded file is executable, please zip it before uploading. -lable.learning.minimum.view.number.less =You must view at least another {0} of the resources. label.finished =Next Activity label.finish =Finished error.msg.repository =A repository error occurred while trying to upload the file. monitoring.label.attachments =Attachments -message.activityLocked =The instructor has set this activity not to allow you to view or share any more resources after you have finished it. -label.export.reflection =Notebook Entries -message.warnLockOnFinish =Note: After you click on \u201cNext Activity\u201d, if you come back to this Share Resource, you won\u2019t be able to share new resources. -monitoring.label.instructions =Instructions label.on =On label.off =Off monitor.summary.th.advancedSettings =Advanced Settings -monitor.summary.td.addNotebook =Add Notebook at end of Shared Resources -monitor.summary.td.notebookInstructions =Notebook instructions -label.authoring.advanced.notify.onassigmentsubmit =Notify monitoring teachers when a learner submits a resource -event.assigment.submit.subject =LAMS: A learner submitted an assigment in a Shared Resources tool -event.assigment.submit.body =The learner {0} submitted an assigment in a Shared Resources tool.\n\nThis message was send automatically, following tool''s advanced settings. +label.authoring.advanced.notify.on.attempt.completion =Notify teacher after student completes attempt +event.learner.completes.attempt.subject =LAMS: Learner completed attempt in Assessment tool +event.learner.completes.attempt.body =The learner {0} completed attempt in Assessment tool.\n\nThis message was send automatically, following tool''s advanced settings. message.alertContentEdit =Warning: One of more learners have accessed this activity. Changing this content will result in learners getting different information. +warning.msg.authoring.do.you.want.to.delete =Do you really want to delete this question? #======= End labels: Exported 169 labels for en AU ===== Index: lams_tool_assessment/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -r0e8805899410bfd0e2c8ec130cc6e5dde3c652a9 -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 0e8805899410bfd0e2c8ec130cc6e5dde3c652a9) +++ lams_tool_assessment/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -1,15 +1,15 @@ -appName = shareresources +appName = assessment #language code: en #locale code: AU # CVS ID: $Id$ Exported from the LAMS Community by Ernie Ghiglione on Wed Nov 19 18:28:29 GMT 2008 -#=================== labels for ShareResources =================# +#=================== labels for Assessment =================# -activity.description =Sharing resources with others. -activity.helptext =Uploading your resources to share with others. +activity.description =Tool for assessing learners +activity.helptext =Create questions to assess learners. tool.display.name =Assessment Tool -tool.description =Tool for sharing resources. +tool.description =Tool for assessing learners. appName =Assessment Tool errorPage.title =Error page errorPage.heading =Some error occurs when handling your request @@ -24,7 +24,6 @@ label.authoring.basic.default.question.grade =Default question grade label.authoring.basic.penalty.factor =Penalty factor label.authoring.basic.general.feedback =General feedback -label.authoring.basic.feedback =Feedback label.authoring.basic.shuffle.the.choices =Shuffle the choices? label.authoring.basic.add.question =Add question label.authoring.basic.question.list.title =Question List @@ -37,33 +36,22 @@ label.authoring.basic.type.true.false =True/False label.authoring.basic.type.essay =Essay label.authoring.basic.type.ordering =Ordering -label.authoring.basic.resource.url =URL -label.authoring.basic.resource.file =File -label.authoring.basic.resource.website =Website label.authoring.basic.edit =Edit label.authoring.basic.delete =Delete label.authoring.basic.down =Move down label.authoring.basic.up =Move Up label.authoring.basic.option.answer =Answer label.authoring.basic.option.question =Question label.authoring.basic.option.grade =Grade -label.authoring.basic.option.grade.none =None label.authoring.basic.option.feedback =Feedback label.authoring.basic.option.accepted.error =Accepted error label.authoring.basic.unit.unit =Unit label.authoring.basic.unit.multiplier =Multiplier -label.authoring.advanced.reflectOnActivity =Add Notebook at end of Shared Resources with the following instructions: -label.authoring.basic.resource.title.input =Title -label.authoring.basic.resource.url.input =URL -label.authoring.basic.resource.file.input =File -label.authoring.basic.resource.description.input =Description -label.authoring.basic.resource.zip.file.input =Zip file: label.authoring.basic.none =None label.authoring.choice.add.multiple.choice =Add Multiple Choice label.authoring.choice.field.required =This field is required. label.authoring.choice.enter.integer =Please enter an integer. label.authoring.choice.enter.float =Please enter a float. -label.authoring.choice.error.answer.options =You should provide at least 2 answer options. label.authoring.choice.one.multiple.answers =One or multiple answers? label.authoring.choice.one.answer =One answer only label.authoring.choice.multiple.answers =Multiple answers allowed @@ -80,7 +68,6 @@ label.authoring.short.answer.yes.case.must.match =Yes, case must match label.authoring.short.answer.case.sensitivity =Case sensitivity label.authoring.short.answer.answers =Answers -label.authoring.short.answer.error.answer =You should provide at least one possible answer. label.authoring.short.answer.add.answer =Add Blank Answer label.authoring.short.answer.add.short.answer =Add Short Answer label.authoring.true.false.question =True/False Question @@ -104,13 +91,9 @@ label.authoring.choosefile.button =Choose file label.authoring.upload.online.button =Upload Online label.authoring.upload.offline.button =Upload Offline -label.authoring.online.filelist =Online file list -label.authoring.offline.filelist =Offline file list label.authoring.online.delete =Delete label.authoring.offline.delete =Delete -label.authoring.advance.mini.number.resources.view =Minimum number of resources to view label.authoring.advance.allow.students.overall.feedback =Allow students to see overall feedback after each question -label.authoring.advance.allow.learner.add.files =Allow learners to add Files label.authoring.advance.time.limit =Time limit(minutes) label.authoring.advance.questions.per.page =Questions per page label.authoring.advance.all.in.one.page =All in one page @@ -132,31 +115,20 @@ label.authoring.basic.instruction =Instruction label.authoring.online.instruction =Online Instructions label.authoring.offline.instruction =Offline Instructions -label.description =Description: -authoring.exception =There is a problem in shared resources authoring page, the reason is {0} error.default.grade.wrong.format =Default question grade should be of numeric format error.penalty.factor.wrong.format =Penalty factor should be of float format -error.resource.item.desc.blank =Comment/Instruction can not be blank error.question.name.blank =Question name can not be blank. error.question.text.blank =Question text can not be blank. -error.not.enough.options =You should provide at least 2 answer options. -error.resource.item.file.blank =File can not be blank. -error.resource.item.invalid.url =Invalid URL format. -error.upload.failed =Upload file failed: {0} error.msg.upload.file.not.found =Could not find upload file {0}. -error.msg.zip.file.exception =Could not handle zip file when uploading file. error.msg.file.not.found =File not found exception occurs when uploading file. -error.msg.website.no.initial.file =Website zip can not find out initial file (index.htm/html or default.htm/html). error.msg.io.exception =IOException occurs when uploading file. error.msg.invaid.param.upload =InvalidParameterException occured while trying to upload File. error.msg.default.content.not.find =Could not retrieve default content record for this tool. -msg.no.instruction =No instruction available. +error.monitoring.export.excel =Export Assessment report failed because of this reason: {0} authoring.msg.cancel.save =Do you want to close this window without saving? authoring.msg.one.question.to.be.saved =There must be at least one question to be saved. label.learning.page =Page: -label.learning.comment.or.instruction =Comment/Instruction -label.learning.title =Share Resource Learning -label.learning.heading =Share Resources +label.learning.title =Assessment Learning label.learning.choose.one.answer =Choose one of the following answers. label.learning.choose.at.least.one.answer =Choose at least one answer. label.learning.matching.pairs.pick.up =Pick up the corresponding answers @@ -190,21 +162,13 @@ monitoring.tab.statistics =Statistic monitoring.tab.edit.activity =Edit Activity monitoring.label.group =Group -monitoring.summary.note =Note: number of learners is the number of learners who have started the assessment. -monitoring.label.type =Type -monitoring.label.title =Title -monitoring.label.suggest =Suggested By -monitoring.label.number.learners =Number of Learners -monitoring.label.hide =Hide -monitoring.label.show =Show -monitoring.label.user.loginname =Login name monitoring.label.user.name =Name -monitoring.label.hidden =Hidden -label.monitoring.edit.activity.cancel =Cancel -label.monitoring.edit.activity.update =Update label.monitoring.edit.activity.edit =Edit +label.monitoring.summary.summary =Summary +label.monitoring.summary.double.click =Double click on learner's name to get full individual report. +label.monitoring.summary.report.by.question =Report by question +label.monitoring.summary.export.summary =Export summary label.monitoring.summary.results.question =Detailed question results -label.monitoring.summary.see.results =See results label.monitoring.summary.choose =Choose... label.monitoring.summary.user.name =Name label.monitoring.summary.total =Total @@ -231,81 +195,34 @@ label.monitoring.question.summary.ok =Ok label.export.portfolio.activity.summary =Activity Summary label.export.portfolio.question.summaries =Question summaries -label.resoruce.to.review =Resources to view message.monitoring.edit.activity.not.editable =This Activity is no longer editable. output.desc.learner.total.score =User's total score output.desc.learner.time.taken =Time taken output.desc.learner.number.of.attempts =Number of attempts made by user output.user.score.for.question =User's score for the question: -export.label.resource =Resource -export.label.no.learning.object =No offline package available export.title =Export portfolio of Assessment tool -export.init.resource =Initial Resources -errors.header = -errors.footer = -error.valueReqd =Value Required -error.inputFileTooLarge =Input File size is too large! -error.uploading =error uploading -error.title.empty =Title can not be blank error.form.validation.error =You have 1 error in a form. It has been highlighted error.form.validation.errors =You have {0} errors in a form. They have been highlighted error.form.validation.hundred.score =One of the answers should have a grade of 100% so it is possible to get full marks for this question. error.form.validation.positive.accepted.errors =All the accepted errors should be positive. -message.msg.maxFileSize =Max 250K -label.open =Open -label.delete =Delete label.download =Download label.view =View -label.edit =Edit -label.completed =Completed -button.upload =Upload -button.add =Add -button.cancel =Cancel message.monitoring.summary.no.session =No Session Available -label.show =Show -label.hide =Hide -label.save =Save label.cancel =Cancel define.later.message =Please wait for the teacher to complete the contents of this activity. run.offline.message =This activity is not being done on the computer. Please see your instructor for details. -message.monitoring.summary.no.resource.for.group =No resource available for this group. button.try.again =Try again -open.in.new.window =Open URL in pop-up -page.title.monitoring.view.reflection =View Notebook Entries -button.edit =Edit -message.no.reflection.available =No notebook available -error.reflection.emtpy =Please input Notebook Entry -title.reflection =Notebook Entry -monitoring.user.reflection =Notebook Entry activity.title =Assessment label.authoring.save.button =Save -monitoring.label.access.time =Access time -label.authoring.advance.lock.on.finished =Lock when finished label.authoring.heading.advance =Advanced -message.step.of =Step {0} of {1} -label.authoring.advance.run.content.auto =Run content automatically (only available if there is exactly one resource) -label.up =Move Up label.down =Move down -label.continue =Continue -monitoring.user.fullname =Name -button.close =Close -label.monitoring.heading.access =Learners list -errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes -error.attachment.executable =The uploaded file is executable, please zip it before uploading. -lable.learning.minimum.view.number.less =You must view at least another {0} of the resources. label.finished =Next Activity label.finish =Finished error.msg.repository =A repository error occurred while trying to upload the file. monitoring.label.attachments =Attachments -message.activityLocked =The instructor has set this activity not to allow you to view or share any more resources after you have finished it. -label.export.reflection =Notebook Entries -message.warnLockOnFinish =Note: After you click on \u201cNext Activity\u201d, if you come back to this Share Resource, you won\u2019t be able to share new resources. -monitoring.label.instructions =Instructions label.on =On label.off =Off monitor.summary.th.advancedSettings =Advanced Settings -monitor.summary.td.addNotebook =Add Notebook at end of Shared Resources -monitor.summary.td.notebookInstructions =Notebook instructions label.authoring.advanced.notify.on.attempt.completion =Notify teacher after student completes attempt event.learner.completes.attempt.subject =LAMS: Learner completed attempt in Assessment tool event.learner.completes.attempt.body =The learner {0} completed attempt in Assessment tool.\n\nThis message was send automatically, following tool''s advanced settings. Index: lams_tool_assessment/conf/language/rams/ApplicationResources.properties =================================================================== diff -u -rc56857991e269aa7f5bd250a05b52c767a9957ad -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/conf/language/rams/ApplicationResources.properties (.../ApplicationResources.properties) (revision c56857991e269aa7f5bd250a05b52c767a9957ad) +++ lams_tool_assessment/conf/language/rams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -1,171 +1,233 @@ -appName = shareresources +appName = assessment #language code: en #locale code: AU # CVS ID: $Id$ Exported from the RAMS Community by Ernie Ghiglione on Tue Aug 12 12:00:29 EST 2008 -#=================== labels for ShareResources =================# +#=================== labels for Assessment =================# -appName =Share Resources -activity.title =Assessment -activity.description =Sharing resource with others. -activity.helptext =Uploading your resources to share with others. -tool.display.name =Share Resources Tool -tool.description =Tool for sharing resources. +activity.description =Tool for assessing learners +activity.helptext =Create questions to assess learners. +tool.display.name =Assessment Tool +tool.description =Tool for assessing learners. +appName =Assessment Tool errorPage.title =Error page errorPage.heading =Some error occurs when handling your request -label.authoring.heading =Share Resources -label.author.title =Share Resources Authoring +label.authoring.heading =Assessment Tool +label.author.title =Assessment Tool Authoring label.authoring.heading.basic =Basic -label.authoring.heading.advance =Advanced -label.authoring.heading.instructions =Instructions -label.authoring.heading.basic.desc =Basic input information for shared resources -label.authoring.heading.instructions.desc =Please input online and offline instructions -label.authoring.heading.advance.desc =Please input advance options for shared resources +label.authoring.heading.basic.desc =Basic input information for assessment tool +label.authoring.heading.advance.desc =Please input advance options for assessment tool label.authoring.basic.title =Title -label.authoring.basic.instruction =Instruction -label.authoring.basic.add.url =Add URL -label.authoring.basic.add.file =Add Single File -label.authoring.basic.add.website =Add Zipped Website -label.authoring.basic.add.learning.object =Add IMS Content Package -label.authoring.basic.resource.list.title =Resource List -label.authoring.basic.resource.url =URL -label.authoring.basic.resource.file =File -label.authoring.basic.resource.website =Website -label.authoring.basic.resource.learning.object =IMS CP -label.authoring.basic.resource.verify.url =Verify URL -label.authoring.basic.resource.preview =Preview -label.authoring.basic.resource.edit =Edit -label.authoring.basic.resource.delete =Delete -label.authoring.basic.resource.add.instruction =Add Instruction -label.authoring.basic.resource.instructions =Instructions -label.authoring.basic.resource.title.input =Title -label.authoring.basic.resource.url.input =URL -label.authoring.basic.resource.file.input =File -label.authoring.basic.resource.description.input =Description -label.authoring.basic.resource.zip.file.input =Zip file: -label.authoring.online.instruction =Online Instructions -label.authoring.offline.instruction =Offline Instructions +label.authoring.basic.question.name =Question name +label.authoring.basic.question.text =Question text +label.authoring.basic.default.question.grade =Default question grade +label.authoring.basic.penalty.factor =Penalty factor +label.authoring.basic.general.feedback =General feedback +label.authoring.basic.shuffle.the.choices =Shuffle the choices? +label.authoring.basic.add.question =Add question +label.authoring.basic.question.list.title =Question List +label.authoring.basic.list.header.type =Type +label.authoring.basic.list.header.question =Question +label.authoring.basic.type.multiple.choice =Multiple choice +label.authoring.basic.type.matching.pairs =Matching pairs +label.authoring.basic.type.short.answer =Short answer +label.authoring.basic.type.numerical =Numerical +label.authoring.basic.type.true.false =True/False +label.authoring.basic.type.essay =Essay +label.authoring.basic.type.ordering =Ordering +label.authoring.basic.edit =Edit +label.authoring.basic.delete =Delete +label.authoring.basic.down =Move down +label.authoring.basic.up =Move Up +label.authoring.basic.option.answer =Answer +label.authoring.basic.option.question =Question +label.authoring.basic.option.grade =Grade +label.authoring.basic.option.feedback =Feedback +label.authoring.basic.option.accepted.error =Accepted error +label.authoring.basic.unit.unit =Unit +label.authoring.basic.unit.multiplier =Multiplier +label.authoring.basic.none =None +label.authoring.choice.add.multiple.choice =Add Multiple Choice +label.authoring.choice.field.required =This field is required. +label.authoring.choice.enter.integer =Please enter an integer. +label.authoring.choice.enter.float =Please enter a float. +label.authoring.choice.one.multiple.answers =One or multiple answers? +label.authoring.choice.one.answer =One answer only +label.authoring.choice.multiple.answers =Multiple answers allowed +label.authoring.choice.overall.feedback =Overall feedback +label.authoring.choice.feedback.on.correct =For any correct response +label.authoring.choice.feedback.on.partially.correct =For any partially correct response +label.authoring.choice.feedback.on.incorrect =For any incorrect response +label.authoring.choice.add.option =Add Blank Option +label.authoring.matching.pairs.add.matching.pairs =Add Matching Pairs +label.authoring.matching.pairs.matching.pairs =Matching Pairs +label.authoring.matching.pairs.error.one.matching.pair =You should provide at least 1 matching pair. +label.authoring.matching.pairs.add.matching.pair =Add Blank Matching Pair +label.authoring.short.answer.no.case.unimportant =No, case is unimportant +label.authoring.short.answer.yes.case.must.match =Yes, case must match +label.authoring.short.answer.case.sensitivity =Case sensitivity +label.authoring.short.answer.answers =Answers +label.authoring.short.answer.add.answer =Add Blank Answer +label.authoring.short.answer.add.short.answer =Add Short Answer +label.authoring.true.false.question =True/False Question +label.authoring.true.false.correct.answer =Correct answer +label.authoring.true.false.false =False +label.authoring.true.false.true =True +label.authoring.true.false.feedback.on.true =Feedback for the response 'True'. +label.authoring.true.false.feedback.on.false =Feedback for the response 'False'. +label.authoring.true.false.add.true.false =Add True/False +label.authoring.numerical.question =Numerical question +label.authoring.numerical.answers =Answers +label.authoring.numerical.units =Units +label.authoring.numerical.error.answer =You should provide at least one possible answer. +label.authoring.numerical.add.answer =Add Blank Answer +label.authoring.numerical.add.numerical =Add Numerical Question +label.authoring.numerical.add.unit =Add Blank Unit +label.authoring.essay.add.essay =Add Essay +label.authoring.ordering.add.ordering =Add Ordering label.authoring.online.file =Upload online file label.authoring.offline.file =Upload offline file label.authoring.choosefile.button =Choose file label.authoring.upload.online.button =Upload Online label.authoring.upload.offline.button =Upload Offline -label.authoring.online.filelist =Online file list -label.authoring.offline.filelist =Offline file list label.authoring.online.delete =Delete label.authoring.offline.delete =Delete -label.authoring.advance.lock.on.finished =Lock when finished -label.authoring.advance.run.content.auto =Run content automatically (only available if there is exactly one resource) -label.authoring.advance.mini.number.resources.view =Minimum number of resources to view -label.authoring.advance.allow.learner.add.urls =Allow participants to add URLs -label.authoring.advance.allow.learner.add.files =Allow participants to add Files -label.next.instruction =Next Instruction -label.authoring.save.button =Save +label.authoring.advance.allow.students.overall.feedback =Allow students to see overall feedback after each question +label.authoring.advance.time.limit =Time limit(minutes) +label.authoring.advance.questions.per.page =Questions per page +label.authoring.advance.all.in.one.page =All in one page +label.authoring.advance.shuffle.questions =Shuffle questions +label.authoring.advance.attempts.allowed =Attempts allowed +label.authoring.advance.unlimited =Unlimited +label.authoring.advance.allow.students.question.feedback =Allow students to see question feedback after each question +label.authoring.advance.allow.students.right.wrong.answers =Allow students to see right/wrong answers +label.authoring.advance.allow.students.grades =Allow students to see grades at the end of each attempt +label.authoring.advance.allow.students.history.responses =Allow students to see history of responses at the end of each attempt +label.authoring.advance.overall.feedback =Overall feedback +label.authoring.advance.grade.boundary =Grade boundary +label.authoring.advance.feedback =Feedback +label.authoring.advance.add.feedback.field =Add feedback field label.authoring.cancel.button =Cancel -label.description =Description: -authoring.exception =There is a problem in shared resources authoring page, the reason is {0} -error.resource.item.title.blank =Title can not be blank. -error.resource.item.url.blank =URL can not be blank. -error.resource.item.file.blank =File can not be blank. -error.resource.item.desc.blank =Comment/Instruction can not be blank -error.resource.item.invalid.url =Invalid URL format. -error.upload.failed =Upload file failed: {0} +label.authoring.basic.answer.options =Answer Options +label.authoring.heading.instructions =Instructions +label.authoring.heading.instructions.desc =Please input online and offline instructions +label.authoring.basic.instruction =Instruction +label.authoring.online.instruction =Online Instructions +label.authoring.offline.instruction =Offline Instructions +error.default.grade.wrong.format =Default question grade should be of numeric format +error.penalty.factor.wrong.format =Penalty factor should be of float format +error.question.name.blank =Question name can not be blank. +error.question.text.blank =Question text can not be blank. error.msg.upload.file.not.found =Could not find upload file {0}. -error.msg.zip.file.exception =Could not handle zip file when uploading file. error.msg.file.not.found =File not found exception occurs when uploading file. -error.msg.ims.package =Invalid IMS CP format. -error.msg.ims.application =ImscpApplicationException occurs when uploading resource item file. -error.msg.website.no.initial.file =Website zip can not find out initial file (index.htm/html or default.htm/html). error.msg.io.exception =IOException occurs when uploading file. error.msg.invaid.param.upload =InvalidParameterException occured while trying to upload File. -error.msg.repository =Repository occurs exception while trying to upload file. error.msg.default.content.not.find =Could not retrieve default content record for this tool. -msg.no.instruction =No instruction available. +error.monitoring.export.excel =Export Assessment report failed because of this reason: {0} authoring.msg.cancel.save =Do you want to close this window without saving? -label.learning.title =Share Resource -label.learning.heading =Share Resources -label.resoruce.to.review =Resources to view -label.learning.minimum.review =You must view at least {0} of the resources. -lable.learning.minimum.view.number.less =You at least view another {0} of the resources. -label.check.for.new =Check for new -label.suggest.new =Suggest a new -label.learning.new.file =New file details: -label.learning.new.url =New URL details: -label.learning.comment.or.instruction =Comment/Instruction +authoring.msg.one.question.to.be.saved =There must be at least one question to be saved. +label.learning.page =Page: +label.learning.title =Assessment Learning +label.learning.choose.one.answer =Choose one of the following answers. +label.learning.choose.at.least.one.answer =Choose at least one answer. +label.learning.matching.pairs.pick.up =Pick up the corresponding answers +label.learning.matching.pairs.choose =Choose +label.learning.short.answer.answer =Answer: +label.learning.true.false.true =True +label.learning.true.false.false =False +label.learning.ordering.sort.answers =Sort answers in the right order +label.learning.marks =Marks for this submission: {0}/{1}. +label.learning.penalty =This submission attracted a penalty of {0}. +label.learning.finish.test =Finish Test +label.learning.submit.all =Submit All +label.learning.next.activity =Next Activity +label.learning.resubmit =Resubmit +label.learning.summary.started.on =Started on +label.learning.summary.completed.on =Completed on +label.learning.summary.time.taken =Time taken +label.learning.summary.hours =hour(s) +label.learning.summary.minutes =minutes +label.learning.summary.grade =Grade +label.learning.summary.out.of.maximum =out of a maximum of +label.learning.summary.feedback =Feedback +label.learning.question.summary.history.responces =History of Responses: +label.learning.question.summary.response =Response +label.learning.question.summary.grade =Grade +label.learning.countdown.time.left =Time left +label.learning.blockui.time.is.over =Time is over. Processing your answers... +label.learning.blockui.are.you.ready =You are going to participate in activity that has time limitation. Are you ready to start? monitoring.tab.summary =Summary -monitoring.tab.statistics =Statistic monitoring.tab.instructions =Instruction +monitoring.tab.statistics =Statistic monitoring.tab.edit.activity =Edit Activity monitoring.label.group =Group -monitoring.summary.note =Note: number of participants is the number of participants who have viewed the resource. -monitoring.label.type =Type -monitoring.label.title =Title -monitoring.label.suggest =Suggested By -monitoring.label.number.learners =Number of Participants -monitoring.label.hide =Hide -monitoring.label.show =Show -monitoring.label.user.loginname =Login name monitoring.label.user.name =Name -monitoring.label.hidden =Hidden -label.monitoring.edit.activity.cancel =Cancel -label.monitoring.edit.activity.update =Update label.monitoring.edit.activity.edit =Edit -message.monitoring.edit.activity.not.editable =This Activity is no longer editable -export.label.resource =Resource -export.label.no.learning.object =No offline package available -export.title =Export portfolio of Share Resource -export.init.resource =Initial Resources -errors.header = -errors.footer = -error.valueReqd =Value Required -error.inputFileTooLarge =Input File size is too large! -error.uploading =error uploading -error.title.empty =Title can not be blank -message.msg.maxFileSize =Max 250K -label.open =Open -label.delete =Delete +label.monitoring.summary.summary =Summary +label.monitoring.summary.double.click =Double click on learner's name to get full individual report. +label.monitoring.summary.report.by.question =Report by question +label.monitoring.summary.export.summary =Export summary +label.monitoring.summary.results.question =Detailed question results +label.monitoring.summary.choose =Choose... +label.monitoring.summary.user.name =Name +label.monitoring.summary.total =Total +label.monitoring.summary.learner.summary =Learner summary +label.monitoring.user.summary.history.responses =User's history of responses +label.monitoring.user.summary.user.name =User Name +label.monitoring.user.summary.number.attempts =Number of attempts +label.monitoring.user.summary.time.last.attempt =Time in the last attempt +label.monitoring.user.summary.last.attempt.grade =Last attempt grade +label.monitoring.user.summary.attempt =Attempt +label.monitoring.user.summary.time =Time +label.monitoring.user.summary.response =Response +label.monitoring.user.summary.grade =Grade +label.monitoring.user.summary.title =Title: +label.monitoring.user.summary.question =Question: +label.monitoring.user.summary.ok =Ok +label.monitoring.question.summary.history.responses =Responses for the question +label.monitoring.question.summary.title =Title +label.monitoring.question.summary.question =Question +label.monitoring.question.summary.default.mark =Default mark +label.monitoring.question.summary.penalty =Penalty +label.monitoring.question.summary.average.mark =Average mark +label.monitoring.question.summary.group =Group: +label.monitoring.question.summary.ok =Ok +label.export.portfolio.activity.summary =Activity Summary +label.export.portfolio.question.summaries =Question summaries +message.monitoring.edit.activity.not.editable =This Activity is no longer editable. +output.desc.learner.total.score =User's total score +output.desc.learner.time.taken =Time taken +output.desc.learner.number.of.attempts =Number of attempts made by user +output.user.score.for.question =User's score for the question: +export.title =Export portfolio of Assessment tool +error.form.validation.error =You have 1 error in a form. It has been highlighted +error.form.validation.errors =You have {0} errors in a form. They have been highlighted +error.form.validation.hundred.score =One of the answers should have a grade of 100% so it is possible to get full marks for this question. +error.form.validation.positive.accepted.errors =All the accepted errors should be positive. label.download =Download label.view =View -label.edit =Edit -label.finished =Finished -label.completed =Completed -label.finish =Finish -button.upload =Upload -button.add =Add -button.cancel =Cancel message.monitoring.summary.no.session =No Session Available -label.show =Show -label.hide =Hide -label.save =Save label.cancel =Cancel -monitoring.label.access.time =Access time -define.later.message =Please wait for the researcher to complete the contents of this activity. +define.later.message =Please wait for the teacher to complete the contents of this activity. run.offline.message =This activity is not being done on the computer. Please see your instructor for details. -message.monitoring.summary.no.resource.for.group =No resource available for this group. button.try.again =Try again -open.in.new.window =Open URL in pop-up -label.up =Move Up +activity.title =Assessment +label.authoring.save.button =Save +label.authoring.heading.advance =Advanced label.down =Move down -label.authoring.advanced.reflectOnActivity =Add Notebook at end of Shared Resources with the following instructions: -error.reflection.emtpy =Please input reflection -title.reflection =Reflection -label.continue =Continue -monitoring.user.fullname =Name -monitoring.user.reflection =Reflection -page.title.monitoring.view.reflection =View Reflection -button.close =Close -message.step.of =Step {0} of {1} -message.no.reflection.available =No notebook available -button.edit =Edit -errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes -error.attachment.executable =The uploaded file is executable, please zip it before uploading. -label.monitoring.heading.access =Participants list -message.alertContentEdit =Warning: One of more participants have accessed this activity. Changing this content will result in students getting different information. -label.export.reflection =Notebook Entries +label.finished =Next Activity +label.finish =Finished +error.msg.repository =A repository error occurred while trying to upload the file. monitoring.label.attachments =Attachments -message.activityLocked =Note: After you click on "Next Activity" and you come back to this Share Resources, you won't be able to continue. -message.warnLockOnFinish =This activitiy has been setup not to allow sharing and viewing of resources after it has been finished. +label.on =On +label.off =Off +monitor.summary.th.advancedSettings =Advanced Settings +label.authoring.advanced.notify.on.attempt.completion =Notify teacher after student completes attempt +event.learner.completes.attempt.subject =LAMS: Learner completed attempt in Assessment tool +event.learner.completes.attempt.body =The learner {0} completed attempt in Assessment tool.\n\nThis message was send automatically, following tool''s advanced settings. +message.alertContentEdit =Warning: One of more learners have accessed this activity. Changing this content will result in learners getting different information. +warning.msg.authoring.do.you.want.to.delete =Do you really want to delete this question? #======= End labels: Exported 160 labels for en AU ===== Index: lams_tool_assessment/conf/language/rams/ApplicationResources_en_AU.properties =================================================================== diff -u -rc56857991e269aa7f5bd250a05b52c767a9957ad -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision c56857991e269aa7f5bd250a05b52c767a9957ad) +++ lams_tool_assessment/conf/language/rams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -1,171 +1,233 @@ -appName = shareresources +appName = assessment #language code: en #locale code: AU # CVS ID: $Id$ Exported from the RAMS Community by Ernie Ghiglione on Tue Aug 12 12:00:29 EST 2008 -#=================== labels for ShareResources =================# +#=================== labels for Assessment =================# -appName =Share Resources -activity.title =Assessment -activity.description =Sharing resource with others. -activity.helptext =Uploading your resources to share with others. -tool.display.name =Share Resources Tool -tool.description =Tool for sharing resources. +activity.description =Tool for assessing learners +activity.helptext =Create questions to assess learners. +tool.display.name =Assessment Tool +tool.description =Tool for assessing learners. +appName =Assessment Tool errorPage.title =Error page errorPage.heading =Some error occurs when handling your request -label.authoring.heading =Share Resources -label.author.title =Share Resources Authoring +label.authoring.heading =Assessment Tool +label.author.title =Assessment Tool Authoring label.authoring.heading.basic =Basic -label.authoring.heading.advance =Advanced -label.authoring.heading.instructions =Instructions -label.authoring.heading.basic.desc =Basic input information for shared resources -label.authoring.heading.instructions.desc =Please input online and offline instructions -label.authoring.heading.advance.desc =Please input advance options for shared resources +label.authoring.heading.basic.desc =Basic input information for assessment tool +label.authoring.heading.advance.desc =Please input advance options for assessment tool label.authoring.basic.title =Title -label.authoring.basic.instruction =Instruction -label.authoring.basic.add.url =Add URL -label.authoring.basic.add.file =Add Single File -label.authoring.basic.add.website =Add Zipped Website -label.authoring.basic.add.learning.object =Add IMS Content Package -label.authoring.basic.resource.list.title =Resource List -label.authoring.basic.resource.url =URL -label.authoring.basic.resource.file =File -label.authoring.basic.resource.website =Website -label.authoring.basic.resource.learning.object =IMS CP -label.authoring.basic.resource.verify.url =Verify URL -label.authoring.basic.resource.preview =Preview -label.authoring.basic.resource.edit =Edit -label.authoring.basic.resource.delete =Delete -label.authoring.basic.resource.add.instruction =Add Instruction -label.authoring.basic.resource.instructions =Instructions -label.authoring.basic.resource.title.input =Title -label.authoring.basic.resource.url.input =URL -label.authoring.basic.resource.file.input =File -label.authoring.basic.resource.description.input =Description -label.authoring.basic.resource.zip.file.input =Zip file: -label.authoring.online.instruction =Online Instructions -label.authoring.offline.instruction =Offline Instructions +label.authoring.basic.question.name =Question name +label.authoring.basic.question.text =Question text +label.authoring.basic.default.question.grade =Default question grade +label.authoring.basic.penalty.factor =Penalty factor +label.authoring.basic.general.feedback =General feedback +label.authoring.basic.shuffle.the.choices =Shuffle the choices? +label.authoring.basic.add.question =Add question +label.authoring.basic.question.list.title =Question List +label.authoring.basic.list.header.type =Type +label.authoring.basic.list.header.question =Question +label.authoring.basic.type.multiple.choice =Multiple choice +label.authoring.basic.type.matching.pairs =Matching pairs +label.authoring.basic.type.short.answer =Short answer +label.authoring.basic.type.numerical =Numerical +label.authoring.basic.type.true.false =True/False +label.authoring.basic.type.essay =Essay +label.authoring.basic.type.ordering =Ordering +label.authoring.basic.edit =Edit +label.authoring.basic.delete =Delete +label.authoring.basic.down =Move down +label.authoring.basic.up =Move Up +label.authoring.basic.option.answer =Answer +label.authoring.basic.option.question =Question +label.authoring.basic.option.grade =Grade +label.authoring.basic.option.feedback =Feedback +label.authoring.basic.option.accepted.error =Accepted error +label.authoring.basic.unit.unit =Unit +label.authoring.basic.unit.multiplier =Multiplier +label.authoring.basic.none =None +label.authoring.choice.add.multiple.choice =Add Multiple Choice +label.authoring.choice.field.required =This field is required. +label.authoring.choice.enter.integer =Please enter an integer. +label.authoring.choice.enter.float =Please enter a float. +label.authoring.choice.one.multiple.answers =One or multiple answers? +label.authoring.choice.one.answer =One answer only +label.authoring.choice.multiple.answers =Multiple answers allowed +label.authoring.choice.overall.feedback =Overall feedback +label.authoring.choice.feedback.on.correct =For any correct response +label.authoring.choice.feedback.on.partially.correct =For any partially correct response +label.authoring.choice.feedback.on.incorrect =For any incorrect response +label.authoring.choice.add.option =Add Blank Option +label.authoring.matching.pairs.add.matching.pairs =Add Matching Pairs +label.authoring.matching.pairs.matching.pairs =Matching Pairs +label.authoring.matching.pairs.error.one.matching.pair =You should provide at least 1 matching pair. +label.authoring.matching.pairs.add.matching.pair =Add Blank Matching Pair +label.authoring.short.answer.no.case.unimportant =No, case is unimportant +label.authoring.short.answer.yes.case.must.match =Yes, case must match +label.authoring.short.answer.case.sensitivity =Case sensitivity +label.authoring.short.answer.answers =Answers +label.authoring.short.answer.add.answer =Add Blank Answer +label.authoring.short.answer.add.short.answer =Add Short Answer +label.authoring.true.false.question =True/False Question +label.authoring.true.false.correct.answer =Correct answer +label.authoring.true.false.false =False +label.authoring.true.false.true =True +label.authoring.true.false.feedback.on.true =Feedback for the response 'True'. +label.authoring.true.false.feedback.on.false =Feedback for the response 'False'. +label.authoring.true.false.add.true.false =Add True/False +label.authoring.numerical.question =Numerical question +label.authoring.numerical.answers =Answers +label.authoring.numerical.units =Units +label.authoring.numerical.error.answer =You should provide at least one possible answer. +label.authoring.numerical.add.answer =Add Blank Answer +label.authoring.numerical.add.numerical =Add Numerical Question +label.authoring.numerical.add.unit =Add Blank Unit +label.authoring.essay.add.essay =Add Essay +label.authoring.ordering.add.ordering =Add Ordering label.authoring.online.file =Upload online file label.authoring.offline.file =Upload offline file label.authoring.choosefile.button =Choose file label.authoring.upload.online.button =Upload Online label.authoring.upload.offline.button =Upload Offline -label.authoring.online.filelist =Online file list -label.authoring.offline.filelist =Offline file list label.authoring.online.delete =Delete label.authoring.offline.delete =Delete -label.authoring.advance.lock.on.finished =Lock when finished -label.authoring.advance.run.content.auto =Run content automatically (only available if there is exactly one resource) -label.authoring.advance.mini.number.resources.view =Minimum number of resources to view -label.authoring.advance.allow.learner.add.urls =Allow participants to add URLs -label.authoring.advance.allow.learner.add.files =Allow participants to add Files -label.next.instruction =Next Instruction -label.authoring.save.button =Save +label.authoring.advance.allow.students.overall.feedback =Allow students to see overall feedback after each question +label.authoring.advance.time.limit =Time limit(minutes) +label.authoring.advance.questions.per.page =Questions per page +label.authoring.advance.all.in.one.page =All in one page +label.authoring.advance.shuffle.questions =Shuffle questions +label.authoring.advance.attempts.allowed =Attempts allowed +label.authoring.advance.unlimited =Unlimited +label.authoring.advance.allow.students.question.feedback =Allow students to see question feedback after each question +label.authoring.advance.allow.students.right.wrong.answers =Allow students to see right/wrong answers +label.authoring.advance.allow.students.grades =Allow students to see grades at the end of each attempt +label.authoring.advance.allow.students.history.responses =Allow students to see history of responses at the end of each attempt +label.authoring.advance.overall.feedback =Overall feedback +label.authoring.advance.grade.boundary =Grade boundary +label.authoring.advance.feedback =Feedback +label.authoring.advance.add.feedback.field =Add feedback field label.authoring.cancel.button =Cancel -label.description =Description: -authoring.exception =There is a problem in shared resources authoring page, the reason is {0} -error.resource.item.title.blank =Title can not be blank. -error.resource.item.url.blank =URL can not be blank. -error.resource.item.file.blank =File can not be blank. -error.resource.item.desc.blank =Comment/Instruction can not be blank -error.resource.item.invalid.url =Invalid URL format. -error.upload.failed =Upload file failed: {0} +label.authoring.basic.answer.options =Answer Options +label.authoring.heading.instructions =Instructions +label.authoring.heading.instructions.desc =Please input online and offline instructions +label.authoring.basic.instruction =Instruction +label.authoring.online.instruction =Online Instructions +label.authoring.offline.instruction =Offline Instructions +error.default.grade.wrong.format =Default question grade should be of numeric format +error.penalty.factor.wrong.format =Penalty factor should be of float format +error.question.name.blank =Question name can not be blank. +error.question.text.blank =Question text can not be blank. error.msg.upload.file.not.found =Could not find upload file {0}. -error.msg.zip.file.exception =Could not handle zip file when uploading file. error.msg.file.not.found =File not found exception occurs when uploading file. -error.msg.ims.package =Invalid IMS CP format. -error.msg.ims.application =ImscpApplicationException occurs when uploading resource item file. -error.msg.website.no.initial.file =Website zip can not find out initial file (index.htm/html or default.htm/html). error.msg.io.exception =IOException occurs when uploading file. error.msg.invaid.param.upload =InvalidParameterException occured while trying to upload File. -error.msg.repository =Repository occurs exception while trying to upload file. error.msg.default.content.not.find =Could not retrieve default content record for this tool. -msg.no.instruction =No instruction available. +error.monitoring.export.excel =Export Assessment report failed because of this reason: {0} authoring.msg.cancel.save =Do you want to close this window without saving? -label.learning.title =Share Resource -label.learning.heading =Share Resources -label.resoruce.to.review =Resources to view -label.learning.minimum.review =You must view at least {0} of the resources. -lable.learning.minimum.view.number.less =You at least view another {0} of the resources. -label.check.for.new =Check for new -label.suggest.new =Suggest a new -label.learning.new.file =New file details: -label.learning.new.url =New URL details: -label.learning.comment.or.instruction =Comment/Instruction +authoring.msg.one.question.to.be.saved =There must be at least one question to be saved. +label.learning.page =Page: +label.learning.title =Assessment Learning +label.learning.choose.one.answer =Choose one of the following answers. +label.learning.choose.at.least.one.answer =Choose at least one answer. +label.learning.matching.pairs.pick.up =Pick up the corresponding answers +label.learning.matching.pairs.choose =Choose +label.learning.short.answer.answer =Answer: +label.learning.true.false.true =True +label.learning.true.false.false =False +label.learning.ordering.sort.answers =Sort answers in the right order +label.learning.marks =Marks for this submission: {0}/{1}. +label.learning.penalty =This submission attracted a penalty of {0}. +label.learning.finish.test =Finish Test +label.learning.submit.all =Submit All +label.learning.next.activity =Next Activity +label.learning.resubmit =Resubmit +label.learning.summary.started.on =Started on +label.learning.summary.completed.on =Completed on +label.learning.summary.time.taken =Time taken +label.learning.summary.hours =hour(s) +label.learning.summary.minutes =minutes +label.learning.summary.grade =Grade +label.learning.summary.out.of.maximum =out of a maximum of +label.learning.summary.feedback =Feedback +label.learning.question.summary.history.responces =History of Responses: +label.learning.question.summary.response =Response +label.learning.question.summary.grade =Grade +label.learning.countdown.time.left =Time left +label.learning.blockui.time.is.over =Time is over. Processing your answers... +label.learning.blockui.are.you.ready =You are going to participate in activity that has time limitation. Are you ready to start? monitoring.tab.summary =Summary -monitoring.tab.statistics =Statistic monitoring.tab.instructions =Instruction +monitoring.tab.statistics =Statistic monitoring.tab.edit.activity =Edit Activity monitoring.label.group =Group -monitoring.summary.note =Note: number of participants is the number of participants who have viewed the resource. -monitoring.label.type =Type -monitoring.label.title =Title -monitoring.label.suggest =Suggested By -monitoring.label.number.learners =Number of Participants -monitoring.label.hide =Hide -monitoring.label.show =Show -monitoring.label.user.loginname =Login name monitoring.label.user.name =Name -monitoring.label.hidden =Hidden -label.monitoring.edit.activity.cancel =Cancel -label.monitoring.edit.activity.update =Update label.monitoring.edit.activity.edit =Edit -message.monitoring.edit.activity.not.editable =This Activity is no longer editable -export.label.resource =Resource -export.label.no.learning.object =No offline package available -export.title =Export portfolio of Share Resource -export.init.resource =Initial Resources -errors.header = -errors.footer = -error.valueReqd =Value Required -error.inputFileTooLarge =Input File size is too large! -error.uploading =error uploading -error.title.empty =Title can not be blank -message.msg.maxFileSize =Max 250K -label.open =Open -label.delete =Delete +label.monitoring.summary.summary =Summary +label.monitoring.summary.double.click =Double click on learner's name to get full individual report. +label.monitoring.summary.report.by.question =Report by question +label.monitoring.summary.export.summary =Export summary +label.monitoring.summary.results.question =Detailed question results +label.monitoring.summary.choose =Choose... +label.monitoring.summary.user.name =Name +label.monitoring.summary.total =Total +label.monitoring.summary.learner.summary =Learner summary +label.monitoring.user.summary.history.responses =User's history of responses +label.monitoring.user.summary.user.name =User Name +label.monitoring.user.summary.number.attempts =Number of attempts +label.monitoring.user.summary.time.last.attempt =Time in the last attempt +label.monitoring.user.summary.last.attempt.grade =Last attempt grade +label.monitoring.user.summary.attempt =Attempt +label.monitoring.user.summary.time =Time +label.monitoring.user.summary.response =Response +label.monitoring.user.summary.grade =Grade +label.monitoring.user.summary.title =Title: +label.monitoring.user.summary.question =Question: +label.monitoring.user.summary.ok =Ok +label.monitoring.question.summary.history.responses =Responses for the question +label.monitoring.question.summary.title =Title +label.monitoring.question.summary.question =Question +label.monitoring.question.summary.default.mark =Default mark +label.monitoring.question.summary.penalty =Penalty +label.monitoring.question.summary.average.mark =Average mark +label.monitoring.question.summary.group =Group: +label.monitoring.question.summary.ok =Ok +label.export.portfolio.activity.summary =Activity Summary +label.export.portfolio.question.summaries =Question summaries +message.monitoring.edit.activity.not.editable =This Activity is no longer editable. +output.desc.learner.total.score =User's total score +output.desc.learner.time.taken =Time taken +output.desc.learner.number.of.attempts =Number of attempts made by user +output.user.score.for.question =User's score for the question: +export.title =Export portfolio of Assessment tool +error.form.validation.error =You have 1 error in a form. It has been highlighted +error.form.validation.errors =You have {0} errors in a form. They have been highlighted +error.form.validation.hundred.score =One of the answers should have a grade of 100% so it is possible to get full marks for this question. +error.form.validation.positive.accepted.errors =All the accepted errors should be positive. label.download =Download label.view =View -label.edit =Edit -label.finished =Finished -label.completed =Completed -label.finish =Finish -button.upload =Upload -button.add =Add -button.cancel =Cancel message.monitoring.summary.no.session =No Session Available -label.show =Show -label.hide =Hide -label.save =Save label.cancel =Cancel -monitoring.label.access.time =Access time -define.later.message =Please wait for the researcher to complete the contents of this activity. +define.later.message =Please wait for the teacher to complete the contents of this activity. run.offline.message =This activity is not being done on the computer. Please see your instructor for details. -message.monitoring.summary.no.resource.for.group =No resource available for this group. button.try.again =Try again -open.in.new.window =Open URL in pop-up -label.up =Move Up +activity.title =Assessment +label.authoring.save.button =Save +label.authoring.heading.advance =Advanced label.down =Move down -label.authoring.advanced.reflectOnActivity =Add Notebook at end of Shared Resources with the following instructions: -error.reflection.emtpy =Please input reflection -title.reflection =Reflection -label.continue =Continue -monitoring.user.fullname =Name -monitoring.user.reflection =Reflection -page.title.monitoring.view.reflection =View Reflection -button.close =Close -message.step.of =Step {0} of {1} -message.no.reflection.available =No notebook available -button.edit =Edit -errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes -error.attachment.executable =The uploaded file is executable, please zip it before uploading. -label.monitoring.heading.access =Participants list -message.alertContentEdit =Warning: One of more participants have accessed this activity. Changing this content will result in students getting different information. -label.export.reflection =Notebook Entries +label.finished =Next Activity +label.finish =Finished +error.msg.repository =A repository error occurred while trying to upload the file. monitoring.label.attachments =Attachments -message.activityLocked =Note: After you click on "Next Activity" and you come back to this Share Resources, you won't be able to continue. -message.warnLockOnFinish =This activitiy has been setup not to allow sharing and viewing of resources after it has been finished. +label.on =On +label.off =Off +monitor.summary.th.advancedSettings =Advanced Settings +label.authoring.advanced.notify.on.attempt.completion =Notify teacher after student completes attempt +event.learner.completes.attempt.subject =LAMS: Learner completed attempt in Assessment tool +event.learner.completes.attempt.body =The learner {0} completed attempt in Assessment tool.\n\nThis message was send automatically, following tool''s advanced settings. +message.alertContentEdit =Warning: One of more learners have accessed this activity. Changing this content will result in learners getting different information. +warning.msg.authoring.do.you.want.to.delete =Do you really want to delete this question? #======= End labels: Exported 160 labels for en AU ===== Index: lams_tool_assessment/conf/xdoclet/struts-actions.xml =================================================================== diff -u -r6e6db32c93f144dc842f21601eb37745cdd7ca60 -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/conf/xdoclet/struts-actions.xml (.../struts-actions.xml) (revision 6e6db32c93f144dc842f21601eb37745cdd7ca60) +++ lams_tool_assessment/conf/xdoclet/struts-actions.xml (.../struts-actions.xml) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -244,7 +244,11 @@ parameter="saveUserGrade" > - + + + dbResultCount) | (attemptsAllowed == 0));// && !user.isSessionFinished(); + sessionMap.put(AssessmentConstants.ATTR_IS_RESUBMIT_ALLOWED, isResubmitAllowed); + sessionMap.put(AssessmentConstants.ATTR_FINISHED_LOCK, true); request.setAttribute(AssessmentConstants.ATTR_SESSION_MAP_ID, sessionMapID); return mapping.findForward(AssessmentConstants.SUCCESS); @@ -667,26 +676,6 @@ } } - /** - * Checks if the resubmit action allowed. - * - * @param request - * - */ - private boolean isResubmitAllowed(SessionMap sessionMap) { - Long toolSessionId = (Long) sessionMap.get(AttributeNames.PARAM_TOOL_SESSION_ID); - Assessment assessment = (Assessment) sessionMap.get(AssessmentConstants.ATTR_ASSESSMENT); - IAssessmentService service = getAssessmentService(); - HttpSession ss = SessionManager.getSession(); - UserDTO userDTO = (UserDTO) ss.getAttribute(AttributeNames.USER); - Long userID = new Long(userDTO.getUserID().longValue()); - AssessmentUser user = service.getUserByIDAndSession(userID, toolSessionId); - - int dbResultCount = service.getAssessmentResultCount(assessment.getUid(), userID); - int attemptsAllowed = assessment.getAttemptsAllowed(); - return ((attemptsAllowed > dbResultCount) | (attemptsAllowed == 0)) && !user.isSessionFinished(); - } - private IAssessmentService getAssessmentService() { WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(getServlet() .getServletContext()); Index: lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/action/MonitoringAction.java =================================================================== diff -u -r6e6db32c93f144dc842f21601eb37745cdd7ca60 -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision 6e6db32c93f144dc842f21601eb37745cdd7ca60) +++ lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/action/MonitoringAction.java (.../MonitoringAction.java) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -24,30 +24,33 @@ /* $Id$ */ package org.lamsfoundation.lams.tool.assessment.web.action; +import java.io.ByteArrayOutputStream; import java.io.IOException; -import java.util.ArrayList; +import java.io.PrintWriter; import java.util.List; +import java.util.Set; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; +import org.apache.poi.hssf.usermodel.HSSFCell; +import org.apache.poi.hssf.usermodel.HSSFRow; +import org.apache.poi.hssf.usermodel.HSSFSheet; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; +import org.apache.struts.action.ActionMessage; import org.lamsfoundation.lams.tool.assessment.AssessmentConstants; -import org.lamsfoundation.lams.tool.assessment.dto.JQGridJSONModel; -import org.lamsfoundation.lams.tool.assessment.dto.JQGridRow; import org.lamsfoundation.lams.tool.assessment.dto.QuestionSummary; import org.lamsfoundation.lams.tool.assessment.dto.Summary; import org.lamsfoundation.lams.tool.assessment.dto.UserSummary; -import org.lamsfoundation.lams.tool.assessment.dto.UserSummaryItem; import org.lamsfoundation.lams.tool.assessment.model.Assessment; import org.lamsfoundation.lams.tool.assessment.model.AssessmentQuestion; -import org.lamsfoundation.lams.tool.assessment.model.AssessmentQuestionOption; import org.lamsfoundation.lams.tool.assessment.model.AssessmentQuestionResult; import org.lamsfoundation.lams.tool.assessment.model.AssessmentResult; import org.lamsfoundation.lams.tool.assessment.service.IAssessmentService; @@ -81,6 +84,9 @@ if (param.equals("saveUserGrade")) { return saveUserGrade(mapping, form, request, response); } + if (param.equals("exportSummary")) { + return exportSummary(mapping, form, request, response); + } return mapping.findForward(AssessmentConstants.ERROR); } @@ -116,33 +122,7 @@ IAssessmentService service = getAssessmentService(); AssessmentResult result = service.getUserMasterDetail(sessionId, userId); -// // Construct the json data -// JQGridJSONModel json = new JQGridJSONModel(); -// json.setPage("1"); -// int records = (result.getQuestionResults() == null) ? 0 : result.getQuestionResults().size(); -// json.setRecords(records); -// json.setTotal("1"); -// -// List rows = new ArrayList(); -// -// for (AssessmentQuestionResult questionResult : result.getQuestionResults()) { -// JQGridRow row = new JQGridRow(); -// row.setId(questionResult.getAssessmentQuestion().getSequenceId()); -// List cells = new ArrayList(); -// cells.add(questionResult.getUid().toString()); -// cells.add(questionResult.getFinishDate().toString()); -// cells.add(questionResult.getAnswerString()); -// cells.add(questionResult.getMark().toString()); -// row.setCell(cells); -// rows.add(row); -// } -// json.setRows(rows); -// -// JSONSerializer serializer = new JSONSerializer(); -// String jsonResult = serializer.exclude("*.class").deepSerialize(json); - request.setAttribute(AssessmentConstants.ATTR_ASSESSMENT_RESULT, result); - return mapping.findForward(AssessmentConstants.SUCCESS); } @@ -193,7 +173,157 @@ return null; } + + /** + * Export Excel format survey data. + * + * @param mapping + * @param form + * @param request + * @param response + * @return + */ + private ActionForward exportSummary(ActionMapping mapping, ActionForm form, HttpServletRequest request, + HttpServletResponse response) { + String sessionMapID = request.getParameter(AssessmentConstants.ATTR_SESSION_MAP_ID); + SessionMap sessionMap = (SessionMap) request.getSession().getAttribute(sessionMapID); + request.setAttribute(AssessmentConstants.ATTR_SESSION_MAP_ID, sessionMap.getSessionID()); + + Long contentId = (Long) sessionMap.get(AssessmentConstants.ATTR_TOOL_CONTENT_ID); + IAssessmentService service = getAssessmentService(); + List summaryList = service.getSummaryList(contentId); + Assessment assessment = service.getAssessmentByContentId(contentId); + String errors = null; + try { + // create an empty excel file + HSSFWorkbook wb = new HSSFWorkbook(); + HSSFSheet sheet = wb.createSheet("Assessment"); + sheet.setColumnWidth((short) 0, (short) 3000); + sheet.setColumnWidth((short) 1, (short) 2000); + sheet.setColumnWidth((short) 2, (short) 3000); + for (short i=0; i < assessment.getQuestions().size(); i++) { + sheet.setColumnWidth((short) (i+3), (short) 4000); + } + + HSSFRow row; + HSSFCell cell; + int idx = 0; + + // display survey title, instruction and questions + // survey title + row = sheet.createRow(idx++); + cell = row.createCell((short) 0); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(removeHTMLTags(assessment.getTitle())); + + // survey instruction + row = sheet.createRow(idx++); + cell = row.createCell((short) 0); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(removeHTMLTags(assessment.getInstructions())); + + for (Summary summary : summaryList) { + + // display 2 empty row + row = sheet.createRow(idx++); + cell = row.createCell((short) 0); + cell.setCellValue(""); + row = sheet.createRow(idx++); + cell = row.createCell((short) 0); + cell.setCellValue(""); + + // display session name + row = sheet.createRow(idx++); + cell = row.createCell((short) 0); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(service.getLocalisedMessage("monitoring.label.group", null) + " " + removeHTMLTags(summary.getSessionName())); + + //header + short cellIdx = 0; + row = sheet.createRow(idx++); + + cell = row.createCell(cellIdx++); + cell.setCellValue(""); + + cell = row.createCell(cellIdx++); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue("#"); + + cell = row.createCell(cellIdx++); + //cell.setCellStyle(new HSSFCellStyle()); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(service.getLocalisedMessage("monitoring.label.user.name", null)); + + Set questions = assessment.getQuestions(); + for (AssessmentQuestion question : questions) { + cell = row.createCell(cellIdx++); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(removeHTMLTags(question.getTitle())); + } + + cell = row.createCell(cellIdx++); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(service.getLocalisedMessage("label.monitoring.summary.total", null)); + + // begin to display question and its answers + int questionNumber = 1; + for (AssessmentResult result : summary.getAssessmentResults()) { + cellIdx = 0; + row = sheet.createRow(idx++); + + cell = row.createCell(cellIdx++); + cell.setCellValue(""); + + cell = row.createCell(cellIdx++); + cell.setCellValue(questionNumber++); + + cell = row.createCell(cellIdx++); + cell.setEncoding(HSSFCell.ENCODING_UTF_16); + cell.setCellValue(removeHTMLTags(result.getUser().getLastName() + ", " + result.getUser().getFirstName())); + + for (AssessmentQuestionResult questionResult : result.getQuestionResults()) { + cell = row.createCell(cellIdx++); + if (questionResult.getUid() != null) { + cell.setCellValue(questionResult.getMark()); + } else { + cell.setCellValue("-"); + } + } + + cell = row.createCell(cellIdx++); + cell.setCellValue(result.getGrade()); + } + } + + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + wb.write(bos); + // construct download file response header + String fileName = "lams_assessment_" + contentId + ".xls"; + String mineType = "application/vnd.ms-excel"; + String header = "attachment; filename=\"" + fileName + "\";"; + response.setContentType(mineType); + response.setHeader("Content-Disposition", header); + + byte[] data = bos.toByteArray(); + response.getOutputStream().write(data, 0, data.length); + response.getOutputStream().flush(); + } catch (Exception e) { + MonitoringAction.log.error(e); + errors = new ActionMessage("error.monitoring.export.excel", e.toString()).toString(); + } + + if (errors != null) { + try { + PrintWriter out = response.getWriter(); + out.write(errors); + out.flush(); + } catch (IOException e) { + } + } + return null; + } + // ************************************************************************************* // Private method // ************************************************************************************* @@ -202,5 +332,14 @@ .getServletContext()); return (IAssessmentService) wac.getBean(AssessmentConstants.ASSESSMENT_SERVICE); } + + /** + * Removes all the html tags from a string + * @param string + * @return + */ + private String removeHTMLTags(String string) { + return string.replaceAll("\\<.*?>", "").replaceAll(" ", " "); + } } Index: lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/servlet/ExportServlet.java =================================================================== diff -u -r6e6db32c93f144dc842f21601eb37745cdd7ca60 -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/servlet/ExportServlet.java (.../ExportServlet.java) (revision 6e6db32c93f144dc842f21601eb37745cdd7ca60) +++ lams_tool_assessment/src/java/org/lamsfoundation/lams/tool/assessment/web/servlet/ExportServlet.java (.../ExportServlet.java) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -51,7 +51,6 @@ import org.lamsfoundation.lams.tool.assessment.service.IAssessmentService; import org.lamsfoundation.lams.tool.assessment.util.AssessmentBundler; import org.lamsfoundation.lams.tool.assessment.util.AssessmentToolContentHandler; -import org.lamsfoundation.lams.util.WebUtil; import org.lamsfoundation.lams.web.servlet.AbstractExportPortfolioServlet; import org.lamsfoundation.lams.web.util.AttributeNames; import org.lamsfoundation.lams.web.util.SessionMap; Index: lams_tool_assessment/web/pages/authoring/parts/addessay.jsp =================================================================== diff -u -r5ea7ebf8f81afa191dd6d761db613896ad530b4d -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/web/pages/authoring/parts/addessay.jsp (.../addessay.jsp) (revision 5ea7ebf8f81afa191dd6d761db613896ad530b4d) +++ lams_tool_assessment/web/pages/authoring/parts/addessay.jsp (.../addessay.jsp) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -63,7 +63,7 @@ }); // post-submit callback function afterRatingSubmit(responseText, statusText) { - self.parent.refreshThickbox() + self.parent.refreshThickbox(); self.parent.tb_remove(); } --> Index: lams_tool_assessment/web/pages/learning/runoffline.jsp =================================================================== diff -u -rc56857991e269aa7f5bd250a05b52c767a9957ad -r6a20c448cdfdc7895e72dda22c5359be1234cf47 --- lams_tool_assessment/web/pages/learning/runoffline.jsp (.../runoffline.jsp) (revision c56857991e269aa7f5bd250a05b52c767a9957ad) +++ lams_tool_assessment/web/pages/learning/runoffline.jsp (.../runoffline.jsp) (revision 6a20c448cdfdc7895e72dda22c5359be1234cf47) @@ -14,10 +14,6 @@ document.location.href =''; return false; } - function continueReflect(){ - document.location.href=''; - } - --> @@ -32,49 +28,11 @@

- -
-

- ${sessionMap.reflectInstructions} -

- - - -

- - -

-
- -

- -

-
-
- - - - -
-
-
- - - - - - - - - - - - + + +