From a88405dd9dfcc9915d0e1c8d61b21162cdd177a8 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 6 Oct 2016 08:47:54 +0100 Subject: [PATCH 01/56] Rectify the incorrect PP Peermarks function name --- jquery/turnitin_module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/turnitin_module.js b/jquery/turnitin_module.js index e3e6b54c..97cd48be 100644 --- a/jquery/turnitin_module.js +++ b/jquery/turnitin_module.js @@ -269,7 +269,7 @@ jQuery(document).ready(function($) { }, onClosed:function() { var idStr = $(this).attr("id").split("_"); - refreshPeermarkAssignments(idStr[2], 1); + refreshPPPeermarkAssignments(idStr[2], 1); } }); } From a8082ab12661dbe7c1f0f43c786a055f8ada75f8 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 7 Oct 2016 15:53:23 +0100 Subject: [PATCH 02/56] Correctly return the Turnitin assignment id when syncing the assignment. --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 7fedce52..8100b839 100644 --- a/lib.php +++ b/lib.php @@ -1724,7 +1724,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $moduleconfigvalue->value = $turnitinassignid; $DB->insert_record('plagiarism_turnitin_config', $moduleconfigvalue); - $return = array('success' => true, 'tiiassignmentid' => $assignment->getAssignmentId()); + $return = array('success' => true, 'tiiassignmentid' => $turnitinassignid); } return $return; From cb6ec45b4774d266a45a31a7b004c52d49fd47c1 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 11 Oct 2016 15:50:22 +0100 Subject: [PATCH 03/56] Remove unused database columns left over from the DM plugin. --- db/install.xml | 11 ++++------- db/upgrade.php | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/db/install.xml b/db/install.xml index 03a2f610..6210ba61 100644 --- a/db/install.xml +++ b/db/install.xml @@ -11,14 +11,11 @@ - - - + + - - - - + + diff --git a/db/upgrade.php b/db/upgrade.php index f603bebb..b3af9f43 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -211,6 +211,22 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { upgrade_plugin_savepoint(true, 2016011105, 'plagiarism', 'turnitin'); } + if ($oldversion < 2016091402) { + $table = new xmldb_table('plagiarism_turnitin_files'); + $field1 = new xmldb_field('externalstatus'); + $field2 = new xmldb_field('apimd5'); + $field3 = new xmldb_field('legacyteacher'); + if ($dbman->field_exists($table, $field1)) { + $dbman->drop_field($table, $field1); + } + if ($dbman->field_exists($table, $field2)) { + $dbman->drop_field($table, $field2); + } + if ($dbman->field_exists($table, $field3)) { + $dbman->drop_field($table, $field3); + } + } + return $result; } From f1873f14e49b2b21d85dee8ac0655fd66fbfe4de Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 10 Oct 2016 15:11:27 +0100 Subject: [PATCH 04/56] Change event handlers to observers. --- classes/observer.php | 144 +++++++++++++++++++++++++++++++++++ db/events.php | 77 +++++++++---------- lib.php | 175 +++++++++---------------------------------- 3 files changed, 213 insertions(+), 183 deletions(-) create mode 100644 classes/observer.php diff --git a/classes/observer.php b/classes/observer.php new file mode 100644 index 00000000..dcba54de --- /dev/null +++ b/classes/observer.php @@ -0,0 +1,144 @@ +. + +if (!defined('MOODLE_INTERNAL')) { + die('Direct access to this script is forbidden.'); // It must be included from a Moodle page. +} + +require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); + +class plagiarism_turnitin_observer { + /** + * Handle the course_module_created event. + * @param \core\event\course_module_created $event + */ + public static function course_module_created( + \core\event\course_module_created $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'mod_created'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the course_module_updated event. + * @param \core\event\course_module_updated $event + */ + public static function course_module_updated( + \core\event\course_module_updated $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'mod_updated'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the course_module_deleted event. + * @param \core\event\course_module_deleted $event + */ + public static function course_module_deleted( + \core\event\course_module_deleted $event) { + global $DB; + + $DB->delete_records('plagiarism_turnitin_files', array('cm' => $eventdata['contextinstanceid'])); + $DB->delete_records('plagiarism_turnitin_config', array('cm' => $eventdata['contextinstanceid'])); + } + + /** + * Handle the course_module_deleted event. + * @param \core\event\course_module_deleted $event + */ + public static function course_reset( + \core\event\course_reset_ended $event) { + $eventdata = $event->get_data(); + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->course_reset($eventdata); + } + + + /** + * Handle the assignment assessable_uploaded event. + * @param \assignsubmission_file\event\assessable_uploaded $event + */ + public static function assignsubmission_file_uploaded( + \assignsubmission_file\event\assessable_uploaded $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'file_uploaded'; + $eventdata['other']['modulename'] = 'assign'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the forum assessable_uploaded event. + * @param \mod_forum\event\assessable_uploaded $event + */ + public static function forum_file_uploaded( + \mod_forum\event\assessable_uploaded $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'file_uploaded'; + $eventdata['other']['modulename'] = 'forum'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the workshop assessable_uploaded event. + * @param \mod_workshop\event\assessable_uploaded $event + */ + public static function workshop_file_uploaded( + \mod_workshop\event\assessable_uploaded $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'file_uploaded'; + $eventdata['other']['modulename'] = 'workshop'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the assignment assessable_uploaded event. + * @param \assignsubmission_onlinetext\event\assessable_uploaded $event + */ + public static function assignsubmission_onlinetext_uploaded( + \assignsubmission_onlinetext\event\assessable_uploaded $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'content_uploaded'; + $eventdata['other']['modulename'] = 'assign'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + + /** + * Handle the assignment assessable_submitted event. + * @param \mod_assign\event\assessable_submitted $event + */ + public static function assignsubmission_submitted( + \mod_assign\event\assessable_submitted $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'assessable_submitted'; + $eventdata['other']['modulename'] = 'assign'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } +} \ No newline at end of file diff --git a/db/events.php b/db/events.php index 3e9eccdc..464b45a3 100644 --- a/db/events.php +++ b/db/events.php @@ -14,48 +14,41 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . -$handlers = array( - 'assessable_file_uploaded' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_file_uploaded', - 'schedule' => 'cron' - ), - 'assessable_files_done' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_files_done', - 'schedule' => 'cron' - ), - 'assessable_content_uploaded' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_content_uploaded', - 'schedule' => 'cron' - ), - 'assessable_submitted' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_assessable_submitted', - 'schedule' => 'cron' - ), - 'mod_created' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_mod_created', - 'schedule' => 'cron' - ), - 'mod_updated' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_mod_updated', - 'schedule' => 'cron' - ), - 'mod_deleted' => array( - 'handlerfile' => '/plagiarism/turnitin/lib.php', - 'handlerfunction' => 'plagiarism_turnitin_event_mod_deleted', - 'schedule' => 'cron' - ) -); - -$observers = array( +$observers = array ( + array( + 'eventname' => '\assignsubmission_file\event\assessable_uploaded', + 'callback' => 'plagiarism_turnitin_observer::assignsubmission_file_uploaded' + ), + array( + 'eventname' => '\assignsubmission_onlinetext\event\assessable_uploaded', + 'callback' => 'plagiarism_turnitin_observer::assignsubmission_onlinetext_uploaded' + ), + array( + 'eventname' => '\mod_workshop\event\assessable_uploaded', + 'callback' => 'plagiarism_turnitin_observer::workshop_file_uploaded' + ), + array( + 'eventname' => '\mod_forum\event\assessable_uploaded', + 'callback' => 'plagiarism_turnitin_observer::forum_file_uploaded' + ), + array( + 'eventname' => '\mod_assign\event\assessable_submitted', + 'callback' => 'plagiarism_turnitin_observer::assignsubmission_submitted' + ), + array( + 'eventname' => '\core\event\course_module_created', + 'callback' => 'plagiarism_turnitin_observer::course_module_created' + ), + array( + 'eventname' => '\core\event\course_module_updated', + 'callback' => 'plagiarism_turnitin_observer::course_module_updated' + ), + array( + 'eventname' => '\core\event\course_module_deleted', + 'callback' => 'plagiarism_turnitin_observer::course_module_deleted' + ), array( - 'eventname' => '\core\event\course_reset_ended', - 'callback' => 'plagiarism_plugin_turnitin::course_reset', - 'includefile' => '/plagiarism/turnitin/lib.php' + 'eventname' => '\core\event\course_reset_ended', + 'callback' => 'plagiarism_plugin_turnitin::course_reset' ) ); \ No newline at end of file diff --git a/lib.php b/lib.php index 8100b839..581f996c 100644 --- a/lib.php +++ b/lib.php @@ -294,9 +294,8 @@ public function get_form_elements_module($mform, $context, $modulename = "") { * @param type $eventdata * @return boolean */ - public static function course_reset(\core\event\course_reset_ended $event) { + public static function course_reset($eventdata) { global $DB; - $eventdata = $event->get_data(); $courseid = (int)$eventdata['courseid']; $resetcourse = true; @@ -2047,14 +2046,14 @@ public function event_handler($eventdata) { $result = true; // Remove the event if the course module no longer exists. - if (!$cm = get_coursemodule_from_id($eventdata->modulename, $eventdata->cmid)) { + if (!$cm = get_coursemodule_from_id($eventdata['other']['modulename'], $eventdata['contextinstanceid'])) { return true; } // Initialise module settings. - $plagiarismsettings = $this->get_settings($eventdata->cmid); - $moduletiienabled = $this->get_config_settings('mod_'.$eventdata->modulename); - if ($eventdata->modulename == 'assign') { + $plagiarismsettings = $this->get_settings($eventdata['contextinstanceid']); + $moduletiienabled = $this->get_config_settings('mod_'.$eventdata['other']['modulename']); + if ($eventdata['other']['modulename'] == 'assign') { $plagiarismsettings["plagiarism_draft_submit"] = (isset($plagiarismsettings["plagiarism_draft_submit"])) ? $plagiarismsettings["plagiarism_draft_submit"] : 0; } @@ -2077,7 +2076,7 @@ public function event_handler($eventdata) { return false; } - switch ($eventdata->event_type) { + switch ($eventdata['eventtype']) { case "mod_created": case "mod_updated": $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron"); @@ -2087,7 +2086,6 @@ public function event_handler($eventdata) { case "file_uploaded": case "assessable_submitted": case "content_uploaded": - case "files_done": // Initialise counter, limit submission events processing to // PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT per cron run. static $i; @@ -2107,27 +2105,20 @@ public function event_handler($eventdata) { // If draft submissions are turned on then only send to Turnitin if the draft submit setting is set. if ($moduledata->submissiondrafts && $plagiarismsettings["plagiarism_draft_submit"] == 1 && - ($eventdata->event_type == 'file_uploaded' || $eventdata->event_type == 'content_uploaded')) { + ($eventdata['eventtype'] == 'file_uploaded' || $eventdata['eventtype'] == 'content_uploaded')) { return true; } - // Get correct user. In assignments from Moodle 2.7, instructors could submit on behalf of students - // but the eventdata->userid is still the user who made the submission. - $submitter = $eventdata->userid; - - // Create module object. - $moduleclass = "turnitin_".$cm->modname; - $moduleobject = new $moduleclass; - - $author = $moduleobject->get_author($eventdata->itemid); - $author = (!empty($author)) ? $author : $eventdata->userid; - - $errorcode = ""; + // Set the author and submitter + $submitter = $eventdata['userid']; + $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; try { // Join User to course. $user = new turnitintooltwo_user($author, 'Learner', true, 'cron'); $user->join_user_to_class($coursedata->turnitin_cid); + + $errorcode = ""; } catch (Exception $e) { $user = new turnitintooltwo_user($author, 'Learner', 'false', 'cron', 'false'); @@ -2137,34 +2128,31 @@ public function event_handler($eventdata) { $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron", true); // Cron errorcode needs to be passed to submission function. + $cronerror = ""; if (!empty($syncassignment['errorcode'])) { $cronerror = $syncassignment['errorcode']; } elseif (!empty($errorcode)) { $cronerror = $errorcode; - } else { - $cronerror = ""; } // Get actual text content and files to be submitted for draft submissions // as this won't be present in eventdata for certain event types. - if ($eventdata->modulename == 'assign' && - ($eventdata->event_type == "files_done" || $eventdata->event_type == "assessable_submitted")) { - + if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { // Get content. $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, - 'userid' => $author, 'id' => $eventdata->itemid), 'id'); + 'userid' => $author, 'id' => $eventdata['objectid']), 'id'); if ($moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', array('submission' => $moodlesubmission->id), 'onlinetext')) { - $eventdata->content = $moodletextsubmission->onlinetext; + $eventdata['other']['content'] = $moodletextsubmission->onlinetext; } // Get Files. - $eventdata->pathnamehashes = array(); + $eventdata['other']['pathnamehashes'] = array(); $filesconditions = array('component' => 'assignsubmission_file', 'itemid' => $moodlesubmission->id, 'userid' => $author); if ($moodlefiles = $DB->get_records('files', $filesconditions)) { foreach ($moodlefiles as $moodlefile) { - $eventdata->pathnamehashes[] = $moodlefile->pathnamehash; + $eventdata['other']['pathnamehashes'][] = $moodlefile->pathnamehash; } } } @@ -2172,16 +2160,15 @@ public function event_handler($eventdata) { // Attempt to submit text content to Turnitin. // If there was an error when creating the assignment then still attempt to process the submission so it can // be saved as failed and therefore doesn't cause the cron to get stuck. - if (($eventdata->event_type == "content_uploaded" || $eventdata->event_type == "files_done" || - $eventdata->event_type == "assessable_submitted") - && !empty($eventdata->content)) { + if (in_array($eventdata['eventtype'], array("content_uploaded", "assessable_submitted")) + && !empty($eventdata['other']['content'])) { // Get extra data for text content submissions and remove unneeded events. - switch ($eventdata->modulename) { + switch ($eventdata['other']['modulename']) { case "assign": if ($contentsubmission = $DB->get_record('assign_submission', array('userid' => $user->id, 'assignment' => $moduledata->id, - 'id' => $eventdata->itemid))) { + 'id' => $eventdata['objectid']))) { $tempfilename = 'onlinetext_'.$user->id."_".$cm->id."_".$moduledata->id.'.txt'; $submissiontype = 'text_content'; } else { @@ -2192,9 +2179,9 @@ public function event_handler($eventdata) { break; case "forum": - if ($contentsubmission = $DB->get_record('forum_posts', array('id' => $eventdata->itemid))) { + if ($contentsubmission = $DB->get_record('forum_posts', array('id' => $eventdata['objectid']))) { $tempfilename = 'forumpost_'.$user->id."_".$cm->id."_". - $moduledata->id."_".$eventdata->itemid.'.txt'; + $moduledata->id."_".$eventdata['objectid'].'.txt'; $submissiontype = 'forum_post'; } else { // Content has been deleted but event not removed. @@ -2204,10 +2191,10 @@ public function event_handler($eventdata) { case 'workshop': if ($moodlesubmission = $DB->get_record('workshop_submissions', - array('id' => $eventdata->itemid))) { + array('id' => $eventdata['objectid']))) { $tempfilename = 'onlinetext_'.$user->id."_".$cm->id."_".$moduledata->id.'.txt'; $submissiontype = 'text_content'; - $eventdata->content = $moodlesubmission->content; + $eventdata['other']['content'] = $moodlesubmission->content; } else { // Content has been deleted but event not removed. return true; @@ -2215,7 +2202,7 @@ public function event_handler($eventdata) { break; } - $identifier = sha1($eventdata->content); + $identifier = sha1($eventdata['other']['content']); // Get previous text content details if it has been submitted previously. $plagiarismfile = $DB->get_record('plagiarism_turnitin_files', array('userid' => $user->id, 'cm' => $cm->id, @@ -2225,22 +2212,22 @@ public function event_handler($eventdata) { // Only submit if this content hasn't been submitted successfuly before. if ($plagiarismfile->statuscode != "success") { $result = $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $identifier, $submissiontype, $eventdata->itemid, - $tempfilename, $eventdata->content, $cronerror); + $identifier, $submissiontype, $eventdata['objectid'], + $tempfilename, $eventdata['other']['content'], $cronerror); } else { return true; } } else { $result = $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $identifier, $submissiontype, $eventdata->itemid, - $tempfilename, $eventdata->content, $cronerror); + $identifier, $submissiontype, $eventdata['objectid'], + $tempfilename, $eventdata['other']['content'], $cronerror); } } // Attempt to submit files to Turnitin. $result = $result && true; - if (!empty($eventdata->pathnamehashes)) { - foreach ($eventdata->pathnamehashes as $pathnamehash) { + if (!empty($eventdata['other']['pathnamehashes'])) { + foreach ($eventdata['other']['pathnamehashes'] as $pathnamehash) { $fs = get_file_storage(); $file = $fs->get_file_by_hash($pathnamehash); @@ -2266,7 +2253,7 @@ public function event_handler($eventdata) { if ($this->check_if_submitting($cm, $author, $pathnamehash, 'file')) { $result = $result && $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $pathnamehash, 'file', $eventdata->itemid, '', '', $cronerror); + $pathnamehash, 'file', $eventdata['objectid'], '', '', $cronerror); } else { $result = $result && true; } @@ -2832,100 +2819,6 @@ private function delete_tii_submission($cm, $submissionid, $user) { } } -/** - * Submit file to Turnitin - * - * @param type $eventdata - * @return type - */ -function plagiarism_turnitin_event_file_uploaded($eventdata) { - $eventdata->event_type = 'file_uploaded'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - -/** - * Submit assesable content to Turnitin after student confirms their submission. - * - * This event is not fired by 2.3, as a workaround we submit everything to Turnitin. - * In 2.4+ we don't submit the drafts, until submission is confirmed. - * - * - * @param type $eventdata - * @return boolean - */ -function plagiarism_turnitin_event_assessable_submitted($eventdata) { - $eventdata->event_type = 'assessable_submitted'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - -/** - * Submit all files to Turnitin after student confirms their submission. - * - * This event is not fired by 2.3, as a workaround we submit everything to Turnitin. - * In 2.4+ we don't submit the drafts, until submission is confirmed. - * - * @param type $eventdata - * @return boolean - */ -function plagiarism_turnitin_event_files_done($eventdata) { - $eventdata->event_type = 'files_done'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - -/** - * Create the module within Turnitin - * - * @param type $eventdata - * @return boolean - */ -function plagiarism_turnitin_event_mod_created($eventdata) { - $eventdata->event_type = 'mod_created'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - -/** - * Update the module within Turnitin - * - * @param type $eventdata - * @return boolean - */ -function plagiarism_turnitin_event_mod_updated($eventdata) { - $eventdata->event_type = 'mod_updated'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - -/** - * Remove submission data and config settings for module. - * - * @param type $eventdata - * @return boolean true - */ -function plagiarism_turnitin_event_mod_deleted($eventdata) { - global $DB; - - $DB->delete_records('plagiarism_turnitin_files', array('cm' => $eventdata->cmid)); - $DB->delete_records('plagiarism_turnitin_config', array('cm' => $eventdata->cmid)); - - return true; -} - -/** - * Upload content to Turnitin - * - * @param type $eventdata - * @return type - */ -function plagiarism_turnitin_event_content_uploaded($eventdata) { - $eventdata->event_type = 'content_uploaded'; - $pluginturnitin = new plagiarism_plugin_turnitin(); - return $pluginturnitin->event_handler($eventdata); -} - /** * Handle cron call from scheduled task */ From 509e7f758578b1b4023639c0bd8bea026019bf89 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Wed, 12 Oct 2016 16:10:05 +0100 Subject: [PATCH 05/56] Add new database field for item id. --- db/install.xml | 5 +++-- db/upgrade.php | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/db/install.xml b/db/install.xml index 6210ba61..20d401a0 100644 --- a/db/install.xml +++ b/db/install.xml @@ -11,8 +11,9 @@ - - + + + diff --git a/db/upgrade.php b/db/upgrade.php index b3af9f43..d3cd06a3 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -225,6 +225,10 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { if ($dbman->field_exists($table, $field3)) { $dbman->drop_field($table, $field3); } + $field = new xmldb_field('itemid', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'externalid'); + if (!$dbman->field_exists($table, $field)) { + $dbman->add_field($table, $field); + } } return $result; From 6bb42e66077a7f8613abb0dcd1fc442980f94cba Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Wed, 12 Oct 2016 16:19:03 +0100 Subject: [PATCH 06/56] Change event handler to queue submissions rather than submit them. --- lang/en/plagiarism_turnitin.php | 1 + lib.php | 990 ++++++++++++++++---------------- version.php | 2 +- 3 files changed, 486 insertions(+), 507 deletions(-) diff --git a/lang/en/plagiarism_turnitin.php b/lang/en/plagiarism_turnitin.php index d4b7d403..ab1f6ff0 100644 --- a/lang/en/plagiarism_turnitin.php +++ b/lang/en/plagiarism_turnitin.php @@ -157,6 +157,7 @@ $string['errorcode7'] = 'This file has not been submitted to Turnitin because there is a problem creating the user in Turnitin which is preventing submissions, please consult your API logs for further information'; $string['errorcode8'] = 'This file has not been submitted to Turnitin because there is a problem creating the temp file. The most likely cause is an invalid file name. Please rename the file and re-upload using Edit Submission.'; $string['errorcode9'] = 'The file cannot be submitted as there is no accessible content in the file pool to submit.'; +$string['errorcode10'] = 'This file has not been submitted to Turnitin because there is a problem creating the class in Turnitin which is preventing submissions, please consult your API logs for further information'; $string['coursegeterror'] = 'Could not get course data'; $string['configureerror'] = 'You must configure this module fully as Administrator before using it within a course. Please contact your Moodle administrator.'; $string['turnitintoolofflineerror'] = 'We are experiencing a temporary problem. Please try again shortly.'; diff --git a/lib.php b/lib.php index 581f996c..d0f715e2 100644 --- a/lib.php +++ b/lib.php @@ -2023,6 +2023,435 @@ public function migrate_previous_course($coursedata, $turnitincid, $workflowcont return $coursedata; } + /** + * Queue submissions to send to Turnitin + * + * + */ + public function queue_submission_to_turnitin($cm, $author, $submitter, $identifier, $submissiontype, $itemid = 0) { + global $CFG, $DB, $USER, $turnitinacceptedfiles; + $errorcode = 0; + $attempt = 0; + + // Get config, module and course settings that we need. + $config = turnitintooltwo_admin_config(); + $settings = $this->get_settings($cm->id); + $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); + $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); + + // Work out submission method. + // If this file has successfully submitted in the past then break, text content is to be submitted. + switch ($submissiontype) { + case 'file': + case 'text_content': + + // Get file data or prepare text submission. + if ($submissiontype == 'file') { + $fs = get_file_storage(); + $file = $fs->get_file_by_hash($identifier); + + $timemodified = $file->get_timemodified(); + $filename = $file->get_filename(); + } else { + // Check when text submission was last modified. + switch ($cm->modname) { + case 'assign': + $moodlesubmission = $DB->get_record('assign_submission', + array('assignment' => $cm->instance, + 'userid' => $author, + 'id' => $itemid), 'timemodified'); + break; + case 'workshop': + $moodlesubmission = $DB->get_record('workshop_submissions', + array('workshopid' => $cm->instance, + 'authorid' => $author), 'timemodified'); + break; + } + + $timemodified = $moodlesubmission->timemodified; + } + + // Get submission method depending on whether there has been a previous submission. + $submissionfields = 'id, cm, externalid, identifier, statuscode, lastmodified, attempt'; + $typefield = ($CFG->dbtype == "oci") ? " to_char(submissiontype) " : " submissiontype "; + + // Double check there is only one submission. + $previoussubmissions = $DB->get_records_select('plagiarism_turnitin_files', + " cm = ? AND userid = ? AND ".$typefield." = ? AND identifier = ? ", + array($cm->id, $author, $submissiontype, $identifier), + 'id', $submissionfields); + $previoussubmission = end($previoussubmissions); + if ($previoussubmission) { + // Don't submit if submission hasn't changed. + if (in_array($previoussubmission->statuscode, array("success", "error")) + && $timemodified <= $previoussubmission->lastmodified) { + return true; + } else if ($settings["plagiarism_report_gen"] > 0) { + // Replace if Turnitin assignment allows resubmissions or create if we have no Turnitin id stored. + $submissionid = $previoussubmission->id; + $this->reset_tii_submission($cm, $author, $identifier, $previoussubmission, $submissiontype); + } else { + if ($previoussubmission->statuscode != "success") { + $submissionid = $previoussubmission->id; + $this->reset_tii_submission($cm, $author, $identifier, $previoussubmission, $submissiontype); + } else { + $submissionid = $this->create_new_tii_submission($cm, $author, $identifier, $submissiontype); + } + } + $attempt = $previoussubmission->attempt; + } else { + // Check if there is previous submission of text content which we will replace + $typefield = ($CFG->dbtype == "oci") ? " to_char(submissiontype) " : " submissiontype "; + if ($submissiontype == 'text_content' && + $previoussubmission = $DB->get_record_select('plagiarism_turnitin_files', + " cm = ? AND userid = ? AND ".$typefield." = ? ", + array($cm->id, $author, 'text_content'), + 'id, cm, externalid, identifier, statuscode, lastmodified, attempt', 0, 1)) { + + $submissionid = $previoussubmission->id; + $attempt = $previoussubmission->attempt; + + // Delete old text content submissions from Turnitin if not replacing. + if ($settings["plagiarism_report_gen"] == 0 && !is_null($previoussubmission->externalid)) { + $this->delete_tii_submission($cm, $previoussubmission->externalid, $author); + } + + $this->reset_tii_submission($cm, $author, $identifier, $previoussubmission, $submissiontype); + } else { + $submissionid = $this->create_new_tii_submission($cm, $author, $identifier, $submissiontype); + } + } + + break; + + case 'forum_post': + if ($previoussubmissions = $DB->get_records_select('plagiarism_turnitin_files', + " cm = ? AND userid = ? AND identifier = ? ", + array($cm->id, $author, $identifier), + 'id DESC', 'id, cm, externalid, identifier, statuscode, attempt', 0, 1)) { + + $previoussubmission = current($previoussubmissions); + if ($previoussubmission->statuscode == "success") { + return true; + } else { + $submissionid = $previoussubmission->id; + $attempt = $previoussubmission->attempt; + $this->reset_tii_submission($cm, $author, $identifier, $previoussubmission, $submissiontype); + } + } else { + $submissionid = $this->create_new_tii_submission($cm, $author, $identifier, $submissiontype); + } + break; + } + + // Check file is less than maximum allowed size. + if ($submissiontype == 'file') { + if ($file->get_filesize() > TURNITINTOOLTWO_MAX_FILE_UPLOAD_SIZE) { + $errorcode = 2; + } + } + + // If applicable, check whether file type is accepted. + $acceptanyfiletype = (!empty($settings["plagiarism_allow_non_or_submissions"])) ? 1 : 0; + if (!$acceptanyfiletype && $submissiontype == 'file') { + $filenameparts = explode('.', $filename); + $fileext = strtolower(end($filenameparts)); + if (!in_array(".".$fileext, $turnitinacceptedfiles)) { + $errorcode = 4; + } + } + + // Save submission as queued or errored if we have an errorcode. + $statuscode = ($errorcode != 0) ? 'error' : 'queued'; + return $this->save_submission($cm, $author, $submissionid, $identifier, $statuscode, null, $submitter, $itemid, + $submissiontype, $attempt, $errorcode, null); + } + + /** + * Send queued files to Turnitin. + */ + public function send_files_to_turnitin() { + global $DB; + $config = turnitintooltwo_admin_config(); + + $queueditems = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'queued'), + '', '*', $limitfrom = 0, $limitnum = PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); + + // Submit each file individually to Turnitin. + foreach ($queueditems as $queueditem) { + + // Get various settings that we need. + $errorcode = 0; + $cm = get_coursemodule_from_id('', $queueditem->cm); + $settings = $this->get_settings($cm->id); + $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); + + // Get course data. + $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); + if (empty($coursedata->turnitin_cid)) { + // Save failed submission if class can not be created. + $savesubmission = new stdClass(); + $savesubmission->id = $queueditem->id; + $savesubmission->statuscode = 'error'; + $savesubmission->attempt = $queueditem->attempt + 1; + $savesubmission->errorcode = 10; + + $DB->update_record('plagiarism_turnitin_files', $savesubmission); + break; + } + + // Join User to course. + try { + $user = new turnitintooltwo_user($queueditem->userid, 'Learner', true, 'cron'); + $user->edit_tii_user(); + $user->join_user_to_class($coursedata->turnitin_cid); + } catch (Exception $e) { + $user = new turnitintooltwo_user($queueditem->userid, 'Learner', 'false', 'cron', 'false'); + $errorcode = 7; + } + + $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron", true); + + // Any errorcode from assignment sync needs to be saved. + if (!empty($syncassignment['errorcode'])) { + $errorcode = $syncassignment['errorcode']; + } + + // Don't submit if a user has not accepted the eula. + if ($queueditem->userid == $queueditem->submitter + && $user->user_agreement_accepted != 1) { + $errorcode = 3; + } + + if (!empty($errorcode)) { + // Save failed submission if user can not be joined to class or there was an error with the assignment. + $savesubmission = new stdClass(); + $savesubmission->id = $queueditem->id; + $savesubmission->statuscode = 'error'; + $savesubmission->attempt = $queueditem->attempt + 1; + $savesubmission->errorcode = $errorcode; + + $DB->update_record('plagiarism_turnitin_files', $savesubmission); + break; + } + + // Clean up old Turnitin submission files. + if ($queueditem->itemid != 0 && $queueditem->submissiontype == 'file' && $cm->modname != 'forum') { + $this->clean_old_turnitin_submissions($cm, $user->id, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->identifier); + } + + // Get more Submission Details as required. + switch ($queueditem->submissiontype) { + case 'file': + case 'text_content': + + // Get file data or prepare text submission. + if ($submissiontype == 'file') { + $fs = get_file_storage(); + $file = $fs->get_file_by_hash($queueditem->identifier); + + $title = $file->get_filename(); + $filename = $file->get_filename(); + + try { + $textcontent = $file->get_content(); + } catch (Exception $e) { + turnitintooltwo_activitylog('File content not found on submission: '.$pathnamehash, 'PP_NO_FILE'); + mtrace($e); + mtrace('File content not found on submission. pathnamehash: '.$pathnamehash); + $errorcode = 9; + } + } else { + // Get the actual text content for a submission. + switch ($cm->modname) { + case 'assign': + $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, + 'userid' => $queueditem->author, 'id' => $queueditem->itemid), 'id'); + $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', + array('submission' => $moodlesubmission->id), 'onlinetext'); + $textcontent = $moodletextsubmission->onlinetext; + break; + + case 'workshop': + $moodlesubmission = $DB->get_record('workshop_submissions', + array('id' => $queueditem->itemid), 'content'); + $textcontent = $moodlesubmission->content; + break; + } + + $title = 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; + $filename = $title; + $textcontent = strip_tags($textcontent); + } + + // Use Replace submission method if resubmissions are allowed or create if we have no Turnitin Id. + if (is_null($queueditem->externalid)) { + $apimethod = "createSubmission"; + } else { + $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; + // Delete old text content submissions from Turnitin if not replacing. + if ($settings["plagiarism_report_gen"] == 0 && $submissiontype == 'text_content') { + $this->delete_tii_submission($cm, $queueditem->externalid, $queueditem->author); + } + } + + // Remove any old text submissions from Moodle DB if there are any as there is only one per submission. + if ($itemid != 0 && $submissiontype == "text_content") { + $this->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier); + } + + break; + + case 'forum_post': + if (is_null($queueditem->externalid)) { + $apimethod = "createSubmission"; + } else { + $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; + } + + $forum_post = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $queueditem->itemid)); + $textcontent = strip_tags($forum_post->message); + + $title = 'forumpost_'.$user->id."_".$cm->id."_".$cm->instance."_".$queueditem->itemid.'.txt'; + $filename = $title; + break; + } + + // Read the stored file/content into a temp file for submitting. + $submission_title = explode('.', $title); + + // Compile file string array for naming the file. + $file_string = array( + $submission_title[0], + $cm->id + ); + + // Only include user's name and id if we're not using blind marking and student privacy. + if ( empty($moduledata->blindmarking) && empty($config->enablepseudo) ) { + $user_details = array( + $user->id, + $user->firstname, + $user->lastname + ); + + $file_string = array_merge($user_details, $file_string); + } + + try { + $tempfile = turnitintooltwo_tempfile($file_string, $filename); + } catch (Exception $e) { + $errorcode = 8; + } + + // Save failed submission and don't process any further. + if ($errorcode != 0) { + return $this->save_submission($cm, $queueditem->author, $submissionid, $queueditem->identifier, 'error', $queueditem->externalid, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->attempt, $errorcode); + } + + $fh = fopen($tempfile, "w"); + fwrite($fh, $textcontent); + fclose($fh); + + // Create submission object. + $submission = new TiiSubmission(); + $submission->setAssignmentId($syncassignment['tiiassignmentid']); + if ($apimethod == "replaceSubmission") { + $submission->setSubmissionId($queueditem->externalid); + } + $submission->setTitle($title); + $submission->setAuthorUserId($user->tii_user_id); + + // Account for submission by teacher in assignment module. + if ($queueditem->userid == $queueditem->$submitter) { + $submission->setSubmitterUserId($user->tii_user_id); + $submission->setRole('Learner'); + } else { + $instructor = new turnitintooltwo_user($queueditem->submitter, 'Instructor'); + $instructor->edit_tii_user(); + + $submission->setSubmitterUserId($instructor->tii_user_id); + $submission->setRole('Instructor'); + } + + $submission->setSubmissionDataPath($tempfile); + + // Initialise Comms Object. + $turnitincomms = new turnitin_comms(); + $turnitincall = $turnitincomms->initialise_api(); + + try { + $response = $turnitincall->$apimethod($submission); + $newsubmission = $response->getSubmission(); + $tiisubmissionid = $newsubmission->getSubmissionId(); + + $this->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'success', $tiisubmissionid, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt); + + // Delete the tempfile. + if (!is_null($tempfile)) { + unlink($tempfile); + } + + // Add config field to show submissions have been made which we use to lock anonymous marking setting + $configfield = new stdClass(); + $configfield->cm = $cm->id; + $configfield->name = 'submitted'; + $configfield->value = 1; + + if (!$currentconfigfield = $DB->get_field('plagiarism_turnitin_config', 'id', + (array('cm' => $cm->id, 'name' => 'submitted')))) { + if (!$DB->insert_record('plagiarism_turnitin_config', $configfield)) { + turnitintooltwo_print_error('defaultupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); + } + } + + // Send a message to the user's Moodle inbox with the digital receipt. + $receipt = new pp_receipt_message(); + $input = array( + 'firstname' => $user->firstname, + 'lastname' => $user->lastname, + 'submission_title' => $title, + 'assignment_name' => $moduledata->name, + 'course_fullname' => $coursedata->turnitin_ctl, + 'submission_date' => date('d-M-Y h:iA'), + 'submission_id' => $tiisubmissionid + ); + + $message = $receipt->build_message($input); + $receipt->send_message($user->id, $message); + + // Output a message in the cron for successfull submission to Turnitin. + $outputvars = new stdClass(); + $outputvars->title = $title; + $outputvars->submissionid = $tiisubmissionid; + $outputvars->assignmentname = $moduledata->name; + $outputvars->coursename = $coursedata->turnitin_ctl; + + mtrace(get_string('cronsubmittedsuccessfully', 'plagiarism_turnitin', $outputvars)); + } catch (Exception $e) { + + // Save that submission errored. + $submissionerrormsg = get_string('pp_submission_error', 'plagiarism_turnitin').' '.$e->getMessage(); + $this->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'error', null, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->attempt, 0, $submissionerrormsg); + + $errorstring = (empty($previoussubmission->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; + $turnitincomms->handle_exceptions($e, $errorstring, false); + + // Output error in the cron. + mtrace('-------------------------'); + mtrace(get_string('pp_submission_error', 'plagiarism_turnitin').': '.$e->getMessage()); + mtrace('User: '.$user->id.' - '.$user->firstname.' '.$user->lastname.' ('.$user->email.')'); + mtrace('Course Module: '.$cm->id.''); + mtrace('-------------------------'); + } + } + } + /** * Amalgamated handler for Moodle cron events. * @@ -2032,19 +2461,8 @@ public function migrate_previous_course($coursedata, $turnitincid, $workflowcont public function event_handler($eventdata) { global $DB, $CFG; - STATIC $ppDisplayCount = 0; - - if (!$ppDisplayCount) { - $numEvents = $DB->count_records_sql("SELECT count(*) FROM {events_queue} q - LEFT JOIN {events_queue_handlers} h ON (h.queuedeventid = q.id) - LEFT JOIN {events_handlers} e ON (h.handlerid = e.id) - WHERE e.eventname IN ('assessable_file_uploaded', 'assessable_files_done', 'assessable_content_uploaded', 'assessable_submitted') AND component = 'plagiarism_turnitin'"); - - mtrace(get_string("ppqueuesize", 'plagiarism_turnitin').': '. $numEvents); - $ppDisplayCount = 1; - } - $result = true; + // Remove the event if the course module no longer exists. if (!$cm = get_coursemodule_from_id($eventdata['other']['modulename'], $eventdata['contextinstanceid'])) { return true; @@ -2063,22 +2481,16 @@ public function event_handler($eventdata) { return true; } - static $tiiconnection; - if (empty($tiiconnection)) { - if (!$tiiconnection = $this->test_turnitin_connection('cron')) { - return false; - } - } - - // Get course data, return false if there is a problem creating it. - $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); - if (empty($coursedata->turnitin_cid)) { - return false; - } - + // Process events. Module events will need to call Turnitin straightaway to keep assignments, etc in sync. switch ($eventdata['eventtype']) { case "mod_created": case "mod_updated": + // Get course data, return false if there is a problem creating it. + $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); + if (empty($coursedata->turnitin_cid)) { + return false; + } + $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron"); return true; break; @@ -2086,18 +2498,6 @@ public function event_handler($eventdata) { case "file_uploaded": case "assessable_submitted": case "content_uploaded": - // Initialise counter, limit submission events processing to - // PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT per cron run. - static $i; - if (empty($i)) { - $i = 1; - } - - // Only process submissions up to the processing limit. - if ($i > PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT) { - return false; - } - $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); if ($cm->modname != 'assign') { $moduledata->submissiondrafts = 0; @@ -2113,28 +2513,6 @@ public function event_handler($eventdata) { $submitter = $eventdata['userid']; $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; - try { - // Join User to course. - $user = new turnitintooltwo_user($author, 'Learner', true, 'cron'); - $user->join_user_to_class($coursedata->turnitin_cid); - - $errorcode = ""; - } catch (Exception $e) { - $user = new turnitintooltwo_user($author, 'Learner', 'false', 'cron', 'false'); - - $errorcode = 7; - } - - $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron", true); - - // Cron errorcode needs to be passed to submission function. - $cronerror = ""; - if (!empty($syncassignment['errorcode'])) { - $cronerror = $syncassignment['errorcode']; - } elseif (!empty($errorcode)) { - $cronerror = $errorcode; - } - // Get actual text content and files to be submitted for draft submissions // as this won't be present in eventdata for certain event types. if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { @@ -2157,74 +2535,37 @@ public function event_handler($eventdata) { } } - // Attempt to submit text content to Turnitin. - // If there was an error when creating the assignment then still attempt to process the submission so it can - // be saved as failed and therefore doesn't cause the cron to get stuck. + // Queue text content to send to Turnitin. + // If there was an error when creating the assignment then still queue the submission so it can be saved as failed. if (in_array($eventdata['eventtype'], array("content_uploaded", "assessable_submitted")) && !empty($eventdata['other']['content'])) { - // Get extra data for text content submissions and remove unneeded events. - switch ($eventdata['other']['modulename']) { - case "assign": - if ($contentsubmission = $DB->get_record('assign_submission', array('userid' => $user->id, - 'assignment' => $moduledata->id, - 'id' => $eventdata['objectid']))) { - $tempfilename = 'onlinetext_'.$user->id."_".$cm->id."_".$moduledata->id.'.txt'; - $submissiontype = 'text_content'; - } else { - // Content has been deleted but event not removed. - return true; - } + $submissiontype = ($eventdata['other']['modulename'] == 'forum') ? 'forum_post' : 'text_content'; - break; - - case "forum": - if ($contentsubmission = $DB->get_record('forum_posts', array('id' => $eventdata['objectid']))) { - $tempfilename = 'forumpost_'.$user->id."_".$cm->id."_". - $moduledata->id."_".$eventdata['objectid'].'.txt'; - $submissiontype = 'forum_post'; - } else { - // Content has been deleted but event not removed. - return true; - } - break; - - case 'workshop': - if ($moodlesubmission = $DB->get_record('workshop_submissions', - array('id' => $eventdata['objectid']))) { - $tempfilename = 'onlinetext_'.$user->id."_".$cm->id."_".$moduledata->id.'.txt'; - $submissiontype = 'text_content'; - $eventdata['other']['content'] = $moodlesubmission->content; - } else { - // Content has been deleted but event not removed. - return true; - } - break; + // TODO: Check eventdata to see if content is included correctly. If so, this can be removed. + if ($eventdata['other']['modulename'] == 'workshop') { + $moodlesubmission = $DB->get_record('workshop_submissions', array('id' => $eventdata['objectid'])); + $eventdata['other']['content'] = $moodlesubmission->content; } $identifier = sha1($eventdata['other']['content']); - // Get previous text content details if it has been submitted previously. - $plagiarismfile = $DB->get_record('plagiarism_turnitin_files', array('userid' => $user->id, 'cm' => $cm->id, - 'identifier' => $identifier)); + // Check if text content has been submitted previously. Remove if so. + list($insql, $inparams) = $DB->get_in_or_equal(array('success', 'queued'), SQL_PARAMS_QM, 'param', false); + $typefield = ($CFG->dbtype == "oci") ? " to_char(statuscode) " : " statuscode "; + $oldfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". + " AND identifier AND ".$typefield." = ? ".$insql, + array_merge(array($author, $cm->id, $identifier), $inparams)); if ($plagiarismfile) { - // Only submit if this content hasn't been submitted successfuly before. - if ($plagiarismfile->statuscode != "success") { - $result = $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $identifier, $submissiontype, $eventdata['objectid'], - $tempfilename, $eventdata['other']['content'], $cronerror); - } else { - return true; - } + return true; } else { - $result = $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $identifier, $submissiontype, $eventdata['objectid'], - $tempfilename, $eventdata['other']['content'], $cronerror); + $result = $this->queue_submission_to_turnitin( + $cm, $author, $submitter, $identifier, $submissiontype, $eventdata['objectid']); } } - // Attempt to submit files to Turnitin. + // Queue files to submit to Turnitin. $result = $result && true; if (!empty($eventdata['other']['pathnamehashes'])) { foreach ($eventdata['other']['pathnamehashes'] as $pathnamehash) { @@ -2252,21 +2593,15 @@ public function event_handler($eventdata) { } if ($this->check_if_submitting($cm, $author, $pathnamehash, 'file')) { - $result = $result && $this->tii_submission($cm, $syncassignment['tiiassignmentid'], $user, $submitter, - $pathnamehash, 'file', $eventdata['objectid'], '', '', $cronerror); + $result = $result && $this->queue_submission_to_turnitin( + $cm, $author, $submitter, $pathnamehash, 'file', + $eventdata['objectid'], ''); } else { $result = $result && true; } } } - // Output warning that no further submissions will be processed as processing limit has been reached. - if ($i == PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT) { - mtrace(get_string('ppcronsubmissionlimitreached', 'plagiarism_turnitin', - PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT)); - } - $i++; - break; } @@ -2277,21 +2612,21 @@ public function event_handler($eventdata) { * Initialise submission values * **/ - private function create_new_tii_submission($cm, $user, $identifier, $submissiontype) { + private function create_new_tii_submission($cm, $userid, $identifier, $submissiontype) { global $DB; $plagiarismfile = new stdClass(); $plagiarismfile->cm = $cm->id; - $plagiarismfile->userid = $user->id; + $plagiarismfile->userid = $userid; $plagiarismfile->identifier = $identifier; - $plagiarismfile->statuscode = "pending"; + $plagiarismfile->statuscode = "queued"; $plagiarismfile->similarityscore = null; $plagiarismfile->attempt = 1; $plagiarismfile->transmatch = 0; $plagiarismfile->submissiontype = $submissiontype; if (!$fileid = $DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$user->id.")", "PP_NEW_SUB"); + turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$userid.")", "PP_NEW_SUB"); $fileid = 0; } @@ -2302,7 +2637,7 @@ private function create_new_tii_submission($cm, $user, $identifier, $submissiont * Reset submission values * **/ - private function reset_tii_submission($cm, $user, $identifier, $currentsubmission, $submissiontype) { + private function reset_tii_submission($cm, $userid, $identifier, $currentsubmission, $submissiontype) { global $DB; $plagiarismfile = new stdClass(); @@ -2318,7 +2653,7 @@ private function reset_tii_submission($cm, $user, $identifier, $currentsubmissio $plagiarismfile->orcapable = null; if (!$DB->update_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$user->id.")", "PP_REPLACE_SUB"); + turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$userid.")", "PP_REPLACE_SUB"); } } @@ -2326,7 +2661,7 @@ private function reset_tii_submission($cm, $user, $identifier, $currentsubmissio * Clean up previous file submissions. * Moodle will remove any old files or drafts during cron execution and file submission. */ - private function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissiontype, $identifier, $user) { + private function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissiontype, $identifier) { global $DB, $CFG; $currentfiles = array(); $deletestr = ''; @@ -2373,7 +2708,7 @@ private function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissi foreach ($oldfiles as $oldfile) { // Delete submission from Turnitin if we have an external id. if (!is_null($oldfile->externalid)) { - $this->delete_tii_submission($cm, $oldfile->externalid, $user); + $this->delete_tii_submission($cm, $oldfile->externalid, $userid); } $deletestr .= $oldfile->id.', '; } @@ -2395,8 +2730,11 @@ private function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissi } } - public function save_failed_submission($cm, $user, $submissionid, $identifier, $submissiontype, - $errorcode, $previoussubmission) { + /** + * Save the submission data to the files table. + */ + public function save_submission($cm, $userid, $submissionid, $identifier, $statuscode, $tiisubmissionid, $submitter, $itemid, + $submissiontype, $attempt, $errorcode = null, $errormsg = null) { global $DB; $plagiarismfile = new stdClass(); @@ -2404,399 +2742,39 @@ public function save_failed_submission($cm, $user, $submissionid, $identifier, $ $plagiarismfile->id = $submissionid; } $plagiarismfile->cm = $cm->id; - $plagiarismfile->userid = $user->id; + $plagiarismfile->userid = $userid; $plagiarismfile->identifier = $identifier; - $plagiarismfile->statuscode = 'error'; - $plagiarismfile->errorcode = $errorcode; - $plagiarismfile->attempt = (!empty($previoussubmission)) ? $previoussubmission->attempt + 1 : 1; + $plagiarismfile->statuscode = $statuscode; + $plagiarismfile->similarityscore = null; + $plagiarismfile->externalid = $tiisubmissionid; + $plagiarismfile->errorcode = (empty($errorcode)) ? null : $errorcode; + $plagiarismfile->errormsg = (empty($errormsg)) ? null : $errorcode; + $plagiarismfile->attempt = $attempt + 1; + $plagiarismfile->transmatch = 0; $plagiarismfile->lastmodified = time(); $plagiarismfile->submissiontype = $submissiontype; + $plagiarismfile->itemid = $itemid; + $plagiarismfile->submitter = $submitter; if ($submissionid != 0) { if (!$DB->update_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$user->id.") - ", "PP_UPDATE_SUB_ERROR"); + turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$userid.") - ", "PP_UPDATE_SUB_ERROR"); } } else { if (!$fileid = $DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$user->id.") - ", "PP_INSERT_SUB_ERROR"); - } - } - - mtrace('-------------------------'); - mtrace(get_string('errorcode'.$errorcode, 'plagiarism_turnitin').':'); - mtrace('User: '.$user->id.' - '.$user->firstname.' '.$user->lastname.' ('.$user->email.')'); - mtrace('Course Module: '.$cm->id.''); - mtrace('-------------------------'); - - return true; - } - - /** - * If there is no submission record then we are creating one. Text content should be submitted. - * If a file has already been submitted then check whether the identifier is the same, if it is do nothing. - * If it's not then either edit submission or create new one depending on module settings. - */ - public function tii_submission($cm, $tiiassignmentid, $user, $submitter, $identifier, $submissiontype, $itemid = 0, - $title = '', $textcontent = '', $cronerror = '') { - global $CFG, $DB, $USER, $turnitinacceptedfiles; - // Instantiate error code - $errorcode = 0; - - // Get config, module and course settings that we need. - $config = turnitintooltwo_admin_config(); - $settings = $this->get_settings($cm->id); - $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); - $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); - - // Update user's details on Turnitin. - $user->edit_tii_user(); - - // Clean up old Turnitin submission files. - if ($itemid != 0 && $submissiontype == 'file' && $cm->modname != 'forum') { - $this->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier, $user); - } - - // Work out submission method. - // If this file has successfully submitted in the past then break, text content is to be submitted. - switch ($submissiontype) { - case 'file': - case 'text_content': - - // Get file data or prepare text submission. - if ($submissiontype == 'file') { - $fs = get_file_storage(); - $file = $fs->get_file_by_hash($identifier); - - $title = $file->get_filename(); - $timemodified = $file->get_timemodified(); - $filename = $file->get_filename(); - - try { - $textcontent = $file->get_content(); - } catch (Exception $e) { - turnitintooltwo_activitylog('File content not found on submission: '.$pathnamehash, 'PP_NO_FILE'); - mtrace($e); - mtrace('File content not found on submission. pathnamehash: '.$pathnamehash); - $errorcode = 9; - } - } else { - // Check when text submission was last modified. - switch ($cm->modname) { - case 'assign': - $moodlesubmission = $DB->get_record('assign_submission', - array('assignment' => $cm->instance, - 'userid' => $user->id, - 'id' => $itemid), 'timemodified'); - break; - case 'workshop': - $moodlesubmission = $DB->get_record('workshop_submissions', - array('workshopid' => $cm->instance, - 'authorid' => $user->id), 'timemodified'); - break; - } - - $title = (!empty($title)) ? $title : 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; - $filename = (substr($title, -4) == '.txt') ? $title : $title.'.txt'; - $textcontent = strip_tags($textcontent); - $timemodified = $moodlesubmission->timemodified; - } - - // Get submission method depending on whether there has been a previous submission. - $submissionfields = 'id, cm, externalid, identifier, statuscode, lastmodified, attempt'; - $typefield = ($CFG->dbtype == "oci") ? " to_char(submissiontype) " : " submissiontype "; - - // Double check there is only one submission. - $previoussubmissions = $DB->get_records_select('plagiarism_turnitin_files', - " cm = ? AND userid = ? AND ".$typefield." = ? AND identifier = ? ", - array($cm->id, $user->id, $submissiontype, $identifier), - 'id', $submissionfields); - $previoussubmission = end($previoussubmissions); - if ($previoussubmission) { - // Don't submit if submission hasn't changed. - if (in_array($previoussubmission->statuscode, array("success", "error")) - && $timemodified <= $previoussubmission->lastmodified) { - return true; - } else if ($settings["plagiarism_report_gen"] > 0) { - // Replace if Turnitin assignment allows resubmissions or create if we have no Turnitin id stored. - $submissionid = $previoussubmission->id; - $apimethod = (is_null($previoussubmission->externalid)) ? "createSubmission" : "replaceSubmission"; - $this->reset_tii_submission($cm, $user, $identifier, $previoussubmission, $submissiontype); - } else { - $apimethod = "createSubmission"; - if ($previoussubmission->statuscode != "success") { - $submissionid = $previoussubmission->id; - $this->reset_tii_submission($cm, $user, $identifier, $previoussubmission, $submissiontype); - } else { - $submissionid = $this->create_new_tii_submission($cm, $user, $identifier, $submissiontype); - } - } - } else { - // Check if there is previous submission of text content which we will replace - $typefield = ($CFG->dbtype == "oci") ? " to_char(submissiontype) " : " submissiontype "; - if ($submissiontype == 'text_content' && - $previoussubmission = $DB->get_record_select('plagiarism_turnitin_files', - " cm = ? AND userid = ? AND ".$typefield." = ? ", - array($cm->id, $user->id, 'text_content'), - 'id, cm, externalid, identifier, statuscode, lastmodified, attempt', 0, 1)) { - - $submissionid = $previoussubmission->id; - $apimethod = (is_null($previoussubmission->externalid) || $settings["plagiarism_report_gen"] == 0) - ? "createSubmission" : "replaceSubmission"; - - // Delete old text content submissions from Turnitin if not replacing. - if ($settings["plagiarism_report_gen"] == 0 && !is_null($previoussubmission->externalid)) { - $this->delete_tii_submission($cm, $previoussubmission->externalid, $user); - } - - $this->reset_tii_submission($cm, $user, $identifier, $previoussubmission, $submissiontype); - } else { - $apimethod = "createSubmission"; - $submissionid = $this->create_new_tii_submission($cm, $user, $identifier, $submissiontype); - } - } - - // Remove any old text submissions here if there are any as there is only one per submission - if ($itemid != 0 && $submissiontype == "text_content") { - $this->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier, $user); - } - - break; - - case 'forum_post': - if ($previoussubmissions = $DB->get_records_select('plagiarism_turnitin_files', - " cm = ? AND userid = ? AND identifier = ? ", - array($cm->id, $user->id, $identifier), - 'id DESC', 'id, cm, externalid, identifier, statuscode, attempt', 0, 1)) { - - $previoussubmission = current($previoussubmissions); - if ($previoussubmission->statuscode == "success") { - return true; - } else { - $submissionid = $previoussubmission->id; - $apimethod = "replaceSubmission"; - $this->reset_tii_submission($cm, $user, $identifier, $previoussubmission, $submissiontype); - } - } else { - $apimethod = "createSubmission"; - $submissionid = $this->create_new_tii_submission($cm, $user, $identifier, $submissiontype); - } - - $forum_post = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $itemid)); - $textcontent = strip_tags($forum_post->message); - - $filename = $title; - break; - } - - - // Check file is less than maximum allowed size. - if ($submissiontype == 'file') { - if ($file->get_filesize() > TURNITINTOOLTWO_MAX_FILE_UPLOAD_SIZE) { - $errorcode = 2; + turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$userid.") - ", "PP_INSERT_SUB_ERROR"); } } - // Don't submit if a user has not accepted the eula. - if ($user->id == $submitter && $user->user_agreement_accepted != 1) { - $errorcode = 3; - } - - // If applicable, check whether file type is accepted. - $acceptanyfiletype = (!empty($settings["plagiarism_allow_non_or_submissions"])) ? 1 : 0; - if (!$acceptanyfiletype && $submissiontype == 'file') { - $filenameparts = explode('.', $filename); - $fileext = strtolower(end($filenameparts)); - if (!in_array(".".$fileext, $turnitinacceptedfiles)) { - $errorcode = 4; - } - } - - // Read the stored file/content into a temp file for submitting. - $submission_title = explode('.', $title); - - $file_string = array( - $submission_title[0], - $cm->id - ); - - // Only include user's name and id if we're not using blind marking and student privacy. - if ( empty($moduledata->blindmarking) && empty($config->enablepseudo) ) { - $user_details = array( - $user->id, - $user->firstname, - $user->lastname - ); - - $file_string = array_merge($user_details, $file_string); - } - - try { - $tempfile = turnitintooltwo_tempfile($file_string, $filename); - } catch (Exception $e) { - $errorcode = 8; - } - - // Any errors from cron processing take prioirity. - if (!empty($cronerror)) { - $errorcode = $cronerror; - } - - // Save failed submission and don't process any further. - if ($errorcode != 0) { - return $this->save_failed_submission($cm, $user, $submissionid, $identifier, - $submissiontype, $errorcode, $previoussubmission); - } - - $fh = fopen($tempfile, "w"); - fwrite($fh, $textcontent); - fclose($fh); - - // Create submission object. - $submission = new TiiSubmission(); - $submission->setAssignmentId($tiiassignmentid); - if ($apimethod == "replaceSubmission") { - $submission->setSubmissionId($previoussubmission->externalid); - } - $submission->setTitle($title); - $submission->setAuthorUserId($user->tii_user_id); - - // Account for submission by teacher in assignment module. - if ($user->id == $submitter) { - $submission->setSubmitterUserId($user->tii_user_id); - $submission->setRole('Learner'); - } else { - $instructor = new turnitintooltwo_user($submitter, 'Instructor'); - $instructor->edit_tii_user(); - - $submission->setSubmitterUserId($instructor->tii_user_id); - $submission->setRole('Instructor'); - } - - $submission->setSubmissionDataPath($tempfile); - - // Initialise Comms Object. - $turnitincomms = new turnitin_comms(); - $turnitincall = $turnitincomms->initialise_api(); - - try { - $response = $turnitincall->$apimethod($submission); - $newsubmission = $response->getSubmission(); - $newsubmissionid = $newsubmission->getSubmissionId(); - - $plagiarismfile = new stdClass(); - if ($apimethod == "replaceSubmission" || $submissionid != 0) { - $plagiarismfile->id = $submissionid; - } - $plagiarismfile->cm = $cm->id; - $plagiarismfile->userid = $user->id; - $plagiarismfile->submitter = $submitter; - $plagiarismfile->identifier = $identifier; - $plagiarismfile->externalid = $newsubmissionid; - $plagiarismfile->statuscode = 'success'; - $plagiarismfile->similarityscore = null; - $plagiarismfile->attempt = (!empty($previoussubmission)) ? $previoussubmission->attempt + 1 : 1; - $plagiarismfile->transmatch = 0; - $plagiarismfile->lastmodified = time(); - $plagiarismfile->submissiontype = $submissiontype; - $plagiarismfile->errorcode = null; - $plagiarismfile->errormsg = null; - - if ($apimethod == "replaceSubmission" || $submissionid != 0) { - if (!$DB->update_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$user->id.")", "PP_UPDATE_SUB"); - } - } else { - if (!$fileid = $DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$user->id.")", "PP_INSERT_SUB"); - } - } - - // Delete the tempfile. - if (!is_null($tempfile)) { - unlink($tempfile); - } - - // Add config field to show submissions have been made which we use to lock anonymous marking setting - $configfield = new stdClass(); - $configfield->cm = $cm->id; - $configfield->name = 'submitted'; - $configfield->value = 1; - - if (!$currentconfigfield = $DB->get_field('plagiarism_turnitin_config', 'id', - (array('cm' => $cm->id, 'name' => 'submitted')))) { - if (!$DB->insert_record('plagiarism_turnitin_config', $configfield)) { - turnitintooltwo_print_error('defaultupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); - } - } - - // Send a message to the user's Moodle inbox with the digital receipt. - $receipt = new pp_receipt_message(); - $input = array( - 'firstname' => $user->firstname, - 'lastname' => $user->lastname, - 'submission_title' => $title, - 'assignment_name' => $moduledata->name, - 'course_fullname' => $coursedata->turnitin_ctl, - 'submission_date' => date('d-M-Y h:iA'), - 'submission_id' => $newsubmissionid - ); - - $message = $receipt->build_message($input); - $receipt->send_message($user->id, $message); - - // Output a message in the cron for successfull submission to Turnitin. - $outputvars = new stdClass(); - $outputvars->title = $title; - $outputvars->submissionid = $newsubmissionid; - $outputvars->assignmentname = $moduledata->name; - $outputvars->coursename = $coursedata->turnitin_ctl; - - mtrace(get_string('cronsubmittedsuccessfully', 'plagiarism_turnitin', $outputvars)); - } catch (Exception $e) { - $errorstring = (empty($previoussubmission->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; - - $plagiarismfile = new stdClass(); - if ($submissionid != 0) { - $plagiarismfile->id = $submissionid; - } - $plagiarismfile->attempt = (!empty($previoussubmission)) ? $previoussubmission->attempt + 1 : 1; - $plagiarismfile->cm = $cm->id; - $plagiarismfile->userid = $user->id; - $plagiarismfile->submitter = $submitter; - $plagiarismfile->identifier = $identifier; - $plagiarismfile->statuscode = 'error'; - $plagiarismfile->lastmodified = time(); - $plagiarismfile->submissiontype = $submissiontype; - $plagiarismfile->errorcode = 0; - $plagiarismfile->errormsg = get_string('pp_submission_error', 'plagiarism_turnitin').' '.$e->getMessage(); - - if ($submissionid != 0) { - if (!$DB->update_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$user->id.") - ", "PP_UPDATE_SUB_ERROR"); - } - } else { - if (!$fileid = $DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { - turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$user->id.") - ", "PP_INSERT_SUB_ERROR"); - } - } - - $turnitincomms->handle_exceptions($e, $errorstring, false); - - mtrace('-------------------------'); - mtrace(get_string('pp_submission_error', 'plagiarism_turnitin').': '.$e->getMessage()); - mtrace('User: '.$user->id.' - '.$user->firstname.' '.$user->lastname.' ('.$user->email.')'); - mtrace('Course Module: '.$cm->id.''); - mtrace('-------------------------'); - } - return true; } /** * Delete a submission from Turnitin */ - private function delete_tii_submission($cm, $submissionid, $user) { + private function delete_tii_submission($cm, $submissionid, $userid) { global $CFG; + $user = $DB->get_record('user', array('id' => $userid)); // Initialise Comms Object. $turnitincomms = new turnitin_comms(); diff --git a/version.php b/version.php index 62e684a5..29c928fd 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ * and open the template in the editor. */ -$plugin->version = 2016091401; +$plugin->version = 2016101101; $plugin->release = "2.6+"; $plugin->requires = 2013111800; $plugin->component = 'plagiarism_turnitin'; From 5cfc94fb34ddd1ad37a3855999c277ea81166652 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 13 Oct 2016 09:39:12 +0100 Subject: [PATCH 07/56] Add new scheduled task and rename cron task --- classes/task/plagiarism_turnitin_task.php | 30 -- classes/task/send_submissions.php | 45 ++ classes/task/update_reports.php | 47 ++ db/tasks.php | 13 +- lang/en/plagiarism_turnitin.php | 6 +- lib.php | 577 +++++++++++----------- 6 files changed, 396 insertions(+), 322 deletions(-) delete mode 100644 classes/task/plagiarism_turnitin_task.php create mode 100644 classes/task/send_submissions.php create mode 100644 classes/task/update_reports.php diff --git a/classes/task/plagiarism_turnitin_task.php b/classes/task/plagiarism_turnitin_task.php deleted file mode 100644 index bdea43be..00000000 --- a/classes/task/plagiarism_turnitin_task.php +++ /dev/null @@ -1,30 +0,0 @@ -dirroot.'/plagiarism/turnitin/lib.php'); - $PLAGIARISM_TURNITIN_TASKCALL = true; - plagiarism_turnitin_cron(); - } -} \ No newline at end of file diff --git a/classes/task/send_submissions.php b/classes/task/send_submissions.php new file mode 100644 index 00000000..2195c69d --- /dev/null +++ b/classes/task/send_submissions.php @@ -0,0 +1,45 @@ +. + +/** + * Send queued submissions to Turnitin. + * + * @package plagiarism_turnitin + * @author John McGettrick http://www.turnitin.com + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace plagiarism_turnitin\task; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Send queued submissions to Turnitin. + */ +class send_submissions extends \core\task\scheduled_task { + + public function get_name() { + return get_string('sendqueuedsubmissions', 'plagiarism_turnitin'); + } + + public function execute() { + global $CFG; + + require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); + plagiarism_turnitin_send_queued_submissions(); + } +} \ No newline at end of file diff --git a/classes/task/update_reports.php b/classes/task/update_reports.php new file mode 100644 index 00000000..36641d4b --- /dev/null +++ b/classes/task/update_reports.php @@ -0,0 +1,47 @@ +. + +/** + * Update report Scores from Turnitin. + * + * @package plagiarism_turnitin + * @author John McGettrick http://www.turnitin.com + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace plagiarism_turnitin\task; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Update report Scores from Turnitin. + */ +class update_reports extends \core\task\scheduled_task { + + public function get_name() { + return get_string('updatereportscores', 'plagiarism_turnitin'); + } + + public function execute() { + global $CFG, $PLAGIARISM_TURNITIN_TASKCALL; + + // Call plagiarism turnitin cron function to update report scores. + require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); + $PLAGIARISM_TURNITIN_TASKCALL = true; + plagiarism_turnitin_update_reports(); + } +} \ No newline at end of file diff --git a/db/tasks.php b/db/tasks.php index 8287fce0..a402216c 100644 --- a/db/tasks.php +++ b/db/tasks.php @@ -20,12 +20,21 @@ $tasks = array( array( - 'classname' => 'plagiarism_turnitin\task\plagiarism_turnitin_task', + 'classname' => 'plagiarism_turnitin\task\update_reports', 'blocking' => 0, 'minute' => '*/5', 'hour' => '*', 'day' => '*', 'dayofweek' => '*', 'month' => '*' - ) + ), + array( + 'classname' => 'plagiarism_turnitin\task\send_submissions', + 'blocking' => 0, + 'minute' => '*/5', + 'hour' => '*', + 'day' => '*', + 'dayofweek' => '*', + 'month' => '*' + ), ); \ No newline at end of file diff --git a/lang/en/plagiarism_turnitin.php b/lang/en/plagiarism_turnitin.php index ab1f6ff0..0410197d 100644 --- a/lang/en/plagiarism_turnitin.php +++ b/lang/en/plagiarism_turnitin.php @@ -9,7 +9,6 @@ $string['pluginname'] = 'Turnitin plagiarism plugin'; $string['turnitintooltwo'] = 'Turnitin Tool'; $string['turnitin'] = 'Turnitin'; -$string['task_name'] = 'Turnitin Plagiarism Plugin Task'; $string['connecttesterror'] = 'There was an error connecting to Turnitin the return error message is below:
'; // Assignment Settings @@ -157,7 +156,6 @@ $string['errorcode7'] = 'This file has not been submitted to Turnitin because there is a problem creating the user in Turnitin which is preventing submissions, please consult your API logs for further information'; $string['errorcode8'] = 'This file has not been submitted to Turnitin because there is a problem creating the temp file. The most likely cause is an invalid file name. Please rename the file and re-upload using Edit Submission.'; $string['errorcode9'] = 'The file cannot be submitted as there is no accessible content in the file pool to submit.'; -$string['errorcode10'] = 'This file has not been submitted to Turnitin because there is a problem creating the class in Turnitin which is preventing submissions, please consult your API logs for further information'; $string['coursegeterror'] = 'Could not get course data'; $string['configureerror'] = 'You must configure this module fully as Administrator before using it within a course. Please contact your Moodle administrator.'; $string['turnitintoolofflineerror'] = 'We are experiencing a temporary problem. Please try again shortly.'; @@ -181,3 +179,7 @@ $string['deleted'] = 'Deleted'; $string['pending'] = 'Pending'; $string['because'] = 'This was because an administrator deleted the pending assignment from the processing queue and aborted the submission to Turnitin.
The file still exists in Moodle, please contact your instructor.
Please see below for any error codes:'; + +$string['errorcode10'] = 'This file has not been submitted to Turnitin because there is a problem creating the class in Turnitin which is preventing submissions, please consult your API logs for further information'; +$string['updatereportscores'] = 'Update Report Scores for Turnitin Plagiarism Plugin'; +$string['sendqueuedsubmissions'] = 'Send Queued Files from the Turnitin Plagiarism Plugin'; \ No newline at end of file diff --git a/lib.php b/lib.php index d0f715e2..5e1653be 100644 --- a/lib.php +++ b/lib.php @@ -2167,291 +2167,6 @@ public function queue_submission_to_turnitin($cm, $author, $submitter, $identifi $submissiontype, $attempt, $errorcode, null); } - /** - * Send queued files to Turnitin. - */ - public function send_files_to_turnitin() { - global $DB; - $config = turnitintooltwo_admin_config(); - - $queueditems = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'queued'), - '', '*', $limitfrom = 0, $limitnum = PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); - - // Submit each file individually to Turnitin. - foreach ($queueditems as $queueditem) { - - // Get various settings that we need. - $errorcode = 0; - $cm = get_coursemodule_from_id('', $queueditem->cm); - $settings = $this->get_settings($cm->id); - $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); - - // Get course data. - $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); - if (empty($coursedata->turnitin_cid)) { - // Save failed submission if class can not be created. - $savesubmission = new stdClass(); - $savesubmission->id = $queueditem->id; - $savesubmission->statuscode = 'error'; - $savesubmission->attempt = $queueditem->attempt + 1; - $savesubmission->errorcode = 10; - - $DB->update_record('plagiarism_turnitin_files', $savesubmission); - break; - } - - // Join User to course. - try { - $user = new turnitintooltwo_user($queueditem->userid, 'Learner', true, 'cron'); - $user->edit_tii_user(); - $user->join_user_to_class($coursedata->turnitin_cid); - } catch (Exception $e) { - $user = new turnitintooltwo_user($queueditem->userid, 'Learner', 'false', 'cron', 'false'); - $errorcode = 7; - } - - $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron", true); - - // Any errorcode from assignment sync needs to be saved. - if (!empty($syncassignment['errorcode'])) { - $errorcode = $syncassignment['errorcode']; - } - - // Don't submit if a user has not accepted the eula. - if ($queueditem->userid == $queueditem->submitter - && $user->user_agreement_accepted != 1) { - $errorcode = 3; - } - - if (!empty($errorcode)) { - // Save failed submission if user can not be joined to class or there was an error with the assignment. - $savesubmission = new stdClass(); - $savesubmission->id = $queueditem->id; - $savesubmission->statuscode = 'error'; - $savesubmission->attempt = $queueditem->attempt + 1; - $savesubmission->errorcode = $errorcode; - - $DB->update_record('plagiarism_turnitin_files', $savesubmission); - break; - } - - // Clean up old Turnitin submission files. - if ($queueditem->itemid != 0 && $queueditem->submissiontype == 'file' && $cm->modname != 'forum') { - $this->clean_old_turnitin_submissions($cm, $user->id, $queueditem->itemid, $queueditem->submissiontype, - $queueditem->identifier); - } - - // Get more Submission Details as required. - switch ($queueditem->submissiontype) { - case 'file': - case 'text_content': - - // Get file data or prepare text submission. - if ($submissiontype == 'file') { - $fs = get_file_storage(); - $file = $fs->get_file_by_hash($queueditem->identifier); - - $title = $file->get_filename(); - $filename = $file->get_filename(); - - try { - $textcontent = $file->get_content(); - } catch (Exception $e) { - turnitintooltwo_activitylog('File content not found on submission: '.$pathnamehash, 'PP_NO_FILE'); - mtrace($e); - mtrace('File content not found on submission. pathnamehash: '.$pathnamehash); - $errorcode = 9; - } - } else { - // Get the actual text content for a submission. - switch ($cm->modname) { - case 'assign': - $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, - 'userid' => $queueditem->author, 'id' => $queueditem->itemid), 'id'); - $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', - array('submission' => $moodlesubmission->id), 'onlinetext'); - $textcontent = $moodletextsubmission->onlinetext; - break; - - case 'workshop': - $moodlesubmission = $DB->get_record('workshop_submissions', - array('id' => $queueditem->itemid), 'content'); - $textcontent = $moodlesubmission->content; - break; - } - - $title = 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; - $filename = $title; - $textcontent = strip_tags($textcontent); - } - - // Use Replace submission method if resubmissions are allowed or create if we have no Turnitin Id. - if (is_null($queueditem->externalid)) { - $apimethod = "createSubmission"; - } else { - $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; - // Delete old text content submissions from Turnitin if not replacing. - if ($settings["plagiarism_report_gen"] == 0 && $submissiontype == 'text_content') { - $this->delete_tii_submission($cm, $queueditem->externalid, $queueditem->author); - } - } - - // Remove any old text submissions from Moodle DB if there are any as there is only one per submission. - if ($itemid != 0 && $submissiontype == "text_content") { - $this->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier); - } - - break; - - case 'forum_post': - if (is_null($queueditem->externalid)) { - $apimethod = "createSubmission"; - } else { - $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; - } - - $forum_post = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $queueditem->itemid)); - $textcontent = strip_tags($forum_post->message); - - $title = 'forumpost_'.$user->id."_".$cm->id."_".$cm->instance."_".$queueditem->itemid.'.txt'; - $filename = $title; - break; - } - - // Read the stored file/content into a temp file for submitting. - $submission_title = explode('.', $title); - - // Compile file string array for naming the file. - $file_string = array( - $submission_title[0], - $cm->id - ); - - // Only include user's name and id if we're not using blind marking and student privacy. - if ( empty($moduledata->blindmarking) && empty($config->enablepseudo) ) { - $user_details = array( - $user->id, - $user->firstname, - $user->lastname - ); - - $file_string = array_merge($user_details, $file_string); - } - - try { - $tempfile = turnitintooltwo_tempfile($file_string, $filename); - } catch (Exception $e) { - $errorcode = 8; - } - - // Save failed submission and don't process any further. - if ($errorcode != 0) { - return $this->save_submission($cm, $queueditem->author, $submissionid, $queueditem->identifier, 'error', $queueditem->externalid, - $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, - $queueditem->attempt, $errorcode); - } - - $fh = fopen($tempfile, "w"); - fwrite($fh, $textcontent); - fclose($fh); - - // Create submission object. - $submission = new TiiSubmission(); - $submission->setAssignmentId($syncassignment['tiiassignmentid']); - if ($apimethod == "replaceSubmission") { - $submission->setSubmissionId($queueditem->externalid); - } - $submission->setTitle($title); - $submission->setAuthorUserId($user->tii_user_id); - - // Account for submission by teacher in assignment module. - if ($queueditem->userid == $queueditem->$submitter) { - $submission->setSubmitterUserId($user->tii_user_id); - $submission->setRole('Learner'); - } else { - $instructor = new turnitintooltwo_user($queueditem->submitter, 'Instructor'); - $instructor->edit_tii_user(); - - $submission->setSubmitterUserId($instructor->tii_user_id); - $submission->setRole('Instructor'); - } - - $submission->setSubmissionDataPath($tempfile); - - // Initialise Comms Object. - $turnitincomms = new turnitin_comms(); - $turnitincall = $turnitincomms->initialise_api(); - - try { - $response = $turnitincall->$apimethod($submission); - $newsubmission = $response->getSubmission(); - $tiisubmissionid = $newsubmission->getSubmissionId(); - - $this->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'success', $tiisubmissionid, - $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt); - - // Delete the tempfile. - if (!is_null($tempfile)) { - unlink($tempfile); - } - - // Add config field to show submissions have been made which we use to lock anonymous marking setting - $configfield = new stdClass(); - $configfield->cm = $cm->id; - $configfield->name = 'submitted'; - $configfield->value = 1; - - if (!$currentconfigfield = $DB->get_field('plagiarism_turnitin_config', 'id', - (array('cm' => $cm->id, 'name' => 'submitted')))) { - if (!$DB->insert_record('plagiarism_turnitin_config', $configfield)) { - turnitintooltwo_print_error('defaultupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); - } - } - - // Send a message to the user's Moodle inbox with the digital receipt. - $receipt = new pp_receipt_message(); - $input = array( - 'firstname' => $user->firstname, - 'lastname' => $user->lastname, - 'submission_title' => $title, - 'assignment_name' => $moduledata->name, - 'course_fullname' => $coursedata->turnitin_ctl, - 'submission_date' => date('d-M-Y h:iA'), - 'submission_id' => $tiisubmissionid - ); - - $message = $receipt->build_message($input); - $receipt->send_message($user->id, $message); - - // Output a message in the cron for successfull submission to Turnitin. - $outputvars = new stdClass(); - $outputvars->title = $title; - $outputvars->submissionid = $tiisubmissionid; - $outputvars->assignmentname = $moduledata->name; - $outputvars->coursename = $coursedata->turnitin_ctl; - - mtrace(get_string('cronsubmittedsuccessfully', 'plagiarism_turnitin', $outputvars)); - } catch (Exception $e) { - - // Save that submission errored. - $submissionerrormsg = get_string('pp_submission_error', 'plagiarism_turnitin').' '.$e->getMessage(); - $this->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'error', null, - $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, - $queueditem->attempt, 0, $submissionerrormsg); - - $errorstring = (empty($previoussubmission->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; - $turnitincomms->handle_exceptions($e, $errorstring, false); - - // Output error in the cron. - mtrace('-------------------------'); - mtrace(get_string('pp_submission_error', 'plagiarism_turnitin').': '.$e->getMessage()); - mtrace('User: '.$user->id.' - '.$user->firstname.' '.$user->lastname.' ('.$user->email.')'); - mtrace('Course Module: '.$cm->id.''); - mtrace('-------------------------'); - } - } - } - /** * Amalgamated handler for Moodle cron events. * @@ -2798,9 +2513,295 @@ private function delete_tii_submission($cm, $submissionid, $userid) { } /** - * Handle cron call from scheduled task + * Handle Scheduled Task to Update Report Scores from Turnitin. */ -function plagiarism_turnitin_cron() { +function plagiarism_turnitin_update_reports() { $pluginturnitin = new plagiarism_plugin_turnitin(); return $pluginturnitin->cron(); -} \ No newline at end of file +} + +/** + * Handle Scheduled Task to Send Queued Submissions to Turnitin. + */ +function plagiarism_turnitin_send_queued_submissions() { + global $DB; + $config = turnitintooltwo_admin_config(); + $pluginturnitin = new plagiarism_plugin_turnitin(); + + $queueditems = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'queued'), + '', '*', $limitfrom = 0, $limitnum = PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); + + // Submit each file individually to Turnitin. + foreach ($queueditems as $queueditem) { + + // Get various settings that we need. + $errorcode = 0; + $cm = get_coursemodule_from_id('', $queueditem->cm); + $settings = $pluginturnitin->get_settings($cm->id); + $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); + + // Get course data. + $coursedata = $pluginturnitin->get_course_data($cm->id, $cm->course, 'cron'); + if (empty($coursedata->turnitin_cid)) { + // Save failed submission if class can not be created. + $savesubmission = new stdClass(); + $savesubmission->id = $queueditem->id; + $savesubmission->statuscode = 'error'; + $savesubmission->attempt = $queueditem->attempt + 1; + $savesubmission->errorcode = 10; + + $DB->update_record('plagiarism_turnitin_files', $savesubmission); + break; + } + + // Join User to course. + try { + $user = new turnitintooltwo_user($queueditem->userid, 'Learner', true, 'cron'); + $user->edit_tii_user(); + $user->join_user_to_class($coursedata->turnitin_cid); + } catch (Exception $e) { + $user = new turnitintooltwo_user($queueditem->userid, 'Learner', 'false', 'cron', 'false'); + $errorcode = 7; + } + + $syncassignment = $pluginturnitin->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron", true); + + // Any errorcode from assignment sync needs to be saved. + if (!empty($syncassignment['errorcode'])) { + $errorcode = $syncassignment['errorcode']; + } + + // Don't submit if a user has not accepted the eula. + if ($queueditem->userid == $queueditem->submitter + && $user->user_agreement_accepted != 1) { + $errorcode = 3; + } + + if (!empty($errorcode)) { + // Save failed submission if user can not be joined to class or there was an error with the assignment. + $savesubmission = new stdClass(); + $savesubmission->id = $queueditem->id; + $savesubmission->statuscode = 'error'; + $savesubmission->attempt = $queueditem->attempt + 1; + $savesubmission->errorcode = $errorcode; + + $DB->update_record('plagiarism_turnitin_files', $savesubmission); + break; + } + + // Clean up old Turnitin submission files. + if ($queueditem->itemid != 0 && $queueditem->submissiontype == 'file' && $cm->modname != 'forum') { + $pluginturnitin->clean_old_turnitin_submissions($cm, $user->id, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->identifier); + } + + // Get more Submission Details as required. + switch ($queueditem->submissiontype) { + case 'file': + case 'text_content': + + // Get file data or prepare text submission. + if ($submissiontype == 'file') { + $fs = get_file_storage(); + $file = $fs->get_file_by_hash($queueditem->identifier); + + $title = $file->get_filename(); + $filename = $file->get_filename(); + + try { + $textcontent = $file->get_content(); + } catch (Exception $e) { + turnitintooltwo_activitylog('File content not found on submission: '.$pathnamehash, 'PP_NO_FILE'); + mtrace($e); + mtrace('File content not found on submission. pathnamehash: '.$pathnamehash); + $errorcode = 9; + } + } else { + // Get the actual text content for a submission. + switch ($cm->modname) { + case 'assign': + $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, + 'userid' => $queueditem->author, 'id' => $queueditem->itemid), 'id'); + $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', + array('submission' => $moodlesubmission->id), 'onlinetext'); + $textcontent = $moodletextsubmission->onlinetext; + break; + + case 'workshop': + $moodlesubmission = $DB->get_record('workshop_submissions', + array('id' => $queueditem->itemid), 'content'); + $textcontent = $moodlesubmission->content; + break; + } + + $title = 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; + $filename = $title; + $textcontent = strip_tags($textcontent); + } + + // Use Replace submission method if resubmissions are allowed or create if we have no Turnitin Id. + if (is_null($queueditem->externalid)) { + $apimethod = "createSubmission"; + } else { + $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; + // Delete old text content submissions from Turnitin if not replacing. + if ($settings["plagiarism_report_gen"] == 0 && $submissiontype == 'text_content') { + $pluginturnitin->delete_tii_submission($cm, $queueditem->externalid, $queueditem->author); + } + } + + // Remove any old text submissions from Moodle DB if there are any as there is only one per submission. + if ($itemid != 0 && $submissiontype == "text_content") { + $pluginturnitin->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier); + } + + break; + + case 'forum_post': + if (is_null($queueditem->externalid)) { + $apimethod = "createSubmission"; + } else { + $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; + } + + $forum_post = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $queueditem->itemid)); + $textcontent = strip_tags($forum_post->message); + + $title = 'forumpost_'.$user->id."_".$cm->id."_".$cm->instance."_".$queueditem->itemid.'.txt'; + $filename = $title; + break; + } + + // Read the stored file/content into a temp file for submitting. + $submission_title = explode('.', $title); + + // Compile file string array for naming the file. + $file_string = array( + $submission_title[0], + $cm->id + ); + + // Only include user's name and id if we're not using blind marking and student privacy. + if ( empty($moduledata->blindmarking) && empty($config->enablepseudo) ) { + $user_details = array( + $user->id, + $user->firstname, + $user->lastname + ); + + $file_string = array_merge($user_details, $file_string); + } + + try { + $tempfile = turnitintooltwo_tempfile($file_string, $filename); + } catch (Exception $e) { + $errorcode = 8; + } + + // Save failed submission and don't process any further. + if ($errorcode != 0) { + return $pluginturnitin->save_submission($cm, $queueditem->author, $submissionid, $queueditem->identifier, 'error', $queueditem->externalid, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->attempt, $errorcode); + } + + $fh = fopen($tempfile, "w"); + fwrite($fh, $textcontent); + fclose($fh); + + // Create submission object. + $submission = new TiiSubmission(); + $submission->setAssignmentId($syncassignment['tiiassignmentid']); + if ($apimethod == "replaceSubmission") { + $submission->setSubmissionId($queueditem->externalid); + } + $submission->setTitle($title); + $submission->setAuthorUserId($user->tii_user_id); + + // Account for submission by teacher in assignment module. + if ($queueditem->userid == $queueditem->$submitter) { + $submission->setSubmitterUserId($user->tii_user_id); + $submission->setRole('Learner'); + } else { + $instructor = new turnitintooltwo_user($queueditem->submitter, 'Instructor'); + $instructor->edit_tii_user(); + + $submission->setSubmitterUserId($instructor->tii_user_id); + $submission->setRole('Instructor'); + } + + $submission->setSubmissionDataPath($tempfile); + + // Initialise Comms Object. + $turnitincomms = new turnitin_comms(); + $turnitincall = $turnitincomms->initialise_api(); + + try { + $response = $turnitincall->$apimethod($submission); + $newsubmission = $response->getSubmission(); + $tiisubmissionid = $newsubmission->getSubmissionId(); + + $pluginturnitin->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'success', $tiisubmissionid, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt); + + // Delete the tempfile. + if (!is_null($tempfile)) { + unlink($tempfile); + } + + // Add config field to show submissions have been made which we use to lock anonymous marking setting + $configfield = new stdClass(); + $configfield->cm = $cm->id; + $configfield->name = 'submitted'; + $configfield->value = 1; + + if (!$currentconfigfield = $DB->get_field('plagiarism_turnitin_config', 'id', + (array('cm' => $cm->id, 'name' => 'submitted')))) { + if (!$DB->insert_record('plagiarism_turnitin_config', $configfield)) { + turnitintooltwo_print_error('defaultupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); + } + } + + // Send a message to the user's Moodle inbox with the digital receipt. + $receipt = new pp_receipt_message(); + $input = array( + 'firstname' => $user->firstname, + 'lastname' => $user->lastname, + 'submission_title' => $title, + 'assignment_name' => $moduledata->name, + 'course_fullname' => $coursedata->turnitin_ctl, + 'submission_date' => date('d-M-Y h:iA'), + 'submission_id' => $tiisubmissionid + ); + + $message = $receipt->build_message($input); + $receipt->send_message($user->id, $message); + + // Output a message in the cron for successfull submission to Turnitin. + $outputvars = new stdClass(); + $outputvars->title = $title; + $outputvars->submissionid = $tiisubmissionid; + $outputvars->assignmentname = $moduledata->name; + $outputvars->coursename = $coursedata->turnitin_ctl; + + mtrace(get_string('cronsubmittedsuccessfully', 'plagiarism_turnitin', $outputvars)); + } catch (Exception $e) { + + // Save that submission errored. + $submissionerrormsg = get_string('pp_submission_error', 'plagiarism_turnitin').' '.$e->getMessage(); + $pluginturnitin->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'error', null, + $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, + $queueditem->attempt, 0, $submissionerrormsg); + + $errorstring = (empty($previoussubmission->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; + $turnitincomms->handle_exceptions($e, $errorstring, false); + + // Output error in the cron. + mtrace('-------------------------'); + mtrace(get_string('pp_submission_error', 'plagiarism_turnitin').': '.$e->getMessage()); + mtrace('User: '.$user->id.' - '.$user->firstname.' '.$user->lastname.' ('.$user->email.')'); + mtrace('Course Module: '.$cm->id.''); + mtrace('-------------------------'); + } + } +} From c2e354d3a2db9723efd91980e6365f66ea7ef499 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 13 Oct 2016 10:32:54 +0100 Subject: [PATCH 08/56] Fix some incorrect variables. --- lib.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib.php b/lib.php index 5e1653be..771aeee9 100644 --- a/lib.php +++ b/lib.php @@ -2376,7 +2376,7 @@ private function reset_tii_submission($cm, $userid, $identifier, $currentsubmiss * Clean up previous file submissions. * Moodle will remove any old files or drafts during cron execution and file submission. */ - private function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissiontype, $identifier) { + public function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissiontype, $identifier) { global $DB, $CFG; $currentfiles = array(); $deletestr = ''; @@ -2601,7 +2601,7 @@ function plagiarism_turnitin_send_queued_submissions() { case 'text_content': // Get file data or prepare text submission. - if ($submissiontype == 'file') { + if ($queueditem->submissiontype == 'file') { $fs = get_file_storage(); $file = $fs->get_file_by_hash($queueditem->identifier); @@ -2621,7 +2621,7 @@ function plagiarism_turnitin_send_queued_submissions() { switch ($cm->modname) { case 'assign': $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, - 'userid' => $queueditem->author, 'id' => $queueditem->itemid), 'id'); + 'userid' => $queueditem->userid, 'id' => $queueditem->itemid), 'id'); $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', array('submission' => $moodlesubmission->id), 'onlinetext'); $textcontent = $moodletextsubmission->onlinetext; @@ -2651,8 +2651,9 @@ function plagiarism_turnitin_send_queued_submissions() { } // Remove any old text submissions from Moodle DB if there are any as there is only one per submission. - if ($itemid != 0 && $submissiontype == "text_content") { - $pluginturnitin->clean_old_turnitin_submissions($cm, $user->id, $itemid, $submissiontype, $identifier); + if (!empty($queueditem->itemid) && $queueditem->submissiontype == "text_content") { + $pluginturnitin->clean_old_turnitin_submissions($cm, $user->id, $queueditem->itemid, + $queueditem->submissiontype, $queueditem->identifier); } break; @@ -2700,7 +2701,7 @@ function plagiarism_turnitin_send_queued_submissions() { // Save failed submission and don't process any further. if ($errorcode != 0) { - return $pluginturnitin->save_submission($cm, $queueditem->author, $submissionid, $queueditem->identifier, 'error', $queueditem->externalid, + return $pluginturnitin->save_submission($cm, $queueditem->author, $queueditem->id, $queueditem->identifier, 'error', $queueditem->externalid, $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt, $errorcode); } @@ -2719,7 +2720,7 @@ function plagiarism_turnitin_send_queued_submissions() { $submission->setAuthorUserId($user->tii_user_id); // Account for submission by teacher in assignment module. - if ($queueditem->userid == $queueditem->$submitter) { + if ($queueditem->userid == $queueditem->submitter) { $submission->setSubmitterUserId($user->tii_user_id); $submission->setRole('Learner'); } else { @@ -2741,7 +2742,7 @@ function plagiarism_turnitin_send_queued_submissions() { $newsubmission = $response->getSubmission(); $tiisubmissionid = $newsubmission->getSubmissionId(); - $pluginturnitin->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'success', $tiisubmissionid, + $pluginturnitin->save_submission($cm, $user->id, $queueditem->id, $queueditem->identifier, 'success', $tiisubmissionid, $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt); // Delete the tempfile. @@ -2789,7 +2790,7 @@ function plagiarism_turnitin_send_queued_submissions() { // Save that submission errored. $submissionerrormsg = get_string('pp_submission_error', 'plagiarism_turnitin').' '.$e->getMessage(); - $pluginturnitin->save_submission($cm, $user->id, $submissionid, $queueditem->identifier, 'error', null, + $pluginturnitin->save_submission($cm, $user->id, $queueditem->id, $queueditem->identifier, 'error', null, $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt, 0, $submissionerrormsg); From 531cc137800de4ff074f9a0bf903b2008866f361 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 13 Oct 2016 11:23:42 +0100 Subject: [PATCH 09/56] Remove pending status and replace with queued. --- lang/en/plagiarism_turnitin.php | 1 + lib.php | 60 ++++++++++++++------------------- 2 files changed, 27 insertions(+), 34 deletions(-) diff --git a/lang/en/plagiarism_turnitin.php b/lang/en/plagiarism_turnitin.php index 0410197d..603efa26 100644 --- a/lang/en/plagiarism_turnitin.php +++ b/lang/en/plagiarism_turnitin.php @@ -181,5 +181,6 @@ $string['because'] = 'This was because an administrator deleted the pending assignment from the processing queue and aborted the submission to Turnitin.
The file still exists in Moodle, please contact your instructor.
Please see below for any error codes:'; $string['errorcode10'] = 'This file has not been submitted to Turnitin because there is a problem creating the class in Turnitin which is preventing submissions, please consult your API logs for further information'; +$string['queued'] = 'Queued'; $string['updatereportscores'] = 'Update Report Scores for Turnitin Plagiarism Plugin'; $string['sendqueuedsubmissions'] = 'Send Queued Files from the Turnitin Plagiarism Plugin'; \ No newline at end of file diff --git a/lib.php b/lib.php index 771aeee9..385d4d20 100644 --- a/lib.php +++ b/lib.php @@ -716,41 +716,34 @@ public function get_links($linkarray) { } } - // Check whether submission is a group submission - only applicable to assignment module. + // Check whether submission is a group submission - only applicable to assignment and coursework module. // If it's a group submission then other users in the group should be able to see the originality score // They can not open the DV though. $submissionusers = array($linkarray["userid"]); - if ($cm->modname == "assign") { - if ($moduledata->teamsubmission) { - $assignment = new assign($context, $cm, null); - if ($group = $assignment->get_submission_group($linkarray["userid"])) { - $users = groups_get_members($group->id); - $submissionusers = array_keys($users); + switch ($cm->modname) { + case "assign": + if ($moduledata->teamsubmission) { + $assignment = new assign($context, $cm, null); + if ($group = $assignment->get_submission_group($linkarray["userid"])) { + $users = groups_get_members($group->id); + $submissionusers = array_keys($users); + } } - } - } + break; + case "coursework": + if ($moduledata->use_groups) { + $coursework = new \mod_coursework\models\coursework($moduledata->id); - // Group originality score for Coursework module - // Check whether submission is a group submission - // If it's a group submission then other users in the group should be able to see the originality score - // They can not open the DV though. - if ($cm->modname == "coursework") { - if ($moduledata->use_groups) { - - $coursework = new \mod_coursework\models\coursework($moduledata->id); - - $user = $DB->get_record('user', array('id' => $linkarray["userid"])); - $user = mod_coursework\models\user::find($user); - if ($group = $coursework->get_student_group($user)) { - $users = groups_get_members($group->id); - $submissionusers = array_keys($users); + $user = $DB->get_record('user', array('id' => $linkarray["userid"])); + $user = mod_coursework\models\user::find($user); + if ($group = $coursework->get_student_group($user)) { + $users = groups_get_members($group->id); + $submissionusers = array_keys($users); + } } - } - } - - + } // Proceed to displaying links for submissions. if ($istutor || in_array($USER->id, $submissionusers)) { @@ -1030,7 +1023,7 @@ public function get_links($linkarray) { array('class' => 'hidden', 'id' => 'forumdata_'.$plagiarismfile->id)); } } - } else if ($plagiarismfile->statuscode == 'deleted'){ + } else if ($plagiarismfile->statuscode == 'deleted') { $errorcode = (isset($plagiarismfile->errorcode)) ? $plagiarismfile->errorcode : 0; if ($errorcode == 0) { $langstring = ($istutor) ? 'ppsubmissionerrorseelogs' : 'ppsubmissionerrorstudent'; @@ -1051,8 +1044,11 @@ public function get_links($linkarray) { array('class' => 'turnitin_status')); } - } - else { + } else if ($plagiarismfile->statuscode == 'queued'){ + $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('queued', 'plagiarism_turnitin'); + $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, + array('class' => 'turnitin_status')); + } else { // Add Error if the user has not accepted EULA for submissions made before instant submission was removed. $eulaerror = ""; if ($linkarray["userid"] != $USER->id && $submittinguser == $author && $istutor) { @@ -1076,10 +1072,6 @@ public function get_links($linkarray) { // Show Turnitin Pending status or EULA error. if (!empty($eulaerror)) { $output .= $eulaerror; - } else { - $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('pending', 'plagiarism_turnitin'); - $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, - array('class' => 'turnitin_status')); } } From 76ff288f2434e2e85dc9721e08650d87a62c61fd Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 13 Oct 2016 12:10:09 +0100 Subject: [PATCH 10/56] Minor changes to comments. --- db/upgrade.php | 3 +++ lib.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index d3cd06a3..0f57dac4 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -213,6 +213,7 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { if ($oldversion < 2016091402) { $table = new xmldb_table('plagiarism_turnitin_files'); + // Remove fields no longer needed. $field1 = new xmldb_field('externalstatus'); $field2 = new xmldb_field('apimd5'); $field3 = new xmldb_field('legacyteacher'); @@ -225,6 +226,8 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { if ($dbman->field_exists($table, $field3)) { $dbman->drop_field($table, $field3); } + + // Add new itemid field. $field = new xmldb_field('itemid', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'externalid'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); diff --git a/lib.php b/lib.php index 385d4d20..f9ed6b6f 100644 --- a/lib.php +++ b/lib.php @@ -1069,7 +1069,7 @@ public function get_links($linkarray) { } } - // Show Turnitin Pending status or EULA error. + // Show EULA error. if (!empty($eulaerror)) { $output .= $eulaerror; } From 1aba64dc396509c4f8011bb27c3392c3d8e73be7 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 14 Oct 2016 09:49:15 +0100 Subject: [PATCH 11/56] Move queued status check. --- lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib.php b/lib.php index f9ed6b6f..3c091bed 100644 --- a/lib.php +++ b/lib.php @@ -1038,16 +1038,16 @@ public function get_links($linkarray) { $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, array('class' => 'turnitin_status')); + } else if ($plagiarismfile->statuscode == 'queued'){ + $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('queued', 'plagiarism_turnitin'); + $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, + array('class' => 'turnitin_status')); } else { $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('pending', 'plagiarism_turnitin'); $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, array('class' => 'turnitin_status')); } - } else if ($plagiarismfile->statuscode == 'queued'){ - $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('queued', 'plagiarism_turnitin'); - $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, - array('class' => 'turnitin_status')); } else { // Add Error if the user has not accepted EULA for submissions made before instant submission was removed. $eulaerror = ""; From 03c42d5815e96b460a361c781a6aa8dcd2cc8da4 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 14 Oct 2016 10:56:36 +0100 Subject: [PATCH 12/56] no message --- lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.php b/lib.php index 3c091bed..3d173fe3 100644 --- a/lib.php +++ b/lib.php @@ -2260,11 +2260,11 @@ public function event_handler($eventdata) { // Check if text content has been submitted previously. Remove if so. list($insql, $inparams) = $DB->get_in_or_equal(array('success', 'queued'), SQL_PARAMS_QM, 'param', false); $typefield = ($CFG->dbtype == "oci") ? " to_char(statuscode) " : " statuscode "; - $oldfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". + $plagiarismfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". " AND identifier AND ".$typefield." = ? ".$insql, array_merge(array($author, $cm->id, $identifier), $inparams)); - if ($plagiarismfile) { + if ($plagiarismfiles) { return true; } else { $result = $this->queue_submission_to_turnitin( From 2647d72fc40ded71080ad2f6b4379bab1fad7941 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 14 Oct 2016 13:34:53 +0100 Subject: [PATCH 13/56] Convert incorrect eventtype. --- classes/observer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/observer.php b/classes/observer.php index dcba54de..1278b83a 100644 --- a/classes/observer.php +++ b/classes/observer.php @@ -93,7 +93,7 @@ public static function assignsubmission_file_uploaded( public static function forum_file_uploaded( \mod_forum\event\assessable_uploaded $event) { $eventdata = $event->get_data(); - $eventdata['eventtype'] = 'file_uploaded'; + $eventdata['eventtype'] = 'assessable_submitted'; $eventdata['other']['modulename'] = 'forum'; $plugin = new plagiarism_plugin_turnitin(); @@ -107,7 +107,7 @@ public static function forum_file_uploaded( public static function workshop_file_uploaded( \mod_workshop\event\assessable_uploaded $event) { $eventdata = $event->get_data(); - $eventdata['eventtype'] = 'file_uploaded'; + $eventdata['eventtype'] = 'assessable_submitted'; $eventdata['other']['modulename'] = 'workshop'; $plugin = new plagiarism_plugin_turnitin(); From 909ad5a64779325784ba638030b733ea303d7f6a Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 14 Oct 2016 16:13:15 +0100 Subject: [PATCH 14/56] Remove unneeded mod_created and mod_updated events. --- classes/observer.php | 26 ----- db/events.php | 8 -- lib.php | 191 +++++++++++++++------------------- turnitinplugin_view.class.php | 2 +- 4 files changed, 87 insertions(+), 140 deletions(-) diff --git a/classes/observer.php b/classes/observer.php index 1278b83a..6b6f7d98 100644 --- a/classes/observer.php +++ b/classes/observer.php @@ -21,32 +21,6 @@ require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); class plagiarism_turnitin_observer { - /** - * Handle the course_module_created event. - * @param \core\event\course_module_created $event - */ - public static function course_module_created( - \core\event\course_module_created $event) { - $eventdata = $event->get_data(); - $eventdata['eventtype'] = 'mod_created'; - - $plugin = new plagiarism_plugin_turnitin(); - $plugin->event_handler($eventdata); - } - - /** - * Handle the course_module_updated event. - * @param \core\event\course_module_updated $event - */ - public static function course_module_updated( - \core\event\course_module_updated $event) { - $eventdata = $event->get_data(); - $eventdata['eventtype'] = 'mod_updated'; - - $plugin = new plagiarism_plugin_turnitin(); - $plugin->event_handler($eventdata); - } - /** * Handle the course_module_deleted event. * @param \core\event\course_module_deleted $event diff --git a/db/events.php b/db/events.php index 464b45a3..4dd2ac10 100644 --- a/db/events.php +++ b/db/events.php @@ -35,14 +35,6 @@ 'eventname' => '\mod_assign\event\assessable_submitted', 'callback' => 'plagiarism_turnitin_observer::assignsubmission_submitted' ), - array( - 'eventname' => '\core\event\course_module_created', - 'callback' => 'plagiarism_turnitin_observer::course_module_created' - ), - array( - 'eventname' => '\core\event\course_module_updated', - 'callback' => 'plagiarism_turnitin_observer::course_module_updated' - ), array( 'eventname' => '\core\event\course_module_deleted', 'callback' => 'plagiarism_turnitin_observer::course_module_deleted' diff --git a/lib.php b/lib.php index 3d173fe3..309d6076 100644 --- a/lib.php +++ b/lib.php @@ -2188,128 +2188,109 @@ public function event_handler($eventdata) { return true; } - // Process events. Module events will need to call Turnitin straightaway to keep assignments, etc in sync. - switch ($eventdata['eventtype']) { - case "mod_created": - case "mod_updated": - // Get course data, return false if there is a problem creating it. - $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); - if (empty($coursedata->turnitin_cid)) { - return false; - } + // Get module data + $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); + if ($cm->modname != 'assign') { + $moduledata->submissiondrafts = 0; + } - $syncassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid, "cron"); - return true; - break; + // If draft submissions are turned on then only send to Turnitin if the draft submit setting is set. + if ($moduledata->submissiondrafts && $plagiarismsettings["plagiarism_draft_submit"] == 1 && + ($eventdata['eventtype'] == 'file_uploaded' || $eventdata['eventtype'] == 'content_uploaded')) { + return true; + } - case "file_uploaded": - case "assessable_submitted": - case "content_uploaded": - $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); - if ($cm->modname != 'assign') { - $moduledata->submissiondrafts = 0; - } + // Set the author and submitter + $submitter = $eventdata['userid']; + $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; - // If draft submissions are turned on then only send to Turnitin if the draft submit setting is set. - if ($moduledata->submissiondrafts && $plagiarismsettings["plagiarism_draft_submit"] == 1 && - ($eventdata['eventtype'] == 'file_uploaded' || $eventdata['eventtype'] == 'content_uploaded')) { - return true; + // Get actual text content and files to be submitted for draft submissions + // as this won't be present in eventdata for certain event types. + if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { + // Get content. + $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, + 'userid' => $author, 'id' => $eventdata['objectid']), 'id'); + if ($moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', + array('submission' => $moodlesubmission->id), 'onlinetext')) { + $eventdata['other']['content'] = $moodletextsubmission->onlinetext; + } + + // Get Files. + $eventdata['other']['pathnamehashes'] = array(); + $filesconditions = array('component' => 'assignsubmission_file', + 'itemid' => $moodlesubmission->id, 'userid' => $author); + if ($moodlefiles = $DB->get_records('files', $filesconditions)) { + foreach ($moodlefiles as $moodlefile) { + $eventdata['other']['pathnamehashes'][] = $moodlefile->pathnamehash; } + } + } - // Set the author and submitter - $submitter = $eventdata['userid']; - $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; - - // Get actual text content and files to be submitted for draft submissions - // as this won't be present in eventdata for certain event types. - if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { - // Get content. - $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, - 'userid' => $author, 'id' => $eventdata['objectid']), 'id'); - if ($moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', - array('submission' => $moodlesubmission->id), 'onlinetext')) { - $eventdata['other']['content'] = $moodletextsubmission->onlinetext; - } + // Queue text content to send to Turnitin. + // If there was an error when creating the assignment then still queue the submission so it can be saved as failed. + if (in_array($eventdata['eventtype'], array("content_uploaded", "assessable_submitted")) + && !empty($eventdata['other']['content'])) { - // Get Files. - $eventdata['other']['pathnamehashes'] = array(); - $filesconditions = array('component' => 'assignsubmission_file', - 'itemid' => $moodlesubmission->id, 'userid' => $author); - if ($moodlefiles = $DB->get_records('files', $filesconditions)) { - foreach ($moodlefiles as $moodlefile) { - $eventdata['other']['pathnamehashes'][] = $moodlefile->pathnamehash; - } - } - } + $submissiontype = ($eventdata['other']['modulename'] == 'forum') ? 'forum_post' : 'text_content'; - // Queue text content to send to Turnitin. - // If there was an error when creating the assignment then still queue the submission so it can be saved as failed. - if (in_array($eventdata['eventtype'], array("content_uploaded", "assessable_submitted")) - && !empty($eventdata['other']['content'])) { + // TODO: Check eventdata to see if content is included correctly. If so, this can be removed. + if ($eventdata['other']['modulename'] == 'workshop') { + $moodlesubmission = $DB->get_record('workshop_submissions', array('id' => $eventdata['objectid'])); + $eventdata['other']['content'] = $moodlesubmission->content; + } - $submissiontype = ($eventdata['other']['modulename'] == 'forum') ? 'forum_post' : 'text_content'; + $identifier = sha1($eventdata['other']['content']); - // TODO: Check eventdata to see if content is included correctly. If so, this can be removed. - if ($eventdata['other']['modulename'] == 'workshop') { - $moodlesubmission = $DB->get_record('workshop_submissions', array('id' => $eventdata['objectid'])); - $eventdata['other']['content'] = $moodlesubmission->content; - } + // Check if text content has been submitted previously. Remove if so. + list($insql, $inparams) = $DB->get_in_or_equal(array('success', 'queued'), SQL_PARAMS_QM, 'param', false); + $typefield = ($CFG->dbtype == "oci") ? " to_char(statuscode) " : " statuscode "; + $plagiarismfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". + " AND identifier AND ".$typefield." = ? ".$insql, + array_merge(array($author, $cm->id, $identifier), $inparams)); - $identifier = sha1($eventdata['other']['content']); + if ($plagiarismfiles) { + return true; + } else { + $result = $this->queue_submission_to_turnitin( + $cm, $author, $submitter, $identifier, $submissiontype, $eventdata['objectid']); + } + } - // Check if text content has been submitted previously. Remove if so. - list($insql, $inparams) = $DB->get_in_or_equal(array('success', 'queued'), SQL_PARAMS_QM, 'param', false); - $typefield = ($CFG->dbtype == "oci") ? " to_char(statuscode) " : " statuscode "; - $plagiarismfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". - " AND identifier AND ".$typefield." = ? ".$insql, - array_merge(array($author, $cm->id, $identifier), $inparams)); + // Queue files to submit to Turnitin. + $result = $result && true; + if (!empty($eventdata['other']['pathnamehashes'])) { + foreach ($eventdata['other']['pathnamehashes'] as $pathnamehash) { + $fs = get_file_storage(); + $file = $fs->get_file_by_hash($pathnamehash); - if ($plagiarismfiles) { - return true; - } else { - $result = $this->queue_submission_to_turnitin( - $cm, $author, $submitter, $identifier, $submissiontype, $eventdata['objectid']); + if (!$file) { + turnitintooltwo_activitylog('File not found: '.$pathnamehash, 'PP_NO_FILE'); + $result = true; + continue; + } else { + try { + $file->get_content(); + } catch (Exception $e) { + turnitintooltwo_activitylog('File content not found: '.$pathnamehash, 'PP_NO_FILE'); + mtrace($e); + mtrace('File content not found. pathnamehash: '.$pathnamehash); + $result = true; + continue; } } - // Queue files to submit to Turnitin. - $result = $result && true; - if (!empty($eventdata['other']['pathnamehashes'])) { - foreach ($eventdata['other']['pathnamehashes'] as $pathnamehash) { - $fs = get_file_storage(); - $file = $fs->get_file_by_hash($pathnamehash); - - if (!$file) { - turnitintooltwo_activitylog('File not found: '.$pathnamehash, 'PP_NO_FILE'); - $result = true; - continue; - } else { - try { - $file->get_content(); - } catch (Exception $e) { - turnitintooltwo_activitylog('File content not found: '.$pathnamehash, 'PP_NO_FILE'); - mtrace($e); - mtrace('File content not found. pathnamehash: '.$pathnamehash); - $result = true; - continue; - } - } - - if ($file->get_filename() === '.') { - continue; - } - - if ($this->check_if_submitting($cm, $author, $pathnamehash, 'file')) { - $result = $result && $this->queue_submission_to_turnitin( - $cm, $author, $submitter, $pathnamehash, 'file', - $eventdata['objectid'], ''); - } else { - $result = $result && true; - } - } + if ($file->get_filename() === '.') { + continue; } - break; + if ($this->check_if_submitting($cm, $author, $pathnamehash, 'file')) { + $result = $result && $this->queue_submission_to_turnitin( + $cm, $author, $submitter, $pathnamehash, 'file', + $eventdata['objectid'], ''); + } else { + $result = $result && true; + } + } } return $result; diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index 4635ab9d..ad3c8c56 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -69,7 +69,7 @@ public function show_config_form($pluginconfig) { // Enable Turnitin for specific modules $supported_mods = array('assign', 'forum', 'workshop'); - + if ($DB->record_exists('modules',array('name'=>'coursework','visible'=>1))) { $supported_mods[] = 'coursework'; } From 274ffe0fcd72f553efd3c9f6c44c2b586c76d929 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 17 Oct 2016 11:34:17 +0100 Subject: [PATCH 15/56] Minor changes to scheduled task queries. --- classes/observer.php | 1 + classes/turnitin_submission.class.php | 2 +- lib.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/classes/observer.php b/classes/observer.php index 6b6f7d98..07f64a5d 100644 --- a/classes/observer.php +++ b/classes/observer.php @@ -28,6 +28,7 @@ class plagiarism_turnitin_observer { public static function course_module_deleted( \core\event\course_module_deleted $event) { global $DB; + $eventdata = $event->get_data(); $DB->delete_records('plagiarism_turnitin_files', array('cm' => $eventdata['contextinstanceid'])); $DB->delete_records('plagiarism_turnitin_config', array('cm' => $eventdata['contextinstanceid'])); diff --git a/classes/turnitin_submission.class.php b/classes/turnitin_submission.class.php index 3a360cda..140b62d0 100644 --- a/classes/turnitin_submission.class.php +++ b/classes/turnitin_submission.class.php @@ -174,7 +174,7 @@ public function recreate_submission_event() { $submissiondata = new stdClass(); $submissiondata->id = $this->id; - $submissiondata->statuscode = 'pending'; + $submissiondata->statuscode = 'queued'; return $DB->update_record('plagiarism_turnitin_files', $submissiondata); } diff --git a/lib.php b/lib.php index 309d6076..4037c404 100644 --- a/lib.php +++ b/lib.php @@ -2501,8 +2501,8 @@ function plagiarism_turnitin_send_queued_submissions() { $config = turnitintooltwo_admin_config(); $pluginturnitin = new plagiarism_plugin_turnitin(); - $queueditems = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'queued'), - '', '*', $limitfrom = 0, $limitnum = PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); + $queueditems = $DB->get_records_select('plagiarism_turnitin_files', 'statuscode = ? OR statuscode = ?', + array('queued', 'pending'), '', '*', 0, PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); // Submit each file individually to Turnitin. foreach ($queueditems as $queueditem) { From 63cc44f4bf5cdb8c245ac40733d543fda0365058 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Tue, 18 Oct 2016 12:21:39 +0100 Subject: [PATCH 16/56] Observer added for coursework submission event. --- classes/observer.php | 14 ++++++++++++++ db/events.php | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/classes/observer.php b/classes/observer.php index 07f64a5d..1489fe37 100644 --- a/classes/observer.php +++ b/classes/observer.php @@ -103,6 +103,20 @@ public static function assignsubmission_onlinetext_uploaded( $plugin->event_handler($eventdata); } + /** + * Handle the assignment assessable_submitted event. + * @param \mod_assign\event\assessable_submitted $event + */ + public static function coursework_submitted( + \mod_coursework\event\assessable_uploaded $event) { + $eventdata = $event->get_data(); + $eventdata['eventtype'] = 'assessable_submitted'; + $eventdata['other']['modulename'] = 'coursework'; + + $plugin = new plagiarism_plugin_turnitin(); + $plugin->event_handler($eventdata); + } + /** * Handle the assignment assessable_submitted event. * @param \mod_assign\event\assessable_submitted $event diff --git a/db/events.php b/db/events.php index 4dd2ac10..f5cda260 100644 --- a/db/events.php +++ b/db/events.php @@ -35,6 +35,10 @@ 'eventname' => '\mod_assign\event\assessable_submitted', 'callback' => 'plagiarism_turnitin_observer::assignsubmission_submitted' ), + array( + 'eventname' => '\mod_coursework\event\assessable_uploaded', + 'callback' => 'plagiarism_turnitin_observer::coursework_submitted' + ), array( 'eventname' => '\core\event\course_module_deleted', 'callback' => 'plagiarism_turnitin_observer::course_module_deleted' From 88ccd0f8236e81537de6c838e6bb1d7ced59a238 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Tue, 18 Oct 2016 12:22:18 +0100 Subject: [PATCH 17/56] Reinstate code to check for blind marking assignments before updating Gradebook --- lib.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib.php b/lib.php index 4037c404..9b2c6cee 100644 --- a/lib.php +++ b/lib.php @@ -1250,6 +1250,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { // at the moment TII doesn't support double marking so we won't synchronise grades from Grade Mark as it would destroy the workflow return true; } + $gradeitem = $DB->get_record('grade_items', array('iteminstance' => $cm->instance, 'itemmodule' => $cm->modname, 'courseid' => $cm->course, 'itemnumber' => 0)); @@ -1404,6 +1405,11 @@ private function update_grade($cm, $submission, $userid, $type = 'submission') { } } + // Prevent grades being passed to gradebook before identities have been revealed when blind marking is on. + if ($cm->modname == 'assign' && !empty($moduledata->blindmarking) && empty($moduledata->revealidentities)) { + return false; + } + $params['idnumber'] = $cm->idnumber; // Update gradebook - Grade update returns 1 on failure and 0 if successful. From 8194d58a662a43930e8fa8fd056940e1e10dfef6 Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Thu, 13 Oct 2016 14:01:01 +1100 Subject: [PATCH 18/56] Issue #179 - PHPUnit test failing with Moodle 31 --- lib.php | 3 +++ tests/turnitin_test.php | 47 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 tests/turnitin_test.php diff --git a/lib.php b/lib.php index 9b2c6cee..8cb0550d 100644 --- a/lib.php +++ b/lib.php @@ -316,6 +316,9 @@ public static function course_reset($eventdata) { foreach ($supportedmods as $supportedmod) { $module = $DB->get_record('modules', array('name' => $supportedmod)); + if ($module === false) { + continue; + } // Get all the course modules that have Turnitin enabled $sql = "SELECT cm.id diff --git a/tests/turnitin_test.php b/tests/turnitin_test.php new file mode 100644 index 00000000..f7e5d679 --- /dev/null +++ b/tests/turnitin_test.php @@ -0,0 +1,47 @@ +. + +/** + * Plagiarism Turnitin tests. + * + * @package plagiarism_turnitin + * @copyright 2016 Catalyst IT + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +use core_competency\course_competency; + +/** + * Plagiarism Turnitin tests. + * + * @package plagiarism_turnitin + * @copyright 2016 Catalyst IT + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class plagiarism_turnitin_testcase extends advanced_testcase { + /** + * Isolates a problem found running core tests in Moodle 31. + */ + public function test_problem_moodle31_coretests() { + $this->resetAfterTest(); + + $c1 = $this->getDataGenerator()->create_course(); + + reset_course_userdata((object)['id' => $c1->id, 'reset_competency_ratings' => true]); + } +} From 1b4cea5dfba5c23067de73801b0004b2922fe170 Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 27 Oct 2016 14:07:46 +0100 Subject: [PATCH 19/56] Update language strings. --- lang/ar/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/cs/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/de/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/es/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/fi/plagiarism_turnitin.php | 184 +++++++++++++++++++++++++++ lang/fr/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/it/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/ja/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/ko/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/nl/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/pl/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/pt_br/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/ro/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/ru/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/sv/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/tr/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/vi/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/zh_hans/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ lang/zh_tw/plagiarism_turnitin.php | 182 ++++++++++++++++++++++++++ 19 files changed, 3460 insertions(+) create mode 100755 lang/ar/plagiarism_turnitin.php create mode 100755 lang/cs/plagiarism_turnitin.php create mode 100755 lang/de/plagiarism_turnitin.php create mode 100755 lang/es/plagiarism_turnitin.php create mode 100755 lang/fi/plagiarism_turnitin.php create mode 100755 lang/fr/plagiarism_turnitin.php create mode 100755 lang/it/plagiarism_turnitin.php create mode 100755 lang/ja/plagiarism_turnitin.php create mode 100755 lang/ko/plagiarism_turnitin.php create mode 100755 lang/nl/plagiarism_turnitin.php create mode 100755 lang/pl/plagiarism_turnitin.php create mode 100755 lang/pt_br/plagiarism_turnitin.php create mode 100755 lang/ro/plagiarism_turnitin.php create mode 100755 lang/ru/plagiarism_turnitin.php create mode 100755 lang/sv/plagiarism_turnitin.php create mode 100755 lang/tr/plagiarism_turnitin.php create mode 100755 lang/vi/plagiarism_turnitin.php create mode 100755 lang/zh_hans/plagiarism_turnitin.php create mode 100755 lang/zh_tw/plagiarism_turnitin.php diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php new file mode 100755 index 00000000..58d51596 --- /dev/null +++ b/lang/ar/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'تمكين Turnitin'; +$string['excludebiblio'] = 'استثناء المراجع'; +$string['excludequoted'] = 'استثناء نصوص الاقتباسات'; +$string['excludevalue'] = 'استبعاد التطابقات الصغيرة'; +$string['excludewords'] = 'كلمات'; +$string['excludepercent'] = 'النسبة المئوية'; +$string['norubric'] = 'لا توجد معايير قياسية'; +$string['otherrubric'] = 'إستخدام المعيار القياسي العائد لمدربين أخرين'; +$string['attachrubric'] = 'إلحاق باب أجوبة قياسية لهذه المهمة'; +$string['launchrubricmanager'] = 'أطلق معالج الأجوبة القياسية'; +$string['attachrubricnote'] = 'ملاحظة: سيكون بمقدور الطلاب مشاهدة المعايير القياسية الملحقة Ùˆ محتوياتها قبل القيام بالتسليم.'; +$string['erater_handbook_advanced'] = 'متقدم'; +$string['erater_handbook_highschool'] = 'المدرسة الاعداية'; +$string['erater_handbook_middleschool'] = 'المدرسة المتوسطة'; +$string['erater_handbook_elementary'] = 'المدرسة الابتدائية'; +$string['erater_handbook_learners'] = 'المتعلمين الانكليز'; +$string['erater_dictionary_enus'] = 'القواميس الانكليزية الامريكية'; +$string['erater_dictionary_engb'] = 'القواميس الانكليزية البريطانية'; +$string['erater_dictionary_en'] = 'كلا من القواميس الانكليزية الامريكية والبريطانية'; +$string['erater'] = 'تÙعيل الÙحص النحوي e-rater'; +$string['erater_handbook'] = 'ETS©: Handbook'; +$string['erater_dictionary'] = 'قاموس e-rater'; +$string['erater_categories'] = 'Ùئات e-rater'; +$string['erater_spelling'] = 'الاملاء'; +$string['erater_grammar'] = 'القواعد'; +$string['erater_usage'] = 'الاستخدام'; +$string['erater_mechanics'] = 'الميكانيك'; +$string['erater_style'] = 'الأسلوب'; +$string['anonblindmarkingnote'] = 'ملحوظة: تم إزالة الإعداد المنÙصل لوضع العلامات دون إظهار الأسماء بـ Turnitin. ستستخدم Turnitin إعداد وضع العلامات دون معرÙØ© أسماء الطلاب التابع لـ Moodle لتحديد إعداد وضع العلامات دون إظهار الأسماء.'; +$string['transmatch'] = 'تطابق الترجمة'; +$string['genduedate'] = 'قم بإنشاء التقارير ÙÙŠ موعد الاستحقاق (يسمح بإعادة الإرسال حتى موعد الإستحقاق)'; +$string['genimmediately1'] = 'قم بتوليد التقارير Ùورا ( لا يسمح بإعادة التقديم)'; +$string['genimmediately2'] = 'قم بتوليد التقارير Ùورا ( يسمح بإعادة التقديم حتى تاريخ الاستحقاق)'; +$string['launchquickmarkmanager'] = 'إطلاق معالج Quickmark'; +$string['launchpeermarkmanager'] = 'أطلق معالج Peermark'; +$string['studentreports'] = 'عرض تقارير الاصالة للطلبة'; +$string['studentreports_help'] = 'يسمح لك بعرض تقارير الاصالة للطلبة المستخدين. اذا ما تم تحديد نعم سيكون تقرير الاصالة متوÙر للطلبة للعرض'; +$string['submitondraft'] = 'أرسل المل٠عند تحميل أول ملÙ.'; +$string['submitonfinal'] = 'ارسل المل٠عندما يقوم الطالب للتقييم'; +$string['draftsubmit'] = 'متى يجب إرسال المل٠إلى TurnitinØŸ'; +$string['allownonor'] = 'السماح إرسال أي نوع من الملÙات؟'; +$string['allownonor_help'] = 'هذا الوضع يسمح بإرسال أي نوع من الملÙات. مع تعيين هذا الخيار إلى "نعم"ØŒ سيتم Ùحص أصالة الإرسالات حيثما كان ذلك ممكنًا، وسو٠تكون متاحة للتنزيل وستتوÙر أدوات GradeMark للملاحظات حيثما كان ذلك ممكنًا.'; +$string['norepository'] = 'لا توجد مستودعات'; +$string['standardrepository'] = 'المستودع القياسي'; +$string['submitpapersto'] = 'Ø­Ùظ مستندات الطلبة'; +$string['institutionalrepository'] = 'المستودعات المؤسسية (عند الاقتضاء)'; +$string['submitpapersto_help'] = 'سيوÙر هذا الإعداد للمدرسين القدرة على اختيار ما اذا كانت المستندات ستحÙظ ÙÙŠ مستودع مستندات الطلبة. تكمن الÙائدة من ارسال المستندات إلى مستودع مستندات الطلبة ÙÙŠ التحقق من مستندات الطلاب التي تم إرسالها مقابل إرسالات 'الطلاب الآخرين ÙÙŠ صÙÙˆÙÙƒ الدراسية الحالية أو السابقة. إذا اخترت "لا مستودعات" Ùلن يتم تخزين المستندات ÙÙŠ مخزن مستندات الطلاب.''; +$string['checkagainstnote'] = 'ملحوظة: إذا لم تحدد "نعم" لخيار "التحقق مقابل..." واحد على الأقل الموجود أدناه، Ùلن يتم إنشاء تقرير الأصالة.'; +$string['spapercheck'] = 'قحص مقابل مستندات الطلبة المخزونة'; +$string['internetcheck'] = 'Ùحص مقابل الإنترنت'; +$string['journalcheck'] = 'Ùحص مقابل المجلات
والدوريات والمنشورات'; +$string['compareinstitution'] = 'مقارنة الملÙات المسلمة مع المستندات المسلمة داخل هذه المؤسسة'; +$string['reportgenspeed'] = 'تقرير سرعة التكوين'; +$string['genspeednote'] = 'ملحوظة: يستغرق إنشاء تقرير الأصالة لعمليات إعادة إرسال أربعة وعشرين ساعة.'; +$string['locked_message'] = 'رسالة الإعدادات المغلقة'; +$string['locked_message_help'] = 'إذا كانت أي من الإعدادات مغلقة، تظهر هذه الرسالة للتعري٠بالسبب.'; +$string['locked_message_default'] = 'تم إغلاق هذا الإعداد على مستوى الموقع'; +$string['sharedrubric'] = 'معايير قياسية مشتركة'; +$string['turnitinrefreshsubmissions'] = 'تحديث الإرسالات'; +$string['turnitinrefreshingsubmissions'] = 'جاري تحديث الإرسالات'; +$string['turnitinppulapre'] = 'لإرسال مل٠إلى TurnitinØŒ عليك أولاً القبول باتÙاقية ترخيص المستخدم النهائي، وباختيارك عدم القبول باتÙاقية ترخيص المستخدم النهائي الخاصة بنا سنقوم بإرسال ملÙÙƒ إلى Moodle Ùقط. انقر هنا للقبول.'; +$string['noscriptula'] = '"(لأن Javascript غير Ù…Ùعل لديك سيتوجب عليك تحديث هذه الصÙحة يدويًا قبل أن تتمكن من الإرسال Ùˆ بعد المواÙقة على اتÙاقية المستخدم لـ Turnitin)"'; +$string['filedoesnotexist'] = 'تم حذ٠الملÙ'; + +// Plugin settings +$string['config'] = 'التكوين'; +$string['defaults'] = 'الإعدادات الاÙتراضية'; +$string['showusage'] = 'إظهار النسخة الاحتياطية للبيانات'; +$string['saveusage'] = 'Ø­Ùظ النسخة الاحتياطية للبيانات'; +$string['errors'] = 'أخطاء'; +$string['turnitinconfig'] = 'تكوين المكون الإضاÙÙŠ الخاص بسرقة محتوى Turnitin'; +$string['tiiexplain'] = 'Turnitin هو منتج تجاري، ويجب أن يكون لديك اشتراك مدÙوع لاستخدام هذه الخدمة، لمزيد من المعلومات راجع http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'تمكين Turnitin'; +$string['useturnitin_mod'] = 'تمكين Turnitin لـ {$a}'; +$string['pp_configuredesc'] = 'يجب عليك تكوين هذه الوحدة داخل وحدة turnitintooltwo . يرجى النقر هنا لتكوين المكون الإضاÙÙŠ هذا'; +$string['turnitindefaults'] = 'الاعدادات الاÙتراضية لمكون الانتحال ÙÙŠ Turnitin'; +$string['defaultsdesc'] = 'الاعدادات التالية هي الاعدادات الإÙتراضية التي تم تحديدها حين تم تÙعيل Turnitinضمن نموذج Ùعالية'; +$string['turnitinpluginsettings'] = 'الاعدادات لمكون الانتحال ÙÙŠ Turnitin'; +$string['pperrorsdesc'] = 'ظهرت مشكلة ما أثناء المحاولة رÙع الملÙات أدناه إلى Turnitin. لإعادة الإرسال، قم بتحديد الملÙات التي ترغب ÙÙŠ إعادة إرسالها واضغط على زر إعادة إرسال. سيتم معالجة هذه الملÙات عند تشغيل كرون (cron) المرة القادمة.'; +$string['pperrorssuccess'] = 'تم إعادة إرسال الملÙات التي قمت بتحديدها وسيتم معالجتها من خلال كرون (cron).'; +$string['pperrorsfail'] = 'ظهرت مشكلة ببعض الملÙات التي قمت بتحديدها، ولم يمكن إنشاء حدث cron جديد.'; +$string['resubmitselected'] = 'إعادة إرسال ملÙات محددة'; +$string['deleteconfirm'] = 'هل أنت متأكد من حذ٠هذا الإرسال؟\n\nلا يمكن الرجوع عن هذا الإجراء.'; +$string['deletesubmission'] = 'حذ٠الإرسال'; +$string['semptytable'] = 'لا توجد نتائج.'; +$string['configupdated'] = 'تم تحديث التكوين'; +$string['defaultupdated'] = 'تم تحديث الخيارات الاÙتراضية لـ Turnitin'; +$string['notavailableyet'] = 'غير متوÙر'; +$string['resubmittoturnitin'] = 'إعادة الإرسال إلى Turnitin '; +$string['resubmitting'] = 'جاري إعادة الإرسال'; +$string['id'] = 'معرÙ'; +$string['student'] = 'طالب'; +$string['course'] = 'الدرس'; +$string['module'] = 'نموذج'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'عرض تقرير الاصالة'; +$string['launchrubricview'] = 'مشاهدة المعيار القياسي المستخدم لتحديد العلامات'; +$string['turnitinppulapost'] = 'لم يتم إرسال ملÙÙƒ إلى Turnitin. الرجاء النقر هنا لقبول اتÙاقية ترخيص المستخدم النهائي.'; +$string['ppsubmissionerrorseelogs'] = 'لم يتم إرسال هذا المل٠إلى TurnitinØŒ ÙŠÙرجى استشارة مسؤول المدرسة لديك.'; +$string['ppsubmissionerrorstudent'] = 'لم ÙŠÙرسل هذا المل٠إلى TurnitinØŒ ÙŠÙرجى استشارة المدرس للحصول على مزيد من التÙاصيل.'; + +// Receipts +$string['messageprovider:submission'] = 'إشعارات الإيصال الرقمي للمكون الإضاÙÙŠ الخاص بسرقة محتوى Turnitin'; +$string['digitalreceipt'] = 'إيصال رقمي'; +$string['digital_receipt_subject'] = 'هذا هو الإيصال الرقمي الخاص بك'; +$string['pp_digital_receipt_message'] = 'عزيزي {$a->firstname} {$a->lastname}ØŒ

لقد أرسلت بنجاح مل٠{$a->submission_title} إلى مهمة {$a->assignment_name}{$a->assignment_part} ÙÙŠ الÙصل الدراسي {$a->course_fullname} ÙÙŠ {$a->submission_date}. معر٠الإرسال هو {$a->submission_id}. يمكن رؤية الإيصال الرقمي الكامل الخاص بك وطباعته من زر الطباعة/التنزيل ÙÙŠ عارض الوثائق.

شكرًا لاستخدامك Turnitin،

Ùريق Turnitin.'; + +// Paper statuses +$string['turnitinid'] = 'معر٠Turnitin '; +$string['turnitinstatus'] = 'حالة Turnitin '; +$string['pending'] = 'قيد الانتظار'; +$string['similarity'] = 'التشابه'; +$string['notorcapable'] = 'لا يمكن إنشاء تقرير أصالة لهذا الملÙ.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'قام الطالب بعرض هذا المستند ÙÙŠ:'; +$string['student_notread'] = 'لم يقم الطالب بعرض هذا المستند.'; +$string['launchpeermarkreviews'] = 'ابدأ تشغيل مراجعات Peermark'; + +// Cron +$string['ppqueuesize'] = 'عدد الأحداث ÙÙŠ قائمة أحداث المكون الإضاÙÙŠ الخاص بسرقة المحتوى'; +$string['ppcronsubmissionlimitreached'] = 'لن يتم إرسال إرسالات إضاÙية إلى Turnitin من خلال تنÙيذ هذا الكرون، حيث يتم معالجة {$a} Ùقط لكل تشغيل.'; +$string['cronsubmittedsuccessfully'] = 'إرسال: تم إرسال{$a->title} (معر٠TII: {$a->submissionid}) للمهمة {$a->assignmentname} على الدرس {$a->coursename} بنجاح إلى Turnitin.'; +$string['pp_submission_error'] = 'أعادت Turnitin خطأ يتعلق بإرسالك:'; +$string['turnitindeletionerror'] = 'Ùشل ÙÙŠ حذ٠ارسال Turnitin. تك حذ٠نسخة Moodle المحلية لكن الإرسال إلى Turnitin لم يمكن حذÙÙ‡.'; +$string['ppeventsfailedconnection'] = 'لن يتم معالجة أي أحداث بواسطة المكون الإضاÙÙŠ الخاص بسرقة محتويات Turnitin من خلال تنÙيذ هذا الكرون، حيث يتعذر إنشاء اتصال بـ Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'يرجى التشاور مع معلمك أو مسؤول النظام للحصول على مزيد من التÙاصيل.'; +$string['faultcode'] = 'رمز الخطأ'; +$string['line'] = 'خط'; +$string['message'] = 'رسالة'; +$string['code'] = 'رمز'; +$string['tiisubmissionsgeterror'] = 'حدث خطأ عند محاولة الحصول على الإرسالات لهذه المهمة من Turnitin'; +$string['errorcode0'] = 'لم يتم إرسال هذا المل٠إلى TurnitinØŒ ÙŠÙرجى استشارة مسؤول المدرسة لديك.'; +$string['errorcode1'] = 'لم يتم إرسال هذا المل٠إلى TurnitinØŒ حيث أنه لا يوجد به محتوى كا٠لإنتاج تقرير الأصالة.'; +$string['errorcode2'] = 'لن يتم إرسال هذا المل٠إلى TurnitinØŒ حيث أنه يتجاوز الحد الأقصى لحجم {$a} المسموح به.'; +$string['errorcode3'] = 'لم ÙŠÙرسل هذا المل٠إلى Turnitin لأن المستخدم لم يواÙÙ‚ على اتÙاقية ترخيص المستخدم النهائي.'; +$string['errorcode4'] = 'يجب عليك رÙع ملÙًا مدعومًا لهذه المهمة. أنواع الملÙات المقبولة: doc Ùˆdocx Ùˆppt Ùˆpptx Ùˆpps Ùˆppsx Ùˆpdf Ùˆtxt Ùˆhtm Ùˆhtml Ùˆhwp Ùˆodt Ùˆwpd Ùˆps Ùˆrtf'; +$string['errorcode5'] = 'لم يتم إرسال هذا المل٠إلى Turnitin لوجود مشكلة ÙÙŠ إنشاء الوحدة النمطية ÙÙŠ Turnitin التي تمنع الإرسالات، الرجاء الرجوع إلى سجلات API للحصول على مزيد من المعلومات.'; +$string['errorcode6'] = 'لم يتم إرسال هذا المل٠إلى Turnitin لوجود مشكلة ÙÙŠ تحرير إعدادات الوحدة النمطية ÙÙŠ Turnitin التي تمنع الإرسالات، الرجاء الرجوع إلى سجلات API للحصول على مزيد من المعلومات.'; +$string['errorcode7'] = 'لم يتم إرسال هذا المل٠إلى Turnitin لوجود مشكلة ÙÙŠ إنشاء المستخدم ÙÙŠ Turnitin التي تمنع الإرسالات، الرجاء الرجوع إلى سجلات API للحصول على مزيد من المعلومات.'; +$string['errorcode8'] = 'لم يتم إرسال هذا المل٠إلى Turnitin لوجود مشكلة ÙÙŠ إنشاء مل٠temp. السبب الأكثر احتمالاً هو أن اسم المل٠غير صالح. الرجاء إعادة تسمية المل٠إعادة رÙعه باستخدام تحرير الإرسال.'; +$string['errorcode9'] = 'يتعذر إرسال المل٠بسبب عدم وجود محتوى قابل للوصول ÙÙŠ مجموعة الملÙات ليتم إرسالها.'; +$string['coursegeterror'] = 'لا يمكن الحصول على بيانات الدورة'; +$string['configureerror'] = 'يجب تكوين هذه الوحدة بالكامل كمسؤول قبل استخدامها ÙÙŠ الدورة، يرجى الاتصال بمسؤول Moodle.'; +$string['turnitintoolofflineerror'] = 'نحن نواجه مشكلة ÙÙŠ الوقت الحالي. يرجى المحاولة مجددًا بعد قليل.'; +$string['defaultinserterror'] = 'حدث خطأ عند محاولة إدخال قيمة إعداد Ø¥Ùتراضي لقاعدة البيانات'; +$string['defaultupdateerror'] = 'حدث خطأ عند محاولة تحديث قيمة إعداد Ø¥Ùتراضي ÙÙŠ قاعدة البيانات'; +$string['tiiassignmentgeterror'] = 'حدث خطأ عند محاولة الحصول على مهمة من Turnitin'; +$string['assigngeterror'] = 'لا يمكن الحصول على بيانات أدوات turnitintooltwo'; +$string['classupdateerror'] = 'لا يمكن تحديث بيانات درس Turnitin'; +$string['pp_createsubmissionerror'] = 'حدث خطأ عند محاولة إنشاء التسليم ÙÙŠ Turnitin'; +$string['pp_updatesubmissionerror'] = 'حدث خطأ عند محاولة إعادة تسليم ما قمت بتسليمه الى Turnitin'; +$string['tiisubmissiongeterror'] = 'حدث خطأ عند محاولة خلق المهمة ÙÙŠ Turnitin'; + +// Javascript +$string['closebutton'] = 'إغلاق'; +$string['loadingdv'] = 'جاري تحميل عارض وثائق Turnitin ...'; +$string['changerubricwarning'] = 'سيؤدي تغيير أو إزالة أي معيار قياسي إلى إزالة جميع الدرجات القياسية الحالية من المستندات ÙÙŠ هذه المهمة، التي تشتمل على بطاقات الدرجات التي تم تعليمها مسبقًا. ستظل الدرجات الإجمالية للمستندات المعلمة مسبقًا كما هي.'; +$string['messageprovider:submission'] = 'إشعارات الإيصال الرقمي للمكون الإضاÙÙŠ الخاص بسرقة محتوى Turnitin '; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'حالة Turnitin'; +$string['deleted'] = 'تم حذÙ'; +$string['pending'] = 'قيد الانتظار'; +$string['because'] = 'هذا بسبب قيام أحد المسؤولين بحذ٠مهمة معلقة من قائمة المعالجة وإيقا٠الإرسال إلى Turnitin.
ما زال المل٠موجودًا ÙÙŠ MoodleØŒ الرجاء الاتصال بمعلمك.
الرجاء الاطلاع أدناه على أي رموز خطأ:'; diff --git a/lang/cs/plagiarism_turnitin.php b/lang/cs/plagiarism_turnitin.php new file mode 100755 index 00000000..7d1228fd --- /dev/null +++ b/lang/cs/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Povolit Turnitin'; +$string['excludebiblio'] = 'Nezahrnout bibliografii'; +$string['excludequoted'] = 'Nezahrnout citovaný materiál'; +$string['excludevalue'] = 'Nezahrnout malé shody'; +$string['excludewords'] = 'Slova'; +$string['excludepercent'] = 'Procento'; +$string['norubric'] = 'Žádná rubrika'; +$string['otherrubric'] = 'Použít rubriku patřící jinému instruktorovi'; +$string['attachrubric'] = 'PÅ™iložit rubriku k zadání'; +$string['launchrubricmanager'] = 'Spustit Správce rubrik'; +$string['attachrubricnote'] = 'Poznámka: studenti si budou moci pÅ™ed odevzdáním prohlížet pÅ™iložené rubriky a jejich obsah.'; +$string['erater_handbook_advanced'] = 'PokroÄilý'; +$string['erater_handbook_highschool'] = 'StÅ™ední Å¡kola'; +$string['erater_handbook_middleschool'] = '2. stupeň'; +$string['erater_handbook_elementary'] = 'Základní Å¡kola'; +$string['erater_handbook_learners'] = 'Studenti angliÄtiny'; +$string['erater_dictionary_enus'] = 'Slovník americké angliÄtiny'; +$string['erater_dictionary_engb'] = 'Slovník britské angliÄtiny'; +$string['erater_dictionary_en'] = 'Slovníky americké i britské angliÄtiny'; +$string['erater'] = 'Povolit kontrolu gramatiky e-rater'; +$string['erater_handbook'] = 'ETS© příruÄka'; +$string['erater_dictionary'] = 'Slovník e-rater'; +$string['erater_categories'] = 'Kategorie e-rater'; +$string['erater_spelling'] = 'Pravopis'; +$string['erater_grammar'] = 'Gramatika'; +$string['erater_usage'] = 'Použití'; +$string['erater_mechanics'] = 'Mechanika'; +$string['erater_style'] = 'Styl'; +$string['anonblindmarkingnote'] = 'Poznámka: Samostatné nastavení anonymního oznaÄení Turnitin bylo odstranÄ›no. Turnitin bude používat nastavení zaslepeného oznaÄení Moodle k urÄení anonymního nastavení oznaÄení.'; +$string['transmatch'] = 'PÅ™eložená shoda'; +$string['genduedate'] = 'Generovat zprávy k termínu (opÄ›tovná odevzdání jsou povolena až do termínu)'; +$string['genimmediately1'] = 'Generovat zprávy bezprostÅ™ednÄ› (opÄ›tovná odevzdání nejsou povolena)'; +$string['genimmediately2'] = 'Generovat zprávy bezprostÅ™ednÄ› (opÄ›tovná odevzdání jsou povolena až do termínu)'; +$string['launchquickmarkmanager'] = 'Spustit Správce Quickmark'; +$string['launchpeermarkmanager'] = 'Spustit Správce Peermark'; +$string['studentreports'] = 'Zobrazit studentům zprávy o původnosti'; +$string['studentreports_help'] = 'Umožní vám zobrazit zprávy o původnosti studentským uživatelům. Pokud je volba nastavena na hodnotu Ano, budou si studenti moci zobrazit zprávu o původnosti vytvoÅ™enou systémem Turnitin.'; +$string['submitondraft'] = 'Odevzdat soubor pÅ™i prvním nahrání'; +$string['submitonfinal'] = 'Odevzdat soubor, když jej student odeÅ¡le ke známkování'; +$string['draftsubmit'] = 'Kdy má být soubor odevzdán do systému Turnitin?'; +$string['allownonor'] = 'Povolit odevzdání jakéhokoli typu souboru?'; +$string['allownonor_help'] = 'Toto nastavení umožní nahrání jakéhokoli druhu souboru. Pokud je tato možnost nastavena jako "Ano", bude původnost zkontrolována u vÅ¡ech odevzdaných prací, kde je to možné. Odevzdané práce budou dostupné ke stáhnutí, budou dostupné i nástroje zpÄ›tné vazby GradeMark, kde to bude možné.'; +$string['norepository'] = 'Žádný archiv'; +$string['standardrepository'] = 'Standardní archiv'; +$string['submitpapersto'] = 'Uložit studentské práce'; +$string['institutionalrepository'] = 'Archiv instituce (v případÄ› potÅ™eby)'; +$string['submitpapersto_help'] = 'Nastavení poskytuje instruktorům možnost zvolit, zda práce budou uloženy v archivu prací Turnitin. Výhodou odevzdání prací do tohoto archivu je, že práce odevzdané v rámci tohoto úkolu jsou porovnány s dalšími odevzdanými pracemi v rámci vaÅ¡ich souÄasných a pÅ™edchozích kurzů. Jestliže zvolíte "bez archivu", odevzdané práce nebudou uloženy v archivu prací Turnitin.'; +$string['checkagainstnote'] = 'Poznámka: Pokud nezvolíte „Ano“ pro alespoň jednu z možností „Zkontrolovat proti...“ níže, pak nebude vygenerována zpráva originality.'; +$string['spapercheck'] = 'Porovnejte s uloženými studentskými pracemi'; +$string['internetcheck'] = 'Porovnat s internetem'; +$string['journalcheck'] = 'Porovnat s odbornými Äasopisy,
periodiky a publikacemi.'; +$string['compareinstitution'] = 'Porovnat odevzdané soubory s odevzdanými pracemi v rámci této instituce'; +$string['reportgenspeed'] = 'Rychlost generování zpráv'; +$string['genspeednote'] = 'Poznámka: Na generování zprávy originality pro opÄ›tovné odevzdání se vztahuje zpoždÄ›ní dvaceti ÄtyÅ™ hodin.'; +$string['locked_message'] = 'UzamÄená zpráva'; +$string['locked_message_help'] = 'V případÄ› uzamÄení nastavení tato zpráva uvádí důvod.'; +$string['locked_message_default'] = 'Toto nastavení je uzamÄeno na úrovni stránky'; +$string['sharedrubric'] = 'Sdílená rubrika'; +$string['turnitinrefreshsubmissions'] = 'Obnovit odevzdané práce'; +$string['turnitinrefreshingsubmissions'] = 'Aktualizace odevzdaných prací'; +$string['turnitinppulapre'] = 'Chcete-li odevzdat soubor do služby Turnitin, musíte nejprve pÅ™ijmout naÅ¡i smlouvu EULA. Pokud se rozhodnete nepÅ™ijmout naÅ¡i smlouvu EULA, bude váš soubor odevzdán pouze do Moodle. Kliknutím zde potvrÄte.'; +$string['noscriptula'] = '(Jelikož nemáte zapnutý jazyk Javascript, budete muset tuto stránku ruÄnÄ› obnovit pÅ™edtím, než budete moci provést odevzdání své práce, a to až po pÅ™ijetí Podmínek pro uživatele Turnitin)'; +$string['filedoesnotexist'] = 'Soubor byl smazán.'; + +// Plugin settings +$string['config'] = 'Konfigurace'; +$string['defaults'] = 'Výchozí nastavení'; +$string['showusage'] = 'Zobrazit výpis dat'; +$string['saveusage'] = 'Uložit výpis dat'; +$string['errors'] = 'Chyby'; +$string['turnitinconfig'] = 'Konfigurace pluginu plagiátorství Turnitin'; +$string['tiiexplain'] = 'Turnitin je komerÄní produkt, tudíž musíte mít pro využívání této služby pÅ™edplatné. Pro více informací se obraÅ¥te na http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Povolit Turnitin'; +$string['useturnitin_mod'] = 'Aktivovat Turnitin pro {$a}'; +$string['pp_configuredesc'] = 'Tento modul musíte nakonfigurovat v rámci modulu turnitintooltwo. Kliknutím zde nakonfigurujete tento modul plugin'; +$string['turnitindefaults'] = 'Výchozí nastavení pro plugin plagiátorství Turnitin'; +$string['defaultsdesc'] = 'Následující nastavení jsou výchozí pÅ™i povolení systému Turnitin v rámci modulu aktivity'; +$string['turnitinpluginsettings'] = 'Nastavení pro plugin plagiátorství Turnitin'; +$string['pperrorsdesc'] = 'DoÅ¡lo k problému pÅ™i pokusu o nahrávání souborů níže do služby Turnitin. Chcete-li je znovu odevzdat, vyberte požadované soubory a stisknÄ›te tlaÄítko Znovu odevzdat. Soubory budou zpracovány pÅ™i dalším spuÅ¡tÄ›ní cronu.'; +$string['pperrorssuccess'] = 'Zvolené soubory byly znovu odevzdány a budou zpracovány cronem.'; +$string['pperrorsfail'] = 'DoÅ¡lo k problému s nÄ›kterými ze zvolených souborů. Nebylo možné pro nÄ› vytvoÅ™it novou událost cron.'; +$string['resubmitselected'] = 'Znovu odevzdat vybrané soubory'; +$string['deleteconfirm'] = 'UrÄitÄ› chcete smazat toto odevzdání?\n\nTento krok nelze vrátit zpÄ›t.'; +$string['deletesubmission'] = 'Smazat odevzdání'; +$string['semptytable'] = 'Nebyly nalezeny žádné výsledky.'; +$string['configupdated'] = 'Konfigurace aktualizována'; +$string['defaultupdated'] = 'Výchozí hodnoty Turnitin byly aktualizovány'; +$string['notavailableyet'] = 'Není k dispozici'; +$string['resubmittoturnitin'] = 'Znovu odevzdat do Turnitin'; +$string['resubmitting'] = 'OpÄ›tovné odevzdání'; +$string['id'] = 'Id'; +$string['student'] = 'Student'; +$string['course'] = 'Kurz'; +$string['module'] = 'Modul'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Zobrazit zprávu o původnosti'; +$string['launchrubricview'] = 'Zobrazit rubriku použitou ke známkování'; +$string['turnitinppulapost'] = 'Váš soubory nebyl odevzdán do systému Turnitin. Kliknutím zde pÅ™ijmete naÅ¡i smlouvu EULA.'; +$string['ppsubmissionerrorseelogs'] = 'Soubor nebyl odevzdán do systému Turnitin. PoraÄte se se správcem systému.'; +$string['ppsubmissionerrorstudent'] = 'Soubor nebyl pÅ™edán do systému Turnitin. Další informace vám podá váš vyuÄující.'; + +// Receipts +$string['messageprovider:submission'] = 'Oznámení digitálního příjmu pluginu plagiátorství Turnitin'; +$string['digitalreceipt'] = 'Digitální doklad'; +$string['digital_receipt_subject'] = 'Toto je váš digitální doklad Turnitin'; +$string['pp_digital_receipt_message'] = 'Vážený {$a->firstname} {$a->lastname},

úspěšnÄ› jste odevzdal/a soubor {$a->submission_title} do pÅ™iÅ™azení {$a->assignment_name}{$a->assignment_part} v kurzu {$a->course_fullname} na {$a->submission_date}. VaÅ¡e ID odevzdání je {$a->submission_id}. Váš digitální doklad lze zobrazit a vytisknout pomocí tlaÄítka tisk/stáhnout v ProhlížeÄi dokumentů.

Děkujeme, že používáte systém Turnitin,

Tým Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'ID Turnitin'; +$string['turnitinstatus'] = 'Stav systému Turnitin'; +$string['pending'] = 'Probíhá'; +$string['similarity'] = 'Podobnost'; +$string['notorcapable'] = 'Pro tento soubor nelze vytvoÅ™it zprávu o původnosti.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Student si práci prohlédl dne:'; +$string['student_notread'] = 'Student si tuto práci neprohlédl.'; +$string['launchpeermarkreviews'] = 'Spustit Posudky Peermark'; + +// Cron +$string['ppqueuesize'] = 'PoÄet událostí ve frontÄ› pluginu plagiátorství'; +$string['ppcronsubmissionlimitreached'] = 'Do systému Turnitin nebyly odeslány žádné další odevzdání tímto spuÅ¡tÄ›ním cron, jelikož na spuÅ¡tÄ›ní bylo zpracováno pouze {$a}'; +$string['cronsubmittedsuccessfully'] = 'Odevzdání: {$a->title} (TII ID: {$a->submissionid}) pro pÅ™iÅ™azení {$a->assignmentname} v kurzu {$a->coursename} bylo úspěšnÄ› odevzdáno do systému Turnitin.'; +$string['pp_submission_error'] = 'Systém Turnitin vrátil s odevzdáním chybu:'; +$string['turnitindeletionerror'] = 'Smazání odevzdaných prací Turnitin se nezdaÅ™ilo. Místní kopie Moodle byla odstranÄ›na, ale odevzdané práce v systému Turnitin nebylo možné smazat.'; +$string['ppeventsfailedconnection'] = 'V rámci tohoto spuÅ¡tÄ›ní cron nebudou pluginem plagiátorství Turnitin zpracovány žádné události, jelikož pÅ™ipojení k systému Turnitin nelze navázat.'; + +// Error codes +$string['tii_submission_failure'] = 'Další informace vám podá váš vyuÄující nebo správce systému.'; +$string['faultcode'] = 'Chybný kód'; +$string['line'] = 'Řádek'; +$string['message'] = 'Zpráva'; +$string['code'] = 'Kód'; +$string['tiisubmissionsgeterror'] = 'DoÅ¡lo k chybÄ› pÅ™i získávání odevzdané práce pro tento úkol ze systému Turnitin'; +$string['errorcode0'] = 'Soubor nebyl odevzdán do systému Turnitin. PoraÄte se se správcem systému.'; +$string['errorcode1'] = 'Tento soubor nebyl odeslán do systému Turnitin, jelikož neobsahuje dostatek obsahu k vytvoÅ™ení zprávy o původnosti.'; +$string['errorcode2'] = 'Soubor nebude pÅ™edán do systému Turnitin, protože pÅ™esahuje maximální povolenou velikost {$a}.'; +$string['errorcode3'] = 'Soubor nebyl pÅ™edán do systému Turnitin, protože uživatel nepÅ™ijal licenÄní ujednání koncového uživatele systému Turnitin.'; +$string['errorcode4'] = 'Pro tento úkol musíte nahrát podporovaný typ souboru. PÅ™ijímané typy souborů jsou; .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps a .rtf'; +$string['errorcode5'] = 'Tento soubor nebyl odevzdán do systému Turnitin, protože doÅ¡lo k problému pÅ™i vytváření modulu v systému Turnitin, který brání odevzdání. Další informace naleznete v protokolech API.'; +$string['errorcode6'] = 'Tento soubor nebyl odevzdán do systému Turnitin, protože doÅ¡lo k problému pÅ™i úpravách nastavení modulu v systému Turnitin, který brání odevzdání. Další informace naleznete v protokolech API.'; +$string['errorcode7'] = 'Tento soubor nebyl odevzdán do systému Turnitin, protože doÅ¡lo k problému pÅ™i vytváření uživatele v systému Turnitin, který brání odevzdání. Další informace naleznete v protokolech API.'; +$string['errorcode8'] = 'Tento soubor nebyl odevzdán do systému Turnitin, protože doÅ¡lo k problému pÅ™i vytváření doÄasného souboru. NejpravdÄ›podobnÄ›jší příÄinou je neplatný název souboru. PÅ™ejmenujte soubor a znovu ho nahrajte pomocí položky Upravit odevzdání.'; +$string['errorcode9'] = 'Soubor nelze odevzdat, jelikož ve fondu souborů není žádný dostupný obsah k odevzdání.'; +$string['coursegeterror'] = 'Nebylo možné získat údaje o kurzu'; +$string['configureerror'] = 'Tento modul pÅ™ed jeho použitím v kurzu musíte zcela nastavit v roli Administrátora. ObraÅ¥te se prosím na svého Moodle administrátora.'; +$string['turnitintoolofflineerror'] = 'Vyskytl se doÄasný problém. Zkuste prosím za chvíli znovu.'; +$string['defaultinserterror'] = 'DoÅ¡lo k chybÄ› pÅ™i vkládání hodnoty výchozího nastavení do databáze'; +$string['defaultupdateerror'] = 'DoÅ¡lo k chybÄ› pÅ™i aktualizaci hodnoty výchozího nastavení v databázi'; +$string['tiiassignmentgeterror'] = 'DoÅ¡lo k chybÄ› pÅ™i získávání úkolu ze systému Turnitin'; +$string['assigngeterror'] = 'Nelze získat turnitintooltwo údaje'; +$string['classupdateerror'] = 'Nebylo možné aktualizovat údaje kurzu Turnitin'; +$string['pp_createsubmissionerror'] = 'DoÅ¡lo k chybÄ› pÅ™i tvoÅ™ení odevzdání v systému Turnitin'; +$string['pp_updatesubmissionerror'] = 'DoÅ¡lo k chybÄ› pÅ™i opÄ›tovném odeslání vaší odevzdané práce do systému Turnitin'; +$string['tiisubmissiongeterror'] = 'DoÅ¡lo k chybÄ› pÅ™i získávání odevzdané práce ze systému Turnitin'; + +// Javascript +$string['closebutton'] = 'Zavřít'; +$string['loadingdv'] = 'NaÄítá se ProhlížeÄ dokumentů Turnitin...'; +$string['changerubricwarning'] = 'Úprava nebo odpojení rubriky odstraní vÅ¡echna existující bodování rubrik u prací v tomto úkolu vÄetnÄ› bodovacích karet, které byly pÅ™edtím oznámkované. U dříve ohodnocených prací zůstane celkové hodnocení zachováno.'; +$string['messageprovider:submission'] = 'Oznámení digitálního příjmu pluginu plagiátorství Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Stav systému Turnitin'; +$string['deleted'] = 'Smazáno'; +$string['pending'] = 'Probíhá'; +$string['because'] = 'Je to způsobeno smazáním probíhajícího úkolu z fronty zpracování správcem a zruÅ¡eným odevzdáním do systému Turnitin.
Soubor se stále nachází v systému Moodle, obraťte se na svého instruktora.
Níže naleznete vÅ¡echny chybové kódy:'; diff --git a/lang/de/plagiarism_turnitin.php b/lang/de/plagiarism_turnitin.php new file mode 100755 index 00000000..e98e792e --- /dev/null +++ b/lang/de/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Turnitin aktivieren'; +$string['excludebiblio'] = 'Bibliografie ausschließen'; +$string['excludequoted'] = 'Zitiertes Material ausschließen'; +$string['excludevalue'] = 'Geringfügige Übereinstimmungen ausschließen'; +$string['excludewords'] = 'Wörter'; +$string['excludepercent'] = 'Prozent'; +$string['norubric'] = 'Keine Rubrik'; +$string['otherrubric'] = 'Rubrik einer anderen Lehrkraft verwenden'; +$string['attachrubric'] = 'Dieser Aufgabe eine Rubrik anhängen'; +$string['launchrubricmanager'] = 'Rubrikmanager starten'; +$string['attachrubricnote'] = 'Hinweis: Studenten können angehängte Rubriken und deren Inhalt vor dem Übermitteln aufrufen.'; +$string['erater_handbook_advanced'] = 'Erweitert'; +$string['erater_handbook_highschool'] = 'Oberstufe'; +$string['erater_handbook_middleschool'] = 'Mittelstufe'; +$string['erater_handbook_elementary'] = 'Grundschule'; +$string['erater_handbook_learners'] = 'Englisch Lernende'; +$string['erater_dictionary_enus'] = 'US-amerikanisches Englisch-Lexikon'; +$string['erater_dictionary_engb'] = 'Britisches Englisch-Lexikon'; +$string['erater_dictionary_en'] = 'Britisches und US-amerikanisches Englisch-Lexikon'; +$string['erater'] = 'e-rater-Grammatikprüfung aktivieren'; +$string['erater_handbook'] = 'ETS©-Handbuch'; +$string['erater_dictionary'] = 'e-rater-Wörterbuch'; +$string['erater_categories'] = 'e-rater-Kategorien'; +$string['erater_spelling'] = 'Rechtschreibung'; +$string['erater_grammar'] = 'Grammatik'; +$string['erater_usage'] = 'Gebrauch'; +$string['erater_mechanics'] = 'Funktionsweise'; +$string['erater_style'] = 'Stil'; +$string['anonblindmarkingnote'] = 'Hinweis: Die separate Turnitin-Einstellung für anonyme Benotung wurde entfernt. Turnitin legt die Einstellung für anonymes Benoten anhand der Moodle-Einstellung für Blindbewertung fest.'; +$string['transmatch'] = 'Übersetzte Übereinstimmung'; +$string['genduedate'] = 'Berichte am Fälligkeitsdatum erstellen (erneute Übermittlungen sind bis zum Fälligkeitsdatum zulässig)'; +$string['genimmediately1'] = 'Berichte sofort erstellen (erneute Übermittlungen sind nicht zulässig)'; +$string['genimmediately2'] = 'Berichte sofort erstellen (erneute Übermittlungen sind bis zum Fälligkeitsdatum zulässig)'; +$string['launchquickmarkmanager'] = 'QuickMark-Manager starten'; +$string['launchpeermarkmanager'] = 'PeerMark-Manager starten'; +$string['studentreports'] = 'Studenten den Echtheitsbericht anzeigen'; +$string['studentreports_help'] = 'Ermöglicht Studenten das Anzeigen von Turnitin-Echtheitsberichten. Wenn Sie die Option "Ja" wählen, können Studenten den von Turnitin erstellten Echtheitsbericht ansehen.'; +$string['submitondraft'] = 'Datei beim ersten Hochladen übermitteln'; +$string['submitonfinal'] = 'Datei übermitteln, wenn der Student sie zum Markieren sendet.'; +$string['draftsubmit'] = 'Wann muss die Datei an Turnitin übermittelt werden?'; +$string['allownonor'] = 'Jeden Dateityp zur Übermittlung zulassen?'; +$string['allownonor_help'] = 'Mit dieser Einstellung können alle Dateitypen übermitteln werden. Ist diese Option auf "Ja" gesetzt, werden Übermittlungen ggf. auf ihre Echtheit überprüft und zum Download bereitgestellt. Außerdem stehen wenn möglich GradeMark-Feedbacktools zur Verfügung.'; +$string['norepository'] = 'Kein Repository'; +$string['standardrepository'] = 'Standard-Repository '; +$string['submitpapersto'] = 'Studentenarbeiten ablegen'; +$string['institutionalrepository'] = 'Institutions-Repository (wenn vorhanden)'; +$string['submitpapersto_help'] = 'Mit dieser Einstellung können Lehrkräfte festlegen, ob Arbeiten in einem Turnitin-Repository für Studentenarbeiten gespeichert werden. Der Vorteil einer Übermittlung von Arbeiten das Studentenarbeits-Repository besteht darin, dass die zu einer Aufgabe übermittelten Studentenarbeiten mit den Arbeiten von Studenten' Ihrer aktuellen sowie früheren Kurse abgeglichen werden. Wenn Sie die Option "Kein Repository" wählen, werden die Arbeiten Ihrer Studenten' nicht im Studentenarbeits-Repository von Turnitin gespeichert.'; +$string['checkagainstnote'] = 'Hinweis: Wenn Sie nicht für mindestens eine der folgenden Abgleichoptionen „Ja“ auswählen, wird KEIN Echtheitsbericht generiert.'; +$string['spapercheck'] = 'Abgleich mit vorhandenen Studentenarbeiten'; +$string['internetcheck'] = 'Abgleich mit dem Internet'; +$string['journalcheck'] = 'Abgleich mit Zeitungen,
Periodika und anderen Publikationen'; +$string['compareinstitution'] = 'Eingereichte Dateien mit den an dieser Institution übermittelten Arbeiten vergleichen'; +$string['reportgenspeed'] = 'Geschwindigkeit beim Erstellen des Berichts'; +$string['genspeednote'] = 'Hinweis: Bei der Generierung eines Echtheitsberichts für erneute Übermittlungen kann eine Verzögerung von 24 Stunden auftreten.'; +$string['locked_message'] = 'Gesperrte Nachricht'; +$string['locked_message_help'] = 'Wenn Einstellungen gesperrt sind, wird in dieser Nachricht der Grund dafür angegeben.'; +$string['locked_message_default'] = 'Diese Einstellung ist auf Websiteebene gesperrt.'; +$string['sharedrubric'] = 'Freigegebene Rubrik'; +$string['turnitinrefreshsubmissions'] = 'Übermittlungen aktualisieren'; +$string['turnitinrefreshingsubmissions'] = 'Übermittlungen werden aktualisiert...'; +$string['turnitinppulapre'] = 'Vor der Übermittung einer Datei an Turnitin müssen Sie unsere EULA (Endbenutzer-Lizenzvereinbarung) akzeptieren. Wenn Sie die EULA nicht akzeptieren, wird Ihre Datei nur an Moodle übermittelt. Klicken Sie zum Akzeptieren hier.'; +$string['noscriptula'] = '(Da Sie Javascript nicht aktiviert haben, müssen Sie diese Seite manuell aktualisieren, ehe Sie nach dem Akzeptieren der Nutzungsbedingungen von Turnitin eine Übermittlung vornehmen können)'; +$string['filedoesnotexist'] = 'Datei wurde gelöscht'; + +// Plugin settings +$string['config'] = 'Konfiguration'; +$string['defaults'] = 'Standardeinstellungen'; +$string['showusage'] = 'Datenspeicher anzeigen'; +$string['saveusage'] = 'Datenanzeige sichern'; +$string['errors'] = 'Fehler'; +$string['turnitinconfig'] = 'Konfiguration für das Turnitin-Plug-in gegen Plagiarismus'; +$string['tiiexplain'] = 'Turnitin ist ein kommerzielles Produkt, und Sie benötigen ein zahlungspflichtiges Abonnement, um diesen Dienst nutzen zu können. Weitere Informationen finden Sie unter http://docs.moodle.org/en/Turnitin_administration.'; +$string['useturnitin'] = 'Turnitin aktivieren'; +$string['useturnitin_mod'] = 'Turnitin aktivieren für {$a}'; +$string['pp_configuredesc'] = 'Sie müssen dieses Modul innerhalb des turnitintooltwo-Moduls konfigurieren. Klicken Sie hier, um dieses Plug-in zu konfigurieren.'; +$string['turnitindefaults'] = 'Standardeinstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; +$string['defaultsdesc'] = 'Die folgenden Einstellungen bilden den Standard, wenn Turnitin mit einem Aktivitätsmodul aktiviert ist.'; +$string['turnitinpluginsettings'] = 'Einstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; +$string['pperrorsdesc'] = 'Beim Versuch, die folgenden Dateien bei Turnitin hochzuladen, ist ein Problem aufgetreten. Wählen Sie für eine erneute Übermittlung die gewünschten Dateien aus, und klicken Sie auf die Schaltfläche „Erneut übermitteln“. Diese Dateien werden dann bei der nächsten Cron-Ausführung verarbeitet.'; +$string['pperrorssuccess'] = 'Die ausgewählten Dateien wurden erneut übermittelt und werden von Cron verarbeitet.'; +$string['pperrorsfail'] = 'Bei einigen der ausgewählten Dateien ist ein Problem aufgetreten. Für diese Dateien konnte kein neues Cron-Ereignis erstellt werden.'; +$string['resubmitselected'] = 'Ausgewählte Dateien erneut übermitteln'; +$string['deleteconfirm'] = 'Möchten Sie diese Übermittlung wirklich löschen? \n\nDieser Vorgang kann nicht rückgängig gemacht werden.'; +$string['deletesubmission'] = 'Übermittlung löschen'; +$string['semptytable'] = 'Keine Ergebnisse vorhanden.'; +$string['configupdated'] = 'Konfiguration aktualisiert'; +$string['defaultupdated'] = 'Turnitin-Standards aktualisiert'; +$string['notavailableyet'] = 'Nicht verfügbar'; +$string['resubmittoturnitin'] = 'Erneut an Turnitin übermitteln'; +$string['resubmitting'] = 'Wird erneut übermittelt...'; +$string['id'] = 'ID'; +$string['student'] = 'Student'; +$string['course'] = 'Kurs'; +$string['module'] = 'Module'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Echtheitsbericht anzeigen'; +$string['launchrubricview'] = 'Die für das Markieren verwendete Rubik anzeigen'; +$string['turnitinppulapost'] = 'Ihre Datei wurde nicht an Turnitin übermittelt. Klicken Sie hier, um unsere EULA zu akzeptieren.'; +$string['ppsubmissionerrorseelogs'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; +$string['ppsubmissionerrorstudent'] = 'Diese Datei wurde nicht an Turnitin übermittelt, für zusätzliche Details kontaktieren Sie bitte Ihren Tutor'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; +$string['digitalreceipt'] = 'Digitaler Beleg'; +$string['digital_receipt_subject'] = 'Dies ist Ihr digitaler Beleg von Turnitin.'; +$string['pp_digital_receipt_message'] = 'Sehr geehrte/r {$a->firstname} {$a->lastname},

Sie haben die Datei {$a->submission_title} für die Aufgabe {$a->assignment_name}{$a->assignment_part} in Kurs {$a->course_fullname} am {$a->submission_date} erfolgreich hochgeladen. Ihre Übermittlungs-ID lautet {$a->submission_id}. Ihren vollständigen digitalen Beleg können Sie über die Schaltfläche „Drucken/Download“ in der Dokumentenansicht anzeigen und drucken.

Vielen Dank, dass Sie Turnitin verwenden,

das Turnitin-Team'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin-ID'; +$string['turnitinstatus'] = 'Turnitin-Status'; +$string['pending'] = 'Ausstehend'; +$string['similarity'] = 'Ähnlichkeit'; +$string['notorcapable'] = 'Für diese Datei lässt sich kein Echtheitsbericht erstellen.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Der Student hat die Arbeit aufgerufen über:'; +$string['student_notread'] = 'Der Student hat die Arbeit nicht aufgerufen.'; +$string['launchpeermarkreviews'] = 'PeerMark-Reviews starten'; + +// Cron +$string['ppqueuesize'] = 'Anzahl der Ereignisse in der Ereigniswarteschlange des Plugin zur Plagiarismuserkennung'; +$string['ppcronsubmissionlimitreached'] = 'Von diesem Cron-Ausdruck werden keine weiteren Übermittlungen mehr an Turnitin gesendet, da nur {$a} pro Ausführung verarbeitet werden.'; +$string['cronsubmittedsuccessfully'] = 'Übermittlung: {$a->title} (TII-ID: {$a->submissionid}) für die Aufgabe {$a->assignmentname} in Kurs {$a->coursename} wurde erfolgreich an Turnitin übermittelt.'; +$string['pp_submission_error'] = 'Turnitin hat einen Fehler für Ihre Übermittlung zurückgegeben:'; +$string['turnitindeletionerror'] = 'Die Löschung der Turnitin-Übermittlung ist fehlgeschlagen. Die lokale Moodle-Kopie wurde entfernt, die Übermittlung bei Turnitin konnte jedoch nicht gelöscht werden.'; +$string['ppeventsfailedconnection'] = 'In dieser Cron-Ausführung werden vom Turnitin-Plugin zur Plagiarismuserkennung keine Ereignisse verarbeitet, da keine Verbindung mit Turnitin hergestellt werden kann.'; + +// Error codes +$string['tii_submission_failure'] = 'Weitere Informationen erhalten Sie von Ihrem Tutor oder dem Systemadministrator.'; +$string['faultcode'] = 'Fehlercode'; +$string['line'] = 'Linie'; +$string['message'] = 'Nachricht'; +$string['code'] = 'Code'; +$string['tiisubmissionsgeterror'] = 'Beim Versuch, von Turnitin Übermittlungen zu dieser Aufgabe abzurufen, ist ein Fehler aufgetreten.'; +$string['errorcode0'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; +$string['errorcode1'] = 'Diese Datei wurde nicht an Turnitin gesendet, da sie nicht genügend Inhalt zum Erstellen eines Echtheitsberichts enthält.'; +$string['errorcode2'] = 'Diese Datei wird nicht an Turnitin übermittelt, da sie die maximal zulässige Größe von {$a} überschreitet.'; +$string['errorcode3'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da der Benutzer die Endbenutzer-Lizenzvereinbarung nicht akzeptiert hat.'; +$string['errorcode4'] = 'Sie müssen einen unterstützten Dateityp für diese Aufgabe hochladen. Folgende Dateitypen werden akzeptiert: DOC, DOCX, PPT, PPTX, PPS, PPSX, PDF, TXT, HTM, HTML, HWP, ODT, WPD, PS und RTF.'; +$string['errorcode5'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Moduls in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode6'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Bearbeiten der Moduleinstellungen in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode7'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Benutzers in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode8'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen der temporären Datei ein Problem aufgetreten ist. Die wahrscheinlichste Ursache ist ein ungültiger Dateiname. Benennen Sie die Datei um, und laden Sie sie mit der Option zum Bearbeiten von Übermittlungen erneut hoch.'; +$string['errorcode9'] = 'Die Datei kann nicht übermittelt werden, da im Dateipool kein zugänglicher Inhalt für eine Übermittlung vorhanden ist.'; +$string['coursegeterror'] = 'Kursdaten konnten nicht abgerufen werden.'; +$string['configureerror'] = 'Sie müssen dieses Modul vollständig als Administrator konfigurieren, um es in einem Kurs benutzen zu können. Wenden Sie sich an Ihren Moodle-Administrator.'; +$string['turnitintoolofflineerror'] = 'Es ist ein vorübergehendes Problem aufgetreten. Bitte versuchen Sie es später erneut.'; +$string['defaultinserterror'] = 'Beim Einfügen einer Standardwerteinstellung in die Datenbank ist ein Fehler eingetreten.'; +$string['defaultupdateerror'] = 'Beim Aktualisieren einer Standardwerteinstellung in der Datenbank ist ein Fehler eingetreten.'; +$string['tiiassignmentgeterror'] = 'Beim Versuch, eine Aufgabe von Turnitin abzurufen, ist ein Fehler aufgetreten.'; +$string['assigngeterror'] = 'Daten für turnitintooltwo konnten nicht aufgerufen werden.'; +$string['classupdateerror'] = 'Daten des Turnitin-Kurses konnten nicht aktualisiert werden.'; +$string['pp_createsubmissionerror'] = 'Beim Versuch, eine Übermittlung zu Turnitin einzurichten, ist ein Fehler aufgetreten.'; +$string['pp_updatesubmissionerror'] = 'Beim Versuch, Ihre Übermittlung zu Turnitin erneut vorzunehmen, ist ein Fehler aufgetreten.'; +$string['tiisubmissiongeterror'] = 'Beim Versuch, eine Übermittlung vom Turnitin zu erhalten, ist ein Fehler aufgetreten.'; + +// Javascript +$string['closebutton'] = 'Schließen'; +$string['loadingdv'] = 'Turnitin-Dokumentenansicht wird geladen...'; +$string['changerubricwarning'] = 'Durch das Ändern oder Entfernen einer Rubrik werden alle vorhandenen Rubrikbewertungen der Arbeiten zu dieser Aufgabe entfernt, einschließlich ausgefüllter Bewertungskarten. Gesamtnoten für zuvor bewertete Arbeiten bleiben erhalten.'; +$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin-Status'; +$string['deleted'] = 'Gelöscht'; +$string['pending'] = 'Ausstehend'; +$string['because'] = 'Ursache: Ein Administrator hat die ausstehende Aufgabe aus der Verarbeitungswarteschlange gelöscht und die Übermittlung an Turnitin abgebrochen.
Die Datei ist weiterhin in Moodle vorhanden; wenden Sie sich an die zuständige Lehrkraft.
Fehlercodes siehe unten:'; diff --git a/lang/es/plagiarism_turnitin.php b/lang/es/plagiarism_turnitin.php new file mode 100755 index 00000000..bdf18885 --- /dev/null +++ b/lang/es/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Habilitar Turnitin'; +$string['excludebiblio'] = 'Excluir bibliografía'; +$string['excludequoted'] = 'Excluir citas bibliográficas'; +$string['excludevalue'] = 'Excluir coincidencias pequeñas'; +$string['excludewords'] = 'Palabras'; +$string['excludepercent'] = 'Porcentaje'; +$string['norubric'] = 'Sin matriz de evaluación'; +$string['otherrubric'] = 'Utilizar la matriz de evaluación de otro profesor'; +$string['attachrubric'] = 'Adjuntar una matriz de evaluación a este ejercicio'; +$string['launchrubricmanager'] = 'Iniciar el administrador de matrices de evaluación'; +$string['attachrubricnote'] = 'Nota: Los estudiantes podrán ver las matrices de evaluación adjuntas y su contenido, antes de realizar la entrega.'; +$string['erater_handbook_advanced'] = 'Avanzado'; +$string['erater_handbook_highschool'] = 'Instituto de Bachillerato'; +$string['erater_handbook_middleschool'] = 'Instituto de Educación Secundaria'; +$string['erater_handbook_elementary'] = 'Escuela Primaria'; +$string['erater_handbook_learners'] = 'Aprendices de inglés'; +$string['erater_dictionary_enus'] = 'Diccionario inglés (Estados Unidos)'; +$string['erater_dictionary_engb'] = 'Diccionario inglés (Reino Unido)'; +$string['erater_dictionary_en'] = 'Diccionarios inglés (Estados Unidos y Reino Unido)'; +$string['erater'] = 'Habilitar la revisión de ortografía de e-rater'; +$string['erater_handbook'] = 'Manual de ETS©'; +$string['erater_dictionary'] = 'Diccionario e-rater'; +$string['erater_categories'] = 'Categorías e-rater'; +$string['erater_spelling'] = 'Ortografía'; +$string['erater_grammar'] = 'Gramática'; +$string['erater_usage'] = 'Uso'; +$string['erater_mechanics'] = 'Mecánica'; +$string['erater_style'] = 'Estilo'; +$string['anonblindmarkingnote'] = 'Nota: Se ha eliminado la configuración de comentarios anónimos de Turnitin. Turnitin utilizará la configuración de comentarios anónimos de Moodle para establecer la configuración de comentarios anónimos.'; +$string['transmatch'] = 'Coincidencias traducidas'; +$string['genduedate'] = 'Generar reportes en la fecha límite de entrega (las segundas entregas se permiten hasta la fecha límite de entrega)'; +$string['genimmediately1'] = 'Generar informes inmediatamente (no se permiten segundas entregas)'; +$string['genimmediately2'] = 'Generar informes inmediatamente (se permitirán segundas entregas hasta la fecha de entrega)'; +$string['launchquickmarkmanager'] = 'Activar el administrador de Quickmark'; +$string['launchpeermarkmanager'] = 'Activar el administrador de Peermark'; +$string['studentreports'] = 'Mostrar los reportes de originalidad a los estudiantes'; +$string['studentreports_help'] = 'Permite mostrar los Informes de Originalidad Turnitin a los estudiantes usuarios. Si está configurado a Sí, el Informe de Originalidad generado por Turnitin estará disponible para ser visto por el estudiante.'; +$string['submitondraft'] = 'Entregar el archivo en cuanto esté cargado'; +$string['submitonfinal'] = 'Entregar el archivo cuando el estudiantes lo envía para su corrección'; +$string['draftsubmit'] = '¿Cuándo debe entregarse el archivo a Turnitin?'; +$string['allownonor'] = '¿Permitir la entrega de cualquier tipo de archivo?'; +$string['allownonor_help'] = 'Esta configuración permitirá que se entregue cualquier tipo de archivo. Con esta opción seleccionada en "Sí", se comprobará la originalidad de las entregas siempre que sea posible, estas estarán disponibles para descargar y las herramientas de comentarios de GradeMark estarán disponibles siempre que sea posible.'; +$string['norepository'] = 'No hay depósitos'; +$string['standardrepository'] = 'Depósito estándar'; +$string['submitpapersto'] = 'Almacenar trabajos del estudiante'; +$string['institutionalrepository'] = 'Depósito institucional (cuando existe)'; +$string['submitpapersto_help'] = 'Esta opción proporciona a los profesores la alternativa de decidir si los trabajos deben guardarse en un depósito de trabajos de estudiantes de Turnitin. El beneficio de entregar trabajos al depósito de trabajos de estudiantes es que los trabajos que se entreguen al ejercicio se compararán con las entregas de otros estudiantes 'dentro de tus clases, antiguas y actuales. Si seleccionas "sin depósito", los trabajos de tus estudiantes' no se guardarán en el depósito de trabajos de estudiantes de Turnitin.'; +$string['checkagainstnote'] = 'Nota: Si no seleccionas “Sí†en al menos una de las opciones de “Comparar con...†que se encuentran más abajo, NO se generará el reporte de originalidad.'; +$string['spapercheck'] = 'Comparar con trabajos almacenados de estudiantes'; +$string['internetcheck'] = 'Comparar con Internet'; +$string['journalcheck'] = 'Comparar con diarios,
revistas y otras publicaciones'; +$string['compareinstitution'] = 'Comparar los archivos entregados con los trabajos entregados dentro de esta institución'; +$string['reportgenspeed'] = 'Rapidez de generación del reporte'; +$string['genspeednote'] = 'Nota: La generación del reporte de originalidad en el caso de segundas entregas está condicionada por un retraso de veinticuatro horas.'; +$string['locked_message'] = 'Mensaje bloqueado'; +$string['locked_message_help'] = 'Si cualquier configuración está bloqueada, se muestra este mensaje para indicar el motivo.'; +$string['locked_message_default'] = 'Esta configuración está bloqueada en el nivel del sitio.'; +$string['sharedrubric'] = 'Matriz de evaluación compartida'; +$string['turnitinrefreshsubmissions'] = 'Actualizar entregas'; +$string['turnitinrefreshingsubmissions'] = 'Actualizando entregas'; +$string['turnitinppulapre'] = 'Para poder enviar un archivo a Turnitin primero debes aceptar nuestro acuerdo de licencia de software. Si eliges no aceptar dicha licencia se enviará el archivo a Moodle únicamente. Haz clic aquí para aceptar.'; +$string['noscriptula'] = '(Como no tienes javascript habilitado, tendrás que actualizar manualmente esta página antes de poder realizar una entrega después de aceptar el acuerdo de usuario de Turnitin)'; +$string['filedoesnotexist'] = 'El archivo ha sido eliminado'; + +// Plugin settings +$string['config'] = 'Configuración'; +$string['defaults'] = 'Configuración predeterminada'; +$string['showusage'] = 'Mostrar volcado de datos'; +$string['saveusage'] = 'Guardar volcado de datos'; +$string['errors'] = 'Errores'; +$string['turnitinconfig'] = 'Configuración del plugin de plagio de Turnitin'; +$string['tiiexplain'] = 'Turnitin es un producto comercial y debes estar suscrito para utilizar el servicio. Para obtener más información visita http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Habilitar Turnitin'; +$string['useturnitin_mod'] = 'Habilitar Turnitin para {$a}'; +$string['pp_configuredesc'] = 'Debes configurar este módulo dentro del módulo de turnitintooltwo. Haz clic aquí para configurar este plugin'; +$string['turnitindefaults'] = 'Configuración predeterminada del plugin de plagio de Turnitin'; +$string['defaultsdesc'] = 'Los siguientes son los ajustes predeterminados cuando se habilita Turnitin dentro de un módulo de actividad'; +$string['turnitinpluginsettings'] = 'Configuración del plugin de plagio de Turnitin'; +$string['pperrorsdesc'] = 'Ha ocurrido un problema al intentar cargar en Turnitin los archivos que se detallan a continuación. Para volver a entregar, seleccione los archivos que deseas cargar y presiona el botón para volver a entregar. Así, los archivos podrán ser procesados la próxima vez que se ejecute cron.'; +$string['pperrorssuccess'] = 'Los archivos que seleccionaste han sido entregados de nuevo y serán procesador por cron.'; +$string['pperrorsfail'] = 'Hubo un problema con algunos de los archivos seleccionados. No se pudo crear un nuevo evento de cron para ellos.'; +$string['resubmitselected'] = 'Volver a entregar archivos seleccionados'; +$string['deleteconfirm'] = '¿Estás seguro de que quieres eliminar esta entrega?\n\nEsta acción no puede deshacerse.'; +$string['deletesubmission'] = 'Eliminar entrega'; +$string['semptytable'] = 'No se han encontrado resultados.'; +$string['configupdated'] = 'Configuración actualizada'; +$string['defaultupdated'] = 'Las opciones predeterminadas de Turnitin se han actualizado'; +$string['notavailableyet'] = 'No está disponible'; +$string['resubmittoturnitin'] = 'Volver a entregar a Turnitin'; +$string['resubmitting'] = 'Volver a entregar'; +$string['id'] = 'Identificador'; +$string['student'] = 'Estudiante'; +$string['course'] = 'Curso'; +$string['module'] = 'Módulo'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Ver el reporte de originalidad'; +$string['launchrubricview'] = 'Ver la matriz de evaluación que se ha usado para corregir'; +$string['turnitinppulapost'] = 'El archivo no ha sido entregado a Turnitin. Haz clic aquí para aceptar el acuerdo de licencia de software.'; +$string['ppsubmissionerrorseelogs'] = 'Este archivo no se ha entregado a Turnitin. Consulta con el administrador del sistema'; +$string['ppsubmissionerrorstudent'] = 'Este archivo no se ha entregado a Turnitin. Consulta con tu tutor para obtener más detalles'; + +// Receipts +$string['messageprovider:submission'] = 'Notificaciones con recibo digital del plugin de plagio de Turnitin'; +$string['digitalreceipt'] = 'Recibo digital'; +$string['digital_receipt_subject'] = 'Este es su recibo digital de Turnitin'; +$string['pp_digital_receipt_message'] = 'Estimado {$a->firstname} {$a->lastname}:

Ha enviado correctamente el archivo {$a->submission_title} para el trabajo {$a->assignment_name}{$a->assignment_part} de la clase {$a->course_fullname} en {$a->submission_date}. El código de identificación de la entrega es {$a->submission_id}. El recibo digital completo está disponible para ser visto e impreso mediante el botón imprimir/descargar que se encuentra en el visor de documentos.

Gracias por utilizar Turnitin,

El equipo de Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'Identificador de Turnitin'; +$string['turnitinstatus'] = 'Estado de Turnitin'; +$string['pending'] = 'Pendiente'; +$string['similarity'] = 'Similitud'; +$string['notorcapable'] = 'No es posible producir un reporte de originalidad para este archivo.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'El estudiante ha visto este trabajo el:'; +$string['student_notread'] = 'El estudiante no ha visto este trabajo.'; +$string['launchpeermarkreviews'] = 'Activar las revisiones de Peermark'; + +// Cron +$string['ppqueuesize'] = 'Cantidad de eventos en la lista de eventos del plugin de plagio'; +$string['ppcronsubmissionlimitreached'] = 'No se enviarán otras entregas a Turnitin mediante esta ejecución de cron, ya que solamente se procesan {$a} por cada ejecución'; +$string['cronsubmittedsuccessfully'] = 'Entrega: {$a->title} (ID de TII: {$a->submissionid}) para el trabajo {$a->assignmentname} del curso {$a->coursename} se entregó correctamente a Turnitin.'; +$string['pp_submission_error'] = 'Turnitin muestra un error con su entrega:'; +$string['turnitindeletionerror'] = 'La eliminación de la entrega a Turnitin ha fallado. La copia local de Moodle ha sido eliminada, pero la entrega a Turnitin no.'; +$string['ppeventsfailedconnection'] = 'No se procesarán eventos mediante el plugin de plagio de Turnitin que se lleva a cabo mediante esta ejecución de cron, debido a que no puede establecerse una conexión con Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'Consulta con tu tutor o administrador para obtener más detalles'; +$string['faultcode'] = 'Código de errores'; +$string['line'] = 'Línea'; +$string['message'] = 'Mensaje'; +$string['code'] = 'Código'; +$string['tiisubmissionsgeterror'] = 'Ha ocurrido un error al intentar obtener entregas de este ejercicio de Turnitin'; +$string['errorcode0'] = 'Este archivo no se ha entregado a Turnitin. Consulta con el administrador del sistema'; +$string['errorcode1'] = 'Este archivo no ha sido enviado a Turnitin dado que no tiene suficiente contenido como para generar un reporte de originalidad.'; +$string['errorcode2'] = 'Este archivo no se entregará a Turnitin, ya que excede el tamaño máximo de {$a}permitido'; +$string['errorcode3'] = 'Este archivo no se ha entregado a Turnitin porque el usuario no ha aceptado el acuerdo de licencia del usuario final de Turnitin'; +$string['errorcode4'] = 'Debe cargar un tipo de archivo compatible para este ejercicio. Los tipos de archivo admitidos son: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps y .rtf'; +$string['errorcode5'] = 'Este archivo no se ha entregado a Turnitin porque hay un problema al crear el módulo en Turnitin que impide las entregas, consulta los registros de tu API para obtener más información'; +$string['errorcode6'] = 'Este archivo no se ha entregado a Turnitin porque hay un problema al editar la configuración del módulo en Turnitin que impide las entregas, consulta los registros de tu API para obtener más información'; +$string['errorcode7'] = 'Este archivo no se ha entregado a Turnitin porque hay un problema al crear el usuario en Turnitin que impide las entregas, consulta los registros de tu API para obtener más información'; +$string['errorcode8'] = 'Este archivo no se ha entregado a Turnitin porque existe un problema al crear el archivo temp. La causa más probable es que el nombre del archivo no sea válido. Cambia el nombre del archivo y repite la carga con Editar entrega.'; +$string['errorcode9'] = 'El archivo no puede entregarse, ya que no existe contenido accesible en el grupo de archivos por entregar.'; +$string['coursegeterror'] = 'No se pudieron obtener datos del curso'; +$string['configureerror'] = 'Debes configurar este módulo completamente como administrador antes de usarlo dentro de un curso. Ponte en contacto con tu administrador de Moodle.'; +$string['turnitintoolofflineerror'] = 'Estamos experimentando un problema temporal. Vuelve a intentarlo más tarde.'; +$string['defaultinserterror'] = 'Ha ocurrido un error al intentar insertar un ajuste predeterminado en la base de datos'; +$string['defaultupdateerror'] = 'Ha ocurrido un error al intentar actualizar un ajuste predeterminado en la base de datos'; +$string['tiiassignmentgeterror'] = 'Ha ocurrido un error al intentar obtener un ejercicio de Turnitin'; +$string['assigngeterror'] = 'No se han podido obtener los datos de turnitintooltwo'; +$string['classupdateerror'] = 'No se pudieron actualizar los datos de la clase de Turnitin'; +$string['pp_createsubmissionerror'] = 'Ha ocurrido un error al intentar crear la entrega en Turnitin'; +$string['pp_updatesubmissionerror'] = 'Ha ocurrido un error al intentar entregar de nuevo tu entrega en Turnitin'; +$string['tiisubmissiongeterror'] = 'Ha ocurrido un error al intentar obtener una entrega de Turnitin'; + +// Javascript +$string['closebutton'] = 'Cerrar'; +$string['loadingdv'] = 'Cargando el visor de documentos de Turnitin...'; +$string['changerubricwarning'] = 'Cambiar o desvincular una matriz de evaluación eliminará todas las correcciones existentes de los trabajos de este ejercicio, incluidas las que ya se han utilizado. Las notas generales de otros trabajos corregidos anteriormente se mantendrán.'; +$string['messageprovider:submission'] = 'Notificaciones con recibo digital del plugin de plagio de Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Estado de Turnitin'; +$string['deleted'] = 'Eliminado'; +$string['pending'] = 'Pendiente'; +$string['because'] = 'Se debe a que un administrador eliminó el ejercicio pendiente de la lista de procesamiento y abortó la entrega a Turnitin.
El archivo aún existe en Moodle, póngase en contacto con su instructor.
Vea los detalles a continuación para identificar los códigos de errores:'; diff --git a/lang/fi/plagiarism_turnitin.php b/lang/fi/plagiarism_turnitin.php new file mode 100755 index 00000000..e9e1e1eb --- /dev/null +++ b/lang/fi/plagiarism_turnitin.php @@ -0,0 +1,184 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Aktivoi Turnitin'; +$string['excludebiblio'] = 'Jätä kirjallisuusluettelo pois'; +$string['excludequoted'] = 'Sulje Lainaukset Pois'; +$string['excludevalue'] = 'Sulje pois pienet vastineet'; +$string['excludewords'] = 'Sanaa'; +$string['excludepercent'] = 'Prosenttia'; +$string['norubric'] = 'Ei arvostelumatriisia'; +$string['otherrubric'] = 'Käytä toiselle ohjaajalle kuuluvaa arvostelumatriisia'; +$string['attachrubric'] = 'Liitä tähän tehtävään arvostelumatriisi'; +$string['launchrubricmanager'] = 'Käynnistä Arvostelumatriisin Hallitsija'; +$string['attachrubricnote'] = 'Huomaa: opiskelijat pystyvät näkemään liitetyt arvostelumatriisit ja niiden sisällön ennen palautusta.'; +$string['erater_handbook_advanced'] = 'Lisäasetukset'; +$string['erater_handbook_highschool'] = 'Lukio'; +$string['erater_handbook_middleschool'] = 'Ylä-aste'; +$string['erater_handbook_elementary'] = 'Ala-aste'; +$string['erater_handbook_learners'] = 'Englannin kielen Oppijat'; +$string['erater_dictionary_enus'] = 'USA:n englannin Sanakirja'; +$string['erater_dictionary_engb'] = 'Brittiläisen englannin Sanakirja'; +$string['erater_dictionary_en'] = 'Sekä Amerikan että Brittiläisen englannin Sanakirjat'; +$string['erater'] = 'Aktivoi e-rater oikeinkirjoituksen tarkistus'; +$string['erater_handbook'] = 'ETS© Käsikirja'; +$string['erater_dictionary'] = 'e-rater Sanakirja'; +$string['erater_categories'] = 'e-rater Kategoriat'; +$string['erater_spelling'] = 'Oikeinkirjoitus'; +$string['erater_grammar'] = 'Kielioppi'; +$string['erater_usage'] = 'Käyttö'; +$string['erater_mechanics'] = 'Mekaniikka'; +$string['erater_style'] = 'Tyyli'; +$string['anonblindmarkingnote'] = 'Huomautus: Erillinen Turnitinin nimetön merkintäasetus on poistettu. Turnitin käyttää Moodlen sokkomerkintäasetusta nimettömän merkintäasetuksen määrityksessä.'; +$string['transmatch'] = 'Käännetty Vertailu'; +$string['genduedate'] = 'Luo raportit eräpäivänä (uudelleenpalautukset on sallittu eräpäivään asti)'; +$string['genimmediately1'] = 'Luo raportit heti (uudelleenpalautukset eivät ole sallittuja)'; +$string['genimmediately2'] = 'Luo raportit heti (uudelleenpalautukset ovat sallittuja eräpäivään asti)'; +$string['launchquickmarkmanager'] = 'Käynnistä Quickmark Hallitsija'; +$string['launchpeermarkmanager'] = 'Käynnistä Peermark Hallitsija'; +$string['studentreports'] = 'Näytä Alkuperäisyysraportit Opiskelijoille'; +$string['studentreports_help'] = 'Sallii sinun näyttää opiskelija-käyttäjille Turnitinin Alkuperäisyysraportteja. Mikäli asetus on kyllä, tulevat +Turnitinin kehittämät alkuperäisyysraportit olemaan opiskelijan nähtävissä.'; +$string['submitondraft'] = 'Palauta tiedosto ensimmäisen siirron yhteydessä'; +$string['submitonfinal'] = 'Palauta tiedosto, kun opiskelija lähettää sen merkintää varten'; +$string['draftsubmit'] = 'Milloin tiedosto pitää palauttaa Turnitiniin?'; +$string['allownonor'] = 'Salli palautus missä tahansa tiedostoformaatissa?'; +$string['allownonor_help'] = 'Tämä asetus sallii minkä tahansa tiedostosformaatin palautuksen. Kun tämä vaihtoehto on asetettu asentoon "Kyllä", tullaan palautusten alkuperäisyys tarkistamaan missä se on mahdollista, palautukset voidaan ladata palvelimelta ja GradeMark-palautetyökalut ovat käytettävissä missä se on mahdollista.'; +$string['norepository'] = 'Ei Arkistoa'; +$string['standardrepository'] = 'Vakioarkisto'; +$string['submitpapersto'] = 'Varastoi Opiskelijatyöt'; +$string['institutionalrepository'] = 'Laitoskohtainen Arkisto (Mikäli Soveltuu)'; +$string['submitpapersto_help'] = 'Tällä asetuksella ohjaajat voivat valita tullaanko työt varastoimaan Turnitinin opiskelijatöiden arkistoon. Etu töiden opiskelijatöiden arkistoon lähettämisessä on se, että palautetut opiskelijatyöt tullaan tarkistamaan muiden opiskelijoiden palautuksia vastaan sekä nykyisten että entisten luokkiesi kesken. Jos valitset "ei arkistoa", ei opiskelijoittesi töitä tulla varastoimaan Turnitinin opiskelijatöiden arkistoon.'; +$string['checkagainstnote'] = 'Huomautus: Jos et valitse "Kyllä" vähintään yhdessä â€Tarkista... vastaan" -kohdassa alla, Alkuperäisyysraporttia EI luoda.'; +$string['spapercheck'] = 'Tarkista varastoituja opiskelijatöitä vastaan'; +$string['internetcheck'] = 'Tarkista Internetiä vastaan'; +$string['journalcheck'] = 'Tarkista sanomalehtiä,
aikakauslehtiä ja julkaisuja vastaan'; +$string['compareinstitution'] = 'Vertaa palautettuja tiedostoja tämän oppilaitoksen sisällä palautettuihin töihin'; +$string['reportgenspeed'] = 'Raportin Kehittämisnopeus'; +$string['genspeednote'] = 'Huomautus: Alkuperäisyysraportin luonnissa on 24 tunnin viive uudelleenpalautusten kohdalla.'; +$string['locked_message'] = 'Lukittu viesti'; +$string['locked_message_help'] = 'Jos jokin asetus on lukittu, tämä sanoma ilmaisee syyn.'; +$string['locked_message_default'] = 'Tämä asetus on lukittu sivustotasolla.'; +$string['sharedrubric'] = 'Jaettu Arvostelumatriisi'; +$string['turnitinrefreshsubmissions'] = 'Päivitä Palautukset'; +$string['turnitinrefreshingsubmissions'] = 'Palautusten Päivitys'; +$string['turnitinppulapre'] = 'Jotta voit palauttaa tiedoston Turnitiniin, sinun täytyy ensin hyväksyä käyttöoikeussopimuksemme. Jos et hyväksy käyttöoikeussopimustamme, tiedostosi palautetaan vain Moodleen. Hyväksy napsauttamalla tätä.'; +$string['noscriptula'] = '(Joudut päivittämään tämän sivun manuaalisesti, koska sinulla ei ole JavaScriptiä käytössä, ennenkuin voit, -Turnitinin Käyttäjäsopimuksen hyväksymisen jälkeen, tehdä palautuksen)'; +$string['filedoesnotexist'] = 'Tiedosto on hävitetty'; + +// Plugin settings +$string['config'] = 'Konfiguraatio'; +$string['defaults'] = 'Oletusarvoiset asetukset'; +$string['showusage'] = 'Näytä Data Dump'; +$string['saveusage'] = 'Tallenna Data Dump'; +$string['errors'] = 'Virheitä'; +$string['turnitinconfig'] = 'Turnitin Plagiointi Plugin-lisäosan konfigurointi'; +$string['tiiexplain'] = 'Turnitin on kaupallinen tuote, ja sinulla pitää olla maksettu tilaus voidaksesi käyttää tätä palvelua. Lisätietoja saat täältä: http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Aktivoi Turnitin'; +$string['useturnitin_mod'] = 'Aktivoi Turnitin {$a}'; +$string['pp_configuredesc'] = 'Sinun täytyy konfiguroida tämä moduuli turnitintooltwo-moduulissa. Voit konfiguroida tämän plugin-laajennuksen napsauttamalla tätä'; +$string['turnitindefaults'] = 'Turnitin plagiarismi plugin-laajennuksen oletusasetukset'; +$string['defaultsdesc'] = 'Seuraavat asetukset ovat oletusarvot silloin kun Turnitin on aktivoitu Toimintamoduulin sisällä'; +$string['turnitinpluginsettings'] = 'Turnitin plagiarismi plugin-laajennuksen asetukset'; +$string['pperrorsdesc'] = 'Seuraavien tiedostojen siirrossa Turnitiniin ilmeni ongelma. Voit yrittää palautusta uudelleen valitsemalla haluamasi tiedostot ja painamalla Palauta uudelleen -painiketta. Tiedostot käsitellään, kun cron suoritetaan seuraavan kerran.'; +$string['pperrorssuccess'] = 'Valitsemasi tiedostot on palautettu uudelleen, ja cron käsittelee ne.'; +$string['pperrorsfail'] = 'Joidenkin valitsemiesi tiedostojen kohdalla on ilmennyt ongelma. Niille ei voitu luoda uutta cron-tapahtumaa.'; +$string['resubmitselected'] = 'Palauta valitut tiedostot uudelleen'; +$string['deleteconfirm'] = 'Oletko varma, että haluat poistaa tämän palautuksen?\n\nTätä toimintoa ei voi peruuttaa.'; +$string['deletesubmission'] = 'Poista Palautus'; +$string['semptytable'] = 'Tuloksia ei löytynyt.'; +$string['configupdated'] = 'Konfigurointi päivitetty'; +$string['defaultupdated'] = 'Turnitin oletusarvot päivitetty'; +$string['notavailableyet'] = 'Ei saatavilla'; +$string['resubmittoturnitin'] = 'Palauta uudelleen Turnitiniin'; +$string['resubmitting'] = 'Palautetaan uudelleen'; +$string['id'] = 'tunnus'; +$string['student'] = 'Opiskelija'; +$string['course'] = 'Kurssi'; +$string['module'] = 'Moduuli'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Katsele Alkuperäisyysraporttia'; +$string['launchrubricview'] = 'Katsele merkintään käytettyä Arvostelumatriisia'; +$string['turnitinppulapost'] = 'Tiedostoasi ei ole toimitettu Turnitiniin. Hyväksy käyttöoikeussopimuksemme napsauttamalla tätä.'; +$string['ppsubmissionerrorseelogs'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin. Kysyä neuvoa järjestelmäsi ylläpitäjältä'; +$string['ppsubmissionerrorstudent'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin. Pyydä lisätietoja tuutoriltasi.'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin Plagiointi Plugin-lisäosa Sähköinen Kuitti ilmoitukset'; +$string['digitalreceipt'] = 'Sähköinen Kuitti'; +$string['digital_receipt_subject'] = 'Tämä on sähköinen Turnitin-kuittisi'; +$string['pp_digital_receipt_message'] = 'Hyvä {$a->firstname} {$a->lastname}!

Olet palauttanut tiedoston {$a->submission_title} tehtävään {$a->assignment_name}{$a->assignment_part} luokassa {$a->course_fullname} {$a->submission_date}. Palautustunnus on {$a->submission_id}. Voit tarkastella sähköistä kuittiasi tai tulostaa sen Dokumenttikatselimen tulosta/lataa-painikkeella.

Kiitos, että käytät Turnitinia.

Turnitin-tiimi'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin-tunnusluku'; +$string['turnitinstatus'] = 'Turnitin-tila'; +$string['pending'] = 'Avoin'; +$string['similarity'] = 'Yhtäläisyys'; +$string['notorcapable'] = 'Alkuperäisyysraportin kehittäminen tälle tiedostolle on mahdotonta.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Opiskelija katsoi työtä:'; +$string['student_notread'] = 'Opiskelija ei ole katsonut tätä työtä.'; +$string['launchpeermarkreviews'] = 'Käynnistä Peermark Katselmukset'; + +// Cron +$string['ppqueuesize'] = 'Tapahtumien määrä Plagiointi Plugin-lisäosan tapahtumajonossa'; +$string['ppcronsubmissionlimitreached'] = 'Tämä cron-suoritus ei lähetä muita palautuksia Turnitiniin, sillä kerralla käsitellään vain {$a}'; +$string['cronsubmittedsuccessfully'] = 'Palautus: {$a->title} (TII-tunnus: {$a->submissionid}) tehtävään {$a->assignmentname} kurssilla {$a->coursename} palautettiin Turnitiniin.'; +$string['pp_submission_error'] = 'Turnitin ilmoitti virheestä palautuksessa:'; +$string['turnitindeletionerror'] = 'Turnitiniin tehdyn palautuksen poisto epäonnistui. Paikallinen Moodle-kopio poistettiin, mutta Turnitiniin tehdyn palautuksen poisto ei onnistunut.'; +$string['ppeventsfailedconnection'] = 'Turnitin Plagiointi Plugin-lisäosa ei käsittele tapahtumia tässä cron-suorituksessa, sillä yhteyttä Turnitiniin ei voida muodostaa.'; + +// Error codes +$string['tii_submission_failure'] = 'Kysy lisätietoja tutoriltasi tai järjestelmäsi ylläpitäjältä'; +$string['faultcode'] = 'Vikakoodi'; +$string['line'] = 'Rivi'; +$string['message'] = 'Viesti'; +$string['code'] = 'Koodi'; +$string['tiisubmissionsgeterror'] = 'Kun tähän tehtävään palautettuja töitä yritettiin saadaTurnitinistä, kohdattiin virhe'; +$string['errorcode0'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin. Kysyä neuvoa järjestelmäsi ylläpitäjältä'; +$string['errorcode1'] = 'Tätä tiedostoa ei ole lähetetty Turnitiniin, sillä tiedostossa ei ole riittävästi sisältöä, jotta Alkuperäisyysraportti voitaisiin luoda.'; +$string['errorcode2'] = 'Tätä tiedostoa ei voi toimittaa Turnitiniin, koska se ylittää sallitun enimmäiskoon {$a}'; +$string['errorcode3'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin, koska käyttäjä ei ole hyväksynyt Turnitinin loppukäyttäjän lisenssisopimusta.'; +$string['errorcode4'] = 'Tätä tehtävää varten on palautettava tuettu tiedostotyyppi. Sallitut tiedostotyypit: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps ja .rtf'; +$string['errorcode5'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin, koska Turnitinin moduulin luontiongelma estää palautukset. Lisätietoja on API-lokeissa'; +$string['errorcode6'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin, koska Turnitinin moduuliasetusten muokkausongelma estää palautukset. Lisätietoja on API-lokeissa'; +$string['errorcode7'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin, koska Turnitinin käyttäjän luontiongelma estää palautukset. Lisätietoja on API-lokeissa'; +$string['errorcode8'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin, koska tilapäistiedoston luonnissa on ongelma. Todennäköisin syy on virheellinen tiedostonimi. Vaihda tiedoston nimi ja tee siirto uudelleen Muokkaa Palautusta -toiminnolla.'; +$string['errorcode9'] = 'Tiedostoa ei voi palauttaa, koska tiedostovarannossa ei ole palautettavaa sisältöä.'; +$string['coursegeterror'] = 'Kurssin tietoja ei voitu saada'; +$string['configureerror'] = 'Sinun täytyy konfiguroida tämä moduuli Ylläpitäjänä loppuun asti, ennen kuin käytät sitä kurssin sisällä. Ota yhteys Moodlen ylläpitäjään.'; +$string['turnitintoolofflineerror'] = 'Meillä on väliaikainen pulma. Kokeile taas hetken päästä uudestaan.'; +$string['defaultinserterror'] = 'Kun yritettiin lisätä oletusarvoinen asetus tietokantaan, tapahtui +virhe'; +$string['defaultupdateerror'] = 'Kun yritettiin päivittää oletusarvoinen asetus tietokantaan, tapahtui virhe'; +$string['tiiassignmentgeterror'] = 'Kun tehtävää yritettiin saada Turnitinistä, kohdattiin virhe'; +$string['assigngeterror'] = 'Turnitintyökalukahden tietoja ei saatu'; +$string['classupdateerror'] = 'Turnitin-luokan tietoja ei voitu päivittää'; +$string['pp_createsubmissionerror'] = 'Kun työn palautusta yritettiin luoda Turnitinissä, kohdattiin virhe'; +$string['pp_updatesubmissionerror'] = 'Kun työtäsi yritettiin palauttaa uudelleen Turnitiniin, kohdattiin virhe'; +$string['tiisubmissiongeterror'] = 'Kun palautettua työtä yritettiin saada Turnitinistä, kohdattiin virhe'; + +// Javascript +$string['closebutton'] = 'Sulje'; +$string['loadingdv'] = 'Ladataan Turnitinin Dokumenttikatselinta...'; +$string['changerubricwarning'] = 'Arvostelumatriisin muuttaminen tai irrottaminen poistaa kaiken arvostelumatriisi-arvostelun tämän tehtävän töistä, kuten pistekortit, joihin on aiemmin tehty merkintöjä. Aiemmin arvosteltujen töiden yleisarvosanat jäävät koskematta.'; +$string['messageprovider:submission'] = 'Turnitin Plagiointi Plugin-lisäosa Sähköinen Kuitti ilmoitukset'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin-tila'; +$string['deleted'] = 'Poistettu'; +$string['pending'] = 'Avoin'; +$string['because'] = 'Syynä on se, että ylläpitäjä on poistanut avoimen tehtävän käsittelyjonosta ja keskeyttänyt palautuksen Turnitiniin.
Tiedosto on yhä Moodlessa, joten ota yhteyttä ohjaajaasi.
Mahdolliset virhekoodit löytyvät alta:'; diff --git a/lang/fr/plagiarism_turnitin.php b/lang/fr/plagiarism_turnitin.php new file mode 100755 index 00000000..7f549e9f --- /dev/null +++ b/lang/fr/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Activer Turnitin'; +$string['excludebiblio'] = 'Exclure la bibliographie'; +$string['excludequoted'] = 'Exclure les citations'; +$string['excludevalue'] = 'Exclure les faibles correspondances'; +$string['excludewords'] = 'Mots'; +$string['excludepercent'] = 'Pourcentage'; +$string['norubric'] = 'Aucune rubrique'; +$string['otherrubric'] = 'Utiliser la grille d'évaluation appartenant à un autre enseignant'; +$string['attachrubric'] = 'Joindre une rubrique à cet exercice'; +$string['launchrubricmanager'] = 'Démarrer le Gestionnaire de rubrique'; +$string['attachrubricnote'] = 'Remarque : les étudiants pourront voir les rubriques jointes et leurs contenus avant de soumettre leur devoir.'; +$string['erater_handbook_advanced'] = 'Avancé'; +$string['erater_handbook_highschool'] = 'Lycée'; +$string['erater_handbook_middleschool'] = 'Collège'; +$string['erater_handbook_elementary'] = 'École Primaire'; +$string['erater_handbook_learners'] = 'Étudiants en anglais'; +$string['erater_dictionary_enus'] = 'Dictionnaire anglais (États-Unis)'; +$string['erater_dictionary_engb'] = 'Dictionnaire anglais (Royaume-Uni)'; +$string['erater_dictionary_en'] = 'Dictionnaires anglais (États-Unis et Royaume-Uni)'; +$string['erater'] = 'Activer le correcteur de grammaire e-rater'; +$string['erater_handbook'] = 'Manuel ETS©'; +$string['erater_dictionary'] = 'Dictionnaire e-rater'; +$string['erater_categories'] = 'Catégories e-rater'; +$string['erater_spelling'] = 'Orthographe'; +$string['erater_grammar'] = 'Grammaire'; +$string['erater_usage'] = 'Usage'; +$string['erater_mechanics'] = 'Syntaxe'; +$string['erater_style'] = 'Style'; +$string['anonblindmarkingnote'] = 'Remarque : le paramètre d’annotations anonymes à part de Turnitin a été supprimé. Turnitin utilisera le paramètre d’anonymat des copies de Moodle pour déterminer le paramètre d’annotations anonymes.'; +$string['transmatch'] = 'Traducteur de Similitude'; +$string['genduedate'] = 'Générer les rapports à la date limite (les renvois sont autorisés jusqu’à la date limite)'; +$string['genimmediately1'] = 'Génrer les rapports immédiatement (les re-soumissions ne sont pas autorisées)'; +$string['genimmediately2'] = 'Générer les rapports immédiatement (les re-soumissions sont autorisées jusqu´à la date limite)'; +$string['launchquickmarkmanager'] = 'Démarrer le Gestionnaire Quickmark'; +$string['launchpeermarkmanager'] = 'Démarrer le Gestionnaire Peermark'; +$string['studentreports'] = 'Montrer les rapports d’originalité aux étudiants'; +$string['studentreports_help'] = 'Cette option vous permet d’autoriser les étudiants à voir leur Rapport de Similitude. En sélectionnant Oui, le rapport d’analyse généré par Turnitin sera disponible pour les étudiants.'; +$string['submitondraft'] = 'Soumettre le document une fois qu’il est chargé'; +$string['submitonfinal'] = 'Soumettre le document lorsque l'étudiant l'envoie pour l'évaluation'; +$string['draftsubmit'] = 'Quand le document doit-il être envoyé à Turnitin ?'; +$string['allownonor'] = 'Autoriser les envois de tous types de fichiers ?'; +$string['allownonor_help'] = 'Ce paramètre permet l’envoi de tous types de fichiers. Si cette option est configurée sur "Oui", le système vérifiera l’originalité des documents envoyés, si cela est possible ; les documents envoyés pourront être téléchargés et les outils de commentaires GradeMark seront aussi disponibles, si cela est possible.'; +$string['norepository'] = 'Aucune base de données'; +$string['standardrepository'] = 'Base de données standard'; +$string['submitpapersto'] = 'Conserver les copies des étudiants'; +$string['institutionalrepository'] = 'Base de données de l’établissement (le cas échéant)'; +$string['submitpapersto_help'] = 'Cette option permet aux enseignants de choisir de conserver les travaux des étudiants dans la base de données documentaire des étudiants de Turnitin. L'avantage d’un tel choix de stockage est que les travaux soumis à un exercice seront comparés avec l'ensemble des autres copies envoyées par les étudiants pour vos cours actuels et passés. Si vous sélectionnez "Aucune base de données", les travaux de vos élèves ne seront pas conservés dans la base de données documentaire des étudiants.'; +$string['checkagainstnote'] = 'Remarque : si vous ne sélectionnez pas « Oui » pour au moins une des options « Comparer avec... » ci-dessous, AUCUN rapport d’originalité ne sera généré.'; +$string['spapercheck'] = 'Comparer avec la base de données des copies des étudiants'; +$string['internetcheck'] = 'Comparer avec Internet'; +$string['journalcheck'] = 'Comparer avec les journaux,
les revues et les publications'; +$string['compareinstitution'] = 'Comparer les fichiers envoyés avec les copies soumises à l’établissement'; +$string['reportgenspeed'] = 'Vitesse de traitement du rapport'; +$string['genspeednote'] = 'Remarque : le traitement de rapports d’originalité pour les renvois est soumise à un délai de vingt-quatre heures.'; +$string['locked_message'] = 'Message verrouillé'; +$string['locked_message_help'] = 'Si un paramètre est verrouillé, ce message s’affiche pour expliquer pourquoi.'; +$string['locked_message_default'] = 'Ce paramètre est verrouillé à l’échelle du site'; +$string['sharedrubric'] = 'Rubrique partagée'; +$string['turnitinrefreshsubmissions'] = 'Actualiser les envois'; +$string['turnitinrefreshingsubmissions'] = 'Actualisation des envois'; +$string['turnitinppulapre'] = 'Pour envoyer un fichier à Turnitin, vous devez d’abord accepter notre CLUF. Si vous ne l’acceptez pas, votre fichier ne sera envoyé qu’à Moodle. Cliquez ici pour accepter.'; +$string['noscriptula'] = '(Comme vous n’avez pas JavaScript activé, vous devez manuellement actualiser cette page avant de pouvoir envoyer un document, et ce, après avoir accepté le contrat d’utilisateur de Turnitin)'; +$string['filedoesnotexist'] = 'Le fichier a été supprimé'; + +// Plugin settings +$string['config'] = 'Configuration'; +$string['defaults'] = 'Réglages par défaut'; +$string['showusage'] = 'Affichez le contenu de la base de données'; +$string['saveusage'] = 'Enregistrer le contenu de la base de données'; +$string['errors'] = 'Erreurs'; +$string['turnitinconfig'] = 'Configuration du plugin de plagiat Turnitin'; +$string['tiiexplain'] = 'Turnitin est un produit commercial ; pour utiliser ce service, vous devez l’acheter. Pour plus d’informations, veuillez consulter la page http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Activer Turnitin'; +$string['useturnitin_mod'] = 'Activer Turnitin pour {$a}'; +$string['pp_configuredesc'] = 'Vous devez configurer ce module depuis le module turnitintooltwo. Veuillez cliquer ici pour configurer ce plugin'; +$string['turnitindefaults'] = 'Paramètres par défaut du plugin de plagiat Turnitin'; +$string['defaultsdesc'] = 'Les réglages suivants sont configurés par défaut lorsque Turnitin est activé depuis un Module d’activité'; +$string['turnitinpluginsettings'] = 'Paramètres du plugin de plagiat Turnitin'; +$string['pperrorsdesc'] = 'Un problème est survenu durant le chargement des fichiers ci-dessous vers Turnitin. Pour procéder à un renvoi, sélectionnez les fichiers que vous souhaitez renvoyer et cliquez sur le bouton Renvoyer. Ils seront alors traités durant la prochaine exécution de cron.'; +$string['pperrorssuccess'] = 'Les fichiers sélectionnés ont été renvoyés et seront traités par cron.'; +$string['pperrorsfail'] = 'Un problème est survenu avec certains des fichiers sélectionnés, un nouvel événement cron n’a pas pu être créé pour eux.'; +$string['resubmitselected'] = 'Renvoyer les fichiers sélectionnés'; +$string['deleteconfirm'] = 'Voulez-vous vraiment supprimer cet envoi ?\n\nCette opération ne peut pas être annulée.'; +$string['deletesubmission'] = 'Supprimer cet envoi'; +$string['semptytable'] = 'Aucun résultat trouvé.'; +$string['configupdated'] = 'Configuration mise à jour'; +$string['defaultupdated'] = 'Mise à jour de Turnitin par défaut'; +$string['notavailableyet'] = 'Non disponible'; +$string['resubmittoturnitin'] = 'Renvoyer à Turnitin'; +$string['resubmitting'] = 'Renvoi en cours'; +$string['id'] = 'N°'; +$string['student'] = 'Étudiant'; +$string['course'] = 'Cours'; +$string['module'] = 'Module'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Afficher le rapport d’originalité'; +$string['launchrubricview'] = 'Voir la rubrique utilisée pour corriger'; +$string['turnitinppulapost'] = 'Votre fichier n’a pas été renvoyé à Turnitin. Veuillez cliquer ici pour accepter notre CLUF.'; +$string['ppsubmissionerrorseelogs'] = 'Le fichier n’a pas été envoyé à Turnitin, veuillez consulter votre administrateur système pour plus de renseignements'; +$string['ppsubmissionerrorstudent'] = 'Le fichier n’a pas été envoyé à Turnitin, veuillez consulter votre tuteur pour plus de renseignements'; + +// Receipts +$string['messageprovider:submission'] = 'Notifications d’accusé de réception électronique du plugin de plagiat Turnitin'; +$string['digitalreceipt'] = 'Accusé de réception électronique'; +$string['digital_receipt_subject'] = 'Voici votre accusé de réception électronique Turnitin'; +$string['pp_digital_receipt_message'] = 'Cher(e) {$a->firstname} {$a->lastname},

Vous avez bien envoyé le fichier {$a->submission_title} pour l’exercice {$a->assignment_name}{$a->assignment_part} du cours {$a->course_fullname} le {$a->submission_date}. Votre numéro d’envoi est le {$a->submission_id}. Votre accusé de réception électronique peut être consulté dans son intégralité et imprimé à l’aide du bouton Imprimer/Télécharger dans le Visualiseur de documents.

Merci d’utiliser Turnitin,

L’équipe Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'N° Turnitin'; +$string['turnitinstatus'] = 'Statut de Turnitin'; +$string['pending'] = 'En attente'; +$string['similarity'] = 'Similarité'; +$string['notorcapable'] = 'Impossible de produire un rapport d’originalité pour ce fichier.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'L’étudiant a consulté la copie le :'; +$string['student_notread'] = 'L'étudiant n'a pas consulté cette copie.'; +$string['launchpeermarkreviews'] = 'Démarrer les évaluations Peermark'; + +// Cron +$string['ppqueuesize'] = 'Nombre d’éléments dans la file d’événements du plugin de plagiat'; +$string['ppcronsubmissionlimitreached'] = 'Aucun envoi additionnel ne sera adressé à Turnitin lors de cette exécution de cron, car seulement {$a} éléments sont traités par exécution'; +$string['cronsubmittedsuccessfully'] = 'Envoi : {$a->title} (n° TII : {$a->submissionid}) pour l’exercice {$a->assignmentname} du cours {$a->coursename} a bien été envoyé à Turnitin.'; +$string['pp_submission_error'] = 'Turnitin a renvoyé un message d’erreur pour votre envoi :'; +$string['turnitindeletionerror'] = 'La suppression de la soumission a échoué. La copie locale de Moodle a été supprimée, mais pas l’envoi à Turnitin.'; +$string['ppeventsfailedconnection'] = 'Aucun événement ne sera traité par le plugin de plagiat Turnitin pour cette exécution de cron, car aucune connexion à Turnitin ne peut être établie.'; + +// Error codes +$string['tii_submission_failure'] = 'Veuillez consulter votre tuteur ou l’administrateur système pour plus de détails'; +$string['faultcode'] = 'Code d’erreur'; +$string['line'] = 'Ligne'; +$string['message'] = 'Message'; +$string['code'] = 'Code'; +$string['tiisubmissionsgeterror'] = 'Une erreur est survenue en essayant d’obtenir les travaux envoyés pour cet exercice de Turnitin'; +$string['errorcode0'] = 'Le fichier n’a pas été envoyé à Turnitin, veuillez consulter votre administrateur système pour plus de renseignements'; +$string['errorcode1'] = 'Ce fichier n’a pas été envoyé à Turnitin, car il ne renferme pas suffisamment de contenu pour produire un rapport d’originalité.'; +$string['errorcode2'] = 'Impossible de soumettre ce fichier à Turnitin, car sa taille excède le maximum autorisé de {$a}'; +$string['errorcode3'] = 'Le fichier n’a pas été envoyé à Turnitin, car l’utilisateur n’a pas accepté les termes du contrat d’utilisateur de Turnitin.'; +$string['errorcode4'] = 'Vous devez charger un type de fichier pris en charge pour cet exercice. Les types de fichiers acceptés sont les suivants : .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps et .rtf'; +$string['errorcode5'] = 'Ce fichier n’a pas été envoyé à Turnitin, car un problème survenu lors de la création du module dans Turnitin empêche les envois. Veuillez consulter le journal de votre API pour plus d’informations'; +$string['errorcode6'] = 'Ce fichier n’a pas été envoyé à Turnitin, car un problème survenu lors de la modification des paramètres du module dans Turnitin empêche les envois. Veuillez consulter le journal de votre API pour plus d’informations'; +$string['errorcode7'] = 'Ce fichier n’a pas été envoyé à Turnitin, car un problème survenu lors de la création de l’utilisateur dans Turnitin empêche les envois. Veuillez consulter le journal de votre API pour plus d’informations'; +$string['errorcode8'] = 'Ce fichier n’a pas été envoyé à Turnitin, car un problème est survenu lors de la création du fichier temporaire. La cause la plus probable est un nom de fichier incorrect. Veuillez renommer et renvoyer le fichier avec l’option de modification de l’envoi.'; +$string['errorcode9'] = 'Impossible d’envoyer le fichier, car le pool de fichier ne renferme pas de contenu accessible.'; +$string['coursegeterror'] = 'Impossible d’obtenir les données du cours'; +$string['configureerror'] = 'Vous devez configurer entièrement ce module comme administrateur avant de pouvoir l’utiliser dans un cours. Veuillez contacter votre administrateur de Moodle.'; +$string['turnitintoolofflineerror'] = 'Un problème temporaire est survenu. Merci de réessayer.'; +$string['defaultinserterror'] = 'Une erreur est survenue en ajoutant une valeur par défaut dans la base de données'; +$string['defaultupdateerror'] = 'Une erreur est survenue en tentant d'actualiser une valeur par défaut de la base de données.'; +$string['tiiassignmentgeterror'] = 'Une erreur est survenue en essayant d’obtenir un exercice Turnitin'; +$string['assigngeterror'] = 'Impossible d’obtenir les données de Turnitintooltwo'; +$string['classupdateerror'] = 'Impossible de mettre à jour les données des cours de Turnitin'; +$string['pp_createsubmissionerror'] = 'Une erreur est survenue en essayant d’envoyer un document à Turnitin'; +$string['pp_updatesubmissionerror'] = 'Une erreur est survenue en essayant de renvoyer votre document à Turnitin'; +$string['tiisubmissiongeterror'] = 'Une erreur est survenue en tentant d'obtenir une transmission de Turnitin'; + +// Javascript +$string['closebutton'] = 'Fermer'; +$string['loadingdv'] = 'Chargement du Visualiseur de Document Turnitin...'; +$string['changerubricwarning'] = 'Si vous modifiez ou supprimez une rubrique, l’ensemble des notes de rubrique des copies de cet exercice (dont les scores des fiches d’évaluation) sera effacé. Les notes globales des copies déjà évaluées resteront, quant à elles, inchangées.'; +$string['messageprovider:submission'] = 'Notifications d’accusé de réception électronique du plugin de plagiat Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Statut de Turnitin'; +$string['deleted'] = 'Supprimé'; +$string['pending'] = 'En attente'; +$string['because'] = 'Cela s’est produit car un administrateur a supprimé l’exercice en attente de la file d’attente de traitement et a annulé l’envoi à Turnitin.
Le fichier existe toujours dans Moodle, veuillez contacter votre enseignant.
Les codes d’erreur sont indiqués ci-dessous :'; diff --git a/lang/it/plagiarism_turnitin.php b/lang/it/plagiarism_turnitin.php new file mode 100755 index 00000000..d9dac531 --- /dev/null +++ b/lang/it/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Abilita Turnitin'; +$string['excludebiblio'] = 'Escludi bibliografia'; +$string['excludequoted'] = 'Escludi materiale citato'; +$string['excludevalue'] = 'Escludi corrispondenze brevi'; +$string['excludewords'] = 'Parole'; +$string['excludepercent'] = 'Percentuale'; +$string['norubric'] = 'Nessuna pagella'; +$string['otherrubric'] = 'Usa la pagella di un altro docente'; +$string['attachrubric'] = 'Allega una pagella a questo compito'; +$string['launchrubricmanager'] = 'Avvia lo strumento di gestione pagelle'; +$string['attachrubricnote'] = 'Nota: gli studenti saranno in grado di visualizzare le pagelle allegate e il loro contenuto prima di consegnare.'; +$string['erater_handbook_advanced'] = 'Avanzato'; +$string['erater_handbook_highschool'] = 'Scuola superiore'; +$string['erater_handbook_middleschool'] = 'Scuola media'; +$string['erater_handbook_elementary'] = 'Scuola primaria'; +$string['erater_handbook_learners'] = 'Studenti di inglese'; +$string['erater_dictionary_enus'] = 'Dizionario inglese (Stati Uniti)'; +$string['erater_dictionary_engb'] = 'Dizionario inglese (Regno Unito)'; +$string['erater_dictionary_en'] = 'Dizionario inglese (Stati Uniti e Regno Unito)'; +$string['erater'] = 'Abilita il controllo grammaticale e-rater'; +$string['erater_handbook'] = 'Manuale ETS©'; +$string['erater_dictionary'] = 'Dizionario e-rater'; +$string['erater_categories'] = 'Categorie e-rater'; +$string['erater_spelling'] = 'Ortografia'; +$string['erater_grammar'] = 'Grammatica'; +$string['erater_usage'] = 'Uso'; +$string['erater_mechanics'] = 'Sintassi'; +$string['erater_style'] = 'Stile'; +$string['anonblindmarkingnote'] = 'Nota: l'impostazione di valutazione anonima separata di Turnitin è stata rimossa. Turnitin utilizzerà l'impostazione di valutazione anonima di Moodle per determinare l'impostazione di valutazione anonima.'; +$string['transmatch'] = 'Corrispondenza di testo tradotto'; +$string['genduedate'] = 'Genera i report alla data di scadenza (è consentito riconsegnare fino alla data di scadenza)'; +$string['genimmediately1'] = 'Genera i report immediatamente (non è consentito riconsegnare)'; +$string['genimmediately2'] = 'Genera i report immediatamente (è consentito riconsegnare fino alla data di scadenza)'; +$string['launchquickmarkmanager'] = 'Avvia QuickMark Manager'; +$string['launchpeermarkmanager'] = 'Avvia PeerMark Manager'; +$string['studentreports'] = 'Mostra gli Originality Report agli studenti'; +$string['studentreports_help'] = 'Consente di mostrare agli utenti studenti gli Originality Report di Turnitin. Se impostato su sì gli Originality Report generati da Turnitin possono essere visionati dallo studente.'; +$string['submitondraft'] = 'Consegna il file appena viene caricato'; +$string['submitonfinal'] = 'Consegna il file quando lo studente lo invia per la valutazione'; +$string['draftsubmit'] = 'Quando deve essere consegnato il file a Turnitin?'; +$string['allownonor'] = 'Consentire la consegna di qualsiasi tipo di file?'; +$string['allownonor_help'] = 'Questa impostazione permetterà la consegna di qualsiasi tipo di file. Con questa opzione impostata su "Sì", ove possibile verrà eseguita la verifica dell'originalità delle consegne, queste ultime saranno disponibili per il download e, ove possibile, saranno disponibili anche gli strumenti di feedback GradeMark.'; +$string['norepository'] = 'Nessun archivio'; +$string['standardrepository'] = 'Archivio standard'; +$string['submitpapersto'] = 'Archivia gli elaborati degli studenti'; +$string['institutionalrepository'] = 'Archivio dell'istituto (ove applicabile)'; +$string['submitpapersto_help'] = 'Questa impostazione offre ai docenti la possibilità di scegliere se gli elaborati devono essere memorizzati in un archivio elaborati studenti Turnitin. Il vantaggio di consegnare gli elaborati nell'apposito archivio è che gli elaborati degli studenti consegnati per il compito verranno confrontati con quelli di altri studenti all'interno delle classi attuali e precedenti. Se selezioni "nessun archivio", gli elaborati degli studenti non verranno memorizzati nell'archivio elaborati studenti di Turnitin.'; +$string['checkagainstnote'] = 'Nota: se non selezioni "Sì" per almeno una delle opzioni "Confronta con..." di seguito, NON verrà generato alcun Originality Report.'; +$string['spapercheck'] = 'Confronta con gli elaborati degli studenti memorizzati'; +$string['internetcheck'] = 'Confronta con Internet'; +$string['journalcheck'] = 'Confronta con journal,
periodici e pubblicazioni'; +$string['compareinstitution'] = 'Confronta i file consegnati con gli elaborati consegnati in questo istituto'; +$string['reportgenspeed'] = 'Velocità di generazione dei report'; +$string['genspeednote'] = 'Nota: la generazione di un Originality Report per le riconsegne è soggetta a un ritardo di 24 ore.'; +$string['locked_message'] = 'Messaggio bloccato'; +$string['locked_message_help'] = 'Se eventuali impostazioni sono bloccate, viene mostrato questo messaggio per spiegarne il motivo.'; +$string['locked_message_default'] = 'Questa impostazione è bloccata a livello di sito'; +$string['sharedrubric'] = 'Pagella condivisa'; +$string['turnitinrefreshsubmissions'] = 'Aggiorna consegne'; +$string['turnitinrefreshingsubmissions'] = 'Aggiornamento consegne'; +$string['turnitinppulapre'] = 'Per consegnare un file a Turnitin è necessario accettare innanzitutto il Contratto di licenza con l'utente finale. Scegliendo di non accettare il Contratto di licenza con l'utente finale, il file verrà consegnato solo a Moodle. Fai clic qui per accettare.'; +$string['noscriptula'] = '(Dal momento che javascript non è abilitato, dovrai aggiornare manualmente questa pagina per poter consegnare un elaborato dopo aver accettato il Contratto con l'utente di Turnitin)'; +$string['filedoesnotexist'] = 'Il file è stato cancellato'; + +// Plugin settings +$string['config'] = 'Configurazione'; +$string['defaults'] = 'Impostazioni predefinite'; +$string['showusage'] = 'Mostra data dump'; +$string['saveusage'] = 'Salva data dump'; +$string['errors'] = 'Errori'; +$string['turnitinconfig'] = 'Configurazione del plugin del plagio di Turnitin'; +$string['tiiexplain'] = 'Turnitin è un prodotto commerciale ed è necessario avere una sottoscrizione a pagamento per utilizzare questo servizio. Per ulteriori informazioni, vai a http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Abilita Turnitin'; +$string['useturnitin_mod'] = 'Abilita Turnitin per {$a}'; +$string['pp_configuredesc'] = 'Devi configurare il modulo all'interno del modulo turnitintooltwo. Fai clic qui per configurare questo plugin'; +$string['turnitindefaults'] = 'Impostazioni predefinite del plugin del plagio di Turnitin'; +$string['defaultsdesc'] = 'Le seguenti impostazioni sono i valori predefiniti impostati durante l'abilitazione di Turnitin all'interno di un modulo di attività'; +$string['turnitinpluginsettings'] = 'Impostazioni del plugin del plagio di Turnitin'; +$string['pperrorsdesc'] = 'Si è verificato un problema durante il tentativo di caricamento dei file seguenti in Turnitin. Per riconsegnare, selezionare i file che desideri riconsegnare e premi il pulsante Riconsegna. Verranno elaborati la volta successiva che verrà eseguito Cron.'; +$string['pperrorssuccess'] = 'I file selezionati sono stati riconsegnati e verranno elaborati da Cron.'; +$string['pperrorsfail'] = 'Si è verificato un problema con alcuni dei file selezionati. Non è stato possibile creare un nuovo evento Cron per tali file.'; +$string['resubmitselected'] = 'Riconsegna i file selezionati'; +$string['deleteconfirm'] = 'Eliminare questa consegna?\n\nL'azione non potrà essere annullata.'; +$string['deletesubmission'] = 'Elimina consegna'; +$string['semptytable'] = 'Nessun risultato trovato.'; +$string['configupdated'] = 'Configurazione aggiornata'; +$string['defaultupdated'] = 'Impostazioni predefinite Turnitin aggiornate'; +$string['notavailableyet'] = 'Non disponibile'; +$string['resubmittoturnitin'] = 'Riconsegna a Turnitin'; +$string['resubmitting'] = 'Riconsegna in corso'; +$string['id'] = 'ID'; +$string['student'] = 'Studente'; +$string['course'] = 'Corso'; +$string['module'] = 'Modulo'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Visualizza Originality Report'; +$string['launchrubricview'] = 'Visualizza la pagella utilizzata per la valutazione'; +$string['turnitinppulapost'] = 'Il file non è stato consegnato a Turnitin. Fai clic qui per accettare il Contratto di licenza con l'utente finale.'; +$string['ppsubmissionerrorseelogs'] = 'Questo file non è stato consegnato a Turnitin. Consulta il tuo amministratore di sistema'; +$string['ppsubmissionerrorstudent'] = 'Questo file non è stato consegnato a Turnitin, consulta il tuo tutor per ulteriori dettagli'; + +// Receipts +$string['messageprovider:submission'] = 'Notifiche della ricevuta digitale del plugin del plagio di Turnitin'; +$string['digitalreceipt'] = 'Ricevuta digitale'; +$string['digital_receipt_subject'] = 'Questa è la tua ricevuta digitale Turnitin'; +$string['pp_digital_receipt_message'] = 'Gentile {$a->firstname} {$a->lastname},

hai consegnato il file {$a->submission_title} per il compito {$a->assignment_name}{$a->assignment_part} nella classe {$a->course_fullname} in {$a->submission_date}. L'ID consegna è {$a->submission_id}. La ricevuta digitale completa può essere visualizzata e stampata dal pulsante di stampa/download nel visualizzatore documenti.

Grazie per aver utilizzato Turnitin,

Il team Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'ID Turnitin'; +$string['turnitinstatus'] = 'Stato Turnitin'; +$string['pending'] = 'In sospeso'; +$string['similarity'] = 'Somiglianza'; +$string['notorcapable'] = 'Non è possibile produrre un Originality Report per questo file.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Lo studente ha visualizzato questo elaborato il:'; +$string['student_notread'] = 'Lo studente non ha visualizzato questo elaborato.'; +$string['launchpeermarkreviews'] = 'Avvia revisioni PeerMark'; + +// Cron +$string['ppqueuesize'] = 'Numero di eventi nella coda di eventi del plugin di plagio'; +$string['ppcronsubmissionlimitreached'] = 'Non verranno inviate ulteriori consegne a Turnitin da questa esecuzione Cron poiché solo {$a} vengono elaborate per ogni esecuzione'; +$string['cronsubmittedsuccessfully'] = 'Consegna: {$a->title} (ID TII: {$a->submissionid}) per il compito {$a->assignmentname} nel corso {$a->coursename} consegnata a Turnitin.'; +$string['pp_submission_error'] = 'Turnitin ha restituito un errore contestualmente alla consegna:'; +$string['turnitindeletionerror'] = 'L'eliminazione delle consegne non ha avuto esito positivo. La copia locale Moodle è stata rimossa, ma non è stato possibile eliminare la consegna in Turnitin.'; +$string['ppeventsfailedconnection'] = 'Non verrà elaborato alcun evento dal plugin del plagio di Turnitin da questa esecuzione Cron poiché non è stato possibile stabilire una connessione a Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'Consulta il tutor o l'amministratore di sistema per ulteriori dettagli'; +$string['faultcode'] = 'Codice guasto'; +$string['line'] = 'Linea'; +$string['message'] = 'Messaggio'; +$string['code'] = 'Codice'; +$string['tiisubmissionsgeterror'] = 'Si è verificato un errore durante il tentativo di ottenere da Turnitin le consegne per questo compito'; +$string['errorcode0'] = 'Questo file non è stato consegnato a Turnitin. Consulta il tuo amministratore di sistema'; +$string['errorcode1'] = 'Questo file non è stato inviato a Turnitin poiché non dispone di abbastanza contenuto per produrre un Originality Report.'; +$string['errorcode2'] = 'Questo file non verrà consegnato a Turnitin perché supera la dimensione massima di {$a} consentita'; +$string['errorcode3'] = 'Questo file non è stato consegnato a Turnitin perché l'utente non ha accettato il contratto di licenza con l'utente finale Turnitin.'; +$string['errorcode4'] = 'Devi caricare un tipo di file supportato per questo compito. I tipi di file accettati sono: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps e .rtf'; +$string['errorcode5'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione del modulo in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; +$string['errorcode6'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la modifica delle impostazioni del modulo in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; +$string['errorcode7'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione dell'utente in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; +$string['errorcode8'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione del file temp. La causa più probabile è un nome file non valido. Rinomina il file e caricalo di nuovo utilizzando l'opzione Modifica consegna.'; +$string['errorcode9'] = 'Impossibile consegnare il file poiché non sono presenti contenuti accessibili nel pool di file da consegnare.'; +$string['coursegeterror'] = 'Impossibile ottenere dati del corso'; +$string['configureerror'] = 'Devi configurare il modulo completamente come amministratore prima di utilizzarlo all'interno di un corso. Contatta l'amministratore di Moodle.'; +$string['turnitintoolofflineerror'] = 'Si è verificato un problema momentaneo. Riprova più tardi.'; +$string['defaultinserterror'] = 'Si è verificato un errore durante il tentativo di inserire un valore predefinito nel database'; +$string['defaultupdateerror'] = 'Si è verificato un errore durante il tentativo di aggiornare un valore predefinito nel database'; +$string['tiiassignmentgeterror'] = 'Si è verificato un errore durante il tentativo di ottenere un compito da Turnitin'; +$string['assigngeterror'] = 'Impossibile ottenere i dati da turnitintooltwo'; +$string['classupdateerror'] = 'Impossibile aggiornare i dati della classe Turnitin'; +$string['pp_createsubmissionerror'] = 'Si è verificato un errore durante il tentativo di creare la consegna in Turnitin'; +$string['pp_updatesubmissionerror'] = 'Si è verificato un errore durante il tentativo di riconsegnare il compito in Turnitin'; +$string['tiisubmissiongeterror'] = 'Si è verificato un errore durante il tentativo di ottenere una consegna da Turnitin'; + +// Javascript +$string['closebutton'] = 'Chiudi'; +$string['loadingdv'] = 'Caricamento del visualizzatore documenti Turnitin in corso...'; +$string['changerubricwarning'] = 'La modifica o rimozione di una pagella rimuoverà tutto il punteggio esistente della pagella dagli elaborati di questo compito, comprese le schede di valutazione compilate precedentemente. Rimarranno i voti complessivi degli elaborati valutati in precedenza.'; +$string['messageprovider:submission'] = 'Notifiche della ricevuta digitale del plugin del plagio di Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Stato Turnitin'; +$string['deleted'] = 'Eliminato'; +$string['pending'] = 'In sospeso'; +$string['because'] = 'Un amministratore ha eliminato il compito in sospeso dalla coda di elaborazione e ha interrotto la consegna a Turnitin.
Il file esiste ancora in Moodle, contatta il docente.
Cerca di seguito eventuali codici di errore:'; diff --git a/lang/ja/plagiarism_turnitin.php b/lang/ja/plagiarism_turnitin.php new file mode 100755 index 00000000..4423ba22 --- /dev/null +++ b/lang/ja/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Turnitinを有効ã«ã™ã‚‹'; +$string['excludebiblio'] = 'å‚考文献ã®é™¤å¤–'; +$string['excludequoted'] = '引用文献を除外'; +$string['excludevalue'] = 'å°ã•ãªä¸€è‡´ã‚’除外ã™ã‚‹'; +$string['excludewords'] = '語'; +$string['excludepercent'] = 'パーセント'; +$string['norubric'] = '採点ãªã—'; +$string['otherrubric'] = 'ä»–ã®è¬›å¸«ã«å±žã™ã‚‹ãƒ«ãƒ¼ãƒ–リックを使用ã™ã‚‹'; +$string['attachrubric'] = '採点をã“ã®èª²é¡Œã«æ·»ä»˜ã™ã‚‹'; +$string['launchrubricmanager'] = '採点マãƒã‚¸ãƒ£ãƒ¼ã‚’èµ·å‹•ã™ã‚‹'; +$string['attachrubricnote'] = '注æ„:学生ã¯æ出ã™ã‚‹å‰ã«ã€æ·»ä»˜ã•ã‚ŒãŸæŽ¡ç‚¹ãŠã‚ˆã³ãã®å†…容を閲覧ã§ãã¾ã™ã€‚'; +$string['erater_handbook_advanced'] = '上級'; +$string['erater_handbook_highschool'] = '高校'; +$string['erater_handbook_middleschool'] = '中学校'; +$string['erater_handbook_elementary'] = 'å°å­¦æ ¡'; +$string['erater_handbook_learners'] = '英語学習者'; +$string['erater_dictionary_enus'] = 'アメリカ英語辞書'; +$string['erater_dictionary_engb'] = 'イギリス英語辞書'; +$string['erater_dictionary_en'] = 'アメリカï¼ã‚¤ã‚®ãƒªã‚¹è‹±èªžè¾žæ›¸'; +$string['erater'] = 'e-rater文法ãƒã‚§ãƒƒã‚¯ã‚’有効ã«ã™ã‚‹'; +$string['erater_handbook'] = 'ETS© ãƒãƒ³ãƒ‰ãƒ–ック'; +$string['erater_dictionary'] = 'e-rater 辞書'; +$string['erater_categories'] = 'e-rater カテゴリー'; +$string['erater_spelling'] = 'スペリング'; +$string['erater_grammar'] = '文法'; +$string['erater_usage'] = '使用法'; +$string['erater_mechanics'] = 'メカニズム'; +$string['erater_style'] = 'スタイル'; +$string['anonblindmarkingnote'] = '注æ„:Turnitinã®å€‹åˆ¥ã®åŒ¿åマーキングã®è¨­å®šãŒå‰Šé™¤ã•ã‚Œã¾ã—ãŸã€‚Turnitinã§ã¯ã€Moodleã®ãƒ–ラインドマーキングã®è¨­å®šã‚’使ã£ã¦ã€åŒ¿åマーキングã®è¨­å®šã‚’決定ã—ã¾ã™ã€‚'; +$string['transmatch'] = '翻訳一致機能'; +$string['genduedate'] = 'æ出期é™æ—¥ã«å ±å‘Šæ›¸ã‚’生æˆã™ã‚‹ï¼ˆå†æ出ã¯æ出期é™æ—¥ã¾ã§æ出å¯èƒ½ã§ã™ï¼‰'; +$string['genimmediately1'] = '報告書をå³åº§ã«ç”Ÿæˆã™ã‚‹ï¼ˆå†æ出ã¯è¨±å¯ã•ã‚Œã¦ã„ã¾ã›ã‚“)'; +$string['genimmediately2'] = '報告書をå³åº§ã«ç”Ÿæˆã™ã‚‹ï¼ˆå†æ出ã¯æ出期é™æ—¥ã¾ã§æ出å¯èƒ½ã§ã™ï¼‰'; +$string['launchquickmarkmanager'] = 'Quickmarkマãƒã‚¸ãƒ£ãƒ¼ã‚’èµ·å‹•ã™ã‚‹'; +$string['launchpeermarkmanager'] = 'Peermarkマãƒã‚¸ãƒ£ãƒ¼ã‚’èµ·å‹•ã™ã‚‹'; +$string['studentreports'] = 'オリジナリティ レãƒãƒ¼ãƒˆã‚’学生ã«è¡¨ç¤ºã™ã‚‹'; +$string['studentreports_help'] = 'Turnitinオリジナリティーレãƒãƒ¼ãƒˆã‚’å—講生ã«è¡¨ç¤ºã™ã‚‹ã“ã¨ã‚’許å¯ã™ã‚‹ã€‚ã¯ã„ã€ã«è¨­å®šã™ã‚‹ã¨ã€Turnitinã«ã‚ˆã‚Šä½œæˆã•ã‚ŒãŸã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ãƒ¼ãƒ¬ãƒãƒ¼ãƒˆã¯å—講生ã«ã‚ˆã‚Šé–²è¦§ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚'; +$string['submitondraft'] = '最åˆã«ã‚¢ãƒƒãƒ—ロードã•ã‚ŒãŸéš›ã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ出ã™ã‚‹'; +$string['submitonfinal'] = 'å—講生ãŒãƒžãƒ¼ã‚­ãƒ³ã‚°ã«é€ä¿¡ã—ãŸéš›ã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ出ã™ã‚‹'; +$string['draftsubmit'] = 'ã„ã¤Turnitinã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ出ã—ã¾ã™ã‹ï¼Ÿ'; +$string['allownonor'] = 'ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚¿ã‚¤ãƒ—ã®æ出物ã®æ出を許å¯ã—ã¾ã™ã‹ï¼Ÿ'; +$string['allownonor_help'] = 'ã“ã®è¨­å®šã§ã¯ã€ã™ã¹ã¦ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚¿ã‚¤ãƒ—ã§æ出ãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã€‚ã“ã®è¨­å®šã‚’ï¼»ã¯ã„ï¼½ã«è¨­å®šã™ã‚‹ã¨ã€æ出物ã®ã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ãŒãƒã‚§ãƒƒã‚¯ã•ã‚Œã€ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ãŒå¯èƒ½ã«ãªã‚Šã€ã¾ãŸã€GradeMarkフィードãƒãƒƒã‚¯ãƒ„ールも利用ã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚'; +$string['norepository'] = 'リãƒã‚¸ãƒˆãƒªãªã—'; +$string['standardrepository'] = '標準リãƒã‚¸ãƒˆãƒª'; +$string['submitpapersto'] = '学生レãƒãƒ¼ãƒˆã‚’ä¿å­˜'; +$string['institutionalrepository'] = '所属機関リãƒã‚¸ãƒˆãƒªï¼ˆé©ç”¨ã™ã‚‹å ´åˆï¼‰'; +$string['submitpapersto_help'] = 'インストラクタã¯ã“ã®è¨­å®šã‚’使ã£ã¦ã€Turnitinã®å­¦ç”Ÿã®ãƒ¬ãƒãƒ¼ãƒˆãƒªãƒã‚¸ãƒˆãƒªã«æ出ã•ã‚ŒãŸãƒ¬ãƒãƒ¼ãƒˆã‚’ä¿å­˜ã™ã‚‹ã‹ã©ã†ã‹ã‚’決ã‚ã¾ã™ã€‚レãƒãƒ¼ãƒˆã‚’リãƒã‚¸ãƒˆãƒªã«ä¿å­˜ã™ã‚‹ã¨ã€èª²é¡Œã«æ出ã•ã‚ŒãŸãƒ¬ãƒãƒ¼ãƒˆã‚’ç¾åœ¨ã®ã‚¯ãƒ©ã‚¹ã€ã¾ãŸã¯éŽåŽ»ã«æ出ã•ã‚ŒãŸæ出物ã«ç…§ã‚‰ã—åˆã‚ã›ã¦ãƒã‚§ãƒƒã‚¯ã§ãるメリットãŒã‚ã‚Šã¾ã™ã€‚[リãƒã‚¸ãƒˆãƒªãªã—]を設定ã™ã‚‹ã¨ã€Turnitinã®å­¦ç”Ÿã®ãƒ¬ãƒãƒ¼ãƒˆãƒªãƒã‚¸ãƒˆãƒªã«ãƒ¬ãƒãƒ¼ãƒˆã¯ä¿å­˜ã•ã‚Œã¾ã›ã‚“。'; +$string['checkagainstnote'] = '注æ„:[~ã«å¯¾ã—ã¦ãƒã‚§ãƒƒã‚¯ã™ã‚‹ï¼½ã‚ªãƒ—ションã®ã„ãšã‚Œã«ã‚‚ï¼»ã¯ã„]をé¸æŠžã—ãªã‹ã£ãŸå ´åˆã¯ã€ã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ レãƒãƒ¼ãƒˆãŒç”Ÿæˆã•ã‚Œã¾ã›ã‚“。'; +$string['spapercheck'] = 'ä¿å­˜ã•ã‚Œã¦ã„る学生ã®ãƒ¬ãƒãƒ¼ãƒˆã¨æ¯”較ã™ã‚‹'; +$string['internetcheck'] = 'インターãƒãƒƒãƒˆã§ãƒã‚§ãƒƒã‚¯ã™ã‚‹'; +$string['journalcheck'] = 'ジャーナルã€å®šæœŸåˆŠè¡Œç‰©ã€
出版物をãƒã‚§ãƒƒã‚¯ã™ã‚‹'; +$string['compareinstitution'] = 'æ出ã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’教育機関内ã®ãƒ¬ãƒãƒ¼ãƒˆã¨æ¯”較ã™ã‚‹'; +$string['reportgenspeed'] = '作æˆé€Ÿåº¦ã‚’報告ã™ã‚‹'; +$string['genspeednote'] = '注æ„:å†æ出物ã«å¯¾ã™ã‚‹ã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ レãƒãƒ¼ãƒˆã®ä½œæˆã«ã¯ã€24時間ã»ã©ã‹ã‹ã‚Šã¾ã™ã€‚'; +$string['locked_message'] = 'ロックã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸'; +$string['locked_message_help'] = 'ロックã•ã‚Œã¦ã„る設定ãŒã‚ã‚‹å ´åˆã¯ã€ã“ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã§ãã®ç†ç”±ã‚’説明ã—ã¾ã™ã€‚'; +$string['locked_message_default'] = 'ã“ã®è¨­å®šã¯ã‚µã‚¤ãƒˆãƒ¬ãƒ™ãƒ«ã§ãƒ­ãƒƒã‚¯ã•ã‚Œã¦ã„ã¾ã™'; +$string['sharedrubric'] = '共有ã•ã‚ŒãŸæŽ¡ç‚¹'; +$string['turnitinrefreshsubmissions'] = 'æ出物を更新'; +$string['turnitinrefreshingsubmissions'] = 'æ出物を更新中'; +$string['turnitinppulapre'] = 'Turnitinã«ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ出ã™ã‚‹ã«ã¯ã€EULAã¸ã®åŒæ„ãŒå¿…è¦ã§ã™ã€‚EULAã«åŒæ„ã—ãªã„ã“ã¨ã‚’é¸æŠžã™ã‚‹ã¨ã€ãƒ•ã‚¡ã‚¤ãƒ«ã¯Moodleã ã‘ã«æ出ã•ã‚Œã¾ã™ã€‚åŒæ„ã™ã‚‹ã«ã¯ã€ã“ã¡ã‚‰ã‚’クリックã—ã¦ãã ã•ã„。'; +$string['noscriptula'] = '(ジャãƒã‚¹ã‚¯ãƒªãƒ—トãŒä½œå‹•ã•ã‚Œã¦ã„ãªã„ãŸã‚ã€Turnitinユーザー使用è¦ç´„ã«æ‰¿è«¾ã—ãŸå¾Œã€æ出ã™ã‚‹å‰ã«ã“ã®ãƒšãƒ¼ã‚¸ã‚’マニュアルæ“作ã§æ›´æ–°ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚)'; +$string['filedoesnotexist'] = 'ファイルã¯å‰Šé™¤ã•ã‚Œã¾ã—ãŸ'; + +// Plugin settings +$string['config'] = '設定'; +$string['defaults'] = 'デフォルト設定'; +$string['showusage'] = 'ダンプã•ã‚ŒãŸãƒ‡ãƒ¼ã‚¿ã‚’表示'; +$string['saveusage'] = 'ダンプã•ã‚ŒãŸãƒ‡ãƒ¼ã‚¿ã‚’ä¿å­˜'; +$string['errors'] = 'エラー'; +$string['turnitinconfig'] = 'Turnitin Plagiarismプラグインã®æ§‹æˆ'; +$string['tiiexplain'] = 'Turnitinã¯å•†ç”¨è£½å“ã§ã‚ã‚Šã€ã“ã®ã‚µãƒ¼ãƒ“スを利用ã™ã‚‹ã«ã¯ã‚µãƒ¼ãƒ“ス料ã®ãŠæ”¯æ‰•ã„ãŒå¿…è¦ã§ã™ã€‚詳ã—ãã¯ã€http://docs.moodle.org/en/Turnitin_administrationã‚’ã”覧ãã ã•ã„。'; +$string['useturnitin'] = 'Turnitinを有効ã«ã™ã‚‹'; +$string['useturnitin_mod'] = 'Turnitinを有効ã«ã™ã‚‹ï¼š {$a}'; +$string['pp_configuredesc'] = 'ã“ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã¯turnitintooltwoモジュール内ã§è¨­å®šã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ã“ã®ãƒ—ラグインを設定ã™ã‚‹ã«ã¯ã“ã¡ã‚‰ã‚’クリックã—ã¦ãã ã•ã„。'; +$string['turnitindefaults'] = 'Turnitin Plagiarismプラグインデフォルト設定'; +$string['defaultsdesc'] = '次ã®è¨­å®šã¯ã‚¢ã‚¯ãƒ†ã‚£ãƒ“ティーモジュール内ã®Turnitinを有効ã«ã™ã‚‹éš›ã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆè¨­å®šã§ã™'; +$string['turnitinpluginsettings'] = 'Turnitin Plagiarismプラグイン設定'; +$string['pperrorsdesc'] = '以下ã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’Turnitinã«ã‚¢ãƒƒãƒ—ロード中ã«å•é¡ŒãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚ファイルをå†æ出ã™ã‚‹ã«ã¯ã€å†æ出ã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’é¸æŠžã—ã€ï¼»å†æ出]ボタンをクリックã—ã¦ãã ã•ã„。ã“れらã¯ã€æ¬¡å›žCronを実行ã—ãŸã¨ãã«å‡¦ç†ã•ã‚Œã¾ã™ã€‚'; +$string['pperrorssuccess'] = 'é¸æŠžã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ãŒå†æ出ã•ã‚Œã€Cronã§å‡¦ç†ã•ã‚Œã¾ã™ã€‚'; +$string['pperrorsfail'] = 'é¸æŠžã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ã„ãã¤ã‹ã§å•é¡ŒãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚ã“れらã«ã¯æ–°ã—ã„Cronイベントを生æˆã§ãã¾ã›ã‚“ã§ã—ãŸã€‚'; +$string['resubmitselected'] = 'é¸æŠžã—ãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’å†æ出ã™ã‚‹'; +$string['deleteconfirm'] = 'ã“ã®æ出物を削除ã—ã¾ã™ã‹ï¼Ÿ\n\n ã„ã£ãŸã‚“削除ã™ã‚‹ã¨ã€å…ƒã«æˆ»ã™ã“ã¨ã¯ã§ãã¾ã›ã‚“。'; +$string['deletesubmission'] = 'æ出物を削除'; +$string['semptytable'] = '検索çµæžœãŒã‚ã‚Šã¾ã›ã‚“。'; +$string['configupdated'] = '設定ãŒæ›´æ–°ã•ã‚Œã¾ã—ãŸ'; +$string['defaultupdated'] = 'Turnitin デフォルトãŒæ›´æ–°ã•ã‚Œã¾ã—ãŸ'; +$string['notavailableyet'] = '利用ã§ãã¾ã›ã‚“'; +$string['resubmittoturnitin'] = 'Turnitinã«å†æ出ã™ã‚‹'; +$string['resubmitting'] = 'å†æ出中'; +$string['id'] = 'ID'; +$string['student'] = '学生'; +$string['course'] = 'コース'; +$string['module'] = 'モジュール'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'オリジナリティ レãƒãƒ¼ãƒˆã‚’閲覧'; +$string['launchrubricview'] = 'マーキングã«ä½¿ç”¨ã•ã‚ŒãŸæŽ¡ç‚¹ã‚’閲覧ã™ã‚‹'; +$string['turnitinppulapost'] = 'ã‚ãªãŸã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¾ã›ã‚“ã§ã—ãŸã€‚ã“ã¡ã‚‰ã‚’クリックã—ã¦ã€EULAã«åŒæ„ã—ã¦ãã ã•ã„。'; +$string['ppsubmissionerrorseelogs'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; +$string['ppsubmissionerrorstudent'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。更ãªã‚‹è©³ç´°ã«é–¢ã—ã¦ã¯ã€ãƒãƒ¥ãƒ¼ã‚¿ãƒ¼ã¾ã§ã”相談ãã ã•ã„。'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin Plagiarismプラグインã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã«é–¢ã™ã‚‹é€šçŸ¥'; +$string['digitalreceipt'] = 'デジタルå—領書'; +$string['digital_receipt_subject'] = 'ã“ã‚Œã¯ã‚ãªãŸã®Turnitinã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã§ã™'; +$string['pp_digital_receipt_message'] = '{$a->lastname} {$a->firstname}様ã€

ã‚ãªãŸã¯{$a->submission_date}ã«ã€{$a->course_fullname}クラスã®èª²é¡Œ{$a->assignment_name}{$a->assignment_part}ã«ãƒ•ã‚¡ã‚¤ãƒ«{$a->submission_title}ã‚’æ出ã—ã¾ã—ãŸã€‚æ出IDã¯{$a->submission_id}ã§ã™ã€‚デジタルå—領書ã¯ã™ã¹ã¦ã€æ–‡æ›¸é–²è¦§å†…ã«ã‚ã‚‹å°åˆ·ã‚„ダウンロードボタンを使ã£ã¦é–²è¦§ãŠã‚ˆã³å°åˆ·ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

Turnitinã‚’ã”利用ã„ãŸã ãã€ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã™ã€‚

Turnitinãƒãƒ¼ãƒ ä¸€åŒ'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin ID'; +$string['turnitinstatus'] = 'Turnitinã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹'; +$string['pending'] = 'ä¿ç•™ä¸­'; +$string['similarity'] = '類似性'; +$string['notorcapable'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«å¯¾ã—ã¦ã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ レãƒãƒ¼ãƒˆã‚’作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“。'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'レãƒãƒ¼ãƒˆã®é–²è¦§æ—¥ï¼š'; +$string['student_notread'] = 'å—講生ã¯ã“ã®ãƒ¬ãƒãƒ¼ãƒˆã‚’ã¾ã é–²è¦§ã—ã¦ã„ã¾ã›ã‚“。'; +$string['launchpeermarkreviews'] = 'Peermarkレビューを起動ã™ã‚‹'; + +// Cron +$string['ppqueuesize'] = 'Plagiarismプラグインã®ã‚¤ãƒ™ãƒ³ãƒˆã‚­ãƒ¥ãƒ¼ã«ã‚るイベント数'; +$string['ppcronsubmissionlimitreached'] = 'Cronã¯ä¸€åº¦ã«{$a}件ã¾ã§ã®æ出物ã—ã‹å‡¦ç†ã—ãªã„ã®ã§ã€ã“れ以上Turnitinã«æ出物をé€ã‚Œã¾ã›ã‚“。'; +$string['cronsubmittedsuccessfully'] = '{$a->coursename}コースã®èª²é¡Œ{$a->assignmentname}ã«å¯¾ã—ã¦ã€æ出物:{$a->title}(TII ID:{$a->submissionid})ãŒæ­£ã—ãTurnitinã«é€ä¿¡ã•ã‚Œã¾ã—ãŸã€‚'; +$string['pp_submission_error'] = 'Turnitinã‹ã‚‰æ¬¡ã®æ出物ã«ã¤ã„ã¦ã‚¨ãƒ©ãƒ¼ãŒè¿”ã•ã‚Œã¾ã—ãŸã€‚'; +$string['turnitindeletionerror'] = 'Turnitinã®æ出物削除ã«å¤±æ•—ã—ã¾ã—ãŸã€‚ローカル Moodle コピーã¯å‰Šé™¤ã•ã‚Œã¾ã—ãŸãŒã€Turnitin内ã®æ出物を削除ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚'; +$string['ppeventsfailedconnection'] = 'Turnitinã«æŽ¥ç¶šã—ã¦ã„ãªã„ã®ã§ã€Turnitin Plagiarismプラグインã¯Cronã§ã‚¤ãƒ™ãƒ³ãƒˆã‚’処ç†ã§ãã¾ã›ã‚“。'; + +// Error codes +$string['tii_submission_failure'] = '詳ã—ãã¯ã€ãƒãƒ¥ãƒ¼ã‚¿ãƒ¼ã‹ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; +$string['faultcode'] = 'フォルトコード'; +$string['line'] = 'ライン'; +$string['message'] = 'メッセージ'; +$string['code'] = 'コード'; +$string['tiisubmissionsgeterror'] = 'æ出物をTurnitinã‹ã‚‰ã“ã®èª²é¡Œã¸å…¥æ‰‹ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['errorcode0'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; +$string['errorcode1'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã‚ªãƒªã‚¸ãƒŠãƒªãƒ†ã‚£ レãƒãƒ¼ãƒˆã‚’作æˆã™ã‚‹ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ãŒä¸è¶³ã—ã¦ã„ã‚‹ã®ã§ã€Turnitinã«é€ä¿¡ã•ã‚Œã¦ã„ã¾ã›ã‚“。'; +$string['errorcode2'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯è¨±å®¹ã•ã‚Œã‚‹ã‚µã‚¤ã‚ºã®ä¸Šé™{$a}を超ãˆã¦ã„ã‚‹ãŸã‚ã€Turnitinã«æ出ã§ãã¾ã›ã‚“。'; +$string['errorcode3'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒã€Turnitinã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ãƒ©ã‚¤ã‚»ãƒ³ã‚¹å¥‘ç´„ã«åŒæ„ã—ã¦ã„ãªã„ãŸã‚ã€Turnitinã¸æ出ã™ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“'; +$string['errorcode4'] = 'ã“ã®èª²é¡Œã«å¯¾å¿œã—ã¦ã„るファイルã®ç¨®é¡žã§ã‚¢ãƒƒãƒ—ロードã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚アップロードå¯èƒ½ãªãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€.docã€.docxã€.pptã€.pptxã€.ppsã€.ppsxã€.pdfã€.txtã€.htmã€.htmlã€.hwpã€.odtã€.wpdã€.psã€.rtfã§ã™ã€‚'; +$string['errorcode5'] = 'Turnitin内ã§ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã®ä½œæˆã«å•é¡ŒãŒã‚ã‚‹ãŸã‚ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€APIログをå‚ç…§ã—ã¦ãã ã•ã„。'; +$string['errorcode6'] = 'Turnitin内ã§ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«è¨­å®šã®ç·¨é›†ã«å•é¡ŒãŒã‚ã‚‹ãŸã‚ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€APIログをå‚ç…§ã—ã¦ãã ã•ã„。'; +$string['errorcode7'] = 'Turnitin内ã§ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã®ä½œæˆã«å•é¡ŒãŒã‚ã‚‹ãŸã‚ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€APIログをå‚ç…§ã—ã¦ãã ã•ã„。'; +$string['errorcode8'] = '一時ファイルã®ä½œæˆã«å•é¡ŒãŒã‚ã‚‹ãŸã‚ã€ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。ファイルåãŒç„¡åŠ¹ã§ã‚ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚ï¼»æ出物ã®ç·¨é›†ï¼½ã‚’使ã£ã¦ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰ã‚’変更ã—ã¦ã‹ã‚‰ã‚‚ã†ä¸€åº¦ã‚¢ãƒƒãƒ—ロードã—ã¦ãã ã•ã„。'; +$string['errorcode9'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯ã€ãƒ•ã‚¡ã‚¤ãƒ«ãƒ—ールã«ã‚¢ã‚¯ã‚»ã‚¹å¯èƒ½ãªã‚³ãƒ³ãƒ†ãƒ³ãƒ„ãŒãªã„ãŸã‚ã€é€ä¿¡ã§ãã¾ã›ã‚“。'; +$string['coursegeterror'] = 'コースデータをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ'; +$string['configureerror'] = 'ã“ã®ã‚³ãƒ¼ã‚¹ã®ä½¿ç”¨ã‚’開始ã™ã‚‹å‰ã«ã€ç®¡ç†è€…ãŒã“ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã‚’設定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚Moodle管ç†è€…ã¾ã§ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; +$string['turnitintoolofflineerror'] = 'ç¾åœ¨ä¸€æ™‚çš„ãªå•é¡ŒãŒç™ºç”Ÿã—ã¦ã„ã¾ã™ã€‚後ã»ã©å†åº¦è©¦ã¿ã¦ãã ã•ã„。'; +$string['defaultinserterror'] = 'データベースã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆè¨­å®šå€¤ã‚’挿入中ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['defaultupdateerror'] = 'データベースã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆè¨­å®šå€¤ã‚’更新中ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['tiiassignmentgeterror'] = 'Turnitinã‹ã‚‰èª²é¡Œã‚’入手ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['assigngeterror'] = 'turnitintooltwoデータをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ'; +$string['classupdateerror'] = 'Turnitinクラスã®ãƒ‡ãƒ¼ã‚¿ã‚’æ›´æ–°ã§ãã¾ã›ã‚“ã§ã—ãŸ'; +$string['pp_createsubmissionerror'] = 'Turnitinã§æ出物を作æˆã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['pp_updatesubmissionerror'] = 'æ出物をTurnitinã¸å†æ出ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; +$string['tiisubmissiongeterror'] = 'æ出物をTurnitinã‹ã‚‰å…¥æ‰‹ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; + +// Javascript +$string['closebutton'] = 'é–‰ã˜ã‚‹'; +$string['loadingdv'] = 'Turnitin文書閲覧を読ã¿è¾¼ã¿ä¸­...'; +$string['changerubricwarning'] = '採点を変更ã—ãŸã‚Šè§£é™¤ã—ãŸã‚Šã™ã‚‹ã¨ã€ã‚¹ã‚³ã‚¢ã‚«ãƒ¼ãƒ‰ã‚’å«ã‚ã¦ã“ã®èª²é¡Œã®ãƒ¬ãƒãƒ¼ãƒˆã«æ—¢ã«å­˜åœ¨ã™ã‚‹æŽ¡ç‚¹ãŒã™ã¹ã¦å‰Šé™¤ã•ã‚Œã¾ã™ã€‚以å‰ã«æŽ¡ç‚¹ã•ã‚ŒãŸãƒ¬ãƒãƒ¼ãƒˆã®å…¨ä½“評価ã¯æ®‹ã‚Šã¾ã™ã€‚'; +$string['messageprovider:submission'] = 'Turnitin Plagiarismプラグインã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã«é–¢ã™ã‚‹é€šçŸ¥'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitinã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹'; +$string['deleted'] = '削除ã•ã‚Œã¾ã—ãŸ'; +$string['pending'] = 'ä¿ç•™ä¸­'; +$string['because'] = 'ã“ã‚Œã¯ã€ç®¡ç†è€…ãŒä¿ç•™ä¸­ã®èª²é¡Œã‚’プロセスキューã‹ã‚‰å‰Šé™¤ã—ã€Turnitinã¸ã®æ出を中止ã—ãŸãŸã‚ã§ã™ã€‚
ファイルã¯Moodleã«æ®‹ã‚Šã¾ã™ã€‚インストラクタã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。
エラーコードã¯æ¬¡ã®é€šã‚Šã§ã™ã€‚'; diff --git a/lang/ko/plagiarism_turnitin.php b/lang/ko/plagiarism_turnitin.php new file mode 100755 index 00000000..387c68f2 --- /dev/null +++ b/lang/ko/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Turnitin 활성화 하기'; +$string['excludebiblio'] = '참고 문헌 제외'; +$string['excludequoted'] = 'ì¸ìš© ìžë£Œ 제외'; +$string['excludevalue'] = '사소한 ì¼ì¹˜ 제외'; +$string['excludewords'] = '단어'; +$string['excludepercent'] = 'í¼ì„¼íŠ¸'; +$string['norubric'] = '채ì í‘œ ì—†ìŒ'; +$string['otherrubric'] = '다른 ê°•ì‚¬ì˜ ì±„ì í‘œ 사용'; +$string['attachrubric'] = '본 ê³¼ì œì— ì±„ì í‘œ 첨부하기'; +$string['launchrubricmanager'] = '채ì í‘œ ê´€ë¦¬ìž ì‹œìž‘í•˜ê¸°'; +$string['attachrubricnote'] = '주ì˜: í•™ìƒë“¤ì€ ì²¨ë¶€ëœ ì±„ì í‘œì™€ ìžì‹ ë“¤ì˜ ë‚´ìš©ì„ ì œì¶œ ì „ì— ë³¼ 수 있습니다.'; +$string['erater_handbook_advanced'] = 'ìƒê¸‰'; +$string['erater_handbook_highschool'] = '고등학êµ'; +$string['erater_handbook_middleschool'] = '중학êµ'; +$string['erater_handbook_elementary'] = '초등학êµ'; +$string['erater_handbook_learners'] = 'ì˜ì–´ 학습ìž'; +$string['erater_dictionary_enus'] = 'ë¯¸êµ­ì‹ ì˜ì–´ 사전'; +$string['erater_dictionary_engb'] = 'ì˜êµ­ì‹ ì˜ì–´ 사전'; +$string['erater_dictionary_en'] = '미국ì‹ê³¼ ì˜êµ­ì‹ ì˜ì–´ 사전'; +$string['erater'] = 'e-rater 문법 검토 기능 활성화'; +$string['erater_handbook'] = 'ETS© 핸드ë¶'; +$string['erater_dictionary'] = 'e-rater 사전'; +$string['erater_categories'] = 'e-rater 카테고리'; +$string['erater_spelling'] = 'ì² ìžë²•'; +$string['erater_grammar'] = '문법'; +$string['erater_usage'] = '용법'; +$string['erater_mechanics'] = '구조'; +$string['erater_style'] = 'ì–´ì²´'; +$string['anonblindmarkingnote'] = '참고: 별ë„ì˜ Turnitin ìµëª… ì±„ì  ì„¤ì •ì€ ì‚­ì œë©ë‹ˆë‹¤. Turnitinì€ Moodleì˜ ë¸”ë¼ì¸ë“œ ì±„ì  í™˜ê²½ì„ ì´ìš©í•´ ìµëª… ì±„ì  ì„¤ì •ì„ ê²°ì •í•©ë‹ˆë‹¤.'; +$string['transmatch'] = 'ë²ˆì—­ëœ ì¼ì¹˜'; +$string['genduedate'] = '마ê°ì¼ì— ë³´ê³ ì„œ ìƒì„± (ìž¬ì œì¶œì€ ë§ˆê°ì¼ê¹Œì§€ 허용)'; +$string['genimmediately1'] = '즉시 ë³´ê³ ì„œ ìƒì„± (재제출 불가)'; +$string['genimmediately2'] = '즉시 ë³´ê³ ì„œ ìƒì„± (ìž¬ì œì¶œì€ ë§ˆê°ì¼ê¹Œì§€ 허용)'; +$string['launchquickmarkmanager'] = 'Quickmark ê´€ë¦¬ìž ê°œì‹œí•˜ê¸°'; +$string['launchpeermarkmanager'] = 'Peermark ê´€ë¦¬ìž ê°œì‹œí•˜ê¸°'; +$string['studentreports'] = 'í•™ìƒë“¤ì—게 ë…창성 ë³´ê³ ì„œ 공개'; +$string['studentreports_help'] = 'Turnitin ë…창성 보고서를 í•™ìƒ ì‚¬ìš©ìžê°€ ë³¼ 수 있ë„ë¡ í—ˆìš©í•©ë‹ˆë‹¤. "예"ë¼ê³  ì§€ì •ë  ê²½ìš° Turnitinì—ì„œ ìž‘ì„±ëœ ë…창성 보고서를 í•™ìƒ ì‚¬ìš©ìžê°€ ë³¼ 수 있습니다.'; +$string['submitondraft'] = 'ì²˜ìŒ ì—…ë¡œë“œì‹œ íŒŒì¼ ì œì¶œ'; +$string['submitonfinal'] = 'í•™ìƒì´ 제출하여 채ì ì„ 요구할 ë•Œ íŒŒì¼ ì œì¶œ'; +$string['draftsubmit'] = '파ì¼ì„ 언제 Turnitinì— ì œì¶œí•˜ì—¬ì•¼ 합니까?'; +$string['allownonor'] = '모든 íŒŒì¼ ìœ í˜•ì˜ ì œì¶œì„ í—ˆìš©í•˜ì‹œê² ìŠµë‹ˆê¹Œ?'; +$string['allownonor_help'] = '본 í™˜ê²½ì€ ëª¨ë“  íŒŒì¼ ìœ í˜•ì˜ ì œì¶œì„ ê°€ëŠ¥ì¼€ 합니다. "예"ë¡œ ì˜µì…˜ì„ ì„¤ì •í•œ 경우, ì œì¶œë¬¼ì€ ê°€ëŠ¥í•œ ë¶€ë¶„ì— ëŒ€í•´ ë…ì°½ì„±ì„ ê²€í†  받게 ë˜ë©°, ì œì¶œë¬¼ë“¤ì€ ë‹¤ìš´ë¡œë“œ 가능하고 GradeMark ë„êµ¬ë“¤ì€ ê°€ëŠ¥ 범위 ë‚´ì—ì„œ 사용할 수 있습니다.'; +$string['norepository'] = '보관소 ì—†ìŒ'; +$string['standardrepository'] = '표준 보관소'; +$string['submitpapersto'] = 'í•™ìƒ ë³´ê³ ì„œ ë³´ê´€'; +$string['institutionalrepository'] = '기관 보관소(ì ìš© 가능시)'; +$string['submitpapersto_help'] = 'ì´ í™˜ê²½ì€ í•™ìƒ ë³´ê³ ì„œê°€ Turnitin ë°ì´í„°ë² ì´ìŠ¤ì— ì €ìž¥ë  ê²ƒì¸ì§€ë¥¼ 강사가 ì„ íƒí•  수 있ë„ë¡ í•´ì¤ë‹ˆë‹¤. Turnitin ë°ì´í„°ë² ì´ìŠ¤ì— 보고서를 제출하는 ì´ì ì€ ê³¼ì œì— ëŒ€í•´ ì œì¶œëœ í•™ìƒ ë³´ê³ ì„œë“¤ì´ ê·€í•˜ì˜ í˜„ìž¬ì™€ ì´ì „ì˜ í´ëž˜ìŠ¤ë¡œ ì œì¶œëœ í•™ìƒ' 제출물들과 비êµê²€ìƒ‰ëœë‹¤ëŠ” ì ìž…니다. "보관소 ì—†ìŒ" 옵션 ì„ íƒì‹œ, ê·€í•˜ì˜ í•™ìƒ' ë³´ê³ ì„œë“¤ì€ Turnitin ë°ì´í„°ë² ì´ìŠ¤ì— 저장ë˜ì§€ ì•Šì„ ê²ƒìž…ë‹ˆë‹¤.'; +$string['checkagainstnote'] = '참고: 아래 “비êµâ€ 옵션 중 하나 ì´ìƒì— “예â€ë¥¼ ì„ íƒí•˜ì§€ 않으면 ë…창성 보고서가 ìƒì„±ë˜ì§€ 않습니다.'; +$string['spapercheck'] = 'ë³´ê´€ëœ í•™ìƒ ë³´ê³ ì„œë“¤ê³¼ 비êµí•˜ê¸°'; +$string['internetcheck'] = 'ì¸í„°ë„· ë‚´ìš©ê³¼ 비êµ'; +$string['journalcheck'] = 'ì €ë„,
정기 간행물, 출íŒë¬¼ë“¤ê³¼ 비êµ'; +$string['compareinstitution'] = 'ì œì¶œëœ íŒŒì¼ë“¤ì„ 본 ê¸°ê´€ë‚´ì— ì œì¶œëœ ë³´ê³ ì„œë“¤ê³¼ 비êµ'; +$string['reportgenspeed'] = 'ë³´ê³ ì„œ ìƒì„± ì†ë„'; +$string['genspeednote'] = '참고: 재제출 í•­ëª©ì— ëŒ€í•œ ë…창성 ë³´ê³ ì„œ ìƒì„±ì€ 24시간 지연ë©ë‹ˆë‹¤.'; +$string['locked_message'] = '잠긴 메시지'; +$string['locked_message_help'] = 'ì„¤ì •ì´ ìž ê¸°ë©´ ì´ìœ ë¥¼ 설명하는 ì´ ë©”ì‹œì§€ê°€ 표시ë©ë‹ˆë‹¤.'; +$string['locked_message_default'] = 'ì´ ì„¤ì •ì€ ì‚¬ì´íŠ¸ 수준ì—ì„œ ìž ê¹ë‹ˆë‹¤.'; +$string['sharedrubric'] = '공유 채ì í‘œ'; +$string['turnitinrefreshsubmissions'] = '제출물 새로 고침'; +$string['turnitinrefreshingsubmissions'] = '제출물 새로 고침'; +$string['turnitinppulapre'] = 'Turnitinì— íŒŒì¼ì„ 제출하려면 먼저 ë‹¹ì‚¬ì˜ EULA를 수ë½í•´ì•¼ 합니다. 당사 EULA를 수ë½í•˜ì§€ 않기로 ì„ íƒí•˜ë©´ Moodleì—만 파ì¼ì´ 제출ë©ë‹ˆë‹¤. 수ë½í•˜ë ¤ë©´ 여기를 í´ë¦­í•˜ì‹­ì‹œì˜¤.'; +$string['noscriptula'] = '(Javascriptê°€ 활성화ë˜ì§€ 않았으므로 Turnitin ì‚¬ìš©ìž ë™ì˜ì„œì— ë™ì˜í•˜ê³  본 페ì´ì§€ë¥¼ 수ë™ì ìœ¼ë¡œ 새로고침한 후 ì œì¶œì„ í•˜ì—¬ì•¼ 합니다)'; +$string['filedoesnotexist'] = '파ì¼ì´ ì‚­ì œë˜ì—ˆìŠµë‹ˆë‹¤.'; + +// Plugin settings +$string['config'] = '구성'; +$string['defaults'] = '기본 환경'; +$string['showusage'] = 'ë°ì´íƒ€ ë¤í”„ 표시하기'; +$string['saveusage'] = 'ë°ì´íƒ€ ë¤í”„ 저장하기'; +$string['errors'] = '오류들'; +$string['turnitinconfig'] = 'Turnitin 표절 Plugin 구성'; +$string['tiiexplain'] = 'Turnitinì€ ìƒì—… 제품ì´ë©° ì´ ì„œë¹„ìŠ¤ë¥¼ 사용하려면 사용료를 지불하여야 합니다. ìžì„¸í•œ ì‚¬í•­ì€ http://docs.moodle.org/en/Turnitin_administration를 참조하십시오.'; +$string['useturnitin'] = 'Turnitin 활성화 하기'; +$string['useturnitin_mod'] = 'Turnitin 활성화 ëŒ€ìƒ {$a}'; +$string['pp_configuredesc'] = 'turnitintooltwo 모듈 ë‚´ì—ì„œ ì´ ëª¨ë“ˆì„ êµ¬ì„±í•´ì•¼ 합니다. 여기를 í´ë¦­í•˜ì—¬ ì´ í”ŒëŸ¬ê·¸ì¸ì„ 구성하십시오.'; +$string['turnitindefaults'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ ê¸°ë³¸ 환경'; +$string['defaultsdesc'] = '다ìŒì˜ í™˜ê²½ë“¤ì€ Turnitinì„ í™œë™ ëª¨ë“ˆì—ì„œ 활성화시킬 ë•Œì˜ ê¸°ë³¸ 세트입니다'; +$string['turnitinpluginsettings'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ í™˜ê²½'; +$string['pperrorsdesc'] = 'Turnitinì— ì•„ëž˜ 파ì¼ë“¤ì„ 업로드하는 ë° ë¬¸ì œê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤. 다시 제출하려면 ì›í•˜ëŠ” 파ì¼ì„ ì„ íƒí•˜ê³  다시 제출 ë²„íŠ¼ì„ ëˆ„ë¥´ì‹­ì‹œì˜¤. 그러면 다ìŒì— cronì´ ì‹¤í–‰ë  ë•Œ 처리ë©ë‹ˆë‹¤.'; +$string['pperrorssuccess'] = 'ì„ íƒí•œ 파ì¼ì´ 다시 제출ë˜ê³  cronì— ì˜í•´ 처리ë©ë‹ˆë‹¤.'; +$string['pperrorsfail'] = 'ì„ íƒí•œ íŒŒì¼ ì¤‘ ì¼ë¶€ì— 문제가 있었습니다. 해당 파ì¼ì— 대해 새로운 cron ì´ë²¤íŠ¸ë¥¼ ìƒì„±í•  수 없었습니다.'; +$string['resubmitselected'] = 'ì„ íƒí•œ íŒŒì¼ ë‹¤ì‹œ 제출'; +$string['deleteconfirm'] = 'ì´ ì œì¶œë¬¼ì„ ì •ë§ ì‚­ì œí•˜ì‹œê² ìŠµë‹ˆê¹Œ?\n\nì´ëŠ” ë˜ëŒë¦´ 수 없습니다.'; +$string['deletesubmission'] = '제출물 ì‚­ì œ'; +$string['semptytable'] = 'ë°œê²¬ëœ ê²°ê³¼ê°€ ì—†ìŒ'; +$string['configupdated'] = '구성 ì—…ë°ì´íŠ¸'; +$string['defaultupdated'] = 'Turnitin 기본 ì—…ë°ì´íŠ¸'; +$string['notavailableyet'] = 'ì´ìš©í•  수 없습니다'; +$string['resubmittoturnitin'] = 'Turnitinì— ë‹¤ì‹œ 제출'; +$string['resubmitting'] = '다시 제출 중'; +$string['id'] = 'ì•„ì´ë””'; +$string['student'] = 'í•™ìƒ'; +$string['course'] = '코스'; +$string['module'] = '모듈'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'ë…창성 ë³´ê³ ì„œ 보기'; +$string['launchrubricview'] = '채ì ì— ì‚¬ìš©ëœ ì±„ì í‘œ 보기'; +$string['turnitinppulapost'] = 'ê·€í•˜ì˜ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. 당사 EULA를 수ë½í•˜ë ¤ë©´ 여기를 í´ë¦­í•˜ì‹­ì‹œì˜¤.'; +$string['ppsubmissionerrorseelogs'] = 'ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. 시스템 관리ìžì—게 문ì˜í•˜ì‹­ì‹œì˜¤.'; +$string['ppsubmissionerrorstudent'] = 'ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. ìžì„¸í•œ ë‚´ìš©ì€ ë‹´ë‹¹ 튜터와 ìƒì˜í•˜ì‹­ì‹œì˜¤.'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ ë””ì§€í„¸ 수령 알림'; +$string['digitalreceipt'] = '디지털 수령ì¦'; +$string['digital_receipt_subject'] = 'ê·€í•˜ì˜ Turnitin 디지털 수령ì¦ìž…니다.'; +$string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname}님,

{$a->submission_date}ì— ìˆ˜ê°•í•˜ì‹  {$a->course_fullname} í´ëž˜ìŠ¤ì˜ {$a->assignment_name}{$a->assignment_part} ê³¼ì œì— í•´ë‹¹í•˜ëŠ” {$a->submission_title} 파ì¼ì„ 성공ì ìœ¼ë¡œ 제출하였습니다. 제출 ID는 {$a->submission_id}입니다. 디지털 수령ì¦ì€ 문서보기 ì°½ì˜ í”„ë¦°íŠ¸/다운로드 ë²„íŠ¼ì„ ëˆŒëŸ¬ í™•ì¸ ë° ì¸ì‡„í•  수 있습니다.

Turnitinì„ ì´ìš©í•´ 주셔서 ê°ì‚¬í•©ë‹ˆë‹¤.

Turnitin 팀'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin ì•„ì´ë””'; +$string['turnitinstatus'] = 'Turnitin ìƒíƒœ'; +$string['pending'] = '보류 중'; +$string['similarity'] = '유사성'; +$string['notorcapable'] = 'ì´ íŒŒì¼ì— 대해 ë…창성 보고서를 ìƒì„±í•  수 없습니다.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'í•™ìƒì´ 보고서를 본 날짜:'; +$string['student_notread'] = 'í•™ìƒì´ ì´ ë³´ê³ ì„œë¥¼ 보지 않았습니다.'; +$string['launchpeermarkreviews'] = 'Peermark í‰ê°€ 개시하기'; + +// Cron +$string['ppqueuesize'] = '표절 í”ŒëŸ¬ê·¸ì¸ ì´ë²¤íŠ¸ queueì˜ ì´ë²¤íŠ¸ 수'; +$string['ppcronsubmissionlimitreached'] = 'ì´ cron 실행당 {$a}ê°œì˜ ì œì¶œë¬¼ë§Œ 처리ë˜ë¯€ë¡œ ë” ì´ìƒ Turnitinì— ì œì¶œë¬¼ì´ ì „ì†¡ë˜ì§€ 않습니다.'; +$string['cronsubmittedsuccessfully'] = '{$a->coursename} ì½”ìŠ¤ì˜ {$a->assignmentname} ê³¼ì œì— ëŒ€í•œ 제출물: {$a->title}(TII ID: {$a->submissionid})ì´(ê°€) Turnitinì— ì„±ê³µì ìœ¼ë¡œ 제출ë˜ì—ˆìŠµë‹ˆë‹¤.'; +$string['pp_submission_error'] = 'Turnitinì´ ê·€í•˜ì˜ ì œì¶œì— ëŒ€í•œ 오류 메시지를 반환했습니다.'; +$string['turnitindeletionerror'] = 'Turnitin 제출물 ì‚­ì œì— ì‹¤íŒ¨í•˜ì˜€ìŠµë‹ˆë‹¤.로컬 Moodle ë³µì‚¬ë³¸ì€ ì œê±°ë˜ì—ˆì§€ë§Œ Turnitin ìƒì˜ ì œì¶œë¬¼ì„ ì‚­ì œí•  수 없었습니다.'; +$string['ppeventsfailedconnection'] = 'Turnitinì— ëŒ€í•œ ì ‘ì†ì„ 구성할 수 없기 ë•Œë¬¸ì— ì´ cron 실행으로는 Turnitin 표절 플러그ì¸ì— ì˜í•œ ì´ë²¤íŠ¸ 처리가 불가능합니다.'; + +// Error codes +$string['tii_submission_failure'] = 'ìžì„¸í•œ ë‚´ìš©ì€ ë‹´ë‹¹ 튜터나 시스템 관리ìžì™€ ìƒì˜í•˜ì‹­ì‹œì˜¤.'; +$string['faultcode'] = '착오 코드'; +$string['line'] = 'ì—´'; +$string['message'] = '메세지'; +$string['code'] = '코드'; +$string['tiisubmissionsgeterror'] = 'Turnitinì—ì„œ 본 ê³¼ì œì˜ ì œì¶œë¬¼ë“¤ì„ ê°€ì ¸ì˜¤ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; +$string['errorcode0'] = 'ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. 시스템 관리ìžì—게 문ì˜í•˜ì‹­ì‹œì˜¤.'; +$string['errorcode1'] = 'ì´ íŒŒì¼ì€ ë…창성 보고서를 ìƒì„±í•  ë§Œí¼ ì¶©ë¶„í•œ ë‚´ìš©ì„ ë‹´ê³  있지 ì•Šì•„ Turnitinì— ì œì¶œë˜ì§€ 않았습니다.'; +$string['errorcode2'] = 'ì´ íŒŒì¼ì€ {$a} í¬ê¸° í•œë„를 초과하기 ë•Œë¬¸ì— Turnitinì— ì œì¶œë˜ì§€ ì•Šì„ ê²ƒìž…ë‹ˆë‹¤.'; +$string['errorcode3'] = '사용ìžê°€ Turnitin 최종 ì‚¬ìš©ìž ë¼ì´ì„¼ìŠ¤ ê³„ì•½ì„ ìˆ˜ë½í•˜ì§€ 않았기 ë•Œë¬¸ì— ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다.'; +$string['errorcode4'] = 'ì´ ê³¼ì œì— ì§€ì›ë˜ëŠ” 형ì‹ì˜ 파ì¼ì„ 업로드해야 합니다. 허용ë˜ëŠ” íŒŒì¼ í˜•ì‹ì€ .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps, .rtf입니다.'; +$string['errorcode5'] = 'ì œì¶œì„ í—ˆìš©í•˜ì§€ 않는 Turnitinì—ì„œ ëª¨ë“ˆì„ ìƒì„±í•˜ëŠ” ë™ì•ˆ 문제가 ë°œìƒí•˜ì—¬ Turnitinì— ì´ íŒŒì¼ì´ 제출ë˜ì§€ 않았습니다. ìžì„¸í•œ 정보는 해당 API 로그를 참조하십시오.'; +$string['errorcode6'] = 'ì œì¶œì„ í—ˆìš©í•˜ì§€ 않는 Turnitinì—ì„œ 모듈 í™˜ê²½ì„ ìˆ˜ì •í•˜ëŠ” ë™ì•ˆ 문제가 ë°œìƒí•˜ì—¬ Turnitinì— ì´ íŒŒì¼ì´ 제출ë˜ì§€ 않았습니다. ìžì„¸í•œ 정보는 해당 API 로그를 참조하십시오.'; +$string['errorcode7'] = 'ì œì¶œì„ í—ˆìš©í•˜ì§€ 않는 Turnitinì—ì„œ 사용ìžë¥¼ ìƒì„±í•˜ëŠ” ë™ì•ˆ 문제가 ë°œìƒí•˜ì—¬ Turnitinì— ì´ íŒŒì¼ì´ 제출ë˜ì§€ 않았습니다. ìžì„¸í•œ 정보는 해당 API 로그를 참조하십시오.'; +$string['errorcode8'] = 'ìž„ì‹œ 파ì¼ì„ ìƒì„±í•˜ëŠ” ë™ì•ˆ 문제가 ë°œìƒí•˜ì—¬ Turnitinì— ì´ íŒŒì¼ì´ 제출ë˜ì§€ 않았습니다. ìž˜ëª»ëœ íŒŒì¼ ì´ë¦„ ë•Œë¬¸ì¼ ê°€ëŠ¥ì„±ì´ ë†’ìŠµë‹ˆë‹¤. íŒŒì¼ ì´ë¦„ì„ ë°”ê¾¸ê³  제출 ìˆ˜ì •ì„ ì´ìš©í•˜ì—¬ 다시 업로드하십시오.'; +$string['errorcode9'] = '제출할 íŒŒì¼ í’€ì— ì•¡ì„¸ìŠ¤ 가능한 ë‚´ìš©ì´ ì—†ì–´ 파ì¼ì´ 제출ë˜ì§€ 않았습니다.'; +$string['coursegeterror'] = '코스 ë°ì´í„°ë¥¼ 가져올 수 없었습니다.'; +$string['configureerror'] = '코스ì—ì„œ ì´ ëª¨ë“ˆì„ ì‚¬ìš©í•˜ê¸° ì „ì— ê´€ë¦¬ìžë¡œì„œ ì´ë¥¼ 완전히 구성해야 합니다. ê·€í•˜ì˜ Moodle 관리ìžì—게 문ì˜í•˜ì‹œê¸° ë°”ëžë‹ˆë‹¤.'; +$string['turnitintoolofflineerror'] = 'ì¼ì‹œì ì¸ 문제가 ë°œìƒí–ˆìŠµë‹ˆë‹¤. ìž ì‹œ 후 다시 ì‹œë„하십시오.'; +$string['defaultinserterror'] = 'ë°ì´íƒ€ë² ì´ìŠ¤ì— 기본 í™˜ê²½ê°’ì„ ì‚½ìž…í•˜ëŠ” ë° ì˜¤ë¥˜ê°€ ìƒê²¼ìŠµë‹ˆë‹¤.'; +$string['defaultupdateerror'] = 'ë°ì´íƒ€ë² ì´ìŠ¤ì— 있는 기본 í™˜ê²½ê°’ì„ ì—…ë°ì´íŠ¸í•˜ëŠ” ë° ì˜¤ë¥˜ê°€ ìƒê²¼ìŠµë‹ˆë‹¤.'; +$string['tiiassignmentgeterror'] = 'Turnitinì—ì„œ 과제를 ê°€ì ¸ì˜¤ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; +$string['assigngeterror'] = 'turnitintooltwo ë°ì´íƒ€ë¥¼ ì·¨ë“í•  수 없었ìŒ'; +$string['classupdateerror'] = 'Turnitin í´ëž˜ìŠ¤ ë°ì´íƒ€ë¥¼ ì—…ë°ì´íŠ¸í•  수 없었습니다'; +$string['pp_createsubmissionerror'] = 'Turnitinì—ì„œ ì œì¶œë¬¼ì„ ìƒì„±í•˜ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; +$string['pp_updatesubmissionerror'] = 'Turnitinì— ëŒ€í•´ ì œì¶œë¬¼ì„ ìž¬ì œì¶œí•˜ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; +$string['tiisubmissiongeterror'] = 'Turnitinì—ì„œ ì œì¶œë¬¼ì„ ê°€ì ¸ì˜¤ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; + +// Javascript +$string['closebutton'] = '닫기'; +$string['loadingdv'] = 'Turnitin 문서보기 ì°½ 로드 중...'; +$string['changerubricwarning'] = '채ì í‘œë¥¼ 변경하거나 분리하면 ì´ë¯¸ 채ì ì´ ëœ ì ìˆ˜ì¹´ë“œë¥¼ í¬í•¨í•˜ì—¬ 해당 ê³¼ì œì— ìžˆëŠ” ë³´ê³ ì„œë“¤ì˜ ê¸°ì¡´ 채ì í‘œ 채ì ì‚¬í•­ì´ ëª¨ë‘ ì œê±°ë©ë‹ˆë‹¤.'; +$string['messageprovider:submission'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ ë””ì§€í„¸ 수령 알림'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin ìƒíƒœ'; +$string['deleted'] = 'ì‚­ì œë¨'; +$string['pending'] = '보류 중'; +$string['because'] = '관리ìžê°€ 처리 queueì— ë³´ë¥˜ ì¤‘ì¸ ê³¼ì œë¥¼ 삭제하고 Turnitinì— ëŒ€í•œ ì œì¶œì„ ì¤‘ë‹¨í–ˆê¸° 때문입니다.
파ì¼ì´ ì•„ì§ Moodleì— ìžˆìŠµë‹ˆë‹¤. 담당 강사ì—게 문ì˜í•˜ì‹­ì‹œì˜¤.
오류 코드는 아래ì—ì„œ 확ì¸í•˜ì‹­ì‹œì˜¤.'; diff --git a/lang/nl/plagiarism_turnitin.php b/lang/nl/plagiarism_turnitin.php new file mode 100755 index 00000000..624673aa --- /dev/null +++ b/lang/nl/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Turnitin inschakelen'; +$string['excludebiblio'] = 'Exclusief bibliografie'; +$string['excludequoted'] = 'Exclusief citaten'; +$string['excludevalue'] = 'Kleine overeenkomsten uitsluiten'; +$string['excludewords'] = 'Woorden'; +$string['excludepercent'] = 'Procent'; +$string['norubric'] = 'Geen beoordelingsschema'; +$string['otherrubric'] = 'Beoordelingsschema van andere docent gebruiken'; +$string['attachrubric'] = 'Een beoordelingsschema toevoegen aan deze opdracht'; +$string['launchrubricmanager'] = 'Rubric Manager starten'; +$string['attachrubricnote'] = 'Let op: studenten kunnen bijgevoegde beoordelingsschema's en de inhoud ervan bekijken alvorens in te dienen.'; +$string['erater_handbook_advanced'] = 'Gevorderd'; +$string['erater_handbook_highschool'] = 'Bovenbouw van middelbare school'; +$string['erater_handbook_middleschool'] = 'Onderbouw van middelbare school'; +$string['erater_handbook_elementary'] = 'Basisschool'; +$string['erater_handbook_learners'] = 'Leerlingen Engels'; +$string['erater_dictionary_enus'] = 'Amerikaans-Engels woordenboek'; +$string['erater_dictionary_engb'] = 'Brits-Engels woordenboek'; +$string['erater_dictionary_en'] = 'Zowel Amerikaans- als Brits-Engels woordenboek'; +$string['erater'] = 'E-rater grammaticacontrole inschakelen'; +$string['erater_handbook'] = 'ETS© Handboek'; +$string['erater_dictionary'] = 'e-rater Woordenboek'; +$string['erater_categories'] = 'e-rater Categorieën'; +$string['erater_spelling'] = 'Spelling'; +$string['erater_grammar'] = 'Grammatica'; +$string['erater_usage'] = 'Gebruik'; +$string['erater_mechanics'] = 'Techniek'; +$string['erater_style'] = 'Stijl'; +$string['anonblindmarkingnote'] = 'Opmerking: de afzonderlijke Turnitin-instelling voor anonieme beoordeling is verwijderd. Turnitin gebruikt de Moodle-instelling voor blinde beoordeling om de instelling voor anonieme beoordeling te bepalen.'; +$string['transmatch'] = 'Vertaald matchen'; +$string['genduedate'] = 'Rapporten genereren op inleverdatum (opnieuw indienen is toegestaan tot de inleverdatum)'; +$string['genimmediately1'] = 'Rapporten onmiddellijk genereren (opnieuw indienen is niet toegestaan)'; +$string['genimmediately2'] = 'Rapporten onmiddellijk genereren (opnieuw indienen is toegestaan tot de inleverdatum)'; +$string['launchquickmarkmanager'] = 'Quickmark Manager starten'; +$string['launchpeermarkmanager'] = 'Peermark Manager starten'; +$string['studentreports'] = 'Originaliteitsrapporten weergeven voor studenten'; +$string['studentreports_help'] = 'Hiermee kunt u originaliteitsrapporten van Turnitin tonen aan studenten. Indien 'Ja' is geselecteerd, kunnen studenten originaliteitsrapporten bekijken die door Turnitin zijn gegenereerd.'; +$string['submitondraft'] = 'Bestand verzenden wanneer het voor het eerst wordt geüpload'; +$string['submitonfinal'] = 'Bestand verzenden wanneer student het ter beoordeling verzendt'; +$string['draftsubmit'] = 'Wanneer moet het bestand worden ingediend bij Turnitin?'; +$string['allownonor'] = 'Inzendingen van elk bestandstype toestaan?'; +$string['allownonor_help'] = 'Met deze instelling kunnen alle bestandstypen worden ingediend. Als deze optie is ingesteld op "Ja", worden inzendingen waar mogelijk gecontroleerd op originaliteit, zijn inzendingen beschikbaar om te worden gedownload zijn waar mogelijk GradeMark feedback-tools beschikbaar.'; +$string['norepository'] = 'Geen online opslag'; +$string['standardrepository'] = 'Standaard online opslag'; +$string['submitpapersto'] = 'Papers van studenten opslaan'; +$string['institutionalrepository'] = 'Online opslag van instelling (indien van toepassing)'; +$string['submitpapersto_help'] = 'Met deze instelling kunnen docenten selecteren of papers moeten worden opgeslagen in een Turnitin online opslag voor papers van studenten. Het voordeel van het indienen van papers bij een opslag voor papers van studenten is dat papers van studenten die worden ingediend bij de opdracht worden vergeleken met andere papers die zijn ingediend voor uw huidige en vorige cursussen. Als u "geen opslag" selecteert, worden de papers van uw studenten niet opgeslagen in de Turnitin-opslag voor papers van studenten.'; +$string['checkagainstnote'] = 'Opmerking: als u 'Ja’ niet voor minimaal één 'Vergelijken met...'-optie hieronder selecteert, wordt er GEEN Originaliteitsrapport gegenereerd.'; +$string['spapercheck'] = 'Vergelijken met opgeslagen papers van studenten'; +$string['internetcheck'] = 'Vergelijken met internet'; +$string['journalcheck'] = 'Vergelijken met tijdschriften,
periodieken en publicaties'; +$string['compareinstitution'] = 'Ingediende bestanden vergelijken met papers die zijn ingediend binnen deze onderwijsinstelling'; +$string['reportgenspeed'] = 'Generatiesnelheid van rapport'; +$string['genspeednote'] = 'Opmerking: voor het genereren van originaliteitsrapporten geldt bij opnieuw indienen een vertraging van 24 uur.'; +$string['locked_message'] = 'Vergrendeld bericht'; +$string['locked_message_help'] = 'Als er instellingen zijn die zijn vergrendeld, wordt dit bericht weergegeven om uit te leggen waarom.'; +$string['locked_message_default'] = 'Deze instelling is vergrendeld op siteniveau'; +$string['sharedrubric'] = 'Gedeeld beoordelingsschema'; +$string['turnitinrefreshsubmissions'] = 'Inzendingen vernieuwen'; +$string['turnitinrefreshingsubmissions'] = 'Inzendingen vernieuwen'; +$string['turnitinppulapre'] = 'Als u een bestand wilt indienen bij Turnitin, moet u eerst onze EULA accepteren. Als u ervoor kiest onze EULA niet te accepteren, wordt uw bestand alleen bij Moodle ingediend. Klik hier om de EULA te accepteren.'; +$string['noscriptula'] = '(Aangezien u JavaScript niet hebt ingeschakeld, moet u deze pagina handmatig vernieuwen voordat u uw inzending opnieuw kunt indienen nadat u de Turnitin-gebruikersovereenkomst hebt geaccepteerd)'; +$string['filedoesnotexist'] = 'Bestand is verwijderd'; + +// Plugin settings +$string['config'] = 'Configuratie'; +$string['defaults'] = 'Standaardinstellingen'; +$string['showusage'] = 'Gegevensdump weergeven'; +$string['saveusage'] = 'Gegevensdump opslaan'; +$string['errors'] = 'Fouten'; +$string['turnitinconfig'] = 'Configuratie van Turnitin-plagiaat-plugin'; +$string['tiiexplain'] = 'Turnitin is een commercieel product en u moet betalen voor een abonnement om gebruik te maken van deze dienst. Zie http://docs.moodle.org/en/Turnitin_administration voor meer informatie.'; +$string['useturnitin'] = 'Turnitin inschakelen'; +$string['useturnitin_mod'] = 'Turnitin inschakelen voor {$a}'; +$string['pp_configuredesc'] = 'U moet deze module binnen de turnitintooltwo-module configureren. Klik hier om deze plugin te configureren.'; +$string['turnitindefaults'] = 'Standaardinstellingen voor plagiaat-plugin van Turnitin'; +$string['defaultsdesc'] = 'De volgende instellingen worden standaard ingesteld wanneer Turnitin wordt ingeschakeld binnen een Activiteitenmodule'; +$string['turnitinpluginsettings'] = 'Instellingen voor plagiaat-plugin van Turnitin'; +$string['pperrorsdesc'] = 'Er is een probleem opgetreden bij het uploaden van de onderstaande bestanden naar Turnitin. Als u opnieuw wilt proberen deze in te dienen, dient u de bestanden te selecteren die u wilt indienen en op de knop Opnieuw indienen te klikken. De bestanden worden vervolgens verwerkt wanneer de cron de volgende keer wordt uitgevoerd.'; +$string['pperrorssuccess'] = 'De bestanden die u hebt geselecteerd, zijn opnieuw ingediend en worden door de cron verwerkt.'; +$string['pperrorsfail'] = 'Er is een probleem met enkele van de bestanden die u hebt geselecteerd. Er kan geen nieuwe cron-gebeurtenis worden gemaakt voor de bestanden.'; +$string['resubmitselected'] = 'Geselecteerde bestanden opnieuw indienen'; +$string['deleteconfirm'] = 'Weet u zeker dat u deze inzending wilt verwijderen?\n\nDeze actie kan niet ongedaan worden gemaakt.'; +$string['deletesubmission'] = 'Inzending verwijderen'; +$string['semptytable'] = 'Geen resultaten gevonden.'; +$string['configupdated'] = 'Configuratie bijgewerkt'; +$string['defaultupdated'] = 'Turnitin-standaardwaarden bijgewerkt'; +$string['notavailableyet'] = 'Niet beschikbaar'; +$string['resubmittoturnitin'] = 'Opnieuw indienen bij Turnitin'; +$string['resubmitting'] = 'Opnieuw indienen'; +$string['id'] = 'Id'; +$string['student'] = 'Student'; +$string['course'] = 'Cursus'; +$string['module'] = 'Module'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Originaliteitsrapport bekijken'; +$string['launchrubricview'] = 'Bekijk het beoordelingsschema (rubric) dat is gebruikt voor het beoordelen'; +$string['turnitinppulapost'] = 'Uw bestand is niet ingediend bij Turnitin. Klik hier om onze EULA te accepteren.'; +$string['ppsubmissionerrorseelogs'] = 'Dit bestand is niet ingediend bij Turnitin. Raadplaag uw systeembeheerder voor meer informatie.'; +$string['ppsubmissionerrorstudent'] = 'Dit bestand is niet ingediend bij Turnitin. Raadplaag uw privédocent voor meer informatie.'; + +// Receipts +$string['messageprovider:submission'] = 'Meldingen over digitaal ontvangstbewijs voor Turnitin-plagiaat-plugin'; +$string['digitalreceipt'] = 'Digitaal ontvangstbewijs'; +$string['digital_receipt_subject'] = 'Dit is uw digitaal ontvangstbewijs van Turnitin'; +$string['pp_digital_receipt_message'] = 'Beste {$a->firstname} {$a->lastname},

U hebt het bestand {$a->submission_title} ingediend bij de opdracht {$a->assignment_name}{$a->assignment_part} in de cursus {$a->course_fullname} op {$a->submission_date}. Uw inzendings-id is {$a->submission_id}. Uw volledige digitaal ontvangstbewijs kunt u zien en afdrukken door in Document Viewer te drukken op de knop voor afdrukken/downloaden.

Bedankt dat u Turnitin gebruikt,

Het Turnitin-team'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin-id'; +$string['turnitinstatus'] = 'Turnitin-status'; +$string['pending'] = 'In afwachting van behandeling'; +$string['similarity'] = 'Vergelijkbaarheid'; +$string['notorcapable'] = 'Het is niet mogelijk om een originaliteitsrapport te genereren voor dit bestand.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'De student heeft de paper bekeken op:'; +$string['student_notread'] = 'De student heeft de paper niet bekeken.'; +$string['launchpeermarkreviews'] = 'Peermark-evaluaties starten'; + +// Cron +$string['ppqueuesize'] = 'Aantal gebeurtenissen in de wachtrij met Plagiaat-Plugin-gebeurtenissen'; +$string['ppcronsubmissionlimitreached'] = 'Er worden verder geen inzendingen meer verzonden naar Turnitin door deze cron-uitvoering omdat er slechts {$a} per keer worden verwerkt'; +$string['cronsubmittedsuccessfully'] = 'Inzending: {$a->title} (TII-id: {$a->submissionid}) voor de opdracht {$a->assignmentname} op de cursus {$a->coursename} is ingediend bij Turnitin.'; +$string['pp_submission_error'] = 'Turnitin heeft een fout geretourneerd voor uw inzending:'; +$string['turnitindeletionerror'] = 'Verwijderen van Turnitin-inzending mislukt. De lokale Moodle-kopie is verwijderd, maar de inzending in Turnitin kan niet worden verwijderd.'; +$string['ppeventsfailedconnection'] = 'Er worden geen gebeurtenissen verwerkt door de Turnitin-plagiaat-plugin als gevolg van het uitvoeren van deze cron, aangezien er geen verbinding met Turnitin tot stand kan worden gebracht.'; + +// Error codes +$string['tii_submission_failure'] = 'Neem contact op met uw privédocent of systeembeheerder voor meer informatie'; +$string['faultcode'] = 'Foutcode'; +$string['line'] = 'Lijn'; +$string['message'] = 'Bericht'; +$string['code'] = 'Code'; +$string['tiisubmissionsgeterror'] = 'Er is een fout opgetreden tijdens het bij Turnitin ophalen van inzendingen voor deze opdracht'; +$string['errorcode0'] = 'Dit bestand is niet ingediend bij Turnitin. Raadplaag uw systeembeheerder voor meer informatie.'; +$string['errorcode1'] = 'Dit bestand is niet naar Turnitin verzonden omdat het bestand onvoldoende inhoud heeft om een originaliteitsrapport te produceren.'; +$string['errorcode2'] = 'Dit bestand kan niet worden ingediend bij Turnitin omdat het bestand de maximaal toegestane grootte van {$a} overschrijdt'; +$string['errorcode3'] = 'Dit bestand is niet ingediend bij Turnitin omdat de gebruiker de Eindgebruikersovereenkomst van Turnitin niet heeft geaccepteerd.'; +$string['errorcode4'] = 'U dient een bestand van een ondersteund type te uploaden voor deze opdracht. Geaccepteerde bestandstypen zijn; .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps en .rtf'; +$string['errorcode5'] = 'Dit bestand is niet naar Turnitin verzonden omdat er een probleem is met het maken van de module in Turnitin die inzendingen verhindert. Raadpleeg uw API-logbestanden voor meer informatie.'; +$string['errorcode6'] = 'Dit bestand is niet naar Turnitin verzonden omdat er een probleem is met het bewerken van de module in Turnitin, waardoor inzenden niet mogelijk is. Raadpleeg uw API-logbestanden voor meer informatie.'; +$string['errorcode7'] = 'Dit bestand is niet naar Turnitin verzonden omdat er een probleem is met het maken van de gebruiker in Turnitin, waardoor inzenden niet mogelijk is. Raadpleeg uw API-logbestanden voor meer informatie.'; +$string['errorcode8'] = 'Dit bestand is niet naar Turnitin verzonden omdat er een probleem is met het maken van het tijdelijke bestand. De meest waarschijnlijke oorzaak is een ongeldige bestandsnaam. Wijzig de naam van het bestand en upload opnieuw via Inzending bewerken.'; +$string['errorcode9'] = 'Dit bestand kan niet worden verzonden omdat er geen toegankelijke inhoud is in de bestandspool om te verzenden.'; +$string['coursegeterror'] = 'Kan cursusgegevens niet ophalen'; +$string['configureerror'] = 'U moet deze module volledig configureren als beheerder voordat u deze kunt gebruiken in een cursus. Neem contact op met uw Moodle-beheerder.'; +$string['turnitintoolofflineerror'] = 'Er is een tijdelijke fout opgetreden. Probeer het later opnieuw.'; +$string['defaultinserterror'] = 'Er is een fout opgetreden bij een poging een standaardinstellingswaarde in te voegen in de database'; +$string['defaultupdateerror'] = 'Er is een fout opgetreden bij een poging een standaardinstellingswaarde bij te werken in de database'; +$string['tiiassignmentgeterror'] = 'Er is een fout opgetreden bij het ophalen van een opdracht van Turnitin'; +$string['assigngeterror'] = 'Kan turnitintooltwo-gegevens niet ophalen'; +$string['classupdateerror'] = 'Kan Turnitin-cursusgegevens niet bijwerken'; +$string['pp_createsubmissionerror'] = 'Er is een fout opgetreden bij een poging de inzending in Turnitin te maken'; +$string['pp_updatesubmissionerror'] = 'Er is een fout opgetreden bij een poging uw inzending opnieuw in te dienen bij Turnitin'; +$string['tiisubmissiongeterror'] = 'Er is een fout opgetreden bij het ophalen van een inzending uit Turnitin'; + +// Javascript +$string['closebutton'] = 'Sluiten'; +$string['loadingdv'] = 'Turnitin Document Viewer laden...'; +$string['changerubricwarning'] = 'Bij het wijzigen of losmaken van een rubric, of beoordelingsschema, worden alle bestaande rubric-scores van papers binnen deze opdracht verwijderd, met inbegrip van scorekaarten die eerder van opmerkingen zijn voorzien. De totale cijfers voor eerder gecorrigeerde papers blijven bewaard.'; +$string['messageprovider:submission'] = 'Meldingen over digitaal ontvangstbewijs voor Turnitin-plagiaat-plugin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin-status'; +$string['deleted'] = 'Verwijderd'; +$string['pending'] = 'In afwachting van behandeling'; +$string['because'] = 'Dit komt doordat een beheerder de opdracht, die in afwachting van behandeling was, uit de verwerkingswachtrij heeft verwijderd en de inzending naar Turnitin heeft afgebroken.
Het bestand bestaat nog in Moodle. Neem contact op met uw docent.
Foutcodes staan hieronder:'; diff --git a/lang/pl/plagiarism_turnitin.php b/lang/pl/plagiarism_turnitin.php new file mode 100755 index 00000000..c5ab106e --- /dev/null +++ b/lang/pl/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'WÅ‚Ä…cz Turnitin'; +$string['excludebiblio'] = 'PomiÅ„ bibliografiÄ™'; +$string['excludequoted'] = 'Wyklucz cytaty'; +$string['excludevalue'] = 'Wyklucz maÅ‚e dopasowania'; +$string['excludewords'] = 'SÅ‚owa'; +$string['excludepercent'] = 'Procent'; +$string['norubric'] = 'Brak arkusza'; +$string['otherrubric'] = 'Użyj arkusza należącego do innego instruktora'; +$string['attachrubric'] = 'DoÅ‚Ä…cz arkusz do tego zadania'; +$string['launchrubricmanager'] = 'Uruchom Menedżera Arkuszy'; +$string['attachrubricnote'] = 'Uwaga: Przed dokonaniem wysyÅ‚ki studenci bÄ™dÄ… mogli zobaczyć doÅ‚Ä…czone arkusze wraz z ich zawartoÅ›ciÄ….'; +$string['erater_handbook_advanced'] = 'Zaawansowany'; +$string['erater_handbook_highschool'] = 'SzkoÅ‚a Å›rednia'; +$string['erater_handbook_middleschool'] = 'Gimnazjum'; +$string['erater_handbook_elementary'] = 'SzkoÅ‚a podstawowa'; +$string['erater_handbook_learners'] = 'UczÄ…cy siÄ™ angielskiego'; +$string['erater_dictionary_enus'] = 'SÅ‚ownik jÄ™zyka angielskiego (odmiana amerykaÅ„ska)'; +$string['erater_dictionary_engb'] = 'SÅ‚ownik jÄ™zyka angielskiego (odmiana brytyjska)'; +$string['erater_dictionary_en'] = 'SÅ‚owniki jÄ™zyka angielskigo: odmiany amerykaÅ„ska i brytyjska'; +$string['erater'] = 'WÅ‚Ä…cz sprawdzanie gramatyki e-rater'; +$string['erater_handbook'] = 'PodrÄ™cznik ETS©'; +$string['erater_dictionary'] = 'SÅ‚ownik e-rater'; +$string['erater_categories'] = 'Kategorie e-rater'; +$string['erater_spelling'] = 'Ortografia'; +$string['erater_grammar'] = 'Gramatyka'; +$string['erater_usage'] = 'Norma jÄ™zykowa'; +$string['erater_mechanics'] = 'Pisownia i interpunkcja'; +$string['erater_style'] = 'Styl'; +$string['anonblindmarkingnote'] = 'Uwaga: Oddzielne ustawienie anonimowych poprawek Turnitin zostaÅ‚o usuniÄ™te. Do ustalenia statusu ustawienia anonimowych poprawek zostanie użyte ustawienie Å›lepych poprawek usÅ‚ugi Moodle.'; +$string['transmatch'] = 'PrzetÅ‚umaczone zbieżnoÅ›ci'; +$string['genduedate'] = 'SporzÄ…dzaj raporty w terminie oddania zadania (ponowne wysyÅ‚ki dozwolone do terminu oddania zadania)'; +$string['genimmediately1'] = 'SporzÄ…dzaj raporty natychmiastowo (ponowne wysyÅ‚ki niedozwolone)'; +$string['genimmediately2'] = 'SporzÄ…dzaj raporty natychmiastowo (ponowne wysyÅ‚ki dozwolone do terminu oddania)'; +$string['launchquickmarkmanager'] = 'Uruchom Menedżera Quickmark'; +$string['launchpeermarkmanager'] = 'Uruchom Menedżera Peermark'; +$string['studentreports'] = 'WyÅ›wietl raporty oryginalnoÅ›ci studentom'; +$string['studentreports_help'] = 'Umożliwia wyÅ›wietlenie raportów oryginalnoÅ›ci Turnitin studentom-użytkownikom. Wybór „tak†udostÄ™pnia raport oryginalnoÅ›ci wygenerowany przez Turnitin do wglÄ…du studenta.'; +$string['submitondraft'] = 'Przekaż plik w momencie wysÅ‚ania'; +$string['submitonfinal'] = 'Przekaż plik kiedy student wyÅ›le do oceny'; +$string['draftsubmit'] = 'Kiedy plik powinien być przekazany do Turnitin?'; +$string['allownonor'] = 'Zezwolić na wysyÅ‚kÄ™ plików dowolnego typu?'; +$string['allownonor_help'] = 'To ustawienie umożliwi wysÅ‚anie każdego rodzaju pliku. Wybór "Tak" spowoduje, że wysyÅ‚ki zostanÄ… sprawdzone pod wzglÄ™dem oryginalnoÅ›ci tam, gdzie to możliwe, wysyÅ‚ki bÄ™dÄ… dostÄ™pne do pobrania, a narzÄ™dzia do wydawania opinii GradeMark bÄ™dÄ… dostÄ™pne w miarÄ™ możliwoÅ›ci.'; +$string['norepository'] = 'Brak magazynu'; +$string['standardrepository'] = 'Magazyn standardowy'; +$string['submitpapersto'] = 'Przechowuj prace studentów'; +$string['institutionalrepository'] = 'Magazyn instytucji (jeÅ›li dotyczy)'; +$string['submitpapersto_help'] = 'DziÄ™ki temu ustawieniu instruktorzy majÄ… wybór, czy przechowywać prace w magazynie prac studenckich Turnitin. Przechowywanie prac w magazynie pozwala na porównanie\' prac wysÅ‚anych do zadania z pracami z Twoich obecnych i dawnych klas. JeÅ›li wybierzesz "nie do magazynu", prace Twoich studentów\' nie bÄ™dÄ… przechowywane w magazynie prac studenckich Turnitin.'; +$string['checkagainstnote'] = 'Uwaga: W przypadku niewybrania ustawienia „Tak†w co najmniej jednej opcji „Sprawdzić w...†widocznej poniżej raport oryginalnoÅ›ci NIE zostanie utworzony.'; +$string['spapercheck'] = 'Porównaj z przechowywanymi pracami studentów'; +$string['internetcheck'] = 'Sprawdź w Internecie'; +$string['journalcheck'] = 'Sprawdź w czasopismach,
periodykach i publikacjach'; +$string['compareinstitution'] = 'Porównaj wysłane pliki z pracami wysłanymi wewnątrz tej instytucji'; +$string['reportgenspeed'] = 'Szybkość generowania raportu'; +$string['genspeednote'] = 'Uwaga: W przypadku ponownych wysyłek raport oryginalności może zostać wygenerowany z 24-godzinnym opóźnieniem.'; +$string['locked_message'] = 'Komunikat o blokadzie'; +$string['locked_message_help'] = 'Jeżeli jakiekolwiek ustawienia są zablokowane, ten wyświetlany komunikat będzie zawierał wyjaśnienie powodu blokady.'; +$string['locked_message_default'] = 'To ustawienie jest zablokowane na poziomie strony internetowej'; +$string['sharedrubric'] = 'Udostępniany arkusz'; +$string['turnitinrefreshsubmissions'] = 'Odśwież wysyłki'; +$string['turnitinrefreshingsubmissions'] = 'Odświeżanie wysyłek'; +$string['turnitinppulapre'] = 'Aby przesłać plik do Turnitin, należy najpierw zaakceptować naszą umowę licencyjną użytkownika końcowego (EULA). Brak akceptacji umowy EULA spowoduje przesłanie pliku wyłącznie do usługi Moodle. Kliknij tutaj, aby zaakceptować.'; +$string['noscriptula'] = '(Ponieważ javascript nie jest włączony, strona wymaga manualnego odświeżenia przed dokonaniem wysyłki i po zaakceptowaniu umowy użytkownika Turnitin)'; +$string['filedoesnotexist'] = 'Plik został usunięty'; + +// Plugin settings +$string['config'] = 'Konfiguracja'; +$string['defaults'] = 'Ustawienia domyślne'; +$string['showusage'] = 'Pokaż zrzut danych'; +$string['saveusage'] = 'Zachowaj zrzut danych'; +$string['errors'] = 'Błędy'; +$string['turnitinconfig'] = 'Konfiguracja wtyczki plagiatu Turnitin'; +$string['tiiexplain'] = 'Turnitin jest produktem komercyjnym — do korzystania z niego wymagana jest płatna subskrypcja. Więcej informacji znajduje się w http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Włącz Turnitin'; +$string['useturnitin_mod'] = 'Włącz Turnitin dla {$a}'; +$string['pp_configuredesc'] = 'Musisz skonfigurować ten moduł wewnątrz modułu turnitintooltwo. Kliknij tutaj, aby skonfigurować tę wtyczkę'; +$string['turnitindefaults'] = 'Ustawienia domyślne wtyczki plagiatu Turnitin'; +$string['defaultsdesc'] = 'Następujące ustawienia są ustawieniami domyślnymi gdy Turnitin jest włączony wewnątrz modułu aktywności'; +$string['turnitinpluginsettings'] = 'Ustawienia wtyczki plagiatu Turnitin'; +$string['pperrorsdesc'] = 'Podczas próby wysłania poniższych plików do Turnitin wystąpił problem. Aby wysłać je ponownie, wybierz pliki, które mają zostać ponownie wysłane, i naciśnij przycisk Wyślij ponownie. Pliki zostaną przetworzone przy następnym uruchomieniu Cron.'; +$string['pperrorssuccess'] = 'Wybrane pliki zostały wysłane ponownie i zostaną przetworzone przez Cron.'; +$string['pperrorsfail'] = 'W przypadku niektórych wybranych plików wystąpił problem. Utworzenie dla nich nowego zdarzenia Cron nie powiodło się.'; +$string['resubmitselected'] = 'Wyślij wybrane pliki ponownie'; +$string['deleteconfirm'] = 'Czy na pewno chcesz usunąć tę wysyłkę?\n\nTej operacji nie można cofnąć.'; +$string['deletesubmission'] = 'Usunąć wysyłkę'; +$string['semptytable'] = 'Nie znaleziono rezultatów.'; +$string['configupdated'] = 'Konfiguracja zaktualizowana'; +$string['defaultupdated'] = 'Ustawienia domyślne Turnitin zaktualizowane'; +$string['notavailableyet'] = 'Niedostępny'; +$string['resubmittoturnitin'] = 'Wyślij ponownie do Turnitin'; +$string['resubmitting'] = 'Ponowne wysyłanie'; +$string['id'] = 'Identyfikator'; +$string['student'] = 'Student'; +$string['course'] = 'Kurs'; +$string['module'] = 'Moduł'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Zobacz raport oryginalności'; +$string['launchrubricview'] = 'Zobacz arkusz użyty do poprawek'; +$string['turnitinppulapost'] = 'Plik nie został przesłany do Turnitin. Kliknij tutaj, aby zaakceptować naszą umowę EULA.'; +$string['ppsubmissionerrorseelogs'] = 'Plik nie został przesłany do Turnitin. Skontaktuj się z administratorem systemu.'; +$string['ppsubmissionerrorstudent'] = 'Plik nie został przesłany do Turnitin. Skontaktuj się z tutorem, aby uzyskać więcej informacji.'; + +// Receipts +$string['messageprovider:submission'] = 'Powiadomienia o potwierdzeniu elektronicznym wtyczki plagiatu Turnitin'; +$string['digitalreceipt'] = 'Potwierdzenie elektroniczne'; +$string['digital_receipt_subject'] = 'To jest Twoje potwierdzenie elektroniczne Turnitin'; +$string['pp_digital_receipt_message'] = 'Witaj {$a->firstname} {$a->lastname},

Udało Ci się pomyślnie przesłać plik {$a->submission_title} do zadania {$a->assignment_name}{$a->assignment_part} w ramach klasy {$a->course_fullname} dnia {$a->submission_date}. Twój identyfikator wysyłki to {$a->submission_id}. Pełne potwierdzenie elektroniczne można wyświetlić i wydrukować, używając przycisku drukowania/pobierania w przeglądarce dokumentów.

Dziękujemy za korzystanie z systemu Turnitin.

Zespół Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'Identyfikator Turnitin'; +$string['turnitinstatus'] = 'Status systemu Turnitin'; +$string['pending'] = 'Oczekujące'; +$string['similarity'] = 'Podobieństwo'; +$string['notorcapable'] = 'Wygenerowanie raportu oryginalności dla tego pliku jest niemożliwe.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Student zobaczył pracę'; +$string['student_notread'] = 'Student nie zobaczył tej pracy.'; +$string['launchpeermarkreviews'] = 'Uruchom recenzje Peermark'; + +// Cron +$string['ppqueuesize'] = 'Liczba zdarzeń w kolejce zdarzeń wtyczki plagiatu'; +$string['ppcronsubmissionlimitreached'] = 'Uruchomiona instancja Cron umożliwia przetworzenie jednorazowo {$a} wysyłek, dlatego kolejne wysyłki nie będą przez nią przesyłane do Turnitin'; +$string['cronsubmittedsuccessfully'] = 'Wysyłka: {$a->title} (Identyfikator Turnitin: {$a->submissionid}) do zadania {$a->assignmentname} w ramach kursu {$a->coursename} została pomyślnie przesłana do Turnitin.'; +$string['pp_submission_error'] = 'System Turnitin zwrócił błąd dotyczący Twojej wysyłki:'; +$string['turnitindeletionerror'] = 'Usunięcie wysyłki do Turnitin nie powiodło się. Lokalna kopia Moodle została usunięta, ale wysyłka do Turnitin nie może być usunięta.'; +$string['ppeventsfailedconnection'] = 'Wtyczka plagiatu Turnitin uruchomiona w ramach tej instancji Cron nie będzie przetwarzać żadnych zdarzeń, ponieważ ustanowienie połączenia z Turnitin nie jest możliwe.'; + +// Error codes +$string['tii_submission_failure'] = 'Aby uzyskać więcej informacji, skonsultuj się ze swoim tutorem lub administratorem systemu'; +$string['faultcode'] = 'Kod błędu'; +$string['line'] = 'Wiersz'; +$string['message'] = 'Wiadomość'; +$string['code'] = 'Kod'; +$string['tiisubmissionsgeterror'] = 'Wystąpił błąd podczas próby uzyskania przesyłek do tego zadania z Turnitin'; +$string['errorcode0'] = 'Plik nie został przesłany do Turnitin. Skontaktuj się z administratorem systemu.'; +$string['errorcode1'] = 'Ten plik nie został przesłany do Turnitin, ponieważ nie zawiera treści w ilości wystarczającej do wygenerowania raportu oryginalności.'; +$string['errorcode2'] = 'Ten plik nie zostanie przesłany do Turnitin, ponieważ jego wielkość przekracza dozwolony rozmiar {$a}'; +$string['errorcode3'] = 'Plik nie został przesłany do Turnitin, ponieważ użytkownik nie zaakceptował umowy licencyjnej użytkownika końcowego Turnitin.'; +$string['errorcode4'] = 'Musisz wysłać typ pliku obsługiwany przez to zadanie. Akceptowane typy pliku to: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps oraz .rtf'; +$string['errorcode5'] = 'Ten plik nie został wysłany do Turnitin, ponieważ wystąpił problem z utworzeniem modułu w Turnitin, co uniemożliwia dokonywanie przesyłek. Szczegółowe informacje znajdują się w dziennikach API'; +$string['errorcode6'] = 'Ten plik nie został wysłany do Turnitin, ponieważ wystąpił problem z edycją ustawień modułu w Turnitin, co uniemożliwia dokonywanie przesyłek. Szczegółowe informacje znajdują się w dziennikach API'; +$string['errorcode7'] = 'Ten plik nie został wysłany do Turnitin, ponieważ wystąpił problem z utworzeniem użytkownika w Turnitin, co uniemożliwia dokonywanie przesyłek. Szczegółowe informacje znajdują się w dziennikach API'; +$string['errorcode8'] = 'Ten plik nie został wysłany do Turnitin, ponieważ wystąpił problem z utworzeniem pliku tymczasowego. Najbardziej prawdopodobną przyczyną jest nieprawidłowa nazwa pliku. Zmień nazwę pliku i wyślij go ponownie za pomocą opcji Edytuj wysyłkę.'; +$string['errorcode9'] = 'Plik nie może zostać wysłany, ponieważ w puli pliku nie znajduje się żadna dostępna treść, którą można wysłać.'; +$string['coursegeterror'] = 'Nie udało się pobrać danych kursu'; +$string['configureerror'] = 'Musisz w pełni skonfigurować ten moduł jako administrator, aby użyć go w kursie. Skontaktuj się z administratorem Moodle.'; +$string['turnitintoolofflineerror'] = 'Wystąpiły tymczasowe trudności. Spróbuj ponownie później.'; +$string['defaultinserterror'] = 'Wystąpił błąd podczas próby wprowadzenia ustawienia domyślnego do bazy danych'; +$string['defaultupdateerror'] = 'Wystąpił błąd podczas próby aktualizacji ustawienia domyślnego w bazie danych'; +$string['tiiassignmentgeterror'] = 'Wystąpił błąd podczas próby uzyskania zadania z Turnitin'; +$string['assigngeterror'] = 'Nie udało się uzyskać danych narzędzia Turnitin'; +$string['classupdateerror'] = 'Aktualizacja danych klasy Turnitin nie powiodła się'; +$string['pp_createsubmissionerror'] = 'Wystąpił błąd podczas próby dokonania wysyłki w Turnitin'; +$string['pp_updatesubmissionerror'] = 'Wystąpił błąd podczas próby dokonania ponownej wysyłki do Turnitin'; +$string['tiisubmissiongeterror'] = 'Wystąpił błąd podczas próby uzyskania przesyłki z Turnitin'; + +// Javascript +$string['closebutton'] = 'Zamknij'; +$string['loadingdv'] = 'Wczytywanie przeglądarki dokumentów Turnitin...'; +$string['changerubricwarning'] = 'Zmiana lub odłączenie arkusza spowoduje usunięcie wszystkich wyników arkusza za prace z tego zadania, łącznie z naliczonymi wcześniej kartami wyników. Ogólne oceny za wcześniej ocenione prace pozostaną bez zmian.'; +$string['messageprovider:submission'] = 'Powiadomienia o potwierdzeniu elektronicznym wtyczki plagiatu Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Status systemu Turnitin'; +$string['deleted'] = 'Usunięto'; +$string['pending'] = 'Oczekujące'; +$string['because'] = 'Powodem tego jest usunięcie przez administratora oczekującego zadania z kolejki przetwarzania i przerwanie wysyłki do Turnitin.
Plik w dalszym ciÄ…gu znajduje siÄ™ w systemie Moodle. Skontaktuj siÄ™ z instruktorem.
Poniżej znajdujÄ… siÄ™ kody bÅ‚Ä™du (jeżeli sÄ… dostÄ™pne):'; diff --git a/lang/pt_br/plagiarism_turnitin.php b/lang/pt_br/plagiarism_turnitin.php new file mode 100755 index 00000000..7317ee5c --- /dev/null +++ b/lang/pt_br/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Habilitar o Turnitin'; +$string['excludebiblio'] = 'Excluir Bibliografia'; +$string['excludequoted'] = 'Excluir Material Citado'; +$string['excludevalue'] = 'Excluir Correspondências Menores'; +$string['excludewords'] = 'Palavras'; +$string['excludepercent'] = 'Porcentagem'; +$string['norubric'] = 'Nenhuma rubrica'; +$string['otherrubric'] = 'Usar rubrica que pertence a outro professor'; +$string['attachrubric'] = 'Anexar uma rubrica a esse trabalho'; +$string['launchrubricmanager'] = 'Iniciar Gerenciador de Rubricas'; +$string['attachrubricnote'] = 'Observação: os alunos poderão visualizar as rubricas anexadas e seus conteúdos antes do envio.'; +$string['erater_handbook_advanced'] = 'Avançado'; +$string['erater_handbook_highschool'] = 'Ensino Médio'; +$string['erater_handbook_middleschool'] = 'Ensino Fundamental'; +$string['erater_handbook_elementary'] = 'Ensino Fundamental'; +$string['erater_handbook_learners'] = 'Estudantes de Inglês'; +$string['erater_dictionary_enus'] = 'Dicionário de Inglês Americano'; +$string['erater_dictionary_engb'] = 'Dicionário de Inglês Britânico'; +$string['erater_dictionary_en'] = 'Dicionários de Inglês Americano e Britânico'; +$string['erater'] = 'Habilitar a verificação gramatical e-rater'; +$string['erater_handbook'] = 'Manual ETS©'; +$string['erater_dictionary'] = 'Dicionário e-rater'; +$string['erater_categories'] = 'Catrgorias e-rater'; +$string['erater_spelling'] = 'Ortografia'; +$string['erater_grammar'] = 'Gramática'; +$string['erater_usage'] = 'Uso'; +$string['erater_mechanics'] = 'Mecânica'; +$string['erater_style'] = 'Estilo'; +$string['anonblindmarkingnote'] = 'Observação: a configuração de correção anônima Turnitin separada foi removida. O Turnitin usará a configuração de correção cega do Moodle\ para determinar a configuração de correção anônima.'; +$string['transmatch'] = 'Correspondência Traduzida'; +$string['genduedate'] = 'Gerar relatórios na data de entrega (os reenvios são permitidos até a data de entrega)'; +$string['genimmediately1'] = 'Gerar relatórios imediatamente (os reenvios não são permitidos)'; +$string['genimmediately2'] = 'Gerar relatórios imediatamente (os reenvios são permitidos até a data de entrega)'; +$string['launchquickmarkmanager'] = 'Iniciar o Gerenciador QuickMark'; +$string['launchpeermarkmanager'] = 'Iniciar o Gerenciador PeerMark'; +$string['studentreports'] = 'Exibir os Relatórios de Originalidade aos alunos'; +$string['studentreports_help'] = 'Permite-o a exibir os relatórios de originalidade Turnitin. Se configurado para sim, o relatório de originalidade gerado pelo Turnitin estará disponível para o aluno visualizá-lo.'; +$string['submitondraft'] = 'Enviar arquivo quando for feito o primeiro upload'; +$string['submitonfinal'] = 'Enviar o arquivo quando o aluno enviá-lo para avaliação'; +$string['draftsubmit'] = 'Quando é que o arquivo deve ser enviado ao Turnitin?'; +$string['allownonor'] = 'Permitir envios de qualquer tipo de arquivo?'; +$string['allownonor_help'] = 'Essa configuração permitirá o envio de qualquer tipo de arquivo. Com essa opção definida como "Sim", a originalidade dos documentos será verificada sempre que possível, os documentos estarão disponíveis para download e as ferramentas de comentários GradeMark estarão disponíveis sempre que possível.'; +$string['norepository'] = 'Nenhum Depósito'; +$string['standardrepository'] = 'Depósito Padrão'; +$string['submitpapersto'] = 'Armazenar Documentos dos Alunos'; +$string['institutionalrepository'] = 'Depósito Institucional (Onde Aplicável)'; +$string['submitpapersto_help'] = 'Essa configuração fornece aos professores a possibilidade de selecionar se os documentos serão armazenados em um depósito de documentos de alunos Turnitin. A vantagem de enviar os documentos para o depósito de documentos de alunos é que os documentos enviados ao trabalho serão comparados com os envios de outros alunos\' nas suas aulas atuais e anteriores. Se você selecionar "nenhum depósito", os documentos de seus alunos\' não serão armazenados no depósito de documentos de alunos Turnitin.'; +$string['checkagainstnote'] = 'Observação: se você não selecionar "Sim" para pelo menos uma das opções "Comparar com..." abaixo, um relatório de Originalidade NÃO será gerado.'; +$string['spapercheck'] = 'Comparar com os documentos armazenados dos alunos'; +$string['internetcheck'] = 'Comparar com a internet'; +$string['journalcheck'] = 'Comparar com periódicos acadêmicos,
jornais e publicações'; +$string['compareinstitution'] = 'Comparar os arquivos enviados com os documentos enviados por essa instituição'; +$string['reportgenspeed'] = 'Velocidade de Geração do Relatório'; +$string['genspeednote'] = 'Observação: a geração do Relatório de Originalidade para reenvios está sujeita a um atraso de vinte e quatro horas.'; +$string['locked_message'] = 'Mensagem trancada'; +$string['locked_message_help'] = 'Se alguma configuração estiver trancada, essa mensagem é mostrada para dizer o porquê.'; +$string['locked_message_default'] = 'Essa configuração está trancada a nível local'; +$string['sharedrubric'] = 'Rubrica Compartilhada'; +$string['turnitinrefreshsubmissions'] = 'Atualizar Envios'; +$string['turnitinrefreshingsubmissions'] = 'Atualizando os envios'; +$string['turnitinppulapre'] = 'Para enviar um arquivo ao Turnitin, primeiro você precisa aceitar nosso Contrato de Licença do Usuário Final. Se optar por não aceitar nosso Contrato de Licença do Usuário Final, seu arquivo será enviado apenas para o Moodle. Clique aqui para aceitar.'; +$string['noscriptula'] = '(Como você não tem o JavaScript ativado, você terá que atualizar manualmente esta página antes de poder fazer um envio após aceitar o Acordo de Usuário Turnitin)'; +$string['filedoesnotexist'] = 'O arquivo foi excluído'; + +// Plugin settings +$string['config'] = 'Configurações'; +$string['defaults'] = 'Configurações Padrão'; +$string['showusage'] = 'Mostrar Dados do Despejo'; +$string['saveusage'] = 'Salvar Dados do Despejo'; +$string['errors'] = 'Erros'; +$string['turnitinconfig'] = 'Configurações do Plugin de Plágio Turnitin'; +$string['tiiexplain'] = 'O Turnitin é um produto comercial e você deve pagar uma assinatura para usar esse serviço. Para obter mais informações, consulte http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Habilitar o Turnitin'; +$string['useturnitin_mod'] = 'Habilitar Turnitin para {$a}'; +$string['pp_configuredesc'] = 'Você deve configurar esse módulo dentro do módulo turnitintooltwo. Clique aqui para configurar esse plugin'; +$string['turnitindefaults'] = 'Configurações padrão do plugin de plágio Turnitin'; +$string['defaultsdesc'] = 'As seguintes configurações são as padrões definidas ao ativar o Turnitin em um módulo de atividades'; +$string['turnitinpluginsettings'] = 'Configurações do plugin de plágio Turnitin'; +$string['pperrorsdesc'] = 'Ocorreu um problema ao tentar fazer o upload dos arquivos abaixo para o Turnitin. Para reenviar, selecione os arquivos que você deseja reenviar e pressione o botão reenviar. Eles serão processados da próxima vez em que o cron for executado.'; +$string['pperrorssuccess'] = 'Os arquivos que você selecionou foram reenviados e serão processados pelo cron.'; +$string['pperrorsfail'] = 'Ocorreu um problema com alguns arquivos que você selecionou, um novo evento cron não pôde ser criado para eles.'; +$string['resubmitselected'] = 'Reenviar Arquivos Selecionados'; +$string['deleteconfirm'] = 'Tem certeza que você quer apagar esse envio?\n\nIsso não pode ser desfeito.'; +$string['deletesubmission'] = 'Apagar Envio'; +$string['semptytable'] = 'Nenhum resultado encontrado.'; +$string['configupdated'] = 'Configurações atualizadas'; +$string['defaultupdated'] = 'Configurações padrão Turnitin atualizadas'; +$string['notavailableyet'] = 'Não disponível'; +$string['resubmittoturnitin'] = 'Reenviar para Turnitin'; +$string['resubmitting'] = 'Reenviado(s)'; +$string['id'] = 'Identificação'; +$string['student'] = 'Aluno'; +$string['course'] = 'Curso'; +$string['module'] = 'Módulo'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Visualizar o Relatório de Originalidade'; +$string['launchrubricview'] = 'Visualizar a rubrica usada para avaliação'; +$string['turnitinppulapost'] = 'Seu arquivo não foi enviado ao Turnitin. Clique aqui para aceitar nosso Contrato de Licença do Usuário Final.'; +$string['ppsubmissionerrorseelogs'] = 'Esse arquivo não foi enviado ao Turnitin. Consulte o administrador do sistema'; +$string['ppsubmissionerrorstudent'] = 'Esse arquivo não foi enviado ao Turnitin. Consulte seu tutor para obter mais detalhes.'; + +// Receipts +$string['messageprovider:submission'] = 'Notificações de Recebimento Digital do Plugin de Plágio Turnitin'; +$string['digitalreceipt'] = 'Recibo Digital'; +$string['digital_receipt_subject'] = 'Esse é o seu Recibo Digital Turnitin'; +$string['pp_digital_receipt_message'] = 'Prezado(a) {$a->firstname} {$a->lastname},

Você enviou com sucesso o arquivo {$a->submission_title} para o trabalho {$a->assignment_name}{$a->assignment_part} na aula {$a->course_fullname} sobre {$a->submission_date}. A identificação do seu envio é {$a->submission_id}. Seu recibo digital completo pode ser visualizado e impresso a partir do botão imprimir/baixar no Visualizador de Documentos.

Obrigado por usar o Turnitin,

A Equipe Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'Identificação Turnitin'; +$string['turnitinstatus'] = 'Status Turnitin'; +$string['pending'] = 'Pendente'; +$string['similarity'] = 'Semelhança'; +$string['notorcapable'] = 'Não é possível gerar um Relatório de Originalidade para esse arquivo.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'O aluno visualizou o documento em:'; +$string['student_notread'] = 'O aluno não visualizou esse documento.'; +$string['launchpeermarkreviews'] = 'Iniciar as Revisões PeerMark'; + +// Cron +$string['ppqueuesize'] = 'Número de eventos na fila de eventos do Plugin de Plágio'; +$string['ppcronsubmissionlimitreached'] = 'Nenhum outro envio será feito para o Turnitin por esta execução de cron, uma vez que são processados apenas {$a} por operação.'; +$string['cronsubmittedsuccessfully'] = 'Envio: {$a->title} (TII ID: {$a->submissionid}) para o trabalho {$a->assignmentname} no curso {$a->coursename} foi enviado com sucesso ao Turnitin.'; +$string['pp_submission_error'] = 'O Turnitin retornou um erro com o seu envio:'; +$string['turnitindeletionerror'] = 'Falha ao excluir o envio Turnitin. A cópia local do Moodle foi removida, mas o envio no Turnitin não pôde ser excluído.'; +$string['ppeventsfailedconnection'] = 'Nenhum evento será processado pelo plugin de plágio Turnitin por essa execução do cron, já que a conexão ao Turnitin não pode ser estabelecida.'; + +// Error codes +$string['tii_submission_failure'] = 'Consulte seu tutor ou o administrador do sistema para obter mais detalhes'; +$string['faultcode'] = 'Código de falha'; +$string['line'] = 'Linha'; +$string['message'] = 'Mensagem'; +$string['code'] = 'Código'; +$string['tiisubmissionsgeterror'] = 'Ocorreu um erro ao tentar obter os envios para esse trabalho a partir do Turnitin'; +$string['errorcode0'] = 'Esse arquivo não foi enviado ao Turnitin. Consulte o administrador do sistema'; +$string['errorcode1'] = 'Esse arquivo não foi enviado ao Turnitin por não ter conteúdo suficiente para produzir um Relatório de Originalidade.'; +$string['errorcode2'] = 'Esse arquivo não será enviado ao Turnitin pois excede o tamanho máximo de {$a} permitido.'; +$string['errorcode3'] = 'Esse arquivo não foi enviado ao Turnitin porque o usuário não aceitou o Contrato de Licença do Usuário Final Turnitin'; +$string['errorcode4'] = 'Você deve fazer o upload de um tipo de arquivo suportado para esse trabalho. Os tipos de arquivo aceitos são: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps e .rtf'; +$string['errorcode5'] = 'Esse arquivo não foi enviado ao Turnitin porque houve um problema na criação do módulo no Turnitin que está impedindo os envios, consulte seus registros de API para mais informações'; +$string['errorcode6'] = 'Esse arquivo não foi enviado ao Turnitin porque houve um problema na edição das configurações do módulo no Turnitin que está impedindo os envios, consulte seus registros de API para mais informações'; +$string['errorcode7'] = 'Esse arquivo não foi enviado ao Turnitin porque houve um problema na criação do usuário no Turnitin que está impedindo os envios, consulte seus registros de API para mais informações'; +$string['errorcode8'] = 'Esse arquivo não foi enviado ao Turnitin porque houve um problema na criação do arquivo temporário. A causa mais provável é um nome de arquivo inválido. Renomeie o arquivo e refaça o upload usando Editar Envio.'; +$string['errorcode9'] = 'O arquivo não pôde ser enviado por não ter conteúdo acessível no pool de arquivos para enviar.'; +$string['coursegeterror'] = 'Não foi possível obter dados do curso'; +$string['configureerror'] = 'Você deve configurar este módulo totalmente como Administrador antes de usá-lo dentro de um curso. Entre em contato com o administrador do Moodle.'; +$string['turnitintoolofflineerror'] = 'Estamos passando por um problema temporário. Tente novamente em breve.'; +$string['defaultinserterror'] = 'Ocorreu um erro ao tentar inserir um valor de configuração padrão no banco de dados'; +$string['defaultupdateerror'] = 'Ocorreu um erro ao tentar um valor de configuração padrão no banco de dados'; +$string['tiiassignmentgeterror'] = 'Ocorreu um erro ao tentar obter um trabalho a partir do Turnitin'; +$string['assigngeterror'] = 'Não foi possível obter os dados do turnitintooltwo'; +$string['classupdateerror'] = 'Não foi possível atualizar os dados da Aula Turnitin'; +$string['pp_createsubmissionerror'] = 'Ocorreu um erro ao tentar criar o envio no Turnitin'; +$string['pp_updatesubmissionerror'] = 'Ocorreu um erro ao tentar reenviar seus envios ao Turnitin'; +$string['tiisubmissiongeterror'] = 'Ocorreu um erro ao tentar obter um envio a partir do Turnitin'; + +// Javascript +$string['closebutton'] = 'Fechar'; +$string['loadingdv'] = 'Carregando Visualizador de Documentos Turnitin...'; +$string['changerubricwarning'] = 'Ao alterar ou separar uma rubrica irá remover todas as pontuações de rubricas existentes dos documentos nesse trabalho, incluindo os cartões de pontuação que foram pontuados anteriormente . As notas gerais para trabalhos avaliados anteriormente serão mantidas.'; +$string['messageprovider:submission'] = 'Notificações de Recebimento Digital do Plugin de Plágio Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Status Turnitin'; +$string['deleted'] = 'Excluído'; +$string['pending'] = 'Pendente'; +$string['because'] = 'Isso ocorreu porque um administrador excluiu o trabalho pendente da fila de processamento e abortou o envio para o Turnitin.
O arquivo ainda existe no Moodle, entre em contato com seu instrutor.
Veja abaixo para mais códigos de erro:'; diff --git a/lang/ro/plagiarism_turnitin.php b/lang/ro/plagiarism_turnitin.php new file mode 100755 index 00000000..5db734af --- /dev/null +++ b/lang/ro/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Activare Turnitin'; +$string['excludebiblio'] = 'Excluderea bibliografiei'; +$string['excludequoted'] = 'Excluderea citatelor'; +$string['excludevalue'] = 'Excludere similitudini mici'; +$string['excludewords'] = 'Cuvinte'; +$string['excludepercent'] = 'Procent'; +$string['norubric'] = 'Niciun barem'; +$string['otherrubric'] = 'Utilizarea baremului unui alt profesor'; +$string['attachrubric'] = 'AtaÈ™area unui barem la această temă'; +$string['launchrubricmanager'] = 'Lansarea Managerului de bareme'; +$string['attachrubricnote'] = 'ObservaÈ›ie: studenÈ›ii vor putea să vadă baremele ataÈ™ate È™i conÈ›inutul lor înainte de a-È™i depune lucrările.'; +$string['erater_handbook_advanced'] = 'Avansat'; +$string['erater_handbook_highschool'] = 'Liceu'; +$string['erater_handbook_middleschool'] = 'Gimnaziu'; +$string['erater_handbook_elementary'] = 'Școală primară'; +$string['erater_handbook_learners'] = 'StudenÈ›i ai limbii engleze'; +$string['erater_dictionary_enus'] = 'DicÈ›ionar de engleză americană'; +$string['erater_dictionary_engb'] = 'DicÈ›ionar de engleză britanică'; +$string['erater_dictionary_en'] = 'Ambele dicÈ›ionare: de engleză americană È™i britanică'; +$string['erater'] = 'Activarea verificării gramaticale cu e-rater'; +$string['erater_handbook'] = 'Manual ETS©'; +$string['erater_dictionary'] = 'DicÈ›ionar e-rater'; +$string['erater_categories'] = 'Categorii e-rater'; +$string['erater_spelling'] = 'Ortografie'; +$string['erater_grammar'] = 'Gramatică'; +$string['erater_usage'] = 'Utilizare'; +$string['erater_mechanics'] = 'Ortografie È™i punctuaÈ›ie'; +$string['erater_style'] = 'Stil'; +$string['anonblindmarkingnote'] = 'ObservaÈ›ie: setarea separată de însemnări anonime în Turnitin a fost eliminată. Turnitin va utiliza setarea de însemnări anonime din Moodle pentru a determina ce setare trebuie să folosească.'; +$string['transmatch'] = 'Similitudini cu traduceri'; +$string['genduedate'] = 'Generarea rapoartelor la termenul de depunere (redepunerile sunt permise până la termenul de depunere)'; +$string['genimmediately1'] = 'Generarea imediată a rapoartelor (redepunerile nu sunt permise)'; +$string['genimmediately2'] = 'Generarea imediată a rapoartelor (redepunerile sunt permise până la termenul de depunere)'; +$string['launchquickmarkmanager'] = 'Lansare Manager Quickmark'; +$string['launchpeermarkmanager'] = 'Lansare Manager Peermark'; +$string['studentreports'] = 'AfiÈ™area Rapoartelor privind originalitatea pentru studenÈ›i'; +$string['studentreports_help'] = 'Vă permite să afiÈ™aÈ›i utilizatorilor studenÈ›i rapoartele Turnitin privind originalitatea. Dacă este setat la da, rapoartele privind originalitatea generate de Turnitin pot fi văzute de către studenÈ›i.'; +$string['submitondraft'] = 'Depunere fiÈ™ier la prima încărcare'; +$string['submitonfinal'] = 'Depunerea fiÈ™ierului atunci când studentul trimite lucrarea pentru însemnări'; +$string['draftsubmit'] = 'Când se depune fiÈ™ierul în Turnitin?'; +$string['allownonor'] = 'Se permite depunerea oricărui tip de fiÈ™ier?'; +$string['allownonor_help'] = 'Această setare va permite depunerea oricărui tip de fiÈ™ier. Dacă opÈ›iunea este setată la „Daâ€, originalitatea depunerilor va fi verificată în limita posibilităților, depunerile vor fi disponibile pentru descărcare È™i instrumentele de feedback GradeMark vor fi disponibile în limita posibilităților.'; +$string['norepository'] = 'Niciun depozit'; +$string['standardrepository'] = 'Depozit standard'; +$string['submitpapersto'] = 'Stocarea lucrărilor studenÈ›ilor'; +$string['institutionalrepository'] = 'Depozitul instituÈ›ional (dacă este cazul)'; +$string['submitpapersto_help'] = 'Această setare oferă profesorilor posibilitatea de a stoca lucrările studenÈ›ilor în depozitul Turnitin. Avantajul stocării în depozit este că lucrările studenÈ›ilor depuse pentru o temă sunt comparate cu alte depuneri ale studenÈ›ilor, din cursurile prezente È™i trecute. Dacă selectaÈ›i „niciun depozitâ€, lucrările studenÈ›ilor nu vor fi depozitate în depozitul Turnitin.'; +$string['checkagainstnote'] = 'ObservaÈ›ie: dacă nu selectaÈ›i „Da†la cel puÈ›in una dintre opÈ›iunile „Verificare prin comparaÈ›ie cu...†de mai jos, Raportul privind originalitatea NU se va genera.'; +$string['spapercheck'] = 'Verificare prin comparaÈ›ie cu lucrările depozitate ale studenÈ›ilor'; +$string['internetcheck'] = 'Verificare prin comparaÈ›ie cu materialele de pe internet'; +$string['journalcheck'] = 'Verificare prin comparaÈ›ie cu jurnale,
periodice și publicații'; +$string['compareinstitution'] = 'Fișierele depuse se compară cu lucrările depuse în această instituție'; +$string['reportgenspeed'] = 'Viteza generării raportului'; +$string['genspeednote'] = 'Observație: în cazul redepunerilor, Raportul privind originalitatea se generează cu o întârziere de 24 de ore.'; +$string['locked_message'] = 'Mesaj blocat'; +$string['locked_message_help'] = 'Dacă se blochează oricare dintre setări, se afișează acest mesaj pentru a explica motivul.'; +$string['locked_message_default'] = 'Această setare este blocată la nivel de site'; +$string['sharedrubric'] = 'Barem partajat'; +$string['turnitinrefreshsubmissions'] = 'Reîncărcarea depunerilor'; +$string['turnitinrefreshingsubmissions'] = 'Se reîmprospătează depunerile'; +$string['turnitinppulapre'] = 'Pentru a putea depune un fișier în Turnitin, trebuie să acceptați în prealabil EULA (Acordul de licență cu utilizatorul final). Dacă decideți să nu acceptați EULA, fișierul se va depune doar în Moodle. Faceți clic aici pentru a accepta.'; +$string['noscriptula'] = '(Întrucât nu aveți Javascript activat, va trebui să reîncărcați manual această pagină pentru a putea depune o lucrare după acceptarea Acordului de utilizator Turnitin)'; +$string['filedoesnotexist'] = 'Fișierul a fost șters'; + +// Plugin settings +$string['config'] = 'Configurație'; +$string['defaults'] = 'Setări implicite'; +$string['showusage'] = 'Afișarea conținutului bazei de date'; +$string['saveusage'] = 'Salvarea conținutului bazei de date'; +$string['errors'] = 'Erori'; +$string['turnitinconfig'] = 'Configurarea pluginului de detectare a plagiatului Turnitin'; +$string['tiiexplain'] = 'Turnitin este un produs comercial și trebuie să aveți un abonament plătit pentru a folosi acest serviciu. Pentru mai multe informații citiți http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Activare Turnitin'; +$string['useturnitin_mod'] = 'Activare Turnitin pentru {$a}'; +$string['pp_configuredesc'] = 'Trebuie să configurați acest modul în modulul turnitintooltwo. Faceți clic aici pentru a configura acest plugin'; +$string['turnitindefaults'] = 'Setările implicite ale pluginului de detectare a plagiatului Turnitin'; +$string['defaultsdesc'] = 'Următoarele setări sunt valorile implicite setate la activarea Turnitin într-un modul de activitate'; +$string['turnitinpluginsettings'] = 'Setări plugin de detectare a plagiatului Turnitin'; +$string['pperrorsdesc'] = 'Problemă la încercarea de a încărca fișierele de mai jos în Turnitin. Pentru a redepune materialul, selectați fișierele pe care doriți să le redepuneți, apoi faceți clic pe butonul de redepunere. Acestea se vor procesa la următoarea executare a lucrării cron.'; +$string['pperrorssuccess'] = 'Fișierele pe care le-ați selectat au fost redepuse și vor fi procesate de lucrarea cron.'; +$string['pperrorsfail'] = 'Problemă cu unele dintre fișierele pe care le-ați selectat, nu s-a putut crea un nou eveniment cron pentru acestea.'; +$string['resubmitselected'] = 'Redepunerea fișierelor selectate'; +$string['deleteconfirm'] = 'Sigur doriți să ștergeți această depunere?\n\nAcțiunea nu poate fi anulată.'; +$string['deletesubmission'] = 'Ștergere depunere'; +$string['semptytable'] = 'Nu s-a găsit niciun rezultat.'; +$string['configupdated'] = 'Configurație actualizată'; +$string['defaultupdated'] = 'Setările implicite Turnitin au fost actualizate'; +$string['notavailableyet'] = 'Indisponibil'; +$string['resubmittoturnitin'] = 'Redepunere în Turnitin'; +$string['resubmitting'] = 'Redepunere în curs'; +$string['id'] = 'ID'; +$string['student'] = 'Student'; +$string['course'] = 'Curs'; +$string['module'] = 'Modul'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Vizualizarea Raportului privind originalitatea'; +$string['launchrubricview'] = 'Vizualizarea baremului folosit pentru însemnări'; +$string['turnitinppulapost'] = 'Fișierul nu a fost depus în Turnitin. Faceți clic aici pentru a accepta EULA.'; +$string['ppsubmissionerrorseelogs'] = 'Acest fișier nu a fost depus în Turnitin, consultați administratorul de sistem'; +$string['ppsubmissionerrorstudent'] = 'Acest fișier nu a fost depus în Turnitin, consultați-vă îndrumătorul pentru mai multe detalii'; + +// Receipts +$string['messageprovider:submission'] = 'Notificări privind confirmările digitale din pluginul de detectare a plagiatului Turnitin'; +$string['digitalreceipt'] = 'Confirmare digitală'; +$string['digital_receipt_subject'] = 'Aceasta este Confirmarea digitală Turnitin'; +$string['pp_digital_receipt_message'] = 'Stimate/Stimată {$a->firstname} {$a->lastname},

Ați depus cu succes fișierul {$a->submission_title} cu tema {$a->assignment_name}{$a->assignment_part} din cursul {$a->course_fullname}, pe data de {$a->submission_date}. ID-ul depunerii este {$a->submission_id}. Confirmarea digitală completă se poate vizualiza și imprima prin intermediul butonului de imprimare/descărcare din vizualizatorul de documente.

Vă mulțumim pentru utilizarea Turnitin,

Echipa Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'ID Turnitin'; +$string['turnitinstatus'] = 'Stare Turnitin'; +$string['pending'] = 'În așteptare'; +$string['similarity'] = 'Similitudine'; +$string['notorcapable'] = 'Pentru acest fișier nu se poate genera un Raport privind originalitatea.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Studentul a văzut lucrarea la:'; +$string['student_notread'] = 'Studentul nu a văzut această lucrare.'; +$string['launchpeermarkreviews'] = 'Lansare evaluări Peermark'; + +// Cron +$string['ppqueuesize'] = 'Numărul evenimentelor din coada de evenimente a pluginului de detectare a plagiatului'; +$string['ppcronsubmissionlimitreached'] = 'La această executare a lucrării cron nu se mai trimit în Turnitin alte depuneri, deoarece la o executare se procesează cel mult {$a}'; +$string['cronsubmittedsuccessfully'] = 'Lucrarea: {$a->title} (ID TII: {$a->submissionid}) pentru tema {$a->assignmentname} din cursul {$a->coursename} a fost depusă cu succes în Turnitin.'; +$string['pp_submission_error'] = 'Turnitin a returnat o eroare legată de depunere:'; +$string['turnitindeletionerror'] = 'Ștergerea depunerii Turnitin nu a reușit. Copia locală Moodle a fost înlăturată, dar depunerea din Turnitin nu a putut fi ștearsă.'; +$string['ppeventsfailedconnection'] = 'La această executare a lucrării cron nu se vor procesa alte evenimente cu pluginul de detectare a plagiatului Turnitin, deoarece nu se poate stabili conexiunea cu Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'Consultați-vă îndrumătorul sau administratorul de sistem pentru mai multe detalii'; +$string['faultcode'] = 'Cod de eroare'; +$string['line'] = 'Linie'; +$string['message'] = 'Mesaj'; +$string['code'] = 'Cod'; +$string['tiisubmissionsgeterror'] = 'Eroare la încercarea de a obține depunerile pentru această temă de la Turnitin'; +$string['errorcode0'] = 'Acest fișier nu a fost depus în Turnitin, consultați administratorul de sistem'; +$string['errorcode1'] = 'Acest fișier nu a fost trimis în Turnitin, deoarece conținutul este insuficient pentru generarea unui Raport privind originalitatea.'; +$string['errorcode2'] = 'Acest fișier nu se va depune în Turnitin pentru că depășește dimensiunea maximă admisă de {$a}'; +$string['errorcode3'] = 'Acest fișier nu a fost depus în Turnitin, deoarece utilizatorul nu a acceptat Acordul de licență cu utilizatorul final al Turnitin.'; +$string['errorcode4'] = 'Pentru această temă trebuie să încărcați un tip de fișier acceptat. Tipurile acceptate sunt: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps și .rtf'; +$string['errorcode5'] = 'Acest fișier nu a fost depus în Turnitin din cauza unei probleme la crearea modulului în Turnitin, care împiedică depunerile, pentru informații suplimentare, consultați jurnalele API'; +$string['errorcode6'] = 'Acest fișier nu a fost depus în Turnitin din cauza unei probleme la editarea modulului în Turnitin, care împiedică depunerile, pentru informații suplimentare, consultați jurnalele API'; +$string['errorcode7'] = 'Acest fișier nu a fost depus în Turnitin din cauza unei probleme la crearea utilizatorului în Turnitin, care împiedică depunerile, pentru informații suplimentare, consultați jurnalele API'; +$string['errorcode8'] = 'Acest fișier nu a fost depus în Turnitin din cauza unei probleme la crearea fișierului temporar. Cauza probabilă este un nume de fișier incorect. Redenumiți fișierul și reîncărcați-l prin Editare depunere.'; +$string['errorcode9'] = 'Imposibil de depus fișierul: în lista de fișiere nu există conținut accesibil care să poată fi depus.'; +$string['coursegeterror'] = 'Nu au putut fi obținute datele cursului'; +$string['configureerror'] = 'Pentru a putea utiliza modul într-un curs, trebuie să-l configurați complet ca Administrator. Contactați administratorul Moodle.'; +$string['turnitintoolofflineerror'] = 'Avem o problemă temporară. Încercați din nou în scurt timp.'; +$string['defaultinserterror'] = 'Eroare la încercarea de a introduce o valoare de setare implicită în baza de date'; +$string['defaultupdateerror'] = 'Eroare la încercarea de a actualiza o valoare de setare implicită în baza de date'; +$string['tiiassignmentgeterror'] = 'Eroare la încercarea de a obține o temă de la Turnitin'; +$string['assigngeterror'] = 'Imposibil de obținut datele turnitintooltwo'; +$string['classupdateerror'] = 'Nu au putut fi actualizate datele cursului Turnitin'; +$string['pp_createsubmissionerror'] = 'Eroare la încercarea de a crea depunerea în Turnitin'; +$string['pp_updatesubmissionerror'] = 'Eroare la încercarea de a redepune lucrarea în Turnitin'; +$string['tiisubmissiongeterror'] = 'Eroare la încercarea de a obține o depunere de la Turnitin'; + +// Javascript +$string['closebutton'] = 'Închidere'; +$string['loadingdv'] = 'Se încarcă vizualizatorul de documente Turnitin...'; +$string['changerubricwarning'] = 'Modificarea sau detașarea unui barem va înlătura din lucrările cu această temă toate punctajele acordate pe baza baremului, inclusiv grilele de notare punctate anterior. Notele generale ale lucrărilor notate anterior se vor păstra.'; +$string['messageprovider:submission'] = 'Notificări privind confirmările digitale din pluginul de detectare a plagiatului Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Stare Turnitin'; +$string['deleted'] = 'Șters'; +$string['pending'] = 'În așteptare'; +$string['because'] = 'Cauza este faptul că un administrator a șters o temă în așteptare din coada de procesare și a întrerupt depunerea în Turnitin.
Fișierul există în continuare în Moodle, contactați profesorul.
CăutaÈ›i mai jos codul de eroare:'; diff --git a/lang/ru/plagiarism_turnitin.php b/lang/ru/plagiarism_turnitin.php new file mode 100755 index 00000000..cf2aba7b --- /dev/null +++ b/lang/ru/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Включить Turnitin'; +$string['excludebiblio'] = 'ИÑключить библиографию'; +$string['excludequoted'] = 'ИÑключить цитаты'; +$string['excludevalue'] = 'ИÑключить незначительные ÑовпадениÑ'; +$string['excludewords'] = 'Слова'; +$string['excludepercent'] = 'Процент'; +$string['norubric'] = 'Без рубрики'; +$string['otherrubric'] = 'ИÑпользовать рубрику, принадлежащую другому преподавателю'; +$string['attachrubric'] = 'Добавить рубрику к Ñтому заданию'; +$string['launchrubricmanager'] = 'ЗапуÑтить диÑпетчер рубрик'; +$string['attachrubricnote'] = 'Примечание: Ñтуденты Ñмогут проÑматривать добавленные рубрики и их Ñодержание до Ñдачи работы.'; +$string['erater_handbook_advanced'] = 'Продвинутый'; +$string['erater_handbook_highschool'] = 'Старшие клаÑÑÑ‹'; +$string['erater_handbook_middleschool'] = 'СреднÑÑ ÑˆÐºÐ¾Ð»Ð°'; +$string['erater_handbook_elementary'] = 'ÐÐ°Ñ‡Ð°Ð»ÑŒÐ½Ð°Ñ ÑˆÐºÐ¾Ð»Ð°'; +$string['erater_handbook_learners'] = 'Студенты английÑкого Ñзыка'; +$string['erater_dictionary_enus'] = 'Словарь американÑкого английÑкого Ñзыка'; +$string['erater_dictionary_engb'] = 'Словарь британÑкого английÑкого Ñзыка'; +$string['erater_dictionary_en'] = 'Словари американÑкого и британÑкого английÑкого Ñзыка'; +$string['erater'] = 'Включить проверку грамматики Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ e-rater'; +$string['erater_handbook'] = 'РуководÑтво ETS©'; +$string['erater_dictionary'] = 'Словарь e-rater'; +$string['erater_categories'] = 'Категории e-rater'; +$string['erater_spelling'] = 'ОрфографиÑ'; +$string['erater_grammar'] = 'Грамматика'; +$string['erater_usage'] = 'Применение'; +$string['erater_mechanics'] = 'СинтакÑиÑ'; +$string['erater_style'] = 'Стиль'; +$string['anonblindmarkingnote'] = 'Примечание: в ÑиÑтеме Turnitin больше нет отдельной наÑтройки Ð´Ð»Ñ Ð¾Ð±ÐµÑÐ¿ÐµÑ‡ÐµÐ½Ð¸Ñ Ð°Ð½Ð¾Ð½Ð¸Ð¼Ð½Ð¾Ñти работ. Turnitin будет иÑпользовать наÑтройку анонимноÑти Moodle.'; +$string['transmatch'] = 'Переведенные ÑовпадениÑ'; +$string['genduedate'] = 'Формировать отчеты при наÑтуплении даты Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ (до Ñтого Ñрока разрешена Ð¿Ð¾Ð²Ñ‚Ð¾Ñ€Ð½Ð°Ñ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ°)'; +$string['genimmediately1'] = 'Формировать отчеты немедленно (Ð¿Ð¾Ð²Ñ‚Ð¾Ñ€Ð½Ð°Ñ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ° иÑключена)'; +$string['genimmediately2'] = 'Формировать отчеты немедленно (Ð¿Ð¾Ð²Ñ‚Ð¾Ñ€Ð½Ð°Ñ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ° разрешена до уÑтановленного Ñрока)'; +$string['launchquickmarkmanager'] = 'ЗапуÑтить диÑпетчер Quickmark'; +$string['launchpeermarkmanager'] = 'ЗапуÑтить диÑпетчер Рееrmark'; +$string['studentreports'] = 'Отобразить ÑвидетельÑтва оригинальноÑти Ð´Ð»Ñ Ñтудентов'; +$string['studentreports_help'] = 'ПозволÑет показывать ÑвидетельÑтва оригинальноÑти Turnitin Ñтудентам-пользователÑм. ЕÑли уÑтановлено значение «да», то ÑвидетельÑтва оригинальноÑти, генерируемые Turnitin, доÑтупны Ð´Ð»Ñ Ð¿Ñ€Ð¾Ñмотра Ñтудентами.'; +$string['submitondraft'] = 'Отправить файл при первой загрузке'; +$string['submitonfinal'] = 'Отправить файл, когда Ñтудент поÑылает файл Ð´Ð»Ñ Ð¾Ñ†ÐµÐ½ÐºÐ¸'; +$string['draftsubmit'] = 'Когда файл должен быть предÑтавлен в Turnitin?'; +$string['allownonor'] = 'Разрешить Ñдачу работ в файлах любого формата?'; +$string['allownonor_help'] = 'Этот параметр позволÑет Ñтудентам Ñдавать работы в файлах любого формата. ЕÑли выбрать значение "Да", отправленные работы будут по мере возможноÑти проверÑÑ‚ÑŒÑÑ Ð½Ð° оригинальноÑÑ‚ÑŒ ÑодержаниÑ, работы можно будет загружать, и по мере возможноÑти будет предоÑтавлен доÑтуп к инÑтрументам ÐºÐ¾Ð¼Ð¼ÐµÐ½Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ GradeMark.'; +$string['norepository'] = 'Ðе ÑохранÑÑ‚ÑŒ'; +$string['standardrepository'] = 'Стандартное хранилище'; +$string['submitpapersto'] = 'СохранÑÑ‚ÑŒ работы Ñтудентов'; +$string['institutionalrepository'] = 'Хранилище учебного Ð·Ð°Ð²ÐµÐ´ÐµÐ½Ð¸Ñ (еÑли применимо)'; +$string['submitpapersto_help'] = 'С помощью Ñтого параметра преподаватели могут выбрать, будут ли ÑохранÑÑ‚ÑŒÑÑ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ Ñтудентов в хранилище работ Turnitin. ПреимущеÑтво отправки работ в хранилище ÑоÑтоит в том, что выполненные Ñтудентами Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ Ñравнить Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ð°Ð¼Ð¸ других Ñтудентов', текущего набора или предыдущих. ЕÑли выбрать "Ðе ÑохранÑÑ‚ÑŒ", работы ваших Ñтудентов' не будут отправлÑÑ‚ÑŒÑÑ Ð² хранилище работ Ñтудентов Turnitin.'; +$string['checkagainstnote'] = 'Примечание: еÑли выбрать вариант «Да» Ñ…Ð¾Ñ‚Ñ Ð±Ñ‹ Ð´Ð»Ñ Ð¾Ð´Ð½Ð¾Ð¹ из перечиÑленных ниже проверок, то отчет об оригинальноÑти формироватьÑÑ ÐЕ будет.'; +$string['spapercheck'] = 'Проверить по Ñохраненным работам Ñтудентов'; +$string['internetcheck'] = 'Проверить в Интернете'; +$string['journalcheck'] = 'Проверить по журналам,
периодичеÑким изданиÑм и публикациÑм'; +$string['compareinstitution'] = 'Сравнить полученные файлы Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ð°Ð¼Ð¸, отправленными в Ñтом учебном заведении'; +$string['reportgenspeed'] = 'СкороÑÑ‚ÑŒ Ñ„Ð¾Ñ€Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¾Ñ‚Ñ‡ÐµÑ‚Ð°'; +$string['genspeednote'] = 'Примечание: при повторной отправке работы отчет об оригинальноÑти формируетÑÑ Ñ 24-чаÑовой задержкой.'; +$string['locked_message'] = 'Сообщение о блокировке'; +$string['locked_message_help'] = 'ЕÑли какие-либо из наÑтроек заблокированы, отображаетÑÑ Ñообщение Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ð¸ÐµÐ¼ причины.'; +$string['locked_message_default'] = 'Ð”Ð°Ð½Ð½Ð°Ñ Ð½Ð°Ñтройка заблокирована Ð´Ð»Ñ Ð²Ñего Ñайта'; +$string['sharedrubric'] = 'ÐžÐ±Ñ‰Ð°Ñ Ñ€ÑƒÐ±Ñ€Ð¸ÐºÐ°'; +$string['turnitinrefreshsubmissions'] = 'Обновить ÑпиÑок отправленных работ'; +$string['turnitinrefreshingsubmissions'] = 'Обновление ÑпиÑка отправленных работ'; +$string['turnitinppulapre'] = 'Прежде чем отправить файл в ÑиÑтему Turnitin, необходимо принÑÑ‚ÑŒ уÑÐ»Ð¾Ð²Ð¸Ñ ÑÐ¾Ð³Ð»Ð°ÑˆÐµÐ½Ð¸Ñ Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ пользователем. Ð’ противном Ñлучае вы Ñможете отправить файл только в ÑиÑтему Moodle. Ðажмите здеÑÑŒ, чтобы принÑÑ‚ÑŒ уÑловиÑ.'; +$string['noscriptula'] = '(ПоÑкольку в вашем браузере не включен Javascript, прежде чем отправлÑÑ‚ÑŒ работу, вам необходимо будет вручную обновить Ñту Ñтраницу поÑле того, как вы примете уÑÐ»Ð¾Ð²Ð¸Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»ÑŒÑкого ÑоглашениÑ.)'; +$string['filedoesnotexist'] = 'Файл удален'; + +// Plugin settings +$string['config'] = 'КонфигурациÑ'; +$string['defaults'] = 'ÐаÑтройки по умолчанию'; +$string['showusage'] = 'Показать запиÑÑŒ данных'; +$string['saveusage'] = 'Сохранить запиÑÑŒ данных'; +$string['errors'] = 'Ошибки'; +$string['turnitinconfig'] = 'ÐšÐ¾Ð½Ñ„Ð¸Ð³ÑƒÑ€Ð°Ñ†Ð¸Ñ Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; +$string['tiiexplain'] = 'Turnitin ÑвлÑетÑÑ ÐºÐ¾Ð¼Ð¼ÐµÑ€Ñ‡ÐµÑким продуктом, и право Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ñтим ÑервиÑом предоÑтавлÑетÑÑ Ð½Ð° оÑнове платной подпиÑки. Дополнительные ÑÐ²ÐµÐ´ÐµÐ½Ð¸Ñ Ñм. на Ñтранице http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Включить Turnitin'; +$string['useturnitin_mod'] = 'Включить Turnitin Ð´Ð»Ñ {$a}'; +$string['pp_configuredesc'] = 'Этот модуль необходимо наÑтроить через модуль Turnitintooltwo. Чтобы наÑтроить Ñтот модуль, нажмите здеÑÑŒ'; +$string['turnitindefaults'] = 'ÐаÑтройки Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат по умолчанию'; +$string['defaultsdesc'] = 'Следующие наÑтройки уÑтанавливаютÑÑ Ð¿Ð¾ умолчанию, когда Turnitin включаетÑÑ Ð²Ð½ÑƒÑ‚Ñ€Ð¸ Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð°ÐºÑ‚Ð¸Ð²Ð½Ð¾Ñти'; +$string['turnitinpluginsettings'] = 'ÐаÑтройки Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; +$string['pperrorsdesc'] = 'При попытке загрузить Ñти файлы в ÑиÑтему Turnitin произошла ошибка. Чтобы отправить работу повторно, выберите файлы, которые вы хотите отправить, и нажмите кнопку повторной отправки. Обработка будет произведена во Ð²Ñ€ÐµÐ¼Ñ Ñледующего ÑеанÑа работы планировщика.'; +$string['pperrorssuccess'] = 'Выбранные файлы отправлены повторно и ожидают обработки планировщиком.'; +$string['pperrorsfail'] = 'Во Ð²Ñ€ÐµÐ¼Ñ Ð¾Ð±Ñ€Ð°Ð±Ð¾Ñ‚ÐºÐ¸ некоторых выбранных файлов произошла ошибка. Ðе удалоÑÑŒ Ñоздать новое Ñобытие планировщика.'; +$string['resubmitselected'] = 'Отправить выбранные файлы повторно'; +$string['deleteconfirm'] = 'Ð’Ñ‹ уверены, что хотите удалить Ñту работу? Это дейÑтвие будет невозможно отменить.'; +$string['deletesubmission'] = 'Удалить работу'; +$string['semptytable'] = 'Результаты не найдены'; +$string['configupdated'] = 'ÐšÐ¾Ð½Ñ„Ð¸Ð³ÑƒÑ€Ð°Ñ†Ð¸Ñ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð°'; +$string['defaultupdated'] = 'Ð—Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾ умолчанию Turnitin обновлены'; +$string['notavailableyet'] = 'ÐедоÑтупно'; +$string['resubmittoturnitin'] = 'Отправить в Turnitin повторно'; +$string['resubmitting'] = 'ÐŸÐ¾Ð²Ñ‚Ð¾Ñ€Ð½Ð°Ñ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ°'; +$string['id'] = 'Идентификатор'; +$string['student'] = 'Студент'; +$string['course'] = 'КурÑ'; +$string['module'] = 'Модуль'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'ПроÑмотреть отчет об оригинальноÑти'; +$string['launchrubricview'] = 'ПроÑмотреть рубрику, иÑпользованную Ð´Ð»Ñ Ð¼Ð°Ñ€ÐºÐ¸Ñ€Ð¾Ð²ÐºÐ¸'; +$string['turnitinppulapost'] = 'Ðе удалоÑÑŒ отправить файл в Turnitin. Ðажмите здеÑÑŒ, чтобы принÑÑ‚ÑŒ уÑÐ»Ð¾Ð²Ð¸Ñ Ð»Ð¸Ñ†ÐµÐ½Ð·Ð¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ ÑÐ¾Ð³Ð»Ð°ÑˆÐµÐ½Ð¸Ñ Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ пользователем.'; +$string['ppsubmissionerrorseelogs'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. ОбратитеÑÑŒ за дополнительной информацией к ÑиÑтемному админиÑтратору'; +$string['ppsubmissionerrorstudent'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. ОбратитеÑÑŒ за дополнительной информацией к Ñвоему преподавателю'; + +// Receipts +$string['messageprovider:submission'] = 'Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ цифровой квитанции Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; +$string['digitalreceipt'] = 'Ð¦Ð¸Ñ„Ñ€Ð¾Ð²Ð°Ñ ÐºÐ²Ð¸Ñ‚Ð°Ð½Ñ†Ð¸Ñ'; +$string['digital_receipt_subject'] = 'Это Ñ†Ð¸Ñ„Ñ€Ð¾Ð²Ð°Ñ ÐºÐ²Ð¸Ñ‚Ð°Ð½Ñ†Ð¸Ñ Turnitin'; +$string['pp_digital_receipt_message'] = 'Уважаемый(-аÑ) {$a->firstname} {$a->lastname},

Ð’Ñ‹ уÑпешно отправили файл {$a->submission_title} Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñ‹Ð¼ заданием {$a->assignment_name}{$a->assignment_part} по клаÑÑу {$a->course_fullname} {$a->submission_date}. Идентификатор вашей работы — {$a->submission_id}. Цифровую квитанцию можно полноÑтью проÑмотреть и напечатать, нажав на кнопку печати и загрузки в окне проÑмотра документов.

СпаÑибо, что пользуетеÑÑŒ Turnitin.

Команда Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'Идентификатор Turnitin'; +$string['turnitinstatus'] = 'Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Turnitin'; +$string['pending'] = 'Ðа раÑÑмотрении'; +$string['similarity'] = 'Совпадение'; +$string['notorcapable'] = 'Ð”Ð»Ñ Ñтого файла невозможно Ñоздать отчет об оригинальноÑти.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Дата поÑледнего проÑмотра Ñтудентом:'; +$string['student_notread'] = 'Студент не проÑмотрел Ñту работу.'; +$string['launchpeermarkreviews'] = 'ЗапуÑтить обзоры Рееrmark'; + +// Cron +$string['ppqueuesize'] = 'КоличеÑтво Ñобытий в очереди Ñобытий Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; +$string['ppcronsubmissionlimitreached'] = 'Ðовые работы будут отправлены поÑле Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñтого ÑеанÑа планировщика: во Ð²Ñ€ÐµÐ¼Ñ Ð¾Ð´Ð½Ð¾Ð³Ð¾ ÑеанÑа можно обработать только {$a} работ'; +$string['cronsubmittedsuccessfully'] = 'Отправка работы: {$a->title} (идентификатор TII: {$a->submissionid}) файл Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñ‹Ð¼ заданием {$a->assignmentname} по курÑу {$a->coursename} уÑпешно отправлен в Turnitin.'; +$string['pp_submission_error'] = 'СиÑтема Turnitin Ñообщает об ошибке при обработке работы.'; +$string['turnitindeletionerror'] = 'При попытке удалить работу, отправленную в Turnitin, произошла ошибка. Ð›Ð¾ÐºÐ°Ð»ÑŒÐ½Ð°Ñ ÐºÐ¾Ð¿Ð¸Ñ Moodle удалена, но не удалоÑÑŒ удалить работу из ÑиÑтемы Turnitin.'; +$string['ppeventsfailedconnection'] = 'Ðе удаетÑÑ ÑƒÑтановить Ñоединение Ñ Turnitin. Модуль Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат не будет обрабатывать ÑÐ¾Ð±Ñ‹Ñ‚Ð¸Ñ Ð´Ð¾ Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñтого ÑеанÑа планировщика.'; + +// Error codes +$string['tii_submission_failure'] = 'ОбратитеÑÑŒ за дополнительной информацией к Ñвоему преподавателю или ÑиÑтемному админиÑтратору'; +$string['faultcode'] = 'Код ошибки'; +$string['line'] = 'Строка'; +$string['message'] = 'Сообщение'; +$string['code'] = 'Код ошибки'; +$string['tiisubmissionsgeterror'] = 'При попытке получить файлы Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñ‹Ð¼ заданием из Turnitin произошла ошибка'; +$string['errorcode0'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. ОбратитеÑÑŒ за дополнительной информацией к ÑиÑтемному админиÑтратору'; +$string['errorcode1'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. Ð¡Ð¾Ð´ÐµÑ€Ð¶Ð°Ð½Ð¸Ñ Ð½ÐµÐ´Ð¾Ñтаточно Ð´Ð»Ñ Ñ„Ð¾Ñ€Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¾Ñ‚Ñ‡ÐµÑ‚Ð° об оригинальноÑти.'; +$string['errorcode2'] = 'Ðевозможно отправить файл в ÑиÑтему Turnitin. МакÑимально допуÑтимый размер файла ÑоÑтавлÑет {$a}.'; +$string['errorcode3'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin, поÑкольку пользователь не принÑл уÑÐ»Ð¾Ð²Ð¸Ñ Ð»Ð¸Ñ†ÐµÐ½Ð·Ð¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ ÑÐ¾Ð³Ð»Ð°ÑˆÐµÐ½Ð¸Ñ Turnitin Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ пользователем.'; +$string['errorcode4'] = 'Ðеобходимо загрузить выполненное задание в файле поддерживаемого формата. ДопуÑтимы Ñледующие форматы: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps и .rtf.'; +$string['errorcode5'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. При Ñоздании Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð¿Ñ€Ð¾Ð¸Ð·Ð¾ÑˆÐ»Ð° ошибка, из-за которой невозможна отправка работ. ОбратитеÑÑŒ за дополнительной информацией к журналам API'; +$string['errorcode6'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. При изменении наÑтроек Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð¿Ñ€Ð¾Ð¸Ð·Ð¾ÑˆÐ»Ð° ошибка, из-за которой невозможна отправка работ. ОбратитеÑÑŒ за дополнительной информацией к журналам API'; +$string['errorcode7'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. При Ñоздании Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»Ñ Turnitin произошла ошибка, из-за которой невозможна отправка работ. ОбратитеÑÑŒ за дополнительной информацией к журналам API'; +$string['errorcode8'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. При Ñоздании временного файла произошла ошибка. ВероÑÑ‚Ð½Ð°Ñ Ð¿Ñ€Ð¸Ñ‡Ð¸Ð½Ð°Â â€” недопуÑтимое Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð°. Переименуйте файл и загрузите его заново Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ функции «Редактировать отправленную работу».'; +$string['errorcode9'] = 'Ðевозможно отправить файл. Ðет доÑтупного Ð´Ð»Ñ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ¸ Ñодержимого в пуле файлов.'; +$string['coursegeterror'] = 'Ðе удалоÑÑŒ получить данные курÑа'; +$string['configureerror'] = 'Прежде чем иÑпользовать Ñтот модуль в рамках курÑа, необходимо произвеÑти его полную наÑтройку от имени админиÑтратора. СвÑжитеÑÑŒ Ñ Ð°Ð´Ð¼Ð¸Ð½Ð¸Ñтратором Moodle.'; +$string['turnitintoolofflineerror'] = 'Возникла Ð²Ñ€ÐµÐ¼ÐµÐ½Ð½Ð°Ñ Ñ‚ÐµÑ…Ð½Ð¸Ñ‡ÐµÑÐºÐ°Ñ Ð¿Ñ€Ð¾Ð±Ð»ÐµÐ¼Ð°. Повторите попытку позже.'; +$string['defaultinserterror'] = 'При попытке внеÑти значение наÑтройки по умолчанию в базу данных произошла ошибка'; +$string['defaultupdateerror'] = 'Произошла ошибка при попытке обновить значение уÑтановки по умолчанию в базе данных'; +$string['tiiassignmentgeterror'] = 'При попытке получить задание из Turnitin произошла ошибка'; +$string['assigngeterror'] = 'Ðе удалоÑÑŒ получить данные turnitintooltwo'; +$string['classupdateerror'] = 'Ðе удалоÑÑŒ обновить данные клаÑÑа Turnitin'; +$string['pp_createsubmissionerror'] = 'При попытке отправить работу в ÑиÑтему Turnitin произошла ошибка'; +$string['pp_updatesubmissionerror'] = 'Возникла ошибка при попытке вновь Ñделать предÑтавление в Turnitin'; +$string['tiisubmissiongeterror'] = 'Возникла ошибка при попытке получить предÑтавление из Тurnitin'; + +// Javascript +$string['closebutton'] = 'Закрыть'; +$string['loadingdv'] = 'СредÑтво проÑмотра документов загружаетÑÑ...'; +$string['changerubricwarning'] = 'При изменении или отмене Ð½Ð°Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ñ€ÑƒÐ±Ñ€Ð¸ÐºÐ¸ будут удалены вÑе оценки работ по Ñтому заданию, принадлежащие Ñтой рубрике, Ð²ÐºÐ»ÑŽÑ‡Ð°Ñ ÑƒÐ¶Ðµ подпиÑанные оценочные лиÑÑ‚Ñ‹. Общие оценки проверенных работ оÑтанутÑÑ Ð±ÐµÐ· изменений.'; +$string['messageprovider:submission'] = 'Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ цифровой квитанции Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Turnitin'; +$string['deleted'] = 'Удалено'; +$string['pending'] = 'Ðа раÑÑмотрении'; +$string['because'] = 'ÐдминиÑтратор удалил задание, находÑщееÑÑ Ð² очереди на раÑÑмотрение, и прервал процеÑÑ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²ÐºÐ¸ в ÑиÑтему Turnitin.
Файл Ñохранен в Moodle. СвÑжитеÑÑŒ Ñ Ð²Ð°ÑˆÐ¸Ð¼ преподавателем.
Коды ошибок указаны ниже:'; diff --git a/lang/sv/plagiarism_turnitin.php b/lang/sv/plagiarism_turnitin.php new file mode 100755 index 00000000..b9221a61 --- /dev/null +++ b/lang/sv/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Aktivera Turnitin'; +$string['excludebiblio'] = 'Exkludera källförteckning'; +$string['excludequoted'] = 'Exkludera citerat material'; +$string['excludevalue'] = 'Exkludera mindre matchningar'; +$string['excludewords'] = 'Ord'; +$string['excludepercent'] = 'Procent'; +$string['norubric'] = 'Ingen bedömningsmatris'; +$string['otherrubric'] = 'Använd en bedömnigsmatris som tillhör andra instruktörer'; +$string['attachrubric'] = 'Bifoga en bedömningsmatris till denna uppgift'; +$string['launchrubricmanager'] = 'Starta bedömningsmatrishanteraren'; +$string['attachrubricnote'] = 'Observera: Studenterna kommer att kunna se bifogade bedömningsmatriser och deras innehÃ¥ll innan de lämnar in.'; +$string['erater_handbook_advanced'] = 'Avancerad'; +$string['erater_handbook_highschool'] = 'Gymnasium'; +$string['erater_handbook_middleschool'] = 'Grundskola (11-13 Ã¥r)'; +$string['erater_handbook_elementary'] = 'Grundskola (5-10 Ã¥r)'; +$string['erater_handbook_learners'] = 'Studenter som lär sig Engelska'; +$string['erater_dictionary_enus'] = 'Lexikon för Amerikansk Engelska'; +$string['erater_dictionary_engb'] = 'Lexikon för Brittisk Engelska'; +$string['erater_dictionary_en'] = 'Lexikon för bÃ¥de amerikansk och brittisk engelska'; +$string['erater'] = 'Aktivera e-rater grammatikkontroll'; +$string['erater_handbook'] = 'ETS© Handbok'; +$string['erater_dictionary'] = 'e-rater Lexikon'; +$string['erater_categories'] = 'e-rater Kategorier'; +$string['erater_spelling'] = 'Stavning'; +$string['erater_grammar'] = 'Grammatik'; +$string['erater_usage'] = 'Användning'; +$string['erater_mechanics'] = 'Teknik'; +$string['erater_style'] = 'Stil'; +$string['anonblindmarkingnote'] = 'Obs: Den separata Turnitin-funktionen anonyma kommentarer har tagits bort. Turnitin kommer att använda Moodles blindkommentarer för att avgöra om funktionen anonyma kommentarer ska användas.'; +$string['transmatch'] = 'Matchande översättning'; +$string['genduedate'] = 'Skapa rapporter pÃ¥ förfallodagen (Ã¥terinlämningar är tillÃ¥tna fram till förfallodagen)'; +$string['genimmediately1'] = 'Generera rapporter omedelbart (Ã¥terinlämningar är inte tillÃ¥tna)'; +$string['genimmediately2'] = 'Generera rapporter omedelbart (Ã¥terinlämningar är tillÃ¥tna fram till förfallodagen)'; +$string['launchquickmarkmanager'] = 'Starta Quickmark-hanteraren'; +$string['launchpeermarkmanager'] = 'Starta Peermark Hanteraren'; +$string['studentreports'] = 'Visa originalitetsrapporter för studenter'; +$string['studentreports_help'] = 'LÃ¥ter dig visa Turnitin originalitetsrapporter till studentanvändare. Om inställd pÃ¥ ja kommer originalitetsrapporten som genereras av Turnitin att bli tillgänglig för studenten att se.'; +$string['submitondraft'] = 'Lämna in filen när den har laddats upp'; +$string['submitonfinal'] = 'Lämna in filen när den har laddats upp'; +$string['draftsubmit'] = 'När ska filen lämnas in till Turnitin?'; +$string['allownonor'] = 'TillÃ¥t inlämning av alla filtyper?'; +$string['allownonor_help'] = 'Denna inställning gör sÃ¥ att alla filtyper kan lämnas in. Med det här alternativet inställt pÃ¥ "Ja" kommer inlämningar att kontrolleras för originalitet när sÃ¥ är möjligt, inlämningar kommer att finnas tillgängliga för nedladdning, och verktyg för GradeMark-respons kommer att finnas tillgängliga när detta är möjligt.'; +$string['norepository'] = 'Inget arkiv'; +$string['standardrepository'] = 'Standardarkiv'; +$string['submitpapersto'] = 'Lagra studentuppsatser'; +$string['institutionalrepository'] = 'Institutionellt arkiv (Om tillämpligt)'; +$string['submitpapersto_help'] = 'Denna inställning ger instruktörer möjligheten att välja om uppsatser skall lagras i ett Turnitin arkiv för studentuppsatser. Fördelen med att lämna in uppsatser till arkivet för studentuppsatser är att studentuppsatser som lämnas in till uppgiften kontrolleras mot andra studenters\' inlämningar inom bÃ¥de din nuvarande och tidigare klasser. Om du väljer "inget arkiv" kommer dina studenters\' uppsatser ej att lagras i Turnitins arkiv för studentuppsatser.'; +$string['checkagainstnote'] = 'Obs. Om du inte väljer "Ja" för minst en av alternativen under "Kontrollera mot..." kommer en originalitetsrapport inte att skapas.'; +$string['spapercheck'] = 'Kontrollera mot lagrade studentuppsatser'; +$string['internetcheck'] = 'Kontrollera mot internet'; +$string['journalcheck'] = 'Kontrollera mot facktidskrifter,
tidningar och publikationer'; +$string['compareinstitution'] = 'Jämför inlämnade filer med uppsatser som lämnats in inom denna institution'; +$string['reportgenspeed'] = 'Rapportera generationshastighet'; +$string['genspeednote'] = 'Observera: Generation av rapporter för ominlämningar tar 24 timmar.'; +$string['locked_message'] = 'Låst meddelande'; +$string['locked_message_help'] = 'Om några inställningar låses kommer detta meddelande att visa varför.'; +$string['locked_message_default'] = 'Den här inställningen låses på anläggningsnivå'; +$string['sharedrubric'] = 'Delad rubrik'; +$string['turnitinrefreshsubmissions'] = 'Uppdatera inlämningar'; +$string['turnitinrefreshingsubmissions'] = 'Uppdaterar inlämningar'; +$string['turnitinppulapre'] = 'För att lämna in en fil till Turnitin måste du först godkänna våra användaravtal. Om du inte godkänner våra användaravtal kommer din fil endast att lämnas in till Moodle. Klicka här för att godkänna.'; +$string['noscriptula'] = 'Eftersom du inte har JavaScript aktiverat måste du manuellt uppdatera den här sidan innan du kan göra en inlämning (efter att du accepterat Turnitins Användaravtal)'; +$string['filedoesnotexist'] = 'Filen har raderats'; + +// Plugin settings +$string['config'] = 'Konfigurering'; +$string['defaults'] = 'Standardinställningar'; +$string['showusage'] = 'Visa datadump'; +$string['saveusage'] = 'Spara datadump'; +$string['errors'] = 'Fel'; +$string['turnitinconfig'] = 'Konfiguration av plagiatplugin i Turnitin'; +$string['tiiexplain'] = 'Turnitin är en kommersiell produkt och du måste ha ett betalt abonnemang för att använda den här tjänsten. För mer information se http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Aktivera Turnitin'; +$string['useturnitin_mod'] = 'Aktivera Turnitin för {$a}'; +$string['pp_configuredesc'] = 'Du måste konfigurera denna modul inom turnitintooltwo modulen. Var god klicka här för att konfigurera denna plugin'; +$string['turnitindefaults'] = 'Turnitin plagiatplugin, standardinställningar'; +$string['defaultsdesc'] = 'Följande inställningar är standardvärden som fastställs vid aktivering av Turnitin inom en Aktivitetsmodul'; +$string['turnitinpluginsettings'] = 'Turnitin plagiatplugin, inställningar'; +$string['pperrorsdesc'] = 'Det finns ett problem med att ladda upp nedanstående filer till Turnitin. För att lämna in igen markerar du filerna du vill lämna in och trycker på inlämningsknappen. De kommer sedan att bearbetas nästa gång Cron körs.'; +$string['pperrorssuccess'] = 'De valda filerna har lämnats in och kommer att bearbetas av Cron.'; +$string['pperrorsfail'] = 'Ett problem uppståd med några av de valda filerna. En ny Cron-händelse kunde inte skapas för dem.'; +$string['resubmitselected'] = 'Lämna in valda filer på nytt'; +$string['deleteconfirm'] = 'Är du säker på att du vill radera denna inlämning?\n\nDenna åtgärd kan inte ångras.'; +$string['deletesubmission'] = 'Radera inlämning'; +$string['semptytable'] = 'Inga sökresultat hittades.'; +$string['configupdated'] = 'Konfiguration uppdaterad'; +$string['defaultupdated'] = 'Turnitin standardinställningar uppdaterade'; +$string['notavailableyet'] = 'Ej tillgänglig'; +$string['resubmittoturnitin'] = 'Lämna in igen till Turnitin'; +$string['resubmitting'] = 'Ominlämning'; +$string['id'] = 'ID'; +$string['student'] = 'Student'; +$string['course'] = 'Kurs'; +$string['module'] = 'Modul'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Visa Originalitetsrapport'; +$string['launchrubricview'] = 'Visa bedömningsmatrisen som används för kommentering'; +$string['turnitinppulapost'] = 'Din fil har inte lämnats in till Turnitin. Klicka här för att godkänna våra användaravtal.'; +$string['ppsubmissionerrorseelogs'] = 'Den här filen har inte skickas till Turnitin. Be din systemadministratör om hjälp.'; +$string['ppsubmissionerrorstudent'] = 'Den här filen har inte skickas till Turnitin. Be din lärare om hjälp.'; + +// Receipts +$string['messageprovider:submission'] = 'Meddelanden för digitala kvitton för plagiatplugin från Turnitin'; +$string['digitalreceipt'] = 'Digitalt kvitto'; +$string['digital_receipt_subject'] = 'Det här är ditt digitala kvitto från Turnitin'; +$string['pp_digital_receipt_message'] = 'Hej {$a->firstname} {$a->lastname}!

Du har lämnat in filen {$a->submission_title} för uppgift {$a->assignment_name}{$a->assignment_part} för kursen {$a->course_fullname} den {$a->submission_date}. Ditt inlämnings-ID är {$a->submission_id}. Ditt fullständiga digitala kvitto kan visas och skrivas ut med knappen skriv ut/ladda ner i dokumentvisaren.

Tack för att du använder Turnitin,

Turnitin-teamet'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin-ID'; +$string['turnitinstatus'] = 'Turnitin-status'; +$string['pending'] = 'Väntar på bekräftelse'; +$string['similarity'] = 'Likhetsindex'; +$string['notorcapable'] = 'Det går inte att skapa en originalitetsrapport för den här filen.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Studenten visade uppsatsen den:'; +$string['student_notread'] = 'Studenten har inte visat denna uppsats.'; +$string['launchpeermarkreviews'] = 'Starta Peermark-recensioner'; + +// Cron +$string['ppqueuesize'] = 'Antal händelser i händelsekön för plagiatplugin'; +$string['ppcronsubmissionlimitreached'] = 'Inga fler inlämningar kommer att skickas till Turnitin av denna Cron-aktivitet, eftersom endast {$a} bearbetas per körning'; +$string['cronsubmittedsuccessfully'] = 'Inlämning: {$a->title} (TII ID: {$a->submissionid}) för uppgift {$a->assignmentname} på kursen {$a->coursename} har lämnats in till Turnitin.'; +$string['pp_submission_error'] = 'Ett fel har uppstått hos Turnitin i samband med inlämningen:'; +$string['turnitindeletionerror'] = 'Radering av inlämning för Turnitin misslyckades. Den lokala Moodle-kopian har tagits bort men inlämningen i Turnitin kunde inte raderas.'; +$string['ppeventsfailedconnection'] = 'Inga händelser kommer att bearbetas av plagiatplugin i Turnitin för den här Cron-aktiviteten eftersom det inte gick att ansluta till Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'Vänd dig till din handledare eller administratör för mer information.'; +$string['faultcode'] = 'Felkod'; +$string['line'] = 'Rad'; +$string['message'] = 'Meddelande'; +$string['code'] = 'Kod'; +$string['tiisubmissionsgeterror'] = 'Det uppstod ett fel vid försök att hämta inlämningar för denna Turnitin uppgift'; +$string['errorcode0'] = 'Den här filen har inte skickas till Turnitin. Be din systemadministratör om hjälp.'; +$string['errorcode1'] = 'Filen har inte skickats till Turnitin eftersom den inte har tillräckligt mycket innehåll för att skapa en originalitetsrapport.'; +$string['errorcode2'] = 'Den här filen kommer inte att skickas till Turnitin eftersom den överstiger högsta tillåtna storlek på {$a}.'; +$string['errorcode3'] = 'Den här filen kunde inte skickas till Turnitin eftersom användaren inte har godkänt Turnitins licensavtal för slutanvändare.'; +$string['errorcode4'] = 'Du måste ladda upp en filtyp som stöds för den här uppgiften. Godkända filtyper är: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps och .rtf'; +$string['errorcode5'] = 'Filen har inte lämnats in till Turnitin eftersom ett fel uppstod när modulen skapades i Turnitin, vilket förhindrar inlämningar. Mer information finns i dina API-loggar'; +$string['errorcode6'] = 'Filen har inte lämnats in till Turnitin eftersom ett fel uppstod när modulinställningarna redigerades i Turnitin, vilket förhindrar inlämningar. Mer information finns i dina API-loggar.'; +$string['errorcode7'] = 'Filen har inte lämnats in till Turnitin eftersom ett fel uppstod när användaren skapades i Turnitin, vilket förhindrar inlämningar. Mer information finns i dina API-loggar.'; +$string['errorcode8'] = 'Filen har inte lämnats in till Turnitin eftersom ett fel uppstod när den tillfälliga filen skulle skapas. Detta beror sannolikt på ett felaktigt filnamn. Ge filen ett nytt namn och ladda upp den igen med Redigera inlämning.'; +$string['errorcode9'] = 'Filen kan inte lämnas in eftersom det inte finns något tillgängligt innehåll i filpoolen att lämna in.'; +$string['coursegeterror'] = 'Kunde inte hämta kursinformation'; +$string['configureerror'] = 'Du måste konfigurera denna modul fullt ut som Administratör innan du använder den i en kurs. Var god kontakta din Moodle-administratör.'; +$string['turnitintoolofflineerror'] = 'Vi har ett tillfälligt problem. Försök igen om en liten stund.'; +$string['defaultinserterror'] = 'Det uppstod ett fel vid försök att infoga en standardvärdeinställning i databasen'; +$string['defaultupdateerror'] = 'Det uppstod ett fel vid försök att uppdatera en standardvärdeinställning i databasen'; +$string['tiiassignmentgeterror'] = 'Det uppstod ett fel vid försök att hämta en uppgift från Turnitin'; +$string['assigngeterror'] = 'Gick inte att hämta turnitintooltwo data'; +$string['classupdateerror'] = 'Kunde inte uppdatera Turnitin-klassinformation'; +$string['pp_createsubmissionerror'] = 'Det uppstod ett fel vid försök att skapa en inlämning i Turnitin'; +$string['pp_updatesubmissionerror'] = 'Det uppstod ett fel vid försök att återinlämna din uppgift till Turnitin'; +$string['tiisubmissiongeterror'] = 'Det uppstod ett fel vid försök att hämta ett inlämnande från Turnitin'; + +// Javascript +$string['closebutton'] = 'Stäng'; +$string['loadingdv'] = 'Laddar dokumentvisaren i Turnitin...'; +$string['changerubricwarning'] = 'Om du ändrar eller tar bort en bedömningsmatris kommer detta att avlägsna all existerande bedömningsmatris-poäng från samtliga uppsatser i denna uppgift, inklusive poängkort som har markerats tidigare. Sammanlagda betyg för tidigare betygsatta uppsatser kommer att finnas kvar.'; +$string['messageprovider:submission'] = 'Meddelanden för digitala kvitton för plagiatplugin från Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin-status'; +$string['deleted'] = 'Raderad'; +$string['pending'] = 'Väntar på bekräftelse'; +$string['because'] = 'Detta beror på att administratören raderade uppgiften som väntade på bekräftelse från uppgiftskön och avbröt inlämningen till Turnitin.
Filen finns fortfarande i Moodle. Kontakta din lärare.
Se nedanstÃ¥ende felkoder:'; diff --git a/lang/tr/plagiarism_turnitin.php b/lang/tr/plagiarism_turnitin.php new file mode 100755 index 00000000..e3ab7b85 --- /dev/null +++ b/lang/tr/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Turnitin'i EtkinleÅŸtir'; +$string['excludebiblio'] = 'Bibliyografyayı Çıkar'; +$string['excludequoted'] = 'Alıntılanan Materyali Çıkar'; +$string['excludevalue'] = 'Küçük EÅŸleÅŸmeleri Çıkar'; +$string['excludewords'] = 'Kelimeler'; +$string['excludepercent'] = 'Yüzde'; +$string['norubric'] = 'Performans deÄŸerlendirme ölçeÄŸi yok'; +$string['otherrubric'] = 'DiÄŸer öğretmenlere ait bir performans deÄŸerlendirme ölçeÄŸi kullan'; +$string['attachrubric'] = 'Bu ödeve bir performans deÄŸerlendirme ölçeÄŸi ekleyin'; +$string['launchrubricmanager'] = 'Performans DeÄŸerlendirme ÖlçeÄŸi Yöneticisini Piyasaya Sür'; +$string['attachrubricnote'] = 'Not: Öğrenciler, gönderimden önce ekli performans deÄŸerlendirme ölçeÄŸi ve içeriÄŸini göreceklerdir.'; +$string['erater_handbook_advanced'] = 'GeliÅŸmiÅŸ'; +$string['erater_handbook_highschool'] = 'Lise'; +$string['erater_handbook_middleschool'] = 'Ortaokul'; +$string['erater_handbook_elementary'] = 'Ä°lkokul'; +$string['erater_handbook_learners'] = 'Ä°ngilizce Öğrenenler'; +$string['erater_dictionary_enus'] = 'ABD Ä°ngilizce Sözlük'; +$string['erater_dictionary_engb'] = 'BK Ä°ngilizce Sözlük'; +$string['erater_dictionary_en'] = 'ABD ve BK Ä°ngilizcesi Sözlükleri'; +$string['erater'] = 'e-rater dil bilgisi kontrolünü etkinleÅŸtir'; +$string['erater_handbook'] = 'ETS El Kitabı©'; +$string['erater_dictionary'] = 'e-rater Sözlüğü'; +$string['erater_categories'] = 'e-rater Kategorileri'; +$string['erater_spelling'] = 'Yazım'; +$string['erater_grammar'] = 'Dil bilgisi'; +$string['erater_usage'] = 'Kullanım'; +$string['erater_mechanics'] = 'Ä°ÅŸleyiÅŸ'; +$string['erater_style'] = 'Stil'; +$string['anonblindmarkingnote'] = 'Not: Turnitin anonim iÅŸaretleme ayarı kaldırıldı. Turnitin, anonim iÅŸaretleme ayarı için Moodle'ın kapalı iÅŸaretleme ayarını kullanacaktır.'; +$string['transmatch'] = 'Çeviri EÅŸleÅŸtirme'; +$string['genduedate'] = 'Raporları teslim tarihinde oluÅŸtur (teslim tarihine kadar yeniden gönderime izin verilir)'; +$string['genimmediately1'] = 'Raporları hemen oluÅŸtur (yeniden gönderime izin verilmez)'; +$string['genimmediately2'] = 'Raporları hemen oluÅŸtur (teslim tarihine kadar yeniden gönderime izin verilir)'; +$string['launchquickmarkmanager'] = 'Quickmark Yöneticisini BaÅŸlat'; +$string['launchpeermarkmanager'] = 'Peermark Yöneticisini Piyasaya Sür'; +$string['studentreports'] = 'Orijinallik Raporunu Öğrencilere Göster'; +$string['studentreports_help'] = 'Öğrencilere Turnitin orijinallik raporlarını göstermenizi saÄŸlar. Evet olarak ayarlanırsa Turnitin tarafından oluÅŸturulan orijinallik raporu, öğrenciler tarafından görüntülenebilecektir.'; +$string['submitondraft'] = 'Dosyayı yükleme iÅŸlemi yapıldığında gönder'; +$string['submitonfinal'] = 'Dosyayı öğrenci iÅŸaretleme için gönderdikten sonra yolla'; +$string['draftsubmit'] = 'Dosyanın Turnitin'e ne zaman gönderilmesi gerekir?'; +$string['allownonor'] = 'Tüm dosya türlerinin gönderimine izin verilsin mi?'; +$string['allownonor_help'] = 'Bu ayar, tüm dosya türlerinin gönderilmesine izin verir. Bu seçenek "Evet" olarak ayarlandığında, gönderiler mümkünse orijinallik raporu için kontrol edilecek, gönderiler indirilebilecek ve mümkün olduÄŸunda, GradeMark geri bildirim araçlarına eriÅŸilebilecektir.'; +$string['norepository'] = 'Havuz Yok'; +$string['standardrepository'] = 'Standart Havuz'; +$string['submitpapersto'] = 'Öğrenci Ödevlerini Depola'; +$string['institutionalrepository'] = 'Kurum Havuzu (Uygulanabilir Yer)'; +$string['submitpapersto_help'] = 'Bu ayar eÄŸitmenin öğrenci ödevini Turnitin öğrenci ödev havuzunda saklanıp saklanmayacağını seçmesini saÄŸlar. Ödevi öğrenci ödev havuzunda saklamak, ödevin mevcut ve önceki sınıflarınıza gönderilmiÅŸ ödevler ile karşılaÅŸtırılmasını saÄŸlar. "Havuz Yok" seçilmiÅŸse, öğrencinizin ödevi Turnitin öğrenci ödev havuzunda saklanmaz.'; +$string['checkagainstnote'] = 'Not: AÅŸağıdaki seçeneklerden en az birinde "Evet" seçeneÄŸini seçmezseniz Orijinallik raporu oluÅŸturulmayacaktır.'; +$string['spapercheck'] = 'Depolanan öğrenci ödevlerinde kontrol et'; +$string['internetcheck'] = 'Ä°nternette ara'; +$string['journalcheck'] = 'Dergi,
süreli yayın ve yayınlarda ara'; +$string['compareinstitution'] = 'Bu kurum içinde gönderilen ödevler ile gönderilen dosyaları karşılaştır'; +$string['reportgenspeed'] = 'Rapor Oluşturma Hızı'; +$string['genspeednote'] = 'Not: Yeniden gönderimlerdeki orijinallik raporu oluşturma süresi yirmi dört saat gecikmelidir.'; +$string['locked_message'] = 'Kilitli mesaj'; +$string['locked_message_help'] = 'Herhangi bir ayar kilitliyse, bu mesaj nedenini söylemek için görüntülenir.'; +$string['locked_message_default'] = 'Bu ayar bu site seviyesinde kilitlidir'; +$string['sharedrubric'] = 'Paylaşılan Performans Değerlendirme Ölçeği'; +$string['turnitinrefreshsubmissions'] = 'Gönderileri Yenile'; +$string['turnitinrefreshingsubmissions'] = 'Gönderiler Yenileniyor'; +$string['turnitinppulapre'] = 'Turnitin'e dosya gönderebilmek için önce Kullanıcı Lisans Sözleşmesi'ni kabul etmeniz gerekiyor. Kullanıcı Lisans Sözleşmesi'ni kabul etmezseniz, dosyanızı yalnızca Moodle'a gönderebilirsiniz. Kabul etmek için buraya tıklayın.'; +$string['noscriptula'] = '(Javascript etkinleştirilmediğinden, Turnitin Kullanıcı Sözleşmesi'ni kabul ettikten sonra bir ödev gönderimi yapmadan önce, sayfayı yenilemelisiniz)'; +$string['filedoesnotexist'] = 'Dosya silindi'; + +// Plugin settings +$string['config'] = 'Yapılandırma'; +$string['defaults'] = 'Varsayılan Ayarlar'; +$string['showusage'] = 'Veri Atıklarını Göster'; +$string['saveusage'] = 'Veri Atıklarını Kaydet'; +$string['errors'] = 'Hatalar'; +$string['turnitinconfig'] = 'Turnitin İntihal Eklenti Yapılandırması'; +$string['tiiexplain'] = 'Turnitin ticari bir üründür ve bu servisi kullanmak için ücretli üyeliğe ihtiyacınız vardır, daha fazla bilgi için bkz. http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Turnitin'i Etkinleştir'; +$string['useturnitin_mod'] = 'Şunun için Turnitin'i Etkinleştir {$a}'; +$string['pp_configuredesc'] = 'Bu modülü, turnitintooltwo modülünde yapılandırmalısınız. Bu eklentiyi yapılandırmak için lütfen buraya tıklayın'; +$string['turnitindefaults'] = 'Turnitin, intihal eklentisi varsayılan ayarları'; +$string['defaultsdesc'] = 'Etkinlik Modülünde Turnitin etkinleştirilirken aşağıdaki ayarlar, varsayılan ayarlar olarak belirlendi'; +$string['turnitinpluginsettings'] = 'Turnitin, intihal eklentisi ayarları'; +$string['pperrorsdesc'] = 'Aşağıdaki dosyaları Turnitin'e yüklerken hata oluştu. Yeniden göndermek için yeniden göndermek istediğiniz dosyaları seçin ve yeniden gönder düğmesine tıklayın. Cron bir daha çalıştırıldığında bu dosyalar işlenecektir.'; +$string['pperrorssuccess'] = 'Seçtiğiniz dosyalar yeniden gönderildi ve cron tarafından işlenecektir.'; +$string['pperrorsfail'] = 'Seçtiğiniz dosyaların bazılarında hata oluştu. Bu dosyalar için yeni cron etkinliği oluşturulamadı.'; +$string['resubmitselected'] = 'Seçilen Dosyaları Yeniden Yolla'; +$string['deleteconfirm'] = 'Bu gönderiyi silmek istediğinize emin misiniz?\n\nBu eylem geri alınamaz.'; +$string['deletesubmission'] = 'Gönderiyi Sil'; +$string['semptytable'] = 'Hiçbir sonuç bulunamadı.'; +$string['configupdated'] = 'Yapılandırma güncellendi'; +$string['defaultupdated'] = 'Turnitin varsayılan ayarları güncellendi'; +$string['notavailableyet'] = 'Erişilebilir değil'; +$string['resubmittoturnitin'] = 'Turnitin'e yeniden gönder'; +$string['resubmitting'] = 'Yeniden gönderme'; +$string['id'] = 'Kimlik'; +$string['student'] = 'Öğrenci'; +$string['course'] = 'Kurs'; +$string['module'] = 'Modül'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Orijinallik Raporunu Görüntüle'; +$string['launchrubricview'] = 'İşaretleme için kullanılmış performans değerlendirme ölçeklerini görüntüle'; +$string['turnitinppulapost'] = 'Dosyanız Turnitin'e gönderilmedi. Kullanıcı Lisans Sözleşmesi'ni kabul etmek için lütfen buraya tıklayın.'; +$string['ppsubmissionerrorseelogs'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; +$string['ppsubmissionerrorstudent'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen daha ayrıntılı bilgi için öğretmeninize danışın'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin İntihal Eklentisi Dijital Makbuz bildirimleri'; +$string['digitalreceipt'] = 'Dijital Makbuz'; +$string['digital_receipt_subject'] = 'Bu, sizin Turnitin Dijital Makbuzunuzdur'; +$string['pp_digital_receipt_message'] = 'Sayın {$a->firstname} {$a->lastname},

{$a->submission_title} dosyasını {$a->course_fullname} sınıfındaki {$a->assignment_name}{$a->assignment_part} ödevine {$a->submission_date} tarihinde başarıyla gönderdiniz. Gönderi numaranız {$a->submission_id}. Dijital makbuzunuz Doküman Görüntüleyicideki yazdır/indir düğmesinden görüntülenebilir ve yazdırılabilir.

Turnitin'i kullandığınız için teşekkür ederiz,

Turnitin Ekibi'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin Numarası'; +$string['turnitinstatus'] = 'Turnitin durumu'; +$string['pending'] = 'Bekliyor'; +$string['similarity'] = 'Benzerlik'; +$string['notorcapable'] = 'Bu dosya için bir Özgünlük Raporunun oluşturulması mümkün değil.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Öğrencinin ödevi görüntülediği tarih:'; +$string['student_notread'] = 'Öğrenci henüz bu ödevi görüntülemedi.'; +$string['launchpeermarkreviews'] = 'Peermark Değerlendirmelerini Yayınla'; + +// Cron +$string['ppqueuesize'] = 'İntihal Eklentisi etkinlik sırasındaki etkinlik sayısı'; +$string['ppcronsubmissionlimitreached'] = 'Bir çalıştırmada yalnızca {$a} işlendiği için Turnitin'e daha fazla gönderim yapılmayacak'; +$string['cronsubmittedsuccessfully'] = 'Gönderi: {$a->coursename} kursundaki {$a->assignmentname} ödevi için {$a->title} (TII Numarası: {$a->submissionid}) başarıyla Turnitin'e gönderilmiştir.'; +$string['pp_submission_error'] = 'Turnitin gönderiminizle ilgili bir hata oluştu:'; +$string['turnitindeletionerror'] = 'Turnitin gönderisi silinirken bir hata oluştu. Yerel Moodle kopyası kaldırıldı ancak Turnitin' deki gönderi silinemedi.'; +$string['ppeventsfailedconnection'] = 'Turnitin ile bağlantı kurulamadığından Turnitin intihal eklentisi tarafından bir etkinlik işleme alınmayacak.'; + +// Error codes +$string['tii_submission_failure'] = 'Daha ayrıntılı bilgi için lütfen öğretmeninize veya sistem yöneticinize danışın'; +$string['faultcode'] = 'Hata Kodu'; +$string['line'] = 'Satır'; +$string['message'] = 'Mesaj'; +$string['code'] = 'Kod'; +$string['tiisubmissionsgeterror'] = 'Turnitin'de bu ödev için yapılan gönderiler alınırken bir sorun oluştu'; +$string['errorcode0'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; +$string['errorcode1'] = 'Orijinallik Raporu oluşturmak için yeterli içerik olmadığından bu dosya Turnitin'e gönderilmedi.'; +$string['errorcode2'] = 'İzin verilen {$a} maksimum boyutu aştığı için bu dosya Turnitin'e gönderilmeyecek'; +$string['errorcode3'] = 'Kullanıcı, Turnitin Son Kullanıcı Lisans Sözleşmesini kabul etmediğinden bu dosya Turnitin'e gönderilmemiştir.'; +$string['errorcode4'] = 'Bu ödev için desteklenen bir dosya türü yüklemeniz gerekmektedir. Kabul edilen dosya türleri: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps ve .rtf'; +$string['errorcode5'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode6'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül ayarlarını düzenlerken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode7'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de kullanıcı oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode8'] = 'Bu dosya Turnitin'e gönderilemedi çünkü temp dosyasını oluştururken bir hata meydana geldi. Muhtemel nedeni geçersiz dosya adıdır. Lütfen dosyayı yeniden adlandırın ve Gönderiyi Düzenle seçeneğini kullanarak yeniden yükleyin.'; +$string['errorcode9'] = 'Dosya havuzunda gönderilecek erişilebilir bir içerik olmadığından dosya gönderilemiyor.'; +$string['coursegeterror'] = 'Kurs verileri alınamadı'; +$string['configureerror'] = 'Bu modülü, herhangi bir kursta kullanmaya başlamadan önce yönetici olarak yapılandırmalısınız. Lütfen Moodle yöneticinizle iletişime geçin.'; +$string['turnitintoolofflineerror'] = 'Geçici bir sorun yaşıyoruz. Lütfen kısa bir süre sonra tekrar deneyin.'; +$string['defaultinserterror'] = 'Veritabanına varsayılan ayar değeri girilirken bir hata oluştu'; +$string['defaultupdateerror'] = 'Veritabanında varsayılan ayar değerleri güncellenirken bir hata oluştu'; +$string['tiiassignmentgeterror'] = 'Turnitin'den ödev alınırken bir sorun oluştu'; +$string['assigngeterror'] = 'Turnitintooltwo verileri alınamadı'; +$string['classupdateerror'] = 'Turnitin Sınıf verileri güncellenemedi'; +$string['pp_createsubmissionerror'] = 'Turnitin'de bir gönderi oluşturulurken sorun oluştu'; +$string['pp_updatesubmissionerror'] = 'Turnitin'e ödevinizi yeniden gönderirken bir sorun oluştu'; +$string['tiisubmissiongeterror'] = 'Turnitin'den bir gönderi alınırken sorun oluştu'; + +// Javascript +$string['closebutton'] = 'Kapat'; +$string['loadingdv'] = 'Turnitin Doküman Görüntüleyici Yükleniyor...'; +$string['changerubricwarning'] = 'Performans değerlendirme ölçeğini değiştirmeniz veya kaldırmanız bu ödevdeki, daha önce işaretlenen skor kartları dahil, tüm performans değerlendirme ölçeği skorlarını kaldırılacaktır. Puanlanmış önceki ödevlerin toplam puanı bekleyecektir.'; +$string['messageprovider:submission'] = 'Turnitin İntihal Eklentisi Dijital Makbuz bildirimleri'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin durumu'; +$string['deleted'] = 'Silindi'; +$string['pending'] = 'Bekliyor'; +$string['because'] = 'Bunun nedeni bir yöneticinin bekleyen ödevi işlem kuyruğundan silmesi ve Turnitin'e gönderiyi iptal etmesidir.
Dosya Moodle'da kalacaktır, lütfen eğitmeninizle iletişime geçin.
Lütfen hata kodları için aÅŸağıya bakın:'; diff --git a/lang/vi/plagiarism_turnitin.php b/lang/vi/plagiarism_turnitin.php new file mode 100755 index 00000000..277616db --- /dev/null +++ b/lang/vi/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'Cho phép Turnitin'; +$string['excludebiblio'] = 'Loại trừ Mục lục tham khảo'; +$string['excludequoted'] = 'Loại trừ Tài liệu Trích dẫn'; +$string['excludevalue'] = 'Loại trừ Trùng khá»›p Nhá»'; +$string['excludewords'] = 'Từ'; +$string['excludepercent'] = 'Phần trăm'; +$string['norubric'] = 'Không có thang đánh giá'; +$string['otherrubric'] = 'Dùng thang đánh giá thuá»™c vá» má»™t ngÆ°á»i hÆ°á»›ng dẫn khác'; +$string['attachrubric'] = 'Äính kèm má»™t thang đánh giá vào bài tập này'; +$string['launchrubricmanager'] = 'Mở Trình quản lý Thang đánh giá'; +$string['attachrubricnote'] = 'LÆ°u ý: Há»c sinh sẽ có thể xem các thang đánh giá đính kèm và ná»™i dung của mình trÆ°á»›c khi ná»™p bài.'; +$string['erater_handbook_advanced'] = 'Nâng cao'; +$string['erater_handbook_highschool'] = 'Trung há»c Phổ thông'; +$string['erater_handbook_middleschool'] = 'Trung há»c CÆ¡ sở'; +$string['erater_handbook_elementary'] = 'Tiểu há»c'; +$string['erater_handbook_learners'] = 'NgÆ°á»i há»c Tiếng Anh'; +$string['erater_dictionary_enus'] = 'Từ Ä‘iển Tiếng Anh Hoa Kỳ'; +$string['erater_dictionary_engb'] = 'Từ Ä‘iển Tiếng Anh Anh Quốc'; +$string['erater_dictionary_en'] = 'Cả Từ Ä‘iển Tiếng Anh Hoa Kỳ và Anh Quốc'; +$string['erater'] = 'Cho phép kiểm tra ngữ pháp e-rater'; +$string['erater_handbook'] = 'Sổ tay ETS©'; +$string['erater_dictionary'] = 'Từ Ä‘iển e-rater'; +$string['erater_categories'] = 'Các danh mục e-rater'; +$string['erater_spelling'] = 'Äánh vần'; +$string['erater_grammar'] = 'Ngữ pháp'; +$string['erater_usage'] = 'Cách dùng từ'; +$string['erater_mechanics'] = 'Kỹ năng viết'; +$string['erater_style'] = 'Văn phong'; +$string['anonblindmarkingnote'] = 'LÆ°u ý: Cài đặt nhận xét ẩn danh riêng của Turnitin đã được gỡ bá». Turnitin sẽ sá»­ dụng cài đặt nhận xét ẩn của Moodle để xác định cài đặt nhận xét ẩn danh.'; +$string['transmatch'] = 'Äối chiếu Bản dịch'; +$string['genduedate'] = 'Tổng hợp báo cáo vào ngày hạn ná»™p (cho phép ná»™p bài lại cho đến hết ngày hạn ná»™p)'; +$string['genimmediately1'] = 'Tổng hợp báo cáo ngay lập tức (không cho phép ná»™p bài lại)'; +$string['genimmediately2'] = 'Tổng hợp báo cáo ngay lập tức (cho phép ná»™p bài lại cho đến hết ngày hạn ná»™p)'; +$string['launchquickmarkmanager'] = 'Mở Trình Quản lý Quickmark'; +$string['launchpeermarkmanager'] = 'Mở Trình Quản lý Peermark'; +$string['studentreports'] = 'Hiển thị Báo cáo Äá»™c sáng cho Há»c sinh'; +$string['studentreports_help'] = 'Cho phép bạn hiển thị các báo cáo Ä‘á»™c sáng của Turnitin cho những ngÆ°á»i dùng là há»c sinh. Nếu bạn đặt là chấp thuận, báo cáo Ä‘á»™c sáng do Turnitin tổng hợp sẽ được hiển thị cho há»c sinh xem.'; +$string['submitondraft'] = 'Ná»™p tập tin khi vừa tải lên'; +$string['submitonfinal'] = 'Ná»™p tập tin khi há»c sinh gá»­i để chấm Ä‘iểm'; +$string['draftsubmit'] = 'Khi nào thì tập tin sẽ được ná»™p cho Turnitin?'; +$string['allownonor'] = 'Cho phép ná»™p tập tin có định dạng bất kỳ?'; +$string['allownonor_help'] = 'Cài đặt này cho phép ná»™p tập tin có định dạng bất kỳ. Nếu tùy chá»n được chá»n là "Äồng ý", các bài ná»™p sẽ được kiểm tra vá» tính Ä‘á»™c sáng ở những chá»— có thể, bài ná»™p sẽ khả dụng để tải vá» và các công cụ phản hồi GradeMark sẽ khả dụng ở những phần có thể.'; +$string['norepository'] = 'Không có Kho dữ liệu'; +$string['standardrepository'] = 'Kho dữ liệu Chuẩn'; +$string['submitpapersto'] = 'LÆ°u trữ Bài của Há»c sinh'; +$string['institutionalrepository'] = 'Kho dữ liệu của Tổ chức (Nếu có)'; +$string['submitpapersto_help'] = 'Cài đặt này cung cấp cho ngÆ°á»i hÆ°á»›ng dẫn khả năng chá»n có hay không cho phép bài ná»™p được lÆ°u vào kho dữ liệu bài của Turnitin. Lợi ích của việc ná»™p bài vào kho dữ liệu bài há»c sinh là các bài há»c sinh đã ná»™p vào bài tập sẽ được đối chiếu vá»›i những bài ná»™p của các há»c sinh khác bên trong các lá»›p hiện tại và trÆ°á»›c đây của bạn. Nếu bạn chá»n "không có kho dữ liệu", bài ná»™p của há»c sinh sẽ không được lÆ°u vào kho dữ liệu bài há»c sinh của Turnitin.'; +$string['checkagainstnote'] = 'LÆ°u ý: Nếu bạn không chá»n "Có" cho ít nhất má»™t trong các tùy chá»n "Äối chiếu vá»›i..." bên dÆ°á»›i thì Báo cáo Ä‘á»™c sáng sẽ KHÔNG được tổng hợp.'; +$string['spapercheck'] = 'Äối chiếu vá»›i những bài đã lÆ°u của há»c sinh'; +$string['internetcheck'] = 'Äối chiếu vá»›i Internet'; +$string['journalcheck'] = 'Äối chiếu vá»›i các tạp chí chuyên ngành,
tạp chí định kỳ và các ấn phẩm xuất bản'; +$string['compareinstitution'] = 'Äối chiếu các tập tin đã ná»™p vá»›i các bài đã ná»™p vào bên trong tổ chức này'; +$string['reportgenspeed'] = 'Tốc Ä‘á»™ Tổng hợp Báo cáo'; +$string['genspeednote'] = 'LÆ°u ý: Việc tổng hợp Báo cáo Äá»™c sáng cho các bài ná»™p lại sẽ bị trì hoãn 24 giá».'; +$string['locked_message'] = 'Thông báo đã khóa'; +$string['locked_message_help'] = 'Nếu có bất kỳ cài đặt nào bị khóa, thông báo này sẽ hiển thị để cho biết lý do.'; +$string['locked_message_default'] = 'Cài đặt này bị khóa ở cấp Ä‘á»™ trang mạng'; +$string['sharedrubric'] = 'Thang đánh giá chung'; +$string['turnitinrefreshsubmissions'] = 'Làm má»›i các Bài ná»™p'; +$string['turnitinrefreshingsubmissions'] = 'Làm má»›i các Bài ná»™p'; +$string['turnitinppulapre'] = 'Äể ná»™p tập tin cho Turnitin, trÆ°á»›c tiên bạn phải chấp thuận EULA của chúng tôi. Nếu bạn chá»n không chấp thuận EULA của chúng tôi thì tập tin của bạn sẽ chỉ được ná»™p cho Moodle. Nhấp vào đây để chấp thuận.'; +$string['noscriptula'] = '(Do bạn không cho phép Javascript, bạn sẽ phải làm má»›i má»™t cách thủ công trang này để có thể thá»±c hiện ná»™p bài sau khi đã chấp nhận Thá»a thuận NgÆ°á»i Dùng Turnitin)'; +$string['filedoesnotexist'] = 'Tập tin đã được xóa'; + +// Plugin settings +$string['config'] = 'Cấu hình'; +$string['defaults'] = 'Cài đặt Mặc định'; +$string['showusage'] = 'Hiển thị Kết xuất Dữ liệu'; +$string['saveusage'] = 'LÆ°u Kết xuất Dữ liệu'; +$string['errors'] = 'Lá»—i'; +$string['turnitinconfig'] = 'Cấu hình phần Bổ trợ vá» Äạo văn của Turnitin'; +$string['tiiexplain'] = 'Turnitin là má»™t sản phẩm thÆ°Æ¡ng mại và bạn phải trả phí thuê bao đăng ký để sá»­ dụng dịch vụ này. Äể biết thêm thông tin, vui lòng xem http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'Cho phép Turnitin'; +$string['useturnitin_mod'] = 'Cho phép Turnitin cho {$a}'; +$string['pp_configuredesc'] = 'Bạn phải định cấu hình mô-Ä‘un này bên trong mô-Ä‘un turnitintooltwo. Vui lòng nhấp vào đây để định cấu hình phần bổ trợ này'; +$string['turnitindefaults'] = 'Cài đặt mặc định phần bổ trợ chống đạo văn của Turnitin'; +$string['defaultsdesc'] = 'Các cài đặt sau đây là mặc định khi cho phép Turnitin bên trong má»™t Mô-Ä‘un Hoạt Ä‘á»™ng'; +$string['turnitinpluginsettings'] = 'Cài đặt phần bổ trợ chống đạo văn của Turnitin'; +$string['pperrorsdesc'] = 'Xảy ra sá»± cố khi cố gắng tải các tập tin dÆ°á»›i đây lên Turnitin. Äể ná»™p lại, hãy chá»n tập tin bạn muốn ná»™p lại rồi nhấn nút ná»™p lại. Sau đó, những tập tin này sẽ được xá»­ lý vào lần chạy cron tiếp theo.'; +$string['pperrorssuccess'] = 'Các tập tin bạn chá»n đã được ná»™p lại và sẽ được cron xá»­ lý.'; +$string['pperrorsfail'] = 'Xảy ra sá»± cố vá»›i má»™t số tập tin bạn chá»n, không thể tạo má»™t sá»± kiện cron má»›i cho chúng.'; +$string['resubmitselected'] = 'Ná»™p lại Tập tin Äã chá»n'; +$string['deleteconfirm'] = 'Bạn có chắc muốn xóa bài ná»™p này không?\n\nThao tác này sẽ không thể hoàn tác.'; +$string['deletesubmission'] = 'Xóa Bài ná»™p'; +$string['semptytable'] = 'Không tìm thấy kết quả nào.'; +$string['configupdated'] = 'Äã cập nhật cấu hình'; +$string['defaultupdated'] = 'Äã cập nhật các cài đặt mặc định Turnitin'; +$string['notavailableyet'] = 'Không khả dụng'; +$string['resubmittoturnitin'] = 'Ná»™p lại cho Turnitin'; +$string['resubmitting'] = 'Äang ná»™p lại'; +$string['id'] = 'ID'; +$string['student'] = 'Há»c sinh'; +$string['course'] = 'Khóa há»c'; +$string['module'] = 'Mô-Ä‘un'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = 'Xem Báo cáo Äá»™c Sáng'; +$string['launchrubricview'] = 'Xem Thang đánh giá dùng để chấm Ä‘iểm'; +$string['turnitinppulapost'] = 'Tập tin của bạn chÆ°a được ná»™p vào Turnitin. Vui lòng nhấp vào đây để chấp thuận EULA của chúng tôi.'; +$string['ppsubmissionerrorseelogs'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin, vui lòng tÆ° vấn quản trị viên hệ thống của bạn'; +$string['ppsubmissionerrorstudent'] = 'Tập tin này chÆ°a được ná»™p vào Turnitin, vui lòng tÆ° vấn trợ giảng của bạn để biết thêm chi tiết'; + +// Receipts +$string['messageprovider:submission'] = 'Thông báo vá» Biên lai Äiện tá»­ trong Phần bổ trợ Chống đạo văn của Turnitin'; +$string['digitalreceipt'] = 'Biên lai Äiện tá»­'; +$string['digital_receipt_subject'] = 'Äây là Biên lai Äiện tá»­ Turnitin của bạn'; +$string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname} thân mến!

Bạn đã nộp thành công tập tin {$a->submission_title} cho bài tập {$a->assignment_name}{$a->assignment_part} trong lớp {$a->course_fullname} trên {$a->submission_date}. Id bài nộp của bạn là {$a->submission_id}. Bạn có thể xem và in biên lai điện tử của mình từ nút in/tải vỠtrong Trình xem Tài liệu.

Cảm ơn bạn đã sử dụng Turnitin!

Nhóm Turnitin'; + +// Paper statuses +$string['turnitinid'] = 'ID Turnitin'; +$string['turnitinstatus'] = 'Trạng thái Turnitin'; +$string['pending'] = 'Äang chá»'; +$string['similarity'] = 'TÆ°Æ¡ng đồng'; +$string['notorcapable'] = 'Không thể tổng hợp má»™t Báo cáo Äá»™c sáng cho tập tin này.'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = 'Há»c sinh đã xem bài vào:'; +$string['student_notread'] = 'Há»c sinh vẫn chÆ°a xem bài này.'; +$string['launchpeermarkreviews'] = 'Mở Bình duyệt Peermark'; + +// Cron +$string['ppqueuesize'] = 'Số lượng sá»± kiện trong hàng đợi sá»± kiện của Phần bổ trợ Chống đạo văn'; +$string['ppcronsubmissionlimitreached'] = 'Sẽ không có thêm bài ná»™p nào được gá»­i tá»›i Turnitin bằng lệnh thá»±c thi cron này vì chỉ có {$a} được xá»­ lý trên má»—i lần chạy'; +$string['cronsubmittedsuccessfully'] = 'Bài ná»™p: {$a->title} (ID TII: {$a->submissionid}) cho bài tập {$a->assignmentname} trên khóa há»c {$a->coursename} đã được ná»™p thành công cho Turnitin.'; +$string['pp_submission_error'] = 'Turnitin đã trả vá» má»™t lá»—i vá»›i bài ná»™p của bạn:'; +$string['turnitindeletionerror'] = 'Xóa bài ná»™p Turnitin không thành công. Bản lÆ°u cục bá»™ trong Moodle đã được gỡ bá» nhÆ°ng không thể xóa bài ná»™p trong Turnitin.'; +$string['ppeventsfailedconnection'] = 'Sẽ không có sá»± kiện nào được phần bổ trợ chống đạo văn của Turnitin xá»­ lý bằng lệnh thá»±c thi cron này vì không thể thiết lập kết nối tá»›i Turnitin.'; + +// Error codes +$string['tii_submission_failure'] = 'Vui lòng tÆ° vấn trợ giảng hoặc quản trị viên hệ thống của bạn để biết thêm chi tiết'; +$string['faultcode'] = 'Mã Lá»—i'; +$string['line'] = 'Dòng'; +$string['message'] = 'Thông báo'; +$string['code'] = 'Mã'; +$string['tiisubmissionsgeterror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng lấy bài ná»™p cho bài tập này từ Turnitin'; +$string['errorcode0'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin, vui lòng tÆ° vấn quản trị viên hệ thống của bạn'; +$string['errorcode1'] = 'Tập tin này chÆ°a được gá»­i tá»›i Turnitin vì tập tin không có đủ ná»™i dung để tổng hợp Báo cáo Äá»™c sáng.'; +$string['errorcode2'] = 'Tập tin này sẽ không được ná»™p cho Turnitin vì vượt quá kích cỡ tối Ä‘a cho phép là {$a}'; +$string['errorcode3'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin vì ngÆ°á»i dùng chÆ°a chấp thuận Thá»a thuận Giấy phép NgÆ°á»i dùng Cuối của Turnitin.'; +$string['errorcode4'] = 'Bạn phải tải lên má»™t tập tin ở định dạng được há»— trợ cho bài tập này. Äịnh dạng tập tin được chấp nhận gồm: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps và .rtf'; +$string['errorcode5'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin vì có sá»± cố khi tạo mô-Ä‘un trong Turnitin khiến các bài ná»™p bị chặn, vui lòng xem các bản ghi API của bạn để biết thêm thông tin'; +$string['errorcode6'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin vì có sá»± cố khi chỉnh sá»­a cài đặt mô-Ä‘un trong Turnitin khiến không ná»™p được, vui lòng xem các bản ghi API của bạn để biết thêm thông tin'; +$string['errorcode7'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin vì có sá»± cố khi tạo ngÆ°á»i dùng trong Turnitin khiến không ná»™p được, vui lòng xem các bản ghi API của bạn để biết thêm thông tin'; +$string['errorcode8'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin vì có sá»± cố khi tạo tập tin tạm thá»i. Rất có thể nguyên nhân là do tên tập tin không hợp lệ. Vui lòng đổi tên tập tin và tải lên lại bằng chức năng Hiệu chỉnh Bài ná»™p.'; +$string['errorcode9'] = 'Không thể ná»™p tập tin vì không có ná»™i dung truy cập được trong vùng lÆ°u trữ tập tin để ná»™p.'; +$string['coursegeterror'] = 'Không thể lấy dữ liệu khóa há»c'; +$string['configureerror'] = 'Bạn phải định cấu hình toàn bá»™ cho mô-Ä‘un này trong vai trò Quản trị viên trÆ°á»›c khi sá»­ dụng mô-Ä‘un trong má»™t khóa há»c. Vui lòng liên lạc quản trị viên Moodle của bạn.'; +$string['turnitintoolofflineerror'] = 'Chúng tôi hiện Ä‘ang gặp má»™t sá»± cố tạm thá»i. Vui lòng thá»­ lại trong giây lát.'; +$string['defaultinserterror'] = 'Xảy ra lá»—i khi cố gắng chèn má»™t giá trị cài đặt mặc định vào cÆ¡ sở dữ liệu'; +$string['defaultupdateerror'] = 'Xảy ra lá»—i khi cố gắng cập nhật má»™t giá trị cài đặt mặc định vào cÆ¡ sở dữ liệu'; +$string['tiiassignmentgeterror'] = 'Xảy ra lá»—i khi cố gắng lấy má»™t bài tập từ Turnitin'; +$string['assigngeterror'] = 'Không thể lấy dữ liệu turnitintooltwo'; +$string['classupdateerror'] = 'Không thể cập nhật dữ liệu Lá»›p Turnitin'; +$string['pp_createsubmissionerror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng tạo bài ná»™p trên Turnitin'; +$string['pp_updatesubmissionerror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng ná»™p lại bài ná»™p trên Turnitin'; +$string['tiisubmissiongeterror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng lấy bài ná»™p từ Turnitin'; + +// Javascript +$string['closebutton'] = 'Äóng'; +$string['loadingdv'] = 'Äang tải Trình xem Tài liệu Turnitin...'; +$string['changerubricwarning'] = 'Thay đổi hoặc hủy đính kèm má»™t thang đánh giá sẽ gỡ bá» tất cả Ä‘iểm đánh giá hiện có theo thang đánh giá đó khá»i các bài ná»™p trong bài tập này, kể cả các thẻ Ä‘iểm đã được chấm trÆ°á»›c đây. Äiểm tổng quát cho những bài đã chấm trÆ°á»›c đây sẽ được duy trì.'; +$string['messageprovider:submission'] = 'Thông báo vá» Biên lai Äiện tá»­ trong Phần bổ trợ Chống đạo văn của Turnitin'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Trạng thái Turnitin'; +$string['deleted'] = 'Äã xóa'; +$string['pending'] = 'Äang chá»'; +$string['because'] = 'Äiá»u này là do quản trị viên đã xóa bài tập Ä‘ang chá» khá»i hàng đợi xá»­ lý và hủy bá» bài ná»™p cho Turnitin.
Tập tin vẫn tồn tại trong Moodle, vui lòng liên lạc ngÆ°á»i hÆ°á»›ng dẫn của bạn.
Vui lòng xem thông tin dÆ°á»›i đây để biết má»i mã lá»—i:'; diff --git a/lang/zh_hans/plagiarism_turnitin.php b/lang/zh_hans/plagiarism_turnitin.php new file mode 100755 index 00000000..faa7dfc9 --- /dev/null +++ b/lang/zh_hans/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = 'å¯ç”¨ Turnitin'; +$string['excludebiblio'] = 'ä¸å«å‚考书目'; +$string['excludequoted'] = '排除引用资料'; +$string['excludevalue'] = '排除å°åž‹åŒ¹é…结果'; +$string['excludewords'] = 'å­—'; +$string['excludepercent'] = '百分比'; +$string['norubric'] = '无评分表'; +$string['otherrubric'] = '使用属于其他导师的评分表'; +$string['attachrubric'] = '将评分表附加至此作业'; +$string['launchrubricmanager'] = 'å¯åŠ¨è¯„分表管ç†å·¥å…·'; +$string['attachrubricnote'] = '注æ„:学生将å¯ä»¥åœ¨æ交å‰æŸ¥çœ‹é™„加的评分表åŠå…¶å†…容。'; +$string['erater_handbook_advanced'] = '进阶'; +$string['erater_handbook_highschool'] = '高中'; +$string['erater_handbook_middleschool'] = '中学'; +$string['erater_handbook_elementary'] = 'å°å­¦'; +$string['erater_handbook_learners'] = '英文学习者'; +$string['erater_dictionary_enus'] = '美å¼è‹±æ–‡å­—å…¸'; +$string['erater_dictionary_engb'] = '英å¼è‹±æ–‡å­—å…¸'; +$string['erater_dictionary_en'] = '美å¼å’Œè‹±å¼è‹±è¯­å­—å…¸'; +$string['erater'] = 'å¯ç”¨ e-rater 文法检查'; +$string['erater_handbook'] = 'ETS© 手册'; +$string['erater_dictionary'] = 'e-rater å­—å…¸'; +$string['erater_categories'] = 'e-rater 类型'; +$string['erater_spelling'] = '拼字'; +$string['erater_grammar'] = '文法'; +$string['erater_usage'] = '用法'; +$string['erater_mechanics'] = '技巧'; +$string['erater_style'] = '风格'; +$string['anonblindmarkingnote'] = '注æ„:已删除å•ç‹¬çš„ Turnitin 匿å标记设置。Turnitin 将使用 Moodle éšè”½æ ‡è®°è®¾ç½®ç¡®å®šåŒ¿å标记设置。'; +$string['transmatch'] = '已翻译的相符功能'; +$string['genduedate'] = '在截止日期当天生æˆæŠ¥å‘Šï¼ˆå…许在截止日期å‰é‡æ–°æ交)'; +$string['genimmediately1'] = 'ç«‹å³ç”ŸæˆæŠ¥å‘Šï¼ˆä¸å…许é‡æ–°æ交)'; +$string['genimmediately2'] = 'ç«‹å³ç”ŸæˆæŠ¥å‘Šï¼ˆå…许在截止日期å‰é‡æ–°æ交)'; +$string['launchquickmarkmanager'] = 'å¯åŠ¨ Quickmark 管ç†å·¥å…·'; +$string['launchpeermarkmanager'] = 'å¯åŠ¨ Peermark 管ç†å·¥å…·'; +$string['studentreports'] = '显示原创性报告给学生'; +$string['studentreports_help'] = 'å…许您å‘学生用户显示 Turnitin 原创性报告。如果设置为“确定â€ï¼Œåˆ™ Turnitin 生æˆçš„原创性报告将å¯ä¾›å­¦ç”ŸæŸ¥çœ‹ã€‚'; +$string['submitondraft'] = '在首次上传时æ交文件'; +$string['submitonfinal'] = '当学生å‘é€ä»¥ä¾›æ ‡è®°æ—¶æ交文件'; +$string['draftsubmit'] = '文件应在何时æ交至 Turnitin?'; +$string['allownonor'] = 'å…许æ交任何文件类型å—?'; +$string['allownonor_help'] = '此设置将å…许æ交任何文件类型。如果此选项设为“是â€ï¼Œåˆ™åœ¨å¯è¡Œçš„å‰æ下,系统会检查æ交内容的原创性,æ交内容将å¯ä¾›ä¸‹è½½å¹¶ä¸” GradeMark å馈工具将å¯ä¾›ä½¿ç”¨ã€‚'; +$string['norepository'] = '无存储库'; +$string['standardrepository'] = '标准存储库'; +$string['submitpapersto'] = '存储学生论文'; +$string['institutionalrepository'] = '机构存储库(适用时)'; +$string['submitpapersto_help'] = '此设置使导师能够选择是å¦å°†è®ºæ–‡å­˜å‚¨åœ¨ Turnitin 学生论文存储库内。将论文æ交至学生论文存储库的好处在于,æ交至作业的学生论文将跟您现有或过去ç­çº§å†…的其他学生的æ交内容åšå¯¹æ¯”。如果您选择“无存储库â€ï¼Œæ‚¨çš„学生的论文将ä¸ä¼šè¢«å­˜å‚¨åœ¨ Turnitin 学生论文存储库内。'; +$string['checkagainstnote'] = '注æ„:如果您没有为下é¢è‡³å°‘一个“åšæ¯”较...â€é€‰é¡¹é€‰æ‹©â€œæ˜¯â€ï¼Œåˆ™ä¸ä¼šç”Ÿæˆâ€œåŽŸåˆ›æ€§â€æŠ¥å‘Šã€‚'; +$string['spapercheck'] = '与已存储的学生论文åšæ¯”较'; +$string['internetcheck'] = '与网络比较'; +$string['journalcheck'] = '与æ‚å¿—ã€
期刊与刊物比较'; +$string['compareinstitution'] = '将已æ交的文件与在此机构内æ交的论文进行比较'; +$string['reportgenspeed'] = '报告生æˆé€Ÿåº¦'; +$string['genspeednote'] = '注æ„:生æˆåŽŸåˆ›æ€§æŠ¥å‘Šä»¥ä¾›é‡æ–°æ交å¯èƒ½ä¼šæœ‰ 24 å°æ—¶çš„延迟。'; +$string['locked_message'] = 'é”定的消æ¯'; +$string['locked_message_help'] = '如果é”定了任何设置,将显示此消æ¯è¯´æ˜ŽåŽŸå› ã€‚'; +$string['locked_message_default'] = '此设置已é”定在站点级别'; +$string['sharedrubric'] = '已共享评分表'; +$string['turnitinrefreshsubmissions'] = 'æ›´æ–°æ交内容'; +$string['turnitinrefreshingsubmissions'] = 'æ›´æ–°æ交内容'; +$string['turnitinppulapre'] = 'è¦å‘ Turnitin æ交文件,您必须首先接å—我们的 EULA。选择ä¸æŽ¥å—我们的 EULA åªä¼šå°†æ‚¨çš„文件æ交到 Moodle。å•å‡»æ­¤å¤„以接å—。'; +$string['noscriptula'] = '(由于您没有å¯ç”¨ javascriptï¼Œå› æ­¤åœ¨æŽ¥å— Turnitin 用户åè®®åŽï¼Œæ‚¨å¿…须手动更新此页é¢æ‰èƒ½æ交)'; +$string['filedoesnotexist'] = '文件已被删除'; + +// Plugin settings +$string['config'] = 'é…ç½®'; +$string['defaults'] = '默认设置'; +$string['showusage'] = '显示数æ®è½¬å‚¨'; +$string['saveusage'] = 'ä¿å­˜æ•°æ®è½¬å‚¨'; +$string['errors'] = '错误'; +$string['turnitinconfig'] = 'Turnitin 剽窃 Plugin é…ç½®'; +$string['tiiexplain'] = 'Turnitin 为商务产å“。您必须付订购费æ‰èƒ½ä½¿ç”¨æ­¤æœåŠ¡ã€‚有关更多信æ¯ï¼Œè¯·è®¿é—® http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = 'å¯ç”¨ Turnitin'; +$string['useturnitin_mod'] = 'å¯ç”¨ Turnitin {$a}'; +$string['pp_configuredesc'] = '您必须在 turnitintooltwo å•å…ƒå†…é…置此å•å…ƒã€‚请å•å‡»æ­¤å¤„安装此 plugin'; +$string['turnitindefaults'] = 'Turnitin 剽窃 Plugin 默认设置'; +$string['defaultsdesc'] = '以下设置为在活动å•å…ƒå†…å¯ç”¨ Turnitin 时设置的默认值'; +$string['turnitinpluginsettings'] = 'Turnitin 剽窃 Plugin 设置'; +$string['pperrorsdesc'] = 'å°è¯•å°†ä»¥ä¸‹æ–‡ä»¶ä¸Šä¼ è‡³ Turnitin 时出现问题。è¦é‡æ–°æ交,请选择您è¦é‡æ–°æ交的文件并按“é‡æ–°æ交â€æŒ‰é’®ã€‚éšåŽåœ¨ä¸‹æ¬¡è¿è¡Œ cron 时将处ç†è¿™äº›æ–‡ä»¶ã€‚'; +$string['pperrorssuccess'] = '您选择的文件已é‡æ–°æ交并将由 cron 进行处ç†ã€‚'; +$string['pperrorsfail'] = '您选择的一些文件有误,无法为其创建新的 cron 事件。'; +$string['resubmitselected'] = 'é‡æ–°æ交所选文件'; +$string['deleteconfirm'] = '是å¦ç¡®å®šè¦åˆ é™¤æ­¤æ交内容?\n\næ­¤æ“作无法撤消。'; +$string['deletesubmission'] = '删除æ交内容'; +$string['semptytable'] = '未找到任何结果。'; +$string['configupdated'] = 'é…置已更新'; +$string['defaultupdated'] = 'Turnitin 默认值已更新'; +$string['notavailableyet'] = 'ä¸å¯ç”¨'; +$string['resubmittoturnitin'] = 'é‡æ–°æ交至 Turnitin'; +$string['resubmitting'] = 'é‡æ–°æ交'; +$string['id'] = '代ç '; +$string['student'] = '学生'; +$string['course'] = '课程'; +$string['module'] = 'å•å…ƒ'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = '查看原创性报告'; +$string['launchrubricview'] = '查看用于标记的评分表'; +$string['turnitinppulapost'] = '您的文件尚未æ交至 Turnitin。请å•å‡»æ­¤å¤„接å—我们的 EULA。'; +$string['ppsubmissionerrorseelogs'] = '此文件尚未æ交至 Turnitin,请咨询您的系统管ç†å‘˜'; +$string['ppsubmissionerrorstudent'] = '此文件尚未æ交至 Turnitin,请问您的导师登记æ¥æŸ¥è¯¢æ›´å¤šè¯¦æƒ…'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin 剽窃 Plugin 数字回执通知'; +$string['digitalreceipt'] = '数字回执'; +$string['digital_receipt_subject'] = '这是您的 Turnitin 数字回执'; +$string['pp_digital_receipt_message'] = '尊敬的 {$a->firstname} {$a->lastname},

您已于 {$a->submission_date}将文件 {$a->submission_title} æˆåŠŸæ交至 {$a->course_fullname} è¯¾å ‚çš„åˆ†é… {$a->assignment_name}{$a->assignment_part}。您的æ交 ID 为 {$a->submission_id}。å¯ä»¥é€šè¿‡æ–‡æ¡£æŸ¥çœ‹å™¨ä¸­çš„“打å°/下载â€æŒ‰é’®æŸ¥çœ‹å¹¶æ‰“å°æ‚¨çš„完整数字回执。

感谢您使用 Turnitin,

Turnitin 团队敬上'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin 代ç '; +$string['turnitinstatus'] = 'Turnitin 状æ€'; +$string['pending'] = '未决'; +$string['similarity'] = '相似度'; +$string['notorcapable'] = '无法为此文件生æˆåŽŸåˆ›æ€§æŠ¥å‘Šã€‚'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = '学生查看论文的时间:'; +$string['student_notread'] = '学生尚未查看此论文。'; +$string['launchpeermarkreviews'] = 'å¯åŠ¨ Peermark 评价'; + +// Cron +$string['ppqueuesize'] = '剽窃 Plugin 事件队列中的事件数'; +$string['ppcronsubmissionlimitreached'] = 'æ­¤ cron 执行ä¸ä¼šå‘ Turnitin å‘é€å…¶ä»–任何æ交,因为æ¯æ¬¡è¿è¡Œåªä¼šå¤„ç† {$a}'; +$string['cronsubmittedsuccessfully'] = 'æ交:课程 {$a->coursename} ä¸­åˆ†é… {$a->assignmentname} çš„ {$a->title}(TII ID:{$a->submissionid})已æˆåŠŸæ交至 Turnitin。'; +$string['pp_submission_error'] = 'Turnitin 为您的æ交返回了一个错误:'; +$string['turnitindeletionerror'] = 'Turnitin æ交内容刪除失败。计算机上的 Moodle 副本已移除,但 Turnitin 內的æ交内容无法刪除。'; +$string['ppeventsfailedconnection'] = 'Turnitin 剽窃 Plugin çš„æ­¤ cron 执行ä¸ä¼šå¤„ç†ä»»ä½•äº‹ä»¶ï¼Œå› ä¸ºæ— æ³•å»ºç«‹åˆ° Turnitin 的连接。'; + +// Error codes +$string['tii_submission_failure'] = '请咨询您的辅导或系统管ç†å‘˜ä»¥èŽ·å¾—更多资讯'; +$string['faultcode'] = '错误代å·'; +$string['line'] = '列'; +$string['message'] = 'ä¿¡æ¯'; +$string['code'] = '代å·'; +$string['tiisubmissionsgeterror'] = 'å°è¯•ä»Ž Turnitin 中获å–此作业的æ交内容时出错'; +$string['errorcode0'] = '此文件尚未æ交至 Turnitin,请咨询您的系统管ç†å‘˜'; +$string['errorcode1'] = '这个文件尚未å‘é€è‡³ Turnitin,因为它没有足够内容生æˆåŽŸåˆ›æ€§æŠ¥å‘Šã€‚'; +$string['errorcode2'] = '这个文件将ä¸ä¼šè¢«æ交至 Turnitin,因为它超过å…许的文件大å°ä¸Šé™ {$a}'; +$string['errorcode3'] = '这个文件尚未被æ交至 Turnitinï¼Œå› ä¸ºç”¨æˆ·å°šæœªæŽ¥å— Turnitin 终端用户许å¯è¯å议。'; +$string['errorcode4'] = '您必须为此分é…上传å—支æŒçš„文件类型。接å—的文件类型包括:.docã€.docxã€.pptã€.pptxã€.ppsã€.ppsxã€.pdfã€.txtã€.htmã€.htmlã€.hwpã€.odtã€.wpdã€.ps å’Œ .rtf'; +$string['errorcode5'] = '这个文件尚未被æ交至 Turnitin,因为在 Turnitin 中创建å•å…ƒæ—¶å‡ºçŽ°é—®é¢˜ï¼Œè¿™å°†é˜»æ­¢æ交,请查看您的 API 日志了解更多信æ¯'; +$string['errorcode6'] = '这个文件尚未被æ交至 Turnitin,因为在 Turnitin 中编辑å•å…ƒè®¾ç½®æ—¶å‡ºçŽ°é—®é¢˜ï¼Œè¿™å°†é˜»æ­¢æ交,请查看您的 API 日志了解更多信æ¯'; +$string['errorcode7'] = '这个文件尚未被æ交至 Turnitin,因为在 Turnitin 中创建用户时出现问题,这将阻止æ交,请查看您的 API 日志了解更多信æ¯'; +$string['errorcode8'] = '这个文件尚未被æ交至 Turnitin,因为创建临时文件时出现问题。最å¯èƒ½çš„原因是文件å无效。请é‡å‘½å文件并使用“编辑æ交â€é‡æ–°ä¸Šä¼ ã€‚'; +$string['errorcode9'] = '无法æ交文件,因为文件池中没有å¯è®¿é—®çš„内容供æ交。'; +$string['coursegeterror'] = '无法获得课程数æ®'; +$string['configureerror'] = '您必须完全以管ç†å‘˜èº«ä»½é…置此å•å…ƒæ‰èƒ½åœ¨è¯¾ç¨‹å†…使用它。请è”系您的 Moodle 管ç†å‘˜ã€‚'; +$string['turnitintoolofflineerror'] = '我们é‡åˆ°ä¸´æ—¶é—®é¢˜ã€‚请ç¨åŽå†è¯•ã€‚'; +$string['defaultinserterror'] = 'å°è¯•å°†é»˜è®¤è®¾ç½®å€¼æ’入数æ®åº“时出错'; +$string['defaultupdateerror'] = 'å°è¯•æ›´æ–°æ•°æ®åº“中的默认设置值时出错'; +$string['tiiassignmentgeterror'] = 'å°è¯•ä»Ž Turnitin 中获å–作业时出错'; +$string['assigngeterror'] = '无法获得 turnitintooltwo æ•°æ®'; +$string['classupdateerror'] = '无法更新 Turnitin 课程数æ®'; +$string['pp_createsubmissionerror'] = 'å°è¯•åœ¨ Turnitin 中创建æ交内容时出错'; +$string['pp_updatesubmissionerror'] = 'å°è¯•å°†æ交内容é‡æ–°æ交至 Turnitin 时出错'; +$string['tiisubmissiongeterror'] = 'å°è¯•ä»Ž Turnitin 中获å–æ交内容时出错'; + +// Javascript +$string['closebutton'] = '关闭'; +$string['loadingdv'] = '正在加载 Turnitin 文档查看器...'; +$string['changerubricwarning'] = '更改或分离评分表将从此作业的论文中移除所有现有的评分表分数,包括之å‰å·²æ ‡è®°çš„评分å¡ã€‚之å‰å·²è¯„分的论文的总æˆç»©å°†ä¼šè¢«ä¿ç•™ã€‚'; +$string['messageprovider:submission'] = 'Turnitin 剽窃 Plugin 数字回执通知'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin 状æ€'; +$string['deleted'] = '已删除'; +$string['pending'] = '未决'; +$string['because'] = '这是因为,管ç†å‘˜ä»Žå¤„ç†é˜Ÿåˆ—中删除了待处ç†çš„ä½œä¸šå¹¶ä¸­æ­¢å‘ Turnitin æ交内容。
相应文件ä»å­˜åœ¨äºŽ Moodle 中,请è”系您的导师。
请看下é¢çš„错误代ç ï¼š'; diff --git a/lang/zh_tw/plagiarism_turnitin.php b/lang/zh_tw/plagiarism_turnitin.php new file mode 100755 index 00000000..ca8b9441 --- /dev/null +++ b/lang/zh_tw/plagiarism_turnitin.php @@ -0,0 +1,182 @@ +'; + +// Assignment Settings +$string['turnitin:enable'] = '啟用 Turnitin'; +$string['excludebiblio'] = 'ä¸å«åƒè€ƒæ›¸ç›®'; +$string['excludequoted'] = 'ä¸å«å¼•ç”¨è³‡æ–™å…§å®¹'; +$string['excludevalue'] = '排除å°åž‹ç›¸ç¬¦è™•'; +$string['excludewords'] = 'å­—'; +$string['excludepercent'] = '百分比'; +$string['norubric'] = '沒有評語'; +$string['otherrubric'] = '使用屬於其他指導教師的評語'; +$string['attachrubric'] = '將評語附加至此作業'; +$string['launchrubricmanager'] = '啟動評語管ç†å·¥å…·'; +$string['attachrubricnote'] = '注æ„:學生將å¯ä»¥åœ¨æ交å‰ï¼Œæª¢è¦–附加的評語åŠå…¶å…§å®¹ã€‚'; +$string['erater_handbook_advanced'] = '進階'; +$string['erater_handbook_highschool'] = '高中'; +$string['erater_handbook_middleschool'] = '中學'; +$string['erater_handbook_elementary'] = 'å°å­¸'; +$string['erater_handbook_learners'] = '英文學習者'; +$string['erater_dictionary_enus'] = '美å¼è‹±æ–‡å­—å…¸'; +$string['erater_dictionary_engb'] = '英å¼è‹±æ–‡å­—å…¸'; +$string['erater_dictionary_en'] = '美å¼å’Œè‹±å¼è‹±èªžå­—å…¸'; +$string['erater'] = '啟用 e-rater 文法檢查'; +$string['erater_handbook'] = 'ETS© 手冊'; +$string['erater_dictionary'] = 'e-rater å­—å…¸'; +$string['erater_categories'] = 'e-rater é¡žåž‹'; +$string['erater_spelling'] = '拼字'; +$string['erater_grammar'] = '文法'; +$string['erater_usage'] = '用法'; +$string['erater_mechanics'] = '技巧'; +$string['erater_style'] = '筆調'; +$string['anonblindmarkingnote'] = '注æ„:個別的 Turnitin 匿å標示設定已é­åˆ°ç§»é™¤ã€‚Turnitin 將使用 Moodle 的盲標設定來決定匿å標示設定。'; +$string['transmatch'] = '已翻譯的相符功能'; +$string['genduedate'] = '在截止日期當天產生報告 (在截止日期å‰å…許é‡æ–°æ交)'; +$string['genimmediately1'] = 'å³åˆ»ç”¢ç”Ÿå ±å‘Š (ä¸å…許é‡æ–°æ交)'; +$string['genimmediately2'] = 'å³åˆ»ç”¢ç”Ÿå ±å‘Š (在截止日期å‰å…許é‡æ–°æ交)'; +$string['launchquickmarkmanager'] = 'å•Ÿå‹• Quickmark 管ç†å·¥å…·'; +$string['launchpeermarkmanager'] = 'å•Ÿå‹• Peermark 管ç†å·¥å…·'; +$string['studentreports'] = 'å‘學生顯示原創性報告'; +$string['studentreports_help'] = 'å…許您å‘學生使用者顯示 Turnitin 原創性報告。若設定為「確定ã€ï¼Œå­¸ç”Ÿå°‡å¯ä»¥æª¢è¦– Turnitin 產生的原創性報告。'; +$string['submitondraft'] = '在åˆæ¬¡ä¸Šå‚³æ™‚æ交檔案'; +$string['submitonfinal'] = '將學生é€äº¤è©•åˆ†æ™‚æ交檔案'; +$string['draftsubmit'] = '應何時將檔案æ交至 Turnitin?'; +$string['allownonor'] = 'å…許任何檔案類型的æ交物件?'; +$string['allownonor_help'] = '此設定將å…許æ交任何檔案類型。若此é¸é …設為「是ã€ï¼Œå°‡æœƒåœ¨å¯è¡Œæ™‚,檢查æ交物件的原創性,å¯ä»¥ä¸‹è¼‰æ交物件,以åŠä½¿ç”¨ GradeMark å饋工具。'; +$string['norepository'] = '沒有存放庫'; +$string['standardrepository'] = '標準存放庫'; +$string['submitpapersto'] = '儲存學生報告'; +$string['institutionalrepository'] = '機構存放庫 (é©ç”¨æ™‚)'; +$string['submitpapersto_help'] = '此設定讓指導教師能夠é¸æ“‡æ˜¯å¦è¦å°‡å ±å‘Šå„²å­˜åœ¨ Turnitin 學生報告存放庫內。將報告æ交至學生報告存放庫的優點在於,æ交至作業的學生報告將會與您ç¾æœ‰æˆ–éŽåŽ»ç­ç´šå…§å…¶ä»–學生的æ交物件åšæ¯”較。若您é¸æ“‡ã€Œæ²’有存放庫ã€ï¼Œæ‚¨çš„學生報告將ä¸æœƒå„²å­˜åœ¨ Turnitin 學生報告存放庫內。'; +$string['checkagainstnote'] = '注æ„:如果下é¢çš„「比較å°è±¡ã€é¸é …當中,至少有一個未é¸æ“‡ã€Œæ˜¯ã€ï¼Œå°±ä¸æœƒç”¢ç”ŸåŽŸå‰µæ€§å ±å‘Šã€‚'; +$string['spapercheck'] = '與已儲存的學生報告比較'; +$string['internetcheck'] = '與網際網路比較'; +$string['journalcheck'] = '與雜誌ã€
期刊與出版物比較'; +$string['compareinstitution'] = 'å°‡æ交的檔案和此機構內æ交的報告比較'; +$string['reportgenspeed'] = '產生報告速度'; +$string['genspeednote'] = '注æ„:為é‡æ–°æäº¤ç”¢ç”Ÿçš„åŽŸå‰µæ€§å ±å‘Šå°‡éœ€è¦ 24 å°æ™‚的時間。'; +$string['locked_message'] = '已鎖定訊æ¯'; +$string['locked_message_help'] = '若有任何設定é­åˆ°éŽ–定,會顯示此訊æ¯èªªæ˜ŽåŽŸå› ã€‚'; +$string['locked_message_default'] = '於網站層級鎖定此設定'; +$string['sharedrubric'] = '共用的評語'; +$string['turnitinrefreshsubmissions'] = 'é‡æ–°æ•´ç†æ交物件'; +$string['turnitinrefreshingsubmissions'] = '正在é‡æ–°æ•´ç†æ交物件'; +$string['turnitinppulapre'] = 'è‹¥è¦å°‡æª”案æ交至 Turnitinï¼Œæ‚¨å¿…é ˆå…ˆæŽ¥å— EULA。若é¸æ“‡ä¸æŽ¥å—我們的 EULA,您的檔案將åªæœƒæ交至 Moodle。按一下這裡以接å—。'; +$string['noscriptula'] = '(因為您並未啟用 Javascriptï¼Œåœ¨æŽ¥å— Turnitin 使用者å”議後,您必須手動更新此é é¢ï¼Œç„¶å¾Œæ‰èƒ½æ交物件)'; +$string['filedoesnotexist'] = '檔案已é­åˆ°åˆªé™¤'; + +// Plugin settings +$string['config'] = 'é…ç½®'; +$string['defaults'] = 'é è¨­è¨­å®š'; +$string['showusage'] = '顯示資料傾å°'; +$string['saveusage'] = '儲存資料傾å°'; +$string['errors'] = '錯誤'; +$string['turnitinconfig'] = 'Turnitin 剽竊 Plugin é…ç½®'; +$string['tiiexplain'] = 'Turnitin 為商務產å“。您必須付費訂閱,æ‰èƒ½ä½¿ç”¨æ­¤æœå‹™ã€‚如需更多資訊,請åƒé–±ã€€http://docs.moodle.org/en/Turnitin_administration'; +$string['useturnitin'] = '啟用 Turnitin'; +$string['useturnitin_mod'] = '啟用 Turnitin çš„å°è±¡ {$a}'; +$string['pp_configuredesc'] = '您必須在turnitintooltwo單元內é…置此單元。請按一下這裡,以é…置此 Plugin'; +$string['turnitindefaults'] = 'Turnitin 剽竊 Plugin é è¨­è¨­å®š'; +$string['defaultsdesc'] = '以下設定是在活動單元內啟用 Turnitin時的é è¨­é›†'; +$string['turnitinpluginsettings'] = 'Turnitin 剽竊 Plugin 設定'; +$string['pperrorsdesc'] = '嘗試將以下檔案上傳至 Turnitin 時出ç¾å•é¡Œã€‚è‹¥è¦é‡æ–°æ交,請é¸æ“‡æ‚¨è¦é‡æ–°æ交的檔案,然後按「é‡æ–°æ交ã€æŒ‰éˆ•ã€‚這些檔案會在下次 Cron 執行時處ç†ã€‚'; +$string['pperrorssuccess'] = 'å·²é‡æ–°æ交您é¸æ“‡çš„檔案,並將由 Cron 負責處ç†ã€‚'; +$string['pperrorsfail'] = '您é¸æ“‡çš„檔案有一些出ç¾å•é¡Œï¼Œç„¡æ³•ç‚ºå…¶å»ºç«‹æ–°çš„ Cron 事件。'; +$string['resubmitselected'] = 'é‡æ–°æ交所é¸æª”案'; +$string['deleteconfirm'] = '確定è¦åˆªé™¤æ­¤æ交物件嗎?\n\n此動作將無法復原。'; +$string['deletesubmission'] = '刪除æ交物件'; +$string['semptytable'] = '未找到任何çµæžœã€‚'; +$string['configupdated'] = 'é…置已更新'; +$string['defaultupdated'] = 'Turnitin é è¨­å€¼å·²æ›´æ–°'; +$string['notavailableyet'] = '無法使用'; +$string['resubmittoturnitin'] = 'é‡æ–°æ交至 Turnitin'; +$string['resubmitting'] = '正在é‡æ–°æ交'; +$string['id'] = 'ID'; +$string['student'] = '學生'; +$string['course'] = '課程'; +$string['module'] = '單元'; + +// Grade book/View assignment page +$string['turnitin:viewfullreport'] = '檢視原創性報告'; +$string['launchrubricview'] = '檢視標示用的評分表'; +$string['turnitinppulapost'] = '並未將您的檔案æ交至 Turnitin。請按一下這裡,以接å—我們的 EULA。'; +$string['ppsubmissionerrorseelogs'] = '這個檔案並未æ交至 Turnitin,請連絡您的系統管ç†å“¡'; +$string['ppsubmissionerrorstudent'] = '這個檔案並未æ交至 Turnitin,請連絡您的指導教師,以å–得更多詳細資料'; + +// Receipts +$string['messageprovider:submission'] = 'Turnitin 剽竊 Plugin é›»å­å›žæ¢é€šçŸ¥'; +$string['digitalreceipt'] = 'é›»å­å›žæ¢'; +$string['digital_receipt_subject'] = '這是您的 Turnitin é›»å­å›žæ¢'; +$string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname} 您好:

您已在 {$a->submission_date} 上æˆåŠŸå°‡æª”案 {$a->submission_title} æ交至課程 {$a->course_fullname} 中的作業 {$a->assignment_name}{$a->assignment_part}。您的æ交 ID 為 {$a->submission_id}。您å¯ä»¥å¾žæ–‡ä»¶æª¢è¦–工具列å°/下載按鈕,來檢視或列å°å®Œæ•´çš„é›»å­å›žæ¢ã€‚

æ„Ÿè¬æ‚¨ä½¿ç”¨ Turnitin,

Turnitin 團隊敬上'; + +// Paper statuses +$string['turnitinid'] = 'Turnitin ID'; +$string['turnitinstatus'] = 'Turnitin 狀態'; +$string['pending'] = '等待中'; +$string['similarity'] = '相似度'; +$string['notorcapable'] = '無法爲此檔案製作原創性報告。'; +$string['grademark'] = 'GradeMark'; +$string['student_read'] = '學生檢視報告於:'; +$string['student_notread'] = '學生尚未檢視此報告。'; +$string['launchpeermarkreviews'] = 'å•Ÿå‹• Peermark è©•è«–'; + +// Cron +$string['ppqueuesize'] = '剽竊 Plugin 事件佇列中的事件數'; +$string['ppcronsubmissionlimitreached'] = '因為æ¯æ¬¡åŸ·è¡Œé€™å€‹ Corn,åªèƒ½è™•ç† {$a} 個,所以ä¸æœƒå†å°‡æ交物件傳é€è‡³ Turnitin。'; +$string['cronsubmittedsuccessfully'] = '課程 {$a->coursename} 上作業 {$a->assignmentname} çš„æ交物件:{$a->title} (TII ID:{$a->submissionid}) å·²æˆåŠŸæ交至 Turnitin。'; +$string['pp_submission_error'] = 'Turnitin 已傳回有關æ交物件的錯誤:'; +$string['turnitindeletionerror'] = 'Turnitin æ交物件刪除失敗。本機的 Moodle 複本已é­åˆ°ç§»é™¤ï¼Œä½†ç„¡æ³•åˆªé™¤ Turnitin 內的æ交物件。'; +$string['ppeventsfailedconnection'] = '因為無法與 Turnitin 建立連接,所以執行此 Cron,Turnitin 剽竊 Plugin 也ä¸æœƒè™•ç†ä»»ä½•äº‹ä»¶ã€‚'; + +// Error codes +$string['tii_submission_failure'] = '請連絡您的指導教師或系統管ç†å“¡ï¼Œä»¥å–得更多詳細資料'; +$string['faultcode'] = '錯誤代號'; +$string['line'] = '列'; +$string['message'] = '訊æ¯'; +$string['code'] = '代號'; +$string['tiisubmissionsgeterror'] = '嘗試從 Turnitin å…§å–得此作業的æ交物件時發生錯誤'; +$string['errorcode0'] = '這個檔案並未æ交至 Turnitin,請連絡您的系統管ç†å“¡'; +$string['errorcode1'] = '因為這個檔案的內容ä¸è¶³ï¼Œç„¡æ³•ç”¢ç”ŸåŽŸå‰µæ€§å ±å‘Šï¼Œæ‰€ä»¥ä¸¦æœªæ交至 Turnitin。'; +$string['errorcode2'] = '這個檔案超éŽå…許的檔案大å°ä¸Šé™ {$a},因此將ä¸æœƒæ交至 Turnitin'; +$string['errorcode3'] = 'å› ç‚ºä½¿ç”¨è€…å°šæœªæŽ¥å— Turnitin 使用者授權å”議,所以ä¸æœƒå°‡æ­¤æª”案æ交至 Turnitin。'; +$string['errorcode4'] = '您必須為此作業上傳支æ´çš„檔案類型。å¯æŽ¥å—的檔案類型如下:.docã€.docxã€.pptã€.pptxã€.ppsã€.ppsxã€.pdfã€.txtã€.htmã€.htmlã€.hwpã€.odtã€.wpdã€.ps åŠ .rtf'; +$string['errorcode5'] = '這個檔案並未æ交至 Turnitin,因為在 Turnitin 中建立單元時出ç¾å•é¡Œï¼Œæ•…無法æ交。請åƒé–± API 記錄檔以å–得進一步資訊'; +$string['errorcode6'] = '這個檔案並未æ交至 Turnitin,因為在 Turnitin 中建立單元時出ç¾å•é¡Œï¼Œæ•…無法æ交。請åƒé–± API 記錄檔以å–得進一步資訊'; +$string['errorcode7'] = '這個檔案並未æ交至 Turnitin,因為在 Turnitin 中建立使用者時出ç¾å•é¡Œï¼Œæ•…無法æ交。請åƒé–± API 記錄檔以å–得進一步資訊'; +$string['errorcode8'] = '因為建立暫存檔案時出ç¾å•é¡Œï¼Œæ‰€ä»¥ä¸¦æœªæ交這個檔案。原因很å¯èƒ½æ˜¯æª”案å稱無效。請é‡æ–°å‘½å該檔案,然後使用「編輯æ交物件ã€ä¾†é‡æ–°ä¸Šå‚³'; +$string['errorcode9'] = '因為檔案集å€ä¸­æ²’有å¯å­˜å–的內容å¯ä¾›æ交,所以無法æ交該檔案。'; +$string['coursegeterror'] = '無法å–得課程資料'; +$string['configureerror'] = '在課程內使用此單元之å‰ï¼Œæ‚¨å¿…須先以管ç†å“¡çš„身分進行完整設定。請è¯ç¹«æ‚¨çš„ Moodle 管ç†å“¡ã€‚'; +$string['turnitintoolofflineerror'] = '發生暫時性å•é¡Œã€‚è«‹ç¨å¾Œå†è©¦ã€‚'; +$string['defaultinserterror'] = '嘗試將é è¨­çš„設定值æ’入資料庫時發生錯誤'; +$string['defaultupdateerror'] = '嘗試更新資料庫中é è¨­çš„設定值時發生錯誤'; +$string['tiiassignmentgeterror'] = '嘗試從 Turnitin å…§å–得作業時發生錯誤'; +$string['assigngeterror'] = '無法å–å¾— turnitintooltwo 資料'; +$string['classupdateerror'] = '無法更新 Turnitin 課程資料'; +$string['pp_createsubmissionerror'] = '嘗試在 Turnitin 內建立æ交物件時發生錯誤'; +$string['pp_updatesubmissionerror'] = '嘗試將您的æ交物件é‡æ–°æ交至 Turnitin 時發生錯誤'; +$string['tiisubmissiongeterror'] = '嘗試從 Turnitin å…§å–å¾—æ交物件時發生錯誤'; + +// Javascript +$string['closebutton'] = '關閉'; +$string['loadingdv'] = '正在載入 Turnitin 文件檢視工具...'; +$string['changerubricwarning'] = '變更或分離評語,會將從此作業內的報告中移除ç¾æœ‰çš„所有評語分數,包括之å‰æ¨™ç¤ºçš„計分å¡ã€‚之å‰å·²è©•åˆ†å ±å‘Šçš„æ•´é«”æˆç¸¾å‰‡æœƒäºˆä»¥ä¿ç•™ã€‚'; +$string['messageprovider:submission'] = 'Turnitin 剽竊 Plugin é›»å­å›žæ¢é€šçŸ¥'; + +// Turnitin Submission Status +$string['turnitinstatus'] = 'Turnitin 狀態'; +$string['deleted'] = '已刪除'; +$string['pending'] = '等待中'; +$string['because'] = '這是因為管ç†å“¡å¾žè™•ç†ä½‡åˆ—中刪除等待中的作業,並中止æ交至Turnitin。
檔案ä»å­˜åœ¨ Moodle 中,請連絡您的指導教師。
如需任何錯誤代碼,請åƒé–±ä¸‹é¢è³‡è¨Šï¼š'; From 95a7f0db05f6da788858f2d0f61922428eb84e5e Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 14 Nov 2016 12:57:21 +0000 Subject: [PATCH 20/56] Swap params into query string for sending submissions. --- lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.php b/lib.php index 9b2c6cee..b3c9d060 100644 --- a/lib.php +++ b/lib.php @@ -2507,8 +2507,8 @@ function plagiarism_turnitin_send_queued_submissions() { $config = turnitintooltwo_admin_config(); $pluginturnitin = new plagiarism_plugin_turnitin(); - $queueditems = $DB->get_records_select('plagiarism_turnitin_files', 'statuscode = ? OR statuscode = ?', - array('queued', 'pending'), '', '*', 0, PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); + $queueditems = $DB->get_records_select("plagiarism_turnitin_files", "statuscode = 'queued' OR statuscode = 'pending'", + NULL, '', '*', 0, PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); // Submit each file individually to Turnitin. foreach ($queueditems as $queueditem) { From ab2e91c72444ac0d133d109a884124e85392719b Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 15 Nov 2016 10:35:52 +0000 Subject: [PATCH 21/56] Update to language strings to fix apostrophes and copyright symbols. --- lang/ar/plagiarism_turnitin.php | 2 +- lang/cs/plagiarism_turnitin.php | 2 +- lang/de/plagiarism_turnitin.php | 2 +- lang/es/plagiarism_turnitin.php | 2 +- lang/fi/plagiarism_turnitin.php | 2 +- lang/fr/plagiarism_turnitin.php | 12 +++--- lang/it/plagiarism_turnitin.php | 36 ++++++++--------- lang/ja/plagiarism_turnitin.php | 2 +- lang/ko/plagiarism_turnitin.php | 2 +- lang/nl/plagiarism_turnitin.php | 8 ++-- lang/pl/plagiarism_turnitin.php | 2 +- lang/pt_br/plagiarism_turnitin.php | 2 +- lang/ro/plagiarism_turnitin.php | 2 +- lang/ru/plagiarism_turnitin.php | 2 +- lang/sv/plagiarism_turnitin.php | 2 +- lang/tr/plagiarism_turnitin.php | 64 +++++++++++++++--------------- lang/zh_tw/plagiarism_turnitin.php | 2 +- 17 files changed, 73 insertions(+), 73 deletions(-) diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php index 58d51596..3c1d2f2d 100755 --- a/lang/ar/plagiarism_turnitin.php +++ b/lang/ar/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'القواميس الانكليزية البريطانية'; $string['erater_dictionary_en'] = 'كلا من القواميس الانكليزية الامريكية والبريطانية'; $string['erater'] = 'تÙعيل الÙحص النحوي e-rater'; -$string['erater_handbook'] = 'ETS©: Handbook'; +$string['erater_handbook'] = 'ETS© Handbook'; $string['erater_dictionary'] = 'قاموس e-rater'; $string['erater_categories'] = 'Ùئات e-rater'; $string['erater_spelling'] = 'الاملاء'; diff --git a/lang/cs/plagiarism_turnitin.php b/lang/cs/plagiarism_turnitin.php index 7d1228fd..6b860fd2 100755 --- a/lang/cs/plagiarism_turnitin.php +++ b/lang/cs/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Slovník britské angliÄtiny'; $string['erater_dictionary_en'] = 'Slovníky americké i britské angliÄtiny'; $string['erater'] = 'Povolit kontrolu gramatiky e-rater'; -$string['erater_handbook'] = 'ETS© příruÄka'; +$string['erater_handbook'] = 'ETS© příruÄka'; $string['erater_dictionary'] = 'Slovník e-rater'; $string['erater_categories'] = 'Kategorie e-rater'; $string['erater_spelling'] = 'Pravopis'; diff --git a/lang/de/plagiarism_turnitin.php b/lang/de/plagiarism_turnitin.php index e98e792e..e3875b60 100755 --- a/lang/de/plagiarism_turnitin.php +++ b/lang/de/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Britisches Englisch-Lexikon'; $string['erater_dictionary_en'] = 'Britisches und US-amerikanisches Englisch-Lexikon'; $string['erater'] = 'e-rater-Grammatikprüfung aktivieren'; -$string['erater_handbook'] = 'ETS©-Handbuch'; +$string['erater_handbook'] = 'ETS©-Handbuch'; $string['erater_dictionary'] = 'e-rater-Wörterbuch'; $string['erater_categories'] = 'e-rater-Kategorien'; $string['erater_spelling'] = 'Rechtschreibung'; diff --git a/lang/es/plagiarism_turnitin.php b/lang/es/plagiarism_turnitin.php index bdf18885..f0bb30d6 100755 --- a/lang/es/plagiarism_turnitin.php +++ b/lang/es/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Diccionario inglés (Reino Unido)'; $string['erater_dictionary_en'] = 'Diccionarios inglés (Estados Unidos y Reino Unido)'; $string['erater'] = 'Habilitar la revisión de ortografía de e-rater'; -$string['erater_handbook'] = 'Manual de ETS©'; +$string['erater_handbook'] = 'Manual de ETS©'; $string['erater_dictionary'] = 'Diccionario e-rater'; $string['erater_categories'] = 'Categorías e-rater'; $string['erater_spelling'] = 'Ortografía'; diff --git a/lang/fi/plagiarism_turnitin.php b/lang/fi/plagiarism_turnitin.php index e9e1e1eb..5792093e 100755 --- a/lang/fi/plagiarism_turnitin.php +++ b/lang/fi/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Brittiläisen englannin Sanakirja'; $string['erater_dictionary_en'] = 'Sekä Amerikan että Brittiläisen englannin Sanakirjat'; $string['erater'] = 'Aktivoi e-rater oikeinkirjoituksen tarkistus'; -$string['erater_handbook'] = 'ETS© Käsikirja'; +$string['erater_handbook'] = 'ETS© Käsikirja'; $string['erater_dictionary'] = 'e-rater Sanakirja'; $string['erater_categories'] = 'e-rater Kategoriat'; $string['erater_spelling'] = 'Oikeinkirjoitus'; diff --git a/lang/fr/plagiarism_turnitin.php b/lang/fr/plagiarism_turnitin.php index 7f549e9f..ebef3723 100755 --- a/lang/fr/plagiarism_turnitin.php +++ b/lang/fr/plagiarism_turnitin.php @@ -20,7 +20,7 @@ $string['excludewords'] = 'Mots'; $string['excludepercent'] = 'Pourcentage'; $string['norubric'] = 'Aucune rubrique'; -$string['otherrubric'] = 'Utiliser la grille d'évaluation appartenant à un autre enseignant'; +$string['otherrubric'] = 'Utiliser la grille d'évaluation appartenant à un autre enseignant'; $string['attachrubric'] = 'Joindre une rubrique à cet exercice'; $string['launchrubricmanager'] = 'Démarrer le Gestionnaire de rubrique'; $string['attachrubricnote'] = 'Remarque : les étudiants pourront voir les rubriques jointes et leurs contenus avant de soumettre leur devoir.'; @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Dictionnaire anglais (Royaume-Uni)'; $string['erater_dictionary_en'] = 'Dictionnaires anglais (États-Unis et Royaume-Uni)'; $string['erater'] = 'Activer le correcteur de grammaire e-rater'; -$string['erater_handbook'] = 'Manuel ETS©'; +$string['erater_handbook'] = 'Manuel ETS©'; $string['erater_dictionary'] = 'Dictionnaire e-rater'; $string['erater_categories'] = 'Catégories e-rater'; $string['erater_spelling'] = 'Orthographe'; @@ -51,7 +51,7 @@ $string['studentreports'] = 'Montrer les rapports d’originalité aux étudiants'; $string['studentreports_help'] = 'Cette option vous permet d’autoriser les étudiants à voir leur Rapport de Similitude. En sélectionnant Oui, le rapport d’analyse généré par Turnitin sera disponible pour les étudiants.'; $string['submitondraft'] = 'Soumettre le document une fois qu’il est chargé'; -$string['submitonfinal'] = 'Soumettre le document lorsque l'étudiant l'envoie pour l'évaluation'; +$string['submitonfinal'] = 'Soumettre le document lorsque l'étudiant l'envoie pour l'évaluation'; $string['draftsubmit'] = 'Quand le document doit-il être envoyé à Turnitin ?'; $string['allownonor'] = 'Autoriser les envois de tous types de fichiers ?'; $string['allownonor_help'] = 'Ce paramètre permet l’envoi de tous types de fichiers. Si cette option est configurée sur "Oui", le système vérifiera l’originalité des documents envoyés, si cela est possible ; les documents envoyés pourront être téléchargés et les outils de commentaires GradeMark seront aussi disponibles, si cela est possible.'; @@ -129,7 +129,7 @@ $string['notorcapable'] = 'Impossible de produire un rapport d’originalité pour ce fichier.'; $string['grademark'] = 'GradeMark'; $string['student_read'] = 'L’étudiant a consulté la copie le :'; -$string['student_notread'] = 'L'étudiant n'a pas consulté cette copie.'; +$string['student_notread'] = 'L'étudiant n'a pas consulté cette copie.'; $string['launchpeermarkreviews'] = 'Démarrer les évaluations Peermark'; // Cron @@ -161,13 +161,13 @@ $string['configureerror'] = 'Vous devez configurer entièrement ce module comme administrateur avant de pouvoir l’utiliser dans un cours. Veuillez contacter votre administrateur de Moodle.'; $string['turnitintoolofflineerror'] = 'Un problème temporaire est survenu. Merci de réessayer.'; $string['defaultinserterror'] = 'Une erreur est survenue en ajoutant une valeur par défaut dans la base de données'; -$string['defaultupdateerror'] = 'Une erreur est survenue en tentant d'actualiser une valeur par défaut de la base de données.'; +$string['defaultupdateerror'] = 'Une erreur est survenue en tentant d'actualiser une valeur par défaut de la base de données.'; $string['tiiassignmentgeterror'] = 'Une erreur est survenue en essayant d’obtenir un exercice Turnitin'; $string['assigngeterror'] = 'Impossible d’obtenir les données de Turnitintooltwo'; $string['classupdateerror'] = 'Impossible de mettre à jour les données des cours de Turnitin'; $string['pp_createsubmissionerror'] = 'Une erreur est survenue en essayant d’envoyer un document à Turnitin'; $string['pp_updatesubmissionerror'] = 'Une erreur est survenue en essayant de renvoyer votre document à Turnitin'; -$string['tiisubmissiongeterror'] = 'Une erreur est survenue en tentant d'obtenir une transmission de Turnitin'; +$string['tiisubmissiongeterror'] = 'Une erreur est survenue en tentant d'obtenir une transmission de Turnitin'; // Javascript $string['closebutton'] = 'Fermer'; diff --git a/lang/it/plagiarism_turnitin.php b/lang/it/plagiarism_turnitin.php index d9dac531..65d239b0 100755 --- a/lang/it/plagiarism_turnitin.php +++ b/lang/it/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Dizionario inglese (Regno Unito)'; $string['erater_dictionary_en'] = 'Dizionario inglese (Stati Uniti e Regno Unito)'; $string['erater'] = 'Abilita il controllo grammaticale e-rater'; -$string['erater_handbook'] = 'Manuale ETS©'; +$string['erater_handbook'] = 'Manuale ETS©'; $string['erater_dictionary'] = 'Dizionario e-rater'; $string['erater_categories'] = 'Categorie e-rater'; $string['erater_spelling'] = 'Ortografia'; @@ -41,7 +41,7 @@ $string['erater_usage'] = 'Uso'; $string['erater_mechanics'] = 'Sintassi'; $string['erater_style'] = 'Stile'; -$string['anonblindmarkingnote'] = 'Nota: l'impostazione di valutazione anonima separata di Turnitin è stata rimossa. Turnitin utilizzerà l'impostazione di valutazione anonima di Moodle per determinare l'impostazione di valutazione anonima.'; +$string['anonblindmarkingnote'] = 'Nota: l'impostazione di valutazione anonima separata di Turnitin è stata rimossa. Turnitin utilizzerà l'impostazione di valutazione anonima di Moodle per determinare l'impostazione di valutazione anonima.'; $string['transmatch'] = 'Corrispondenza di testo tradotto'; $string['genduedate'] = 'Genera i report alla data di scadenza (è consentito riconsegnare fino alla data di scadenza)'; $string['genimmediately1'] = 'Genera i report immediatamente (non è consentito riconsegnare)'; @@ -54,12 +54,12 @@ $string['submitonfinal'] = 'Consegna il file quando lo studente lo invia per la valutazione'; $string['draftsubmit'] = 'Quando deve essere consegnato il file a Turnitin?'; $string['allownonor'] = 'Consentire la consegna di qualsiasi tipo di file?'; -$string['allownonor_help'] = 'Questa impostazione permetterà la consegna di qualsiasi tipo di file. Con questa opzione impostata su "Sì", ove possibile verrà eseguita la verifica dell'originalità delle consegne, queste ultime saranno disponibili per il download e, ove possibile, saranno disponibili anche gli strumenti di feedback GradeMark.'; +$string['allownonor_help'] = 'Questa impostazione permetterà la consegna di qualsiasi tipo di file. Con questa opzione impostata su "Sì", ove possibile verrà eseguita la verifica dell'originalità delle consegne, queste ultime saranno disponibili per il download e, ove possibile, saranno disponibili anche gli strumenti di feedback GradeMark.'; $string['norepository'] = 'Nessun archivio'; $string['standardrepository'] = 'Archivio standard'; $string['submitpapersto'] = 'Archivia gli elaborati degli studenti'; -$string['institutionalrepository'] = 'Archivio dell'istituto (ove applicabile)'; -$string['submitpapersto_help'] = 'Questa impostazione offre ai docenti la possibilità di scegliere se gli elaborati devono essere memorizzati in un archivio elaborati studenti Turnitin. Il vantaggio di consegnare gli elaborati nell'apposito archivio è che gli elaborati degli studenti consegnati per il compito verranno confrontati con quelli di altri studenti all'interno delle classi attuali e precedenti. Se selezioni "nessun archivio", gli elaborati degli studenti non verranno memorizzati nell'archivio elaborati studenti di Turnitin.'; +$string['institutionalrepository'] = 'Archivio dell'istituto (ove applicabile)'; +$string['submitpapersto_help'] = 'Questa impostazione offre ai docenti la possibilità di scegliere se gli elaborati devono essere memorizzati in un archivio elaborati studenti Turnitin. Il vantaggio di consegnare gli elaborati nell'apposito archivio è che gli elaborati degli studenti consegnati per il compito verranno confrontati con quelli di altri studenti all'interno delle classi attuali e precedenti. Se selezioni "nessun archivio", gli elaborati degli studenti non verranno memorizzati nell'archivio elaborati studenti di Turnitin.'; $string['checkagainstnote'] = 'Nota: se non selezioni "Sì" per almeno una delle opzioni "Confronta con..." di seguito, NON verrà generato alcun Originality Report.'; $string['spapercheck'] = 'Confronta con gli elaborati degli studenti memorizzati'; $string['internetcheck'] = 'Confronta con Internet'; @@ -73,8 +73,8 @@ $string['sharedrubric'] = 'Pagella condivisa'; $string['turnitinrefreshsubmissions'] = 'Aggiorna consegne'; $string['turnitinrefreshingsubmissions'] = 'Aggiornamento consegne'; -$string['turnitinppulapre'] = 'Per consegnare un file a Turnitin è necessario accettare innanzitutto il Contratto di licenza con l'utente finale. Scegliendo di non accettare il Contratto di licenza con l'utente finale, il file verrà consegnato solo a Moodle. Fai clic qui per accettare.'; -$string['noscriptula'] = '(Dal momento che javascript non è abilitato, dovrai aggiornare manualmente questa pagina per poter consegnare un elaborato dopo aver accettato il Contratto con l'utente di Turnitin)'; +$string['turnitinppulapre'] = 'Per consegnare un file a Turnitin è necessario accettare innanzitutto il Contratto di licenza con l'utente finale. Scegliendo di non accettare il Contratto di licenza con l'utente finale, il file verrà consegnato solo a Moodle. Fai clic qui per accettare.'; +$string['noscriptula'] = '(Dal momento che javascript non è abilitato, dovrai aggiornare manualmente questa pagina per poter consegnare un elaborato dopo aver accettato il Contratto con l'utente di Turnitin)'; $string['filedoesnotexist'] = 'Il file è stato cancellato'; // Plugin settings @@ -87,15 +87,15 @@ $string['tiiexplain'] = 'Turnitin è un prodotto commerciale ed è necessario avere una sottoscrizione a pagamento per utilizzare questo servizio. Per ulteriori informazioni, vai a http://docs.moodle.org/en/Turnitin_administration'; $string['useturnitin'] = 'Abilita Turnitin'; $string['useturnitin_mod'] = 'Abilita Turnitin per {$a}'; -$string['pp_configuredesc'] = 'Devi configurare il modulo all'interno del modulo turnitintooltwo. Fai clic qui per configurare questo plugin'; +$string['pp_configuredesc'] = 'Devi configurare il modulo all'interno del modulo turnitintooltwo. Fai clic qui per configurare questo plugin'; $string['turnitindefaults'] = 'Impostazioni predefinite del plugin del plagio di Turnitin'; -$string['defaultsdesc'] = 'Le seguenti impostazioni sono i valori predefiniti impostati durante l'abilitazione di Turnitin all'interno di un modulo di attività'; +$string['defaultsdesc'] = 'Le seguenti impostazioni sono i valori predefiniti impostati durante l'abilitazione di Turnitin all'interno di un modulo di attività'; $string['turnitinpluginsettings'] = 'Impostazioni del plugin del plagio di Turnitin'; $string['pperrorsdesc'] = 'Si è verificato un problema durante il tentativo di caricamento dei file seguenti in Turnitin. Per riconsegnare, selezionare i file che desideri riconsegnare e premi il pulsante Riconsegna. Verranno elaborati la volta successiva che verrà eseguito Cron.'; $string['pperrorssuccess'] = 'I file selezionati sono stati riconsegnati e verranno elaborati da Cron.'; $string['pperrorsfail'] = 'Si è verificato un problema con alcuni dei file selezionati. Non è stato possibile creare un nuovo evento Cron per tali file.'; $string['resubmitselected'] = 'Riconsegna i file selezionati'; -$string['deleteconfirm'] = 'Eliminare questa consegna?\n\nL'azione non potrà essere annullata.'; +$string['deleteconfirm'] = 'Eliminare questa consegna?\n\nL'azione non potrà essere annullata.'; $string['deletesubmission'] = 'Elimina consegna'; $string['semptytable'] = 'Nessun risultato trovato.'; $string['configupdated'] = 'Configurazione aggiornata'; @@ -111,7 +111,7 @@ // Grade book/View assignment page $string['turnitin:viewfullreport'] = 'Visualizza Originality Report'; $string['launchrubricview'] = 'Visualizza la pagella utilizzata per la valutazione'; -$string['turnitinppulapost'] = 'Il file non è stato consegnato a Turnitin. Fai clic qui per accettare il Contratto di licenza con l'utente finale.'; +$string['turnitinppulapost'] = 'Il file non è stato consegnato a Turnitin. Fai clic qui per accettare il Contratto di licenza con l'utente finale.'; $string['ppsubmissionerrorseelogs'] = 'Questo file non è stato consegnato a Turnitin. Consulta il tuo amministratore di sistema'; $string['ppsubmissionerrorstudent'] = 'Questo file non è stato consegnato a Turnitin, consulta il tuo tutor per ulteriori dettagli'; @@ -119,7 +119,7 @@ $string['messageprovider:submission'] = 'Notifiche della ricevuta digitale del plugin del plagio di Turnitin'; $string['digitalreceipt'] = 'Ricevuta digitale'; $string['digital_receipt_subject'] = 'Questa è la tua ricevuta digitale Turnitin'; -$string['pp_digital_receipt_message'] = 'Gentile {$a->firstname} {$a->lastname},

hai consegnato il file {$a->submission_title} per il compito {$a->assignment_name}{$a->assignment_part} nella classe {$a->course_fullname} in {$a->submission_date}. L'ID consegna è {$a->submission_id}. La ricevuta digitale completa può essere visualizzata e stampata dal pulsante di stampa/download nel visualizzatore documenti.

Grazie per aver utilizzato Turnitin,

Il team Turnitin'; +$string['pp_digital_receipt_message'] = 'Gentile {$a->firstname} {$a->lastname},

hai consegnato il file {$a->submission_title} per il compito {$a->assignment_name}{$a->assignment_part} nella classe {$a->course_fullname} in {$a->submission_date}. L'ID consegna è {$a->submission_id}. La ricevuta digitale completa può essere visualizzata e stampata dal pulsante di stampa/download nel visualizzatore documenti.

Grazie per aver utilizzato Turnitin,

Il team Turnitin'; // Paper statuses $string['turnitinid'] = 'ID Turnitin'; @@ -137,11 +137,11 @@ $string['ppcronsubmissionlimitreached'] = 'Non verranno inviate ulteriori consegne a Turnitin da questa esecuzione Cron poiché solo {$a} vengono elaborate per ogni esecuzione'; $string['cronsubmittedsuccessfully'] = 'Consegna: {$a->title} (ID TII: {$a->submissionid}) per il compito {$a->assignmentname} nel corso {$a->coursename} consegnata a Turnitin.'; $string['pp_submission_error'] = 'Turnitin ha restituito un errore contestualmente alla consegna:'; -$string['turnitindeletionerror'] = 'L'eliminazione delle consegne non ha avuto esito positivo. La copia locale Moodle è stata rimossa, ma non è stato possibile eliminare la consegna in Turnitin.'; +$string['turnitindeletionerror'] = 'L'eliminazione delle consegne non ha avuto esito positivo. La copia locale Moodle è stata rimossa, ma non è stato possibile eliminare la consegna in Turnitin.'; $string['ppeventsfailedconnection'] = 'Non verrà elaborato alcun evento dal plugin del plagio di Turnitin da questa esecuzione Cron poiché non è stato possibile stabilire una connessione a Turnitin.'; // Error codes -$string['tii_submission_failure'] = 'Consulta il tutor o l'amministratore di sistema per ulteriori dettagli'; +$string['tii_submission_failure'] = 'Consulta il tutor o l'amministratore di sistema per ulteriori dettagli'; $string['faultcode'] = 'Codice guasto'; $string['line'] = 'Linea'; $string['message'] = 'Messaggio'; @@ -150,15 +150,15 @@ $string['errorcode0'] = 'Questo file non è stato consegnato a Turnitin. Consulta il tuo amministratore di sistema'; $string['errorcode1'] = 'Questo file non è stato inviato a Turnitin poiché non dispone di abbastanza contenuto per produrre un Originality Report.'; $string['errorcode2'] = 'Questo file non verrà consegnato a Turnitin perché supera la dimensione massima di {$a} consentita'; -$string['errorcode3'] = 'Questo file non è stato consegnato a Turnitin perché l'utente non ha accettato il contratto di licenza con l'utente finale Turnitin.'; +$string['errorcode3'] = 'Questo file non è stato consegnato a Turnitin perché l'utente non ha accettato il contratto di licenza con l'utente finale Turnitin.'; $string['errorcode4'] = 'Devi caricare un tipo di file supportato per questo compito. I tipi di file accettati sono: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps e .rtf'; $string['errorcode5'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione del modulo in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; $string['errorcode6'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la modifica delle impostazioni del modulo in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; -$string['errorcode7'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione dell'utente in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; -$string['errorcode8'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione del file temp. La causa più probabile è un nome file non valido. Rinomina il file e caricalo di nuovo utilizzando l'opzione Modifica consegna.'; +$string['errorcode7'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione dell'utente in Turnitin che blocca le consegne. Consulta i log delle API per ulteriori informazioni'; +$string['errorcode8'] = 'Questo file non è stato consegnato a Turnitin perché si è verificato un problema con la creazione del file temp. La causa più probabile è un nome file non valido. Rinomina il file e caricalo di nuovo utilizzando l'opzione Modifica consegna.'; $string['errorcode9'] = 'Impossibile consegnare il file poiché non sono presenti contenuti accessibili nel pool di file da consegnare.'; $string['coursegeterror'] = 'Impossibile ottenere dati del corso'; -$string['configureerror'] = 'Devi configurare il modulo completamente come amministratore prima di utilizzarlo all'interno di un corso. Contatta l'amministratore di Moodle.'; +$string['configureerror'] = 'Devi configurare il modulo completamente come amministratore prima di utilizzarlo all'interno di un corso. Contatta l'amministratore di Moodle.'; $string['turnitintoolofflineerror'] = 'Si è verificato un problema momentaneo. Riprova più tardi.'; $string['defaultinserterror'] = 'Si è verificato un errore durante il tentativo di inserire un valore predefinito nel database'; $string['defaultupdateerror'] = 'Si è verificato un errore durante il tentativo di aggiornare un valore predefinito nel database'; diff --git a/lang/ja/plagiarism_turnitin.php b/lang/ja/plagiarism_turnitin.php index 4423ba22..a087ae13 100755 --- a/lang/ja/plagiarism_turnitin.php +++ b/lang/ja/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'イギリス英語辞書'; $string['erater_dictionary_en'] = 'アメリカï¼ã‚¤ã‚®ãƒªã‚¹è‹±èªžè¾žæ›¸'; $string['erater'] = 'e-rater文法ãƒã‚§ãƒƒã‚¯ã‚’有効ã«ã™ã‚‹'; -$string['erater_handbook'] = 'ETS© ãƒãƒ³ãƒ‰ãƒ–ック'; +$string['erater_handbook'] = 'ETS© ãƒãƒ³ãƒ‰ãƒ–ック'; $string['erater_dictionary'] = 'e-rater 辞書'; $string['erater_categories'] = 'e-rater カテゴリー'; $string['erater_spelling'] = 'スペリング'; diff --git a/lang/ko/plagiarism_turnitin.php b/lang/ko/plagiarism_turnitin.php index 387c68f2..45c5ba9d 100755 --- a/lang/ko/plagiarism_turnitin.php +++ b/lang/ko/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'ì˜êµ­ì‹ ì˜ì–´ 사전'; $string['erater_dictionary_en'] = '미국ì‹ê³¼ ì˜êµ­ì‹ ì˜ì–´ 사전'; $string['erater'] = 'e-rater 문법 검토 기능 활성화'; -$string['erater_handbook'] = 'ETS© 핸드ë¶'; +$string['erater_handbook'] = 'ETS© 핸드ë¶'; $string['erater_dictionary'] = 'e-rater 사전'; $string['erater_categories'] = 'e-rater 카테고리'; $string['erater_spelling'] = 'ì² ìžë²•'; diff --git a/lang/nl/plagiarism_turnitin.php b/lang/nl/plagiarism_turnitin.php index 624673aa..d54479fe 100755 --- a/lang/nl/plagiarism_turnitin.php +++ b/lang/nl/plagiarism_turnitin.php @@ -23,7 +23,7 @@ $string['otherrubric'] = 'Beoordelingsschema van andere docent gebruiken'; $string['attachrubric'] = 'Een beoordelingsschema toevoegen aan deze opdracht'; $string['launchrubricmanager'] = 'Rubric Manager starten'; -$string['attachrubricnote'] = 'Let op: studenten kunnen bijgevoegde beoordelingsschema's en de inhoud ervan bekijken alvorens in te dienen.'; +$string['attachrubricnote'] = 'Let op: studenten kunnen bijgevoegde beoordelingsschema's en de inhoud ervan bekijken alvorens in te dienen.'; $string['erater_handbook_advanced'] = 'Gevorderd'; $string['erater_handbook_highschool'] = 'Bovenbouw van middelbare school'; $string['erater_handbook_middleschool'] = 'Onderbouw van middelbare school'; @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Brits-Engels woordenboek'; $string['erater_dictionary_en'] = 'Zowel Amerikaans- als Brits-Engels woordenboek'; $string['erater'] = 'E-rater grammaticacontrole inschakelen'; -$string['erater_handbook'] = 'ETS© Handboek'; +$string['erater_handbook'] = 'ETS© Handboek'; $string['erater_dictionary'] = 'e-rater Woordenboek'; $string['erater_categories'] = 'e-rater Categorieën'; $string['erater_spelling'] = 'Spelling'; @@ -49,7 +49,7 @@ $string['launchquickmarkmanager'] = 'Quickmark Manager starten'; $string['launchpeermarkmanager'] = 'Peermark Manager starten'; $string['studentreports'] = 'Originaliteitsrapporten weergeven voor studenten'; -$string['studentreports_help'] = 'Hiermee kunt u originaliteitsrapporten van Turnitin tonen aan studenten. Indien 'Ja' is geselecteerd, kunnen studenten originaliteitsrapporten bekijken die door Turnitin zijn gegenereerd.'; +$string['studentreports_help'] = 'Hiermee kunt u originaliteitsrapporten van Turnitin tonen aan studenten. Indien 'Ja' is geselecteerd, kunnen studenten originaliteitsrapporten bekijken die door Turnitin zijn gegenereerd.'; $string['submitondraft'] = 'Bestand verzenden wanneer het voor het eerst wordt geüpload'; $string['submitonfinal'] = 'Bestand verzenden wanneer student het ter beoordeling verzendt'; $string['draftsubmit'] = 'Wanneer moet het bestand worden ingediend bij Turnitin?'; @@ -60,7 +60,7 @@ $string['submitpapersto'] = 'Papers van studenten opslaan'; $string['institutionalrepository'] = 'Online opslag van instelling (indien van toepassing)'; $string['submitpapersto_help'] = 'Met deze instelling kunnen docenten selecteren of papers moeten worden opgeslagen in een Turnitin online opslag voor papers van studenten. Het voordeel van het indienen van papers bij een opslag voor papers van studenten is dat papers van studenten die worden ingediend bij de opdracht worden vergeleken met andere papers die zijn ingediend voor uw huidige en vorige cursussen. Als u "geen opslag" selecteert, worden de papers van uw studenten niet opgeslagen in de Turnitin-opslag voor papers van studenten.'; -$string['checkagainstnote'] = 'Opmerking: als u 'Ja’ niet voor minimaal één 'Vergelijken met...'-optie hieronder selecteert, wordt er GEEN Originaliteitsrapport gegenereerd.'; +$string['checkagainstnote'] = 'Opmerking: als u 'Ja’ niet voor minimaal één 'Vergelijken met...'-optie hieronder selecteert, wordt er GEEN Originaliteitsrapport gegenereerd.'; $string['spapercheck'] = 'Vergelijken met opgeslagen papers van studenten'; $string['internetcheck'] = 'Vergelijken met internet'; $string['journalcheck'] = 'Vergelijken met tijdschriften,
periodieken en publicaties'; diff --git a/lang/pl/plagiarism_turnitin.php b/lang/pl/plagiarism_turnitin.php index c5ab106e..f95f073f 100755 --- a/lang/pl/plagiarism_turnitin.php +++ b/lang/pl/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'SÅ‚ownik jÄ™zyka angielskiego (odmiana brytyjska)'; $string['erater_dictionary_en'] = 'SÅ‚owniki jÄ™zyka angielskigo: odmiany amerykaÅ„ska i brytyjska'; $string['erater'] = 'WÅ‚Ä…cz sprawdzanie gramatyki e-rater'; -$string['erater_handbook'] = 'PodrÄ™cznik ETS©'; +$string['erater_handbook'] = 'PodrÄ™cznik ETS©'; $string['erater_dictionary'] = 'SÅ‚ownik e-rater'; $string['erater_categories'] = 'Kategorie e-rater'; $string['erater_spelling'] = 'Ortografia'; diff --git a/lang/pt_br/plagiarism_turnitin.php b/lang/pt_br/plagiarism_turnitin.php index 7317ee5c..c3b724c5 100755 --- a/lang/pt_br/plagiarism_turnitin.php +++ b/lang/pt_br/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Dicionário de Inglês Britânico'; $string['erater_dictionary_en'] = 'Dicionários de Inglês Americano e Britânico'; $string['erater'] = 'Habilitar a verificação gramatical e-rater'; -$string['erater_handbook'] = 'Manual ETS©'; +$string['erater_handbook'] = 'Manual ETS©'; $string['erater_dictionary'] = 'Dicionário e-rater'; $string['erater_categories'] = 'Catrgorias e-rater'; $string['erater_spelling'] = 'Ortografia'; diff --git a/lang/ro/plagiarism_turnitin.php b/lang/ro/plagiarism_turnitin.php index 5db734af..cf8db214 100755 --- a/lang/ro/plagiarism_turnitin.php +++ b/lang/ro/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'DicÈ›ionar de engleză britanică'; $string['erater_dictionary_en'] = 'Ambele dicÈ›ionare: de engleză americană È™i britanică'; $string['erater'] = 'Activarea verificării gramaticale cu e-rater'; -$string['erater_handbook'] = 'Manual ETS©'; +$string['erater_handbook'] = 'Manual ETS©'; $string['erater_dictionary'] = 'DicÈ›ionar e-rater'; $string['erater_categories'] = 'Categorii e-rater'; $string['erater_spelling'] = 'Ortografie'; diff --git a/lang/ru/plagiarism_turnitin.php b/lang/ru/plagiarism_turnitin.php index cf2aba7b..a944da61 100755 --- a/lang/ru/plagiarism_turnitin.php +++ b/lang/ru/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Словарь британÑкого английÑкого Ñзыка'; $string['erater_dictionary_en'] = 'Словари американÑкого и британÑкого английÑкого Ñзыка'; $string['erater'] = 'Включить проверку грамматики Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ e-rater'; -$string['erater_handbook'] = 'РуководÑтво ETS©'; +$string['erater_handbook'] = 'РуководÑтво ETS©'; $string['erater_dictionary'] = 'Словарь e-rater'; $string['erater_categories'] = 'Категории e-rater'; $string['erater_spelling'] = 'ОрфографиÑ'; diff --git a/lang/sv/plagiarism_turnitin.php b/lang/sv/plagiarism_turnitin.php index b9221a61..d9d10b3c 100755 --- a/lang/sv/plagiarism_turnitin.php +++ b/lang/sv/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'Lexikon för Brittisk Engelska'; $string['erater_dictionary_en'] = 'Lexikon för bÃ¥de amerikansk och brittisk engelska'; $string['erater'] = 'Aktivera e-rater grammatikkontroll'; -$string['erater_handbook'] = 'ETS© Handbok'; +$string['erater_handbook'] = 'ETS© Handbok'; $string['erater_dictionary'] = 'e-rater Lexikon'; $string['erater_categories'] = 'e-rater Kategorier'; $string['erater_spelling'] = 'Stavning'; diff --git a/lang/tr/plagiarism_turnitin.php b/lang/tr/plagiarism_turnitin.php index e3ab7b85..81b203a4 100755 --- a/lang/tr/plagiarism_turnitin.php +++ b/lang/tr/plagiarism_turnitin.php @@ -10,10 +10,10 @@ $string['turnitintooltwo'] = 'Turnitin Aracı'; $string['turnitin'] = 'Turnitin'; $string['task_name'] = 'Turnitin Ä°ntihal Eklenti Görevi'; -$string['connecttesterror'] = 'Turnitin'e baÄŸlanırken bir hata oluÅŸtu. Hata aÅŸağıda belirtilmiÅŸtir:
'; +$string['connecttesterror'] = 'Turnitin'e bağlanırken bir hata oluştu. Hata aşağıda belirtilmiştir:
'; // Assignment Settings -$string['turnitin:enable'] = 'Turnitin'i EtkinleÅŸtir'; +$string['turnitin:enable'] = 'Turnitin'i EtkinleÅŸtir'; $string['excludebiblio'] = 'Bibliyografyayı Çıkar'; $string['excludequoted'] = 'Alıntılanan Materyali Çıkar'; $string['excludevalue'] = 'Küçük EÅŸleÅŸmeleri Çıkar'; @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = 'BK Ä°ngilizce Sözlük'; $string['erater_dictionary_en'] = 'ABD ve BK Ä°ngilizcesi Sözlükleri'; $string['erater'] = 'e-rater dil bilgisi kontrolünü etkinleÅŸtir'; -$string['erater_handbook'] = 'ETS El Kitabı©'; +$string['erater_handbook'] = 'ETS© El Kitabı©'; $string['erater_dictionary'] = 'e-rater Sözlüğü'; $string['erater_categories'] = 'e-rater Kategorileri'; $string['erater_spelling'] = 'Yazım'; @@ -41,7 +41,7 @@ $string['erater_usage'] = 'Kullanım'; $string['erater_mechanics'] = 'Ä°ÅŸleyiÅŸ'; $string['erater_style'] = 'Stil'; -$string['anonblindmarkingnote'] = 'Not: Turnitin anonim iÅŸaretleme ayarı kaldırıldı. Turnitin, anonim iÅŸaretleme ayarı için Moodle'ın kapalı iÅŸaretleme ayarını kullanacaktır.'; +$string['anonblindmarkingnote'] = 'Not: Turnitin anonim iÅŸaretleme ayarı kaldırıldı. Turnitin, anonim iÅŸaretleme ayarı için Moodle'ın kapalı iÅŸaretleme ayarını kullanacaktır.'; $string['transmatch'] = 'Çeviri EÅŸleÅŸtirme'; $string['genduedate'] = 'Raporları teslim tarihinde oluÅŸtur (teslim tarihine kadar yeniden gönderime izin verilir)'; $string['genimmediately1'] = 'Raporları hemen oluÅŸtur (yeniden gönderime izin verilmez)'; @@ -52,7 +52,7 @@ $string['studentreports_help'] = 'Öğrencilere Turnitin orijinallik raporlarını göstermenizi saÄŸlar. Evet olarak ayarlanırsa Turnitin tarafından oluÅŸturulan orijinallik raporu, öğrenciler tarafından görüntülenebilecektir.'; $string['submitondraft'] = 'Dosyayı yükleme iÅŸlemi yapıldığında gönder'; $string['submitonfinal'] = 'Dosyayı öğrenci iÅŸaretleme için gönderdikten sonra yolla'; -$string['draftsubmit'] = 'Dosyanın Turnitin'e ne zaman gönderilmesi gerekir?'; +$string['draftsubmit'] = 'Dosyanın Turnitin'e ne zaman gönderilmesi gerekir?'; $string['allownonor'] = 'Tüm dosya türlerinin gönderimine izin verilsin mi?'; $string['allownonor_help'] = 'Bu ayar, tüm dosya türlerinin gönderilmesine izin verir. Bu seçenek "Evet" olarak ayarlandığında, gönderiler mümkünse orijinallik raporu için kontrol edilecek, gönderiler indirilebilecek ve mümkün olduÄŸunda, GradeMark geri bildirim araçlarına eriÅŸilebilecektir.'; $string['norepository'] = 'Havuz Yok'; @@ -73,8 +73,8 @@ $string['sharedrubric'] = 'Paylaşılan Performans DeÄŸerlendirme ÖlçeÄŸi'; $string['turnitinrefreshsubmissions'] = 'Gönderileri Yenile'; $string['turnitinrefreshingsubmissions'] = 'Gönderiler Yenileniyor'; -$string['turnitinppulapre'] = 'Turnitin'e dosya gönderebilmek için önce Kullanıcı Lisans SözleÅŸmesi'ni kabul etmeniz gerekiyor. Kullanıcı Lisans SözleÅŸmesi'ni kabul etmezseniz, dosyanızı yalnızca Moodle'a gönderebilirsiniz. Kabul etmek için buraya tıklayın.'; -$string['noscriptula'] = '(Javascript etkinleÅŸtirilmediÄŸinden, Turnitin Kullanıcı SözleÅŸmesi'ni kabul ettikten sonra bir ödev gönderimi yapmadan önce, sayfayı yenilemelisiniz)'; +$string['turnitinppulapre'] = 'Turnitin'e dosya gönderebilmek için önce Kullanıcı Lisans SözleÅŸmesi'ni kabul etmeniz gerekiyor. Kullanıcı Lisans SözleÅŸmesi'ni kabul etmezseniz, dosyanızı yalnızca Moodle'a gönderebilirsiniz. Kabul etmek için buraya tıklayın.'; +$string['noscriptula'] = '(Javascript etkinleÅŸtirilmediÄŸinden, Turnitin Kullanıcı SözleÅŸmesi'ni kabul ettikten sonra bir ödev gönderimi yapmadan önce, sayfayı yenilemelisiniz)'; $string['filedoesnotexist'] = 'Dosya silindi'; // Plugin settings @@ -85,13 +85,13 @@ $string['errors'] = 'Hatalar'; $string['turnitinconfig'] = 'Turnitin Ä°ntihal Eklenti Yapılandırması'; $string['tiiexplain'] = 'Turnitin ticari bir üründür ve bu servisi kullanmak için ücretli üyeliÄŸe ihtiyacınız vardır, daha fazla bilgi için bkz. http://docs.moodle.org/en/Turnitin_administration'; -$string['useturnitin'] = 'Turnitin'i EtkinleÅŸtir'; -$string['useturnitin_mod'] = 'Åžunun için Turnitin'i EtkinleÅŸtir {$a}'; +$string['useturnitin'] = 'Turnitin'i EtkinleÅŸtir'; +$string['useturnitin_mod'] = 'Åžunun için Turnitin'i EtkinleÅŸtir {$a}'; $string['pp_configuredesc'] = 'Bu modülü, turnitintooltwo modülünde yapılandırmalısınız. Bu eklentiyi yapılandırmak için lütfen buraya tıklayın'; $string['turnitindefaults'] = 'Turnitin, intihal eklentisi varsayılan ayarları'; $string['defaultsdesc'] = 'Etkinlik Modülünde Turnitin etkinleÅŸtirilirken aÅŸağıdaki ayarlar, varsayılan ayarlar olarak belirlendi'; $string['turnitinpluginsettings'] = 'Turnitin, intihal eklentisi ayarları'; -$string['pperrorsdesc'] = 'AÅŸağıdaki dosyaları Turnitin'e yüklerken hata oluÅŸtu. Yeniden göndermek için yeniden göndermek istediÄŸiniz dosyaları seçin ve yeniden gönder düğmesine tıklayın. Cron bir daha çalıştırıldığında bu dosyalar iÅŸlenecektir.'; +$string['pperrorsdesc'] = 'AÅŸağıdaki dosyaları Turnitin'e yüklerken hata oluÅŸtu. Yeniden göndermek için yeniden göndermek istediÄŸiniz dosyaları seçin ve yeniden gönder düğmesine tıklayın. Cron bir daha çalıştırıldığında bu dosyalar iÅŸlenecektir.'; $string['pperrorssuccess'] = 'SeçtiÄŸiniz dosyalar yeniden gönderildi ve cron tarafından iÅŸlenecektir.'; $string['pperrorsfail'] = 'SeçtiÄŸiniz dosyaların bazılarında hata oluÅŸtu. Bu dosyalar için yeni cron etkinliÄŸi oluÅŸturulamadı.'; $string['resubmitselected'] = 'Seçilen Dosyaları Yeniden Yolla'; @@ -101,7 +101,7 @@ $string['configupdated'] = 'Yapılandırma güncellendi'; $string['defaultupdated'] = 'Turnitin varsayılan ayarları güncellendi'; $string['notavailableyet'] = 'EriÅŸilebilir deÄŸil'; -$string['resubmittoturnitin'] = 'Turnitin'e yeniden gönder'; +$string['resubmittoturnitin'] = 'Turnitin'e yeniden gönder'; $string['resubmitting'] = 'Yeniden gönderme'; $string['id'] = 'Kimlik'; $string['student'] = 'Öğrenci'; @@ -111,15 +111,15 @@ // Grade book/View assignment page $string['turnitin:viewfullreport'] = 'Orijinallik Raporunu Görüntüle'; $string['launchrubricview'] = 'Ä°ÅŸaretleme için kullanılmış performans deÄŸerlendirme ölçeklerini görüntüle'; -$string['turnitinppulapost'] = 'Dosyanız Turnitin'e gönderilmedi. Kullanıcı Lisans SözleÅŸmesi'ni kabul etmek için lütfen buraya tıklayın.'; -$string['ppsubmissionerrorseelogs'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; -$string['ppsubmissionerrorstudent'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen daha ayrıntılı bilgi için öğretmeninize danışın'; +$string['turnitinppulapost'] = 'Dosyanız Turnitin'e gönderilmedi. Kullanıcı Lisans SözleÅŸmesi'ni kabul etmek için lütfen buraya tıklayın.'; +$string['ppsubmissionerrorseelogs'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; +$string['ppsubmissionerrorstudent'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen daha ayrıntılı bilgi için öğretmeninize danışın'; // Receipts $string['messageprovider:submission'] = 'Turnitin Ä°ntihal Eklentisi Dijital Makbuz bildirimleri'; $string['digitalreceipt'] = 'Dijital Makbuz'; $string['digital_receipt_subject'] = 'Bu, sizin Turnitin Dijital Makbuzunuzdur'; -$string['pp_digital_receipt_message'] = 'Sayın {$a->firstname} {$a->lastname},

{$a->submission_title} dosyasını {$a->course_fullname} sınıfındaki {$a->assignment_name}{$a->assignment_part} ödevine {$a->submission_date} tarihinde başarıyla gönderdiniz. Gönderi numaranız {$a->submission_id}. Dijital makbuzunuz Doküman Görüntüleyicideki yazdır/indir düğmesinden görüntülenebilir ve yazdırılabilir.

Turnitin'i kullandığınız için teşekkür ederiz,

Turnitin Ekibi'; +$string['pp_digital_receipt_message'] = 'Sayın {$a->firstname} {$a->lastname},

{$a->submission_title} dosyasını {$a->course_fullname} sınıfındaki {$a->assignment_name}{$a->assignment_part} ödevine {$a->submission_date} tarihinde başarıyla gönderdiniz. Gönderi numaranız {$a->submission_id}. Dijital makbuzunuz Doküman Görüntüleyicideki yazdır/indir düğmesinden görüntülenebilir ve yazdırılabilir.

Turnitin'i kullandığınız için teşekkür ederiz,

Turnitin Ekibi'; // Paper statuses $string['turnitinid'] = 'Turnitin Numarası'; @@ -134,10 +134,10 @@ // Cron $string['ppqueuesize'] = 'İntihal Eklentisi etkinlik sırasındaki etkinlik sayısı'; -$string['ppcronsubmissionlimitreached'] = 'Bir çalıştırmada yalnızca {$a} işlendiği için Turnitin'e daha fazla gönderim yapılmayacak'; -$string['cronsubmittedsuccessfully'] = 'Gönderi: {$a->coursename} kursundaki {$a->assignmentname} ödevi için {$a->title} (TII Numarası: {$a->submissionid}) başarıyla Turnitin'e gönderilmiştir.'; +$string['ppcronsubmissionlimitreached'] = 'Bir çalıştırmada yalnızca {$a} işlendiği için Turnitin'e daha fazla gönderim yapılmayacak'; +$string['cronsubmittedsuccessfully'] = 'Gönderi: {$a->coursename} kursundaki {$a->assignmentname} ödevi için {$a->title} (TII Numarası: {$a->submissionid}) başarıyla Turnitin'e gönderilmiştir.'; $string['pp_submission_error'] = 'Turnitin gönderiminizle ilgili bir hata oluştu:'; -$string['turnitindeletionerror'] = 'Turnitin gönderisi silinirken bir hata oluştu. Yerel Moodle kopyası kaldırıldı ancak Turnitin' deki gönderi silinemedi.'; +$string['turnitindeletionerror'] = 'Turnitin gönderisi silinirken bir hata oluştu. Yerel Moodle kopyası kaldırıldı ancak Turnitin' deki gönderi silinemedi.'; $string['ppeventsfailedconnection'] = 'Turnitin ile bağlantı kurulamadığından Turnitin intihal eklentisi tarafından bir etkinlik işleme alınmayacak.'; // Error codes @@ -146,28 +146,28 @@ $string['line'] = 'Satır'; $string['message'] = 'Mesaj'; $string['code'] = 'Kod'; -$string['tiisubmissionsgeterror'] = 'Turnitin'de bu ödev için yapılan gönderiler alınırken bir sorun oluştu'; -$string['errorcode0'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; -$string['errorcode1'] = 'Orijinallik Raporu oluşturmak için yeterli içerik olmadığından bu dosya Turnitin'e gönderilmedi.'; -$string['errorcode2'] = 'İzin verilen {$a} maksimum boyutu aştığı için bu dosya Turnitin'e gönderilmeyecek'; -$string['errorcode3'] = 'Kullanıcı, Turnitin Son Kullanıcı Lisans Sözleşmesini kabul etmediğinden bu dosya Turnitin'e gönderilmemiştir.'; +$string['tiisubmissionsgeterror'] = 'Turnitin'de bu ödev için yapılan gönderiler alınırken bir sorun oluştu'; +$string['errorcode0'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; +$string['errorcode1'] = 'Orijinallik Raporu oluşturmak için yeterli içerik olmadığından bu dosya Turnitin'e gönderilmedi.'; +$string['errorcode2'] = 'İzin verilen {$a} maksimum boyutu aştığı için bu dosya Turnitin'e gönderilmeyecek'; +$string['errorcode3'] = 'Kullanıcı, Turnitin Son Kullanıcı Lisans Sözleşmesini kabul etmediğinden bu dosya Turnitin'e gönderilmemiştir.'; $string['errorcode4'] = 'Bu ödev için desteklenen bir dosya türü yüklemeniz gerekmektedir. Kabul edilen dosya türleri: .doc, .docx, .ppt, .pptx, .pps, .ppsx, .pdf, .txt, .htm, .html, .hwp, .odt, .wpd, .ps ve .rtf'; -$string['errorcode5'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; -$string['errorcode6'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül ayarlarını düzenlerken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; -$string['errorcode7'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de kullanıcı oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; -$string['errorcode8'] = 'Bu dosya Turnitin'e gönderilemedi çünkü temp dosyasını oluştururken bir hata meydana geldi. Muhtemel nedeni geçersiz dosya adıdır. Lütfen dosyayı yeniden adlandırın ve Gönderiyi Düzenle seçeneğini kullanarak yeniden yükleyin.'; +$string['errorcode5'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode6'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de modül ayarlarını düzenlerken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode7'] = 'Bu dosya Turnitin'e gönderilmedi çünkü Turnitin'de kullanıcı oluştururken gönderileri etkileyen bir hata meydana geldi. Daha fazla bilgi için lütfen API kayıtlarınıza bakın'; +$string['errorcode8'] = 'Bu dosya Turnitin'e gönderilemedi çünkü temp dosyasını oluştururken bir hata meydana geldi. Muhtemel nedeni geçersiz dosya adıdır. Lütfen dosyayı yeniden adlandırın ve Gönderiyi Düzenle seçeneğini kullanarak yeniden yükleyin.'; $string['errorcode9'] = 'Dosya havuzunda gönderilecek erişilebilir bir içerik olmadığından dosya gönderilemiyor.'; $string['coursegeterror'] = 'Kurs verileri alınamadı'; $string['configureerror'] = 'Bu modülü, herhangi bir kursta kullanmaya başlamadan önce yönetici olarak yapılandırmalısınız. Lütfen Moodle yöneticinizle iletişime geçin.'; $string['turnitintoolofflineerror'] = 'Geçici bir sorun yaşıyoruz. Lütfen kısa bir süre sonra tekrar deneyin.'; $string['defaultinserterror'] = 'Veritabanına varsayılan ayar değeri girilirken bir hata oluştu'; $string['defaultupdateerror'] = 'Veritabanında varsayılan ayar değerleri güncellenirken bir hata oluştu'; -$string['tiiassignmentgeterror'] = 'Turnitin'den ödev alınırken bir sorun oluştu'; +$string['tiiassignmentgeterror'] = 'Turnitin'den ödev alınırken bir sorun oluştu'; $string['assigngeterror'] = 'Turnitintooltwo verileri alınamadı'; $string['classupdateerror'] = 'Turnitin Sınıf verileri güncellenemedi'; -$string['pp_createsubmissionerror'] = 'Turnitin'de bir gönderi oluşturulurken sorun oluştu'; -$string['pp_updatesubmissionerror'] = 'Turnitin'e ödevinizi yeniden gönderirken bir sorun oluştu'; -$string['tiisubmissiongeterror'] = 'Turnitin'den bir gönderi alınırken sorun oluştu'; +$string['pp_createsubmissionerror'] = 'Turnitin'de bir gönderi oluşturulurken sorun oluştu'; +$string['pp_updatesubmissionerror'] = 'Turnitin'e ödevinizi yeniden gönderirken bir sorun oluştu'; +$string['tiisubmissiongeterror'] = 'Turnitin'den bir gönderi alınırken sorun oluştu'; // Javascript $string['closebutton'] = 'Kapat'; @@ -179,4 +179,4 @@ $string['turnitinstatus'] = 'Turnitin durumu'; $string['deleted'] = 'Silindi'; $string['pending'] = 'Bekliyor'; -$string['because'] = 'Bunun nedeni bir yöneticinin bekleyen ödevi işlem kuyruğundan silmesi ve Turnitin'e gönderiyi iptal etmesidir.
Dosya Moodle'da kalacaktır, lütfen eğitmeninizle iletişime geçin.
Lütfen hata kodları için aşağıya bakın:'; +$string['because'] = 'Bunun nedeni bir yöneticinin bekleyen ödevi işlem kuyruğundan silmesi ve Turnitin'e gönderiyi iptal etmesidir.
Dosya Moodle'da kalacaktır, lütfen eğitmeninizle iletişime geçin.
Lütfen hata kodları için aÅŸağıya bakın:'; diff --git a/lang/zh_tw/plagiarism_turnitin.php b/lang/zh_tw/plagiarism_turnitin.php index ca8b9441..5e2bef56 100755 --- a/lang/zh_tw/plagiarism_turnitin.php +++ b/lang/zh_tw/plagiarism_turnitin.php @@ -33,7 +33,7 @@ $string['erater_dictionary_engb'] = '英å¼è‹±æ–‡å­—å…¸'; $string['erater_dictionary_en'] = '美å¼å’Œè‹±å¼è‹±èªžå­—å…¸'; $string['erater'] = '啟用 e-rater 文法檢查'; -$string['erater_handbook'] = 'ETS© 手冊'; +$string['erater_handbook'] = 'ETS© 手冊'; $string['erater_dictionary'] = 'e-rater å­—å…¸'; $string['erater_categories'] = 'e-rater é¡žåž‹'; $string['erater_spelling'] = '拼字'; From 02ec15f325b115da36b0550c4c5c5dc19915b859 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 18 Nov 2016 15:27:34 +0000 Subject: [PATCH 22/56] Fix course reset observer and use data correctly. --- db/events.php | 3 ++- lib.php | 11 ++++++----- version.php | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/db/events.php b/db/events.php index f5cda260..fda23c7a 100644 --- a/db/events.php +++ b/db/events.php @@ -45,6 +45,7 @@ ), array( 'eventname' => '\core\event\course_reset_ended', - 'callback' => 'plagiarism_plugin_turnitin::course_reset' + 'callback' => 'plagiarism_plugin_turnitin::course_reset', + 'includefile' => 'plagiarism/turnitin/lib.php' ) ); \ No newline at end of file diff --git a/lib.php b/lib.php index 6579e04d..437542be 100644 --- a/lib.php +++ b/lib.php @@ -296,13 +296,14 @@ public function get_form_elements_module($mform, $context, $modulename = "") { */ public static function course_reset($eventdata) { global $DB; - $courseid = (int)$eventdata['courseid']; + $data = $eventdata->get_data(); + $courseid = (int)$data['other']['reset_options']['courseid']; $resetcourse = true; - $resetassign = (isset($eventdata['other']['reset_options']['reset_assign_submissions'])) ? - $eventdata['other']['reset_options']['reset_assign_submissions'] : 0; - $resetforum = (isset($eventdata['other']['reset_options']['reset_forum_all'])) ? - $eventdata['other']['reset_options']['reset_forum_all'] : 0; + $resetassign = (isset($data['other']['reset_options']['reset_assign_submissions'])) ? + $data['other']['reset_options']['reset_assign_submissions'] : 0; + $resetforum = (isset($data['other']['reset_options']['reset_forum_all'])) ? + $data['other']['reset_options']['reset_forum_all'] : 0; // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); diff --git a/version.php b/version.php index 29c928fd..9fb7727f 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ * and open the template in the editor. */ -$plugin->version = 2016101101; +$plugin->version = 2016101103; $plugin->release = "2.6+"; $plugin->requires = 2013111800; $plugin->component = 'plagiarism_turnitin'; From e737e5b0ecd5cd9e02d23b1c2847ee9cd411d697 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Wed, 23 Nov 2016 10:35:30 +0000 Subject: [PATCH 23/56] Add missing $DB global. --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 437542be..d5e0b666 100644 --- a/lib.php +++ b/lib.php @@ -2471,7 +2471,7 @@ public function save_submission($cm, $userid, $submissionid, $identifier, $statu * Delete a submission from Turnitin */ private function delete_tii_submission($cm, $submissionid, $userid) { - global $CFG; + global $CFG, $DB; $user = $DB->get_record('user', array('id' => $userid)); // Initialise Comms Object. From 393973065fe98aecc2a960cbebdda8a9f4427192 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Wed, 23 Nov 2016 15:27:32 +0000 Subject: [PATCH 24/56] Force submitpapersto setting if necessary --- lib.php | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/lib.php b/lib.php index d5e0b666..afc6f1b3 100644 --- a/lib.php +++ b/lib.php @@ -1550,8 +1550,23 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $title .= " (Moodle PP)"; $assignment->setTitle( $title ); - $assignment->setSubmitPapersTo(isset($modulepluginsettings["plagiarism_submitpapersto"]) ? - $modulepluginsettings["plagiarism_submitpapersto"] : 1); + // Configure repository setting. + $reposetting = 1; + if (isset($modulepluginsettings["plagiarism_submitpapersto"])) { + $reposetting = $modulepluginsettings["plagiarism_submitpapersto"]; + + // Override if necessary when admin is forcing standard/no repository. + switch ($config->repositoryoption) { + case 2; // Standard repository being forced. + $reposetting = 1; + break; + case 3; // No repository being forced. + $reposetting = 0; + break; + } + } + + $assignment->setSubmitPapersTo($reposetting); $assignment->setSubmittedDocumentsCheck($modulepluginsettings["plagiarism_compare_student_papers"]); $assignment->setInternetCheck($modulepluginsettings["plagiarism_compare_internet"]); $assignment->setPublicationsCheck($modulepluginsettings["plagiarism_compare_journals"]); From 2edf2cdbba17798223b5b8c4f137d1b273f9e48d Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 24 Nov 2016 09:38:13 +0000 Subject: [PATCH 25/56] Rework reposetting slightly --- lib.php | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/lib.php b/lib.php index afc6f1b3..a529e55f 100644 --- a/lib.php +++ b/lib.php @@ -1551,19 +1551,17 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setTitle( $title ); // Configure repository setting. - $reposetting = 1; - if (isset($modulepluginsettings["plagiarism_submitpapersto"])) { - $reposetting = $modulepluginsettings["plagiarism_submitpapersto"]; - - // Override if necessary when admin is forcing standard/no repository. - switch ($config->repositoryoption) { - case 2; // Standard repository being forced. - $reposetting = 1; - break; - case 3; // No repository being forced. - $reposetting = 0; - break; - } + $reposetting = (isset($modulepluginsettings["plagiarism_submitpapersto"])) ? + $modulepluginsettings["plagiarism_submitpapersto"] : 1; + + // Override if necessary when admin is forcing standard/no repository. + switch ($config->repositoryoption) { + case 2; // Standard repository being forced. + $reposetting = 1; + break; + case 3; // No repository being forced. + $reposetting = 0; + break; } $assignment->setSubmitPapersTo($reposetting); From dde0613d0127166cb7b7f910597ca362993568c0 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 24 Nov 2016 14:48:32 +0000 Subject: [PATCH 26/56] Fix inconsistency with install and upgrade scripts --- db/install.xml | 2 +- db/upgrade.php | 17 +++++++++++++++++ version.php | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/db/install.xml b/db/install.xml index 20d401a0..1c9a785a 100644 --- a/db/install.xml +++ b/db/install.xml @@ -9,7 +9,7 @@ - + diff --git a/db/upgrade.php b/db/upgrade.php index 0f57dac4..d0119009 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -234,6 +234,23 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { } } + if ($oldversion < 2016112401) { + $table = new xmldb_table('plagiarism_turnitin_files'); + + // Due to an inconsistency with install and upgrade scripts, some users will + // have submitter and student_read defaulting to 0 and not allowing null. + // Alter submitter to allow null values. + $field = new xmldb_field('submitter', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'userid'); + $dbman->change_field_notnull($table, $field); + // Alter student_read to allow null values. + $field = new xmldb_field('student_read', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'userid'); + $dbman->change_field_notnull($table, $field); + + // Update fields to NULL as per default if necessary. + $DB->set_field('plagiarism_turnitin_files', 'submitter', null, array('submitter' => 0)); + $DB->set_field('plagiarism_turnitin_files', 'student_read', null, array('student_read' => 0)); + } + return $result; } diff --git a/version.php b/version.php index 9fb7727f..989091c9 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ * and open the template in the editor. */ -$plugin->version = 2016101103; +$plugin->version = 2016112401; $plugin->release = "2.6+"; $plugin->requires = 2013111800; $plugin->component = 'plagiarism_turnitin'; From cfea68ff5c725348cf6b8c70b96609d285be1e80 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 25 Nov 2016 09:00:34 +0000 Subject: [PATCH 27/56] Change previous field on upgrade script --- db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index d0119009..4392db0d 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -243,7 +243,7 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { $field = new xmldb_field('submitter', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'userid'); $dbman->change_field_notnull($table, $field); // Alter student_read to allow null values. - $field = new xmldb_field('student_read', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'userid'); + $field = new xmldb_field('student_read', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, null, null, null, 'errormsg'); $dbman->change_field_notnull($table, $field); // Update fields to NULL as per default if necessary. From 2c2a4ce187cf0c4e3149468e84d14c4126bef8b5 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 1 Dec 2016 10:04:12 +0000 Subject: [PATCH 28/56] Changes needed from Travis code checks --- ajax.php | 2 +- extras.php | 2 +- lib.php | 17 ++++++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ajax.php b/ajax.php index bf8509b1..05f34964 100644 --- a/ajax.php +++ b/ajax.php @@ -66,7 +66,7 @@ if ($syncassignment['success']) { $turnitintooltwoview = new turnitintooltwo_view(); $return = html_writer::tag("div", - $turnitintooltwoview->output_dv_launch_form($dvtype, $submissionid, $user->tii_user_id, + $turnitintooltwoview->output_dv_launch_form($dvtype, $submissionid, $user->tiiuserid, $userrole, ''), array('style' => 'display: none')); } break; diff --git a/extras.php b/extras.php index 005ef764..c1c4f704 100644 --- a/extras.php +++ b/extras.php @@ -53,7 +53,7 @@ $user = new turnitintooltwo_user($USER->id, "Learner"); $output .= $OUTPUT->box_start('tii_eula_launch'); - $output .= turnitintooltwo_view::output_dv_launch_form("useragreement", 0, $user->tii_user_id, "Learner", ''); + $output .= turnitintooltwo_view::output_dv_launch_form("useragreement", 0, $user->tiiuserid, "Learner", ''); $output .= $OUTPUT->box_end(true); echo $output; diff --git a/lib.php b/lib.php index a529e55f..87f552d7 100644 --- a/lib.php +++ b/lib.php @@ -426,7 +426,7 @@ public function print_disclosure($cmid) { $user = new turnitintooltwo_user($USER->id, "Learner"); $user->join_user_to_class($coursedata->turnitin_cid); - $eulaaccepted = ($user->user_agreement_accepted == 0) ? $user->get_accepted_user_agreement() : $user->user_agreement_accepted; + $eulaaccepted = ($user->useragreementaccepted == 0) ? $user->get_accepted_user_agreement() : $user->useragreementaccepted; if ($eulaaccepted != 1) { // Moodle strips out form and script code for forum posts so we have to do the Eula Launch differently. @@ -440,7 +440,7 @@ public function print_disclosure($cmid) { 'data-userid' => $user->id)); $noscriptula = html_writer::tag('noscript', - turnitintooltwo_view::output_dv_launch_form("useragreement", 0, $user->tii_user_id, + turnitintooltwo_view::output_dv_launch_form("useragreement", 0, $user->tiiuserid, "Learner", get_string('turnitinppulapre', 'plagiarism_turnitin'), false)." ". get_string('noscriptula', 'plagiarism_turnitin'), array('class' => 'warning turnitin_ula_noscript')); @@ -689,7 +689,7 @@ public function get_links($linkarray) { // $success is false if there is no Turnitin connection and null if user has previously been enrolled. if ((is_null($success) || $success === true) && $eulashown == false) { - $eulaaccepted = ($user->user_agreement_accepted == 0) ? $user->get_accepted_user_agreement() : $user->user_agreement_accepted; + $eulaaccepted = ($user->useragreementaccepted == 0) ? $user->get_accepted_user_agreement() : $user->useragreementaccepted; $userid = $linkarray["userid"]; if ($eulaaccepted != 1) { @@ -1062,7 +1062,7 @@ public function get_links($linkarray) { // We need to check for security that the user is actually on the course. if ($moduleobject->user_enrolled_on_course($context, $linkarray["userid"])) { $user = new turnitintooltwo_user($linkarray["userid"], "Learner"); - if ($user->user_agreement_accepted != 1) { + if ($user->useragreementaccepted != 1) { $erroricon = html_writer::tag('div', $OUTPUT->pix_icon('doc-x-grey', get_string('errorcode3', 'plagiarism_turnitin'), 'plagiarism_turnitin'), array('title' => get_string('errorcode3', 'plagiarism_turnitin'), @@ -2568,8 +2568,7 @@ function plagiarism_turnitin_send_queued_submissions() { } // Don't submit if a user has not accepted the eula. - if ($queueditem->userid == $queueditem->submitter - && $user->user_agreement_accepted != 1) { + if ($queueditem->userid == $queueditem->submitter && $user->useragreementaccepted != 1) { $errorcode = 3; } @@ -2713,17 +2712,17 @@ function plagiarism_turnitin_send_queued_submissions() { $submission->setSubmissionId($queueditem->externalid); } $submission->setTitle($title); - $submission->setAuthorUserId($user->tii_user_id); + $submission->setAuthorUserId($user->tiiuserid); // Account for submission by teacher in assignment module. if ($queueditem->userid == $queueditem->submitter) { - $submission->setSubmitterUserId($user->tii_user_id); + $submission->setSubmitterUserId($user->tiiuserid); $submission->setRole('Learner'); } else { $instructor = new turnitintooltwo_user($queueditem->submitter, 'Instructor'); $instructor->edit_tii_user(); - $submission->setSubmitterUserId($instructor->tii_user_id); + $submission->setSubmitterUserId($instructor->tiiuserid); $submission->setRole('Instructor'); } From ccdc3805309a71f0ea65a3269fcd7ae13f547643 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Fri, 2 Dec 2016 14:17:57 +0000 Subject: [PATCH 29/56] Change function used to format text content --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 87f552d7..ae031c8f 100644 --- a/lib.php +++ b/lib.php @@ -2631,7 +2631,7 @@ function plagiarism_turnitin_send_queued_submissions() { $title = 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; $filename = $title; - $textcontent = strip_tags($textcontent); + $textcontent = content_to_text($textcontent, FORMAT_MOODLE); } // Use Replace submission method if resubmissions are allowed or create if we have no Turnitin Id. From 98cc86edb4f5e8df541265a9227b2980dfdf0d59 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 5 Dec 2016 14:05:55 +0000 Subject: [PATCH 30/56] Change method used to convert text content for sending. --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index ae031c8f..f258df78 100644 --- a/lib.php +++ b/lib.php @@ -2631,7 +2631,7 @@ function plagiarism_turnitin_send_queued_submissions() { $title = 'onlinetext_'.$user->id."_".$cm->id."_".$cm->instance.'.txt'; $filename = $title; - $textcontent = content_to_text($textcontent, FORMAT_MOODLE); + $textcontent = html_to_text($textcontent); } // Use Replace submission method if resubmissions are allowed or create if we have no Turnitin Id. From 5872395e1621cec9c3b4ce52e28f7254fe6027d9 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 8 Dec 2016 13:40:02 +0000 Subject: [PATCH 31/56] Add initial travis file --- .travis.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..371ac97f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +language: php + +sudo: false + +cache: + directories: + - $HOME/.composer/cache + +php: + - 5.5 +# - 5.6 + - 7.0 + +env: + global: + - IGNORE_PATHS=sdk/,pix/ + - IGNORE_NAMES=jquery*,styles.css + matrix: + # - DB=pgsql MOODLE_BRANCH=MOODLE_31_STABLE + # - DB=mysqli MOODLE_BRANCH=MOODLE_31_STABLE + - DB=pgsql MOODLE_BRANCH=MOODLE_30_STABLE + - DB=mysqli MOODLE_BRANCH=MOODLE_30_STABLE + # - DB=pgsql MOODLE_BRANCH=MOODLE_27_STABLE + # - DB=mysqli MOODLE_BRANCH=MOODLE_27_STABLE + +before_install: + - phpenv config-rm xdebug.ini + - cd ../.. + - composer selfupdate + - composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^1 + - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" + +install: + - moodle-plugin-ci install + +script: + - moodle-plugin-ci phplint + - moodle-plugin-ci phpcpd + - moodle-plugin-ci phpmd + - moodle-plugin-ci codechecker + - moodle-plugin-ci csslint + - moodle-plugin-ci shifter + - moodle-plugin-ci jshint + - moodle-plugin-ci validate + - moodle-plugin-ci phpunit + - moodle-plugin-ci behat \ No newline at end of file From db9c76f472a20d5d1fe44864381139f41a7abc46 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Thu, 8 Dec 2016 15:35:06 +0000 Subject: [PATCH 32/56] Fix some Mess Detector violations --- classes/modules/turnitin_assign.class.php | 2 - classes/modules/turnitin_workshop.class.php | 2 +- lib.php | 52 ++++++++------------- turnitinplugin_view.class.php | 2 +- 4 files changed, 22 insertions(+), 36 deletions(-) diff --git a/classes/modules/turnitin_assign.class.php b/classes/modules/turnitin_assign.class.php index a9a57613..18dfe19a 100644 --- a/classes/modules/turnitin_assign.class.php +++ b/classes/modules/turnitin_assign.class.php @@ -55,8 +55,6 @@ public function get_author($itemid) { } public function set_content($linkarray, $cm) { - global $DB; - $onlinetextdata = $this->get_onlinetext($linkarray["userid"], $cm); return (empty($onlinetextdata->onlinetext)) ? '' : $onlinetextdata->onlinetext; diff --git a/classes/modules/turnitin_workshop.class.php b/classes/modules/turnitin_workshop.class.php index a0dc876e..f3745446 100644 --- a/classes/modules/turnitin_workshop.class.php +++ b/classes/modules/turnitin_workshop.class.php @@ -61,7 +61,7 @@ public function get_onlinetext($userid, $cm) { $onlinetextdata = new stdClass(); $onlinetextdata->itemid = $submission->id; $onlinetextdata->onlinetext = $submission->content; - $onlinetextdata->onlineformat = $moodletextsubmission->contentformat; + $onlinetextdata->onlineformat = $submission->contentformat; return $onlinetextdata; } diff --git a/lib.php b/lib.php index f258df78..0125a22f 100644 --- a/lib.php +++ b/lib.php @@ -87,7 +87,6 @@ public function get_settings_fields() { * @return mixed if plugin is enabled then an array of config settings is returned or false if not */ public static function get_config_settings($modulename) { - global $DB; $pluginconfig = get_config('plagiarism', 'turnitin_use_'.$modulename); return $pluginconfig; @@ -367,7 +366,7 @@ public function test_turnitin_connection($workflowcontext = 'site') { $class->setTitle('Test finding a class to see if connection works'); try { - $response = $tiiapi->findClasses($class); + $tiiapi->findClasses($class); return true; } catch (Exception $e) { $turnitincomms->handle_exceptions($e, 'connecttesterror', false); @@ -381,13 +380,14 @@ public function test_turnitin_connection($workflowcontext = 'site') { /** * Print the Turnitin student disclosure inside the submission page for students to see * - * @global type $DB * @global type $OUTPUT + * @global type $USER + * @global type $CFG * @param type $cmid * @return type */ public function print_disclosure($cmid) { - global $DB, $OUTPUT, $USER, $PAGE, $CFG; + global $OUTPUT, $USER, $CFG; static $tiiconnection; if (empty($tiiconnection)) { @@ -464,7 +464,7 @@ public function print_disclosure($cmid) { if ($config->usegrademark && !empty($plagiarismsettings["plagiarism_rubric"])) { // Update assignment in case rubric is not stored in Turnitin yet. - $tiiassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid); + $this->sync_tii_assignment($cm, $coursedata->turnitin_cid); $rubricviewlink = html_writer::tag('div', html_writer::link( $CFG->wwwroot.'/plagiarism/turnitin/ajax.php?cmid='.$cm->id. @@ -543,7 +543,7 @@ public function get_course_data($cmid, $courseid, $workflowcontext = 'site') { * @return type */ public function get_links($linkarray) { - global $CFG, $DB, $OUTPUT, $PAGE, $USER; + global $CFG, $DB, $OUTPUT, $USER; // Don't show links for certain file types as they won't have been submitted to Turnitin. if (!empty($linkarray["file"])) { @@ -912,7 +912,7 @@ public function get_links($linkarray) { // Show link to view rubric for student. if (!$istutor && $config->usegrademark && !empty($plagiarismsettings["plagiarism_rubric"])) { // Update assignment in case rubric is not stored in Turnitin yet. - $tiiassignment = $this->sync_tii_assignment($cm, $coursedata->turnitin_cid); + $this->sync_tii_assignment($cm, $coursedata->turnitin_cid); $rubricviewlink = html_writer::tag('div', html_writer::link( $CFG->wwwroot.'/plagiarism/turnitin/ajax.php?cmid='.$cm->id. @@ -1058,7 +1058,7 @@ public function get_links($linkarray) { if ($linkarray["userid"] != $USER->id && $submittinguser == $author && $istutor) { // There is a moodle plagiarism bug where get_links is called twice, the first loop is incorrect and is killing // this functionality. Have to check that user exists here first else there will be a fatal error. - if ($mdl_user = $DB->get_record('user', array('id' => $linkarray["userid"]))) { + if ($DB->get_record('user', array('id' => $linkarray["userid"]))) { // We need to check for security that the user is actually on the course. if ($moduleobject->user_enrolled_on_course($context, $linkarray["userid"])) { $user = new turnitintooltwo_user($linkarray["userid"], "Learner"); @@ -1181,7 +1181,7 @@ public function update_grade_from_tii($cm, $submissionid) { } private function update_submission($cm, $submissionid, $tiisubmission) { - global $DB, $CFG; + global $DB; $return = true; $updaterequired = false; @@ -1414,8 +1414,6 @@ private function update_grade($cm, $submission, $userid, $type = 'submission') { return false; } - $params['idnumber'] = $cm->idnumber; - // Update gradebook - Grade update returns 1 on failure and 0 if successful. $gradeupdate = $cm->modname."_grade_item_update"; require_once($CFG->dirroot . '/mod/' . $cm->modname . '/lib.php'); @@ -1464,7 +1462,7 @@ public function create_tii_course($cmid, $modname, $coursedata, $workflowcontext if (!empty($tutors)) { foreach ($tutors as $tutor) { // Create the admin as a user within Turnitin. - $user = new turnitintooltwo_user($admin, 'Instructor'); + $user = new turnitintooltwo_user($tutor->id, 'Instructor'); $user->join_user_to_class($turnitincourse->turnitin_cid); } } @@ -1529,7 +1527,7 @@ public function refresh_peermark_assignments($cm, $tiiassignmentid) { * if we have a Turnitin id for the module then edit it */ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site", $submittoturnitin = false) { - global $DB, $CFG; + global $DB; $config = turnitintooltwo_admin_config(); $modulepluginsettings = $this->get_settings($cm->id); @@ -1834,7 +1832,7 @@ public function set_duedate_report_refresh($id, $newValue) { * @return boolean */ public function cron_update_scores($submissiontype = 'file', $submissions) { - global $DB, $CFG; + global $DB; $submissionids = array(); $reportsexpected = array(); @@ -2022,7 +2020,7 @@ public function migrate_previous_course($coursedata, $turnitincid, $workflowcont $turnitincourse->id = $coursedata->tii_rel_id; } - if (!$insertid = $DB->$method('turnitintooltwo_courses', $turnitincourse)) { + if (!$DB->$method('turnitintooltwo_courses', $turnitincourse)) { if ($workflowcontext != "cron") { turnitintooltwo_print_error('classupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); exit(); @@ -2044,15 +2042,10 @@ public function migrate_previous_course($coursedata, $turnitincid, $workflowcont * */ public function queue_submission_to_turnitin($cm, $author, $submitter, $identifier, $submissiontype, $itemid = 0) { - global $CFG, $DB, $USER, $turnitinacceptedfiles; + global $CFG, $DB, $turnitinacceptedfiles; $errorcode = 0; $attempt = 0; - - // Get config, module and course settings that we need. - $config = turnitintooltwo_admin_config(); $settings = $this->get_settings($cm->id); - $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); - $coursedata = $this->get_course_data($cm->id, $cm->course, 'cron'); // Work out submission method. // If this file has successfully submitted in the past then break, text content is to be submitted. @@ -2374,7 +2367,6 @@ private function reset_tii_submission($cm, $userid, $identifier, $currentsubmiss */ public function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissiontype, $identifier) { global $DB, $CFG; - $currentfiles = array(); $deletestr = ''; // Create module object @@ -2412,10 +2404,6 @@ public function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissio array_merge(array($userid, $cm->id, 'file'), $notinparams)); if (!empty($oldfiles)) { - // Initialise Comms Object. - $turnitincomms = new turnitin_comms(); - $turnitincall = $turnitincomms->initialise_api(); - foreach ($oldfiles as $oldfile) { // Delete submission from Turnitin if we have an external id. if (!is_null($oldfile->externalid)) { @@ -2472,7 +2460,7 @@ public function save_submission($cm, $userid, $submissionid, $identifier, $statu turnitintooltwo_activitylog("Update record failed (CM: ".$cm->id.", User: ".$userid.") - ", "PP_UPDATE_SUB_ERROR"); } } else { - if (!$fileid = $DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { + if (!$DB->insert_record('plagiarism_turnitin_files', $plagiarismfile)) { turnitintooltwo_activitylog("Insert record failed (CM: ".$cm->id.", User: ".$userid.") - ", "PP_INSERT_SUB_ERROR"); } } @@ -2484,7 +2472,7 @@ public function save_submission($cm, $userid, $submissionid, $identifier, $statu * Delete a submission from Turnitin */ private function delete_tii_submission($cm, $submissionid, $userid) { - global $CFG, $DB; + global $DB; $user = $DB->get_record('user', array('id' => $userid)); // Initialise Comms Object. @@ -2495,7 +2483,7 @@ private function delete_tii_submission($cm, $submissionid, $userid) { $submission->setSubmissionId($submissionid); try { - $response = $turnitincall->deleteSubmission($submission); + $turnitincall->deleteSubmission($submission); } catch (Exception $e) { $turnitincomms->handle_exceptions($e, 'turnitindeletionerror', false); @@ -2640,7 +2628,7 @@ function plagiarism_turnitin_send_queued_submissions() { } else { $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; // Delete old text content submissions from Turnitin if not replacing. - if ($settings["plagiarism_report_gen"] == 0 && $submissiontype == 'text_content') { + if ($settings["plagiarism_report_gen"] == 0 && $queueditem->submissiontype == 'text_content') { $pluginturnitin->delete_tii_submission($cm, $queueditem->externalid, $queueditem->author); } } @@ -2751,7 +2739,7 @@ function plagiarism_turnitin_send_queued_submissions() { $configfield->name = 'submitted'; $configfield->value = 1; - if (!$currentconfigfield = $DB->get_field('plagiarism_turnitin_config', 'id', + if (!$DB->get_field('plagiarism_turnitin_config', 'id', (array('cm' => $cm->id, 'name' => 'submitted')))) { if (!$DB->insert_record('plagiarism_turnitin_config', $configfield)) { turnitintooltwo_print_error('defaultupdateerror', 'plagiarism_turnitin', null, null, __FILE__, __LINE__); @@ -2789,7 +2777,7 @@ function plagiarism_turnitin_send_queued_submissions() { $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt, 0, $submissionerrormsg); - $errorstring = (empty($previoussubmission->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; + $errorstring = (empty($queueditem->externalid)) ? "pp_createsubmissionerror" : "pp_updatesubmissionerror"; $turnitincomms->handle_exceptions($e, $errorstring, false); // Output error in the cron. diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index ad3c8c56..ab2b0908 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -57,7 +57,7 @@ public function draw_settings_tab_menu($currenttab, $notice = null) { * @return output */ public function show_config_form($pluginconfig) { - global $CFG, $DB, $OUTPUT; + global $CFG, $DB; // Populate elements array which will generate the form elements // Each element is in following format: (type, name, label, helptext (minus _help), options (if select). From 8c7a91a8d2861a2efac9e20fba06116aad9a70c7 Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 15 Dec 2016 17:05:31 +0000 Subject: [PATCH 33/56] Get Travis running. --- TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 84f74ca1..de9a3ece 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -1,4 +1,4 @@ -#Moodle Direct V2 Troubleshooting +Travis#Moodle Direct V2 Troubleshooting 1) You may need to ensure that within your designated moodledata directory; the turnitintooltwo subdirectory and the subsequent logs subdirectory have the correct permissions to be able to create directories and files. From 42edb7942d7884596899677d43855f1959db6591 Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 15 Dec 2016 17:39:23 +0000 Subject: [PATCH 34/56] Travis changes. --- TROUBLESHOOTING.md | 2 +- ...ackup_plagiarism_turnitin_plugin.class.php | 49 ++++++++++--------- ...store_plagiarism_turnitin_plugin.class.php | 18 ++++--- classes/digitalreceipt/pp_receipt_message.php | 40 +++++++++++---- 4 files changed, 68 insertions(+), 41 deletions(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index de9a3ece..84f74ca1 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -1,4 +1,4 @@ -Travis#Moodle Direct V2 Troubleshooting +#Moodle Direct V2 Troubleshooting 1) You may need to ensure that within your designated moodledata directory; the turnitintooltwo subdirectory and the subsequent logs subdirectory have the correct permissions to be able to create directories and files. diff --git a/backup/moodle2/backup_plagiarism_turnitin_plugin.class.php b/backup/moodle2/backup_plagiarism_turnitin_plugin.class.php index a246950b..4ea6cb4f 100644 --- a/backup/moodle2/backup_plagiarism_turnitin_plugin.class.php +++ b/backup/moodle2/backup_plagiarism_turnitin_plugin.class.php @@ -22,25 +22,26 @@ class backup_plagiarism_turnitin_plugin extends backup_plagiarism_plugin { protected function define_module_plugin_structure() { $plugin = $this->get_plugin_element(); - $plugin_element = new backup_nested_element($this->get_recommended_name()); - $plugin->add_child($plugin_element); + $pluginelement = new backup_nested_element($this->get_recommended_name()); + $plugin->add_child($pluginelement); - // Add module config elements - $turnitin_configs = new backup_nested_element('turnitin_configs'); - $turnitin_config = new backup_nested_element('turnitin_config', array('id'), array('name', 'value')); - $plugin_element->add_child($turnitin_configs); - $turnitin_configs->add_child($turnitin_config); - $turnitin_config->set_source_table('plagiarism_turnitin_config', array('cm' => backup::VAR_PARENTID)); + // Add module config elements. + $turnitinconfigs = new backup_nested_element('turnitin_configs'); + $turnitinconfig = new backup_nested_element('turnitin_config', array('id'), array('name', 'value')); + $pluginelement->add_child($turnitinconfigs); + $turnitinconfigs->add_child($turnitinconfig); + $turnitinconfig->set_source_table('plagiarism_turnitin_config', array('cm' => backup::VAR_PARENTID)); - // Add file elements if required + // Add file elements if required. if ($this->get_setting_value('userinfo')) { - $turnitin_files = new backup_nested_element('turnitin_files'); - $turnitin_file = new backup_nested_element('turnitin_file', array('id'), - array('userid', 'identifier', 'externalid', 'externalstatus', 'statuscode', 'similarityscore', 'transmatch', 'lastmodified', 'grade', 'submissiontype')); - $plugin_element->add_child($turnitin_files); - $turnitin_files->add_child($turnitin_file); + $turnitinfiles = new backup_nested_element('turnitin_files'); + $turnitinfile = new backup_nested_element('turnitin_file', array('id'), + array('userid', 'identifier', 'externalid', 'externalstatus', + 'statuscode', 'similarityscore', 'transmatch', 'lastmodified', 'grade', 'submissiontype')); + $pluginelement->add_child($turnitinfiles); + $turnitinfiles->add_child($turnitinfile); - $turnitin_file->set_source_table('plagiarism_turnitin_files', array('cm' => backup::VAR_PARENTID)); + $turnitinfile->set_source_table('plagiarism_turnitin_files', array('cm' => backup::VAR_PARENTID)); } return $plugin; } @@ -48,16 +49,18 @@ protected function define_module_plugin_structure() { protected function define_course_plugin_structure() { $plugin = $this->get_plugin_element(); - $plugin_element = new backup_nested_element($this->get_recommended_name()); - $plugin->add_child($plugin_element); + $pluginelement = new backup_nested_element($this->get_recommended_name()); + $plugin->add_child($pluginelement); - // Add courses from Turnitintool table - $turnitin_courses = new backup_nested_element('turnitin_courses'); - $turnitin_course = new backup_nested_element('turnitin_course', array('id'), array('courseid', 'ownerid', 'turnitin_ctl', 'turnitin_cid', 'course_type')); - $plugin_element->add_child($turnitin_courses); - $turnitin_courses->add_child($turnitin_course); + // Add courses from Turnitintool table. + $turnitincourses = new backup_nested_element('turnitin_courses'); + $turnitincourse = new backup_nested_element('turnitin_course', array('id'), + array('courseid', 'ownerid', 'turnitin_ctl', 'turnitin_cid', 'course_type')); + $pluginelement->add_child($turnitincourses); + $turnitincourses->add_child($turnitincourse); - $turnitin_course->set_source_table('turnitintooltwo_courses', array('courseid'=> backup::VAR_COURSEID, 'course_type' => backup_helper::is_sqlparam('PP'))); + $turnitincourse->set_source_table('turnitintooltwo_courses', array('courseid' => backup::VAR_COURSEID, + 'course_type' => backup_helper::is_sqlparam('PP'))); return $plugin; } } \ No newline at end of file diff --git a/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php b/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php index 46762631..bfddbc08 100644 --- a/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php +++ b/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php @@ -39,9 +39,10 @@ public function process_turnitin_course($data) { if ($this->task->is_samesite()) { $data = (object)$data; - $record_exists = $DB->record_exists('turnitintooltwo_courses', array('turnitin_cid' => $data->turnitin_cid, 'course_type' => 'PP')); + $recordexists = $DB->record_exists('turnitintooltwo_courses', + array('turnitin_cid' => $data->turnitin_cid, 'course_type' => 'PP')); - if (!$record_exists) { + if (!$recordexists) { $data = (object)$data; $data->courseid = $this->task->get_courseid(); @@ -71,10 +72,12 @@ public function process_turnitin_config($data) { if ($this->task->is_samesite()) { $data = (object)$data; - $record_exists = ($data->name == 'turnitin_assign') ? $DB->record_exists('plagiarism_turnitin_config', array('name' => 'turnitin_assign', 'value' => $data->value)) : false; - $record_exists = ($data->name == 'turnitin_assignid') ? $DB->record_exists('plagiarism_turnitin_config', array('name' => 'turnitin_assignid', 'value' => $data->value)) : $record_exists; + $recordexists = ($data->name == 'turnitin_assign') ? $DB->record_exists('plagiarism_turnitin_config', + array('name' => 'turnitin_assign', 'value' => $data->value)) : false; + $recordexists = ($data->name == 'turnitin_assignid') ? $DB->record_exists('plagiarism_turnitin_config', + array('name' => 'turnitin_assignid', 'value' => $data->value)) : $recordexists; - if (!$record_exists) { + if (!$recordexists) { $data = (object)$data; $data->name = ($data->name == 'turnitin_assign') ? 'turnitin_assignid' : $data->name; $data->cm = $this->task->get_moduleid(); @@ -94,9 +97,10 @@ public function process_turnitin_files($data) { if ($this->task->is_samesite()) { $data = (object)$data; - $record_exists = (!empty($data->externalid)) ? $DB->record_exists('plagiarism_turnitin_files', array('externalid'=>$data->externalid)) : false; + $recordexists = (!empty($data->externalid)) ? $DB->record_exists('plagiarism_turnitin_files', + array('externalid'=>$data->externalid)) : false; - if (!$record_exists) { + if (!$recordexists) { $data->cm = $this->task->get_moduleid(); $data->userid = $this->get_mappingid('user', $data->userid); diff --git a/classes/digitalreceipt/pp_receipt_message.php b/classes/digitalreceipt/pp_receipt_message.php index 4f0d1d08..e5b9b4ad 100644 --- a/classes/digitalreceipt/pp_receipt_message.php +++ b/classes/digitalreceipt/pp_receipt_message.php @@ -1,5 +1,27 @@ . + +/** + * @package moodlecore + * @subpackage backup-moodle2 + * @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + class pp_receipt_message { /** @@ -13,8 +35,8 @@ public function send_message($userid, $message) { $subject = get_string('digital_receipt_subject', 'plagiarism_turnitin'); $eventdata = new stdClass(); - $eventdata->component = 'plagiarism_turnitin'; //your component name - $eventdata->name = 'submission'; //this is the message name from messages.php + $eventdata->component = 'plagiarism_turnitin'; // Your component name. + $eventdata->name = 'submission'; // This is the message name from messages.php. $eventdata->userfrom = \core_user::get_noreply_user(); $eventdata->userto = $userid; $eventdata->subject = $subject; @@ -22,7 +44,7 @@ public function send_message($userid, $message) { $eventdata->fullmessageformat = FORMAT_HTML; $eventdata->fullmessagehtml = $message; $eventdata->smallmessage = ''; - $eventdata->notification = 1; //this is only set to 0 for personal messages between users + $eventdata->notification = 1; // This is only set to 0 for personal messages between users. message_send($eventdata); } @@ -58,8 +80,7 @@ public function build_message($input) { * @param array $input - used tob uild message * @return string */ - public function build_instructor_message($input) - { + public function build_instructor_message($input) { $message->submission_title = $input['submission_title']; $message->assignment_name = $input['assignment_name']; if ( isset($input['assignment_part']) ) { @@ -81,20 +102,19 @@ public function build_instructor_message($input) * @param string $message * @return void */ - public function send_instructor_message($instructors, $message) - { + public function send_instructor_message($instructors, $message) { $subject = get_string('receipt_instructor_copy_subject', 'plagiarism_turnitin'); $eventdata = new stdClass(); - $eventdata->component = 'plagiarism_turnitin'; //your component name - $eventdata->name = 'submission'; //this is the message name from messages.php + $eventdata->component = 'plagiarism_turnitin'; // Your component name. + $eventdata->name = 'submission'; // This is the message name from messages.php. $eventdata->userfrom = \core_user::get_noreply_user(); $eventdata->subject = $subject; $eventdata->fullmessage = $message; $eventdata->fullmessageformat = FORMAT_HTML; $eventdata->fullmessagehtml = $message; $eventdata->smallmessage = ''; - $eventdata->notification = 1; //this is only set to 0 for personal messages between users + $eventdata->notification = 1; // This is only set to 0 for personal messages between users. foreach ($instructors as $instructor) { $eventdata->userto = $instructor; From 41c5590032939d16aba76b3d742886630b09545d Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 15 Dec 2016 17:54:20 +0000 Subject: [PATCH 35/56] Indentation - convert tabs to spaces. --- classes/modules/turnitin_assign.class.php | 150 ++++----- classes/modules/turnitin_coursework.class.php | 88 ++--- classes/modules/turnitin_forum.class.php | 122 +++---- classes/modules/turnitin_workshop.class.php | 92 ++--- classes/observer.php | 34 +- classes/task/send_submissions.php | 2 +- classes/task/update_reports.php | 2 +- classes/turnitin_class.class.php | 22 +- classes/turnitin_submission.class.php | 316 +++++++++--------- jquery/plugins.php | 4 +- version.php | 4 +- 11 files changed, 418 insertions(+), 418 deletions(-) diff --git a/classes/modules/turnitin_assign.class.php b/classes/modules/turnitin_assign.class.php index 18dfe19a..238dad05 100644 --- a/classes/modules/turnitin_assign.class.php +++ b/classes/modules/turnitin_assign.class.php @@ -22,81 +22,81 @@ // TODO: Split out all module specific code from plagiarism/turnitin/lib.php class turnitin_assign { - private $modname; - public $grades_table; - public $filecomponent; - - public function __construct() { - $this->modname = 'assign'; - $this->grades_table = $this->modname.'_grades'; - $this->filecomponent = $this->modname.'submission_file'; - } - - public function is_tutor($context) { - return has_capability($this->get_tutor_capability(), $context); - } - - public function get_tutor_capability() { - return 'mod/'.$this->modname.':grade'; - } - - public function user_enrolled_on_course($context, $userid) { - return has_capability('mod/'.$this->modname.':submit', $context, $userid); - } - - public function get_author($itemid) { - global $DB; - - if ($submission = $DB->get_record('assign_submission', array('id' => $itemid), 'userid')) { - return $submission->userid; - } else { - return 0; - } - } - - public function set_content($linkarray, $cm) { - $onlinetextdata = $this->get_onlinetext($linkarray["userid"], $cm); - - return (empty($onlinetextdata->onlinetext)) ? '' : $onlinetextdata->onlinetext; - } - - public function get_onlinetext($userid, $cm) { - global $DB; - - // Get latest text content submitted as we do not have submission id. - $submissions = $DB->get_records_select('assign_submission', ' userid = ? AND assignment = ? ', - array($userid, $cm->instance), 'id DESC', 'id', 0, 1); - $submission = end($submissions); - $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', - array('submission' => $submission->id), 'onlinetext, onlineformat'); - - $onlinetextdata = new stdClass(); - $onlinetextdata->itemid = $submission->id; - $onlinetextdata->onlinetext = $moodletextsubmission->onlinetext; - $onlinetextdata->onlineformat = $moodletextsubmission->onlineformat; - - return $onlinetextdata; - } - - public function create_file_event($params) { - return \assignsubmission_file\event\assessable_uploaded::create($params); - } - - public function create_text_event($params) { - return \assignsubmission_onlinetext\event\assessable_uploaded::create($params); - } - - public function get_current_gradequery($userid, $moduleid, $itemid = 0) { - global $DB; - - $currentgradesquery = $DB->get_records('assign_grades', - array('userid' => $userid, 'assignment' => $moduleid), - 'id DESC' - ); + private $modname; + public $grades_table; + public $filecomponent; + + public function __construct() { + $this->modname = 'assign'; + $this->grades_table = $this->modname.'_grades'; + $this->filecomponent = $this->modname.'submission_file'; + } + + public function is_tutor($context) { + return has_capability($this->get_tutor_capability(), $context); + } + + public function get_tutor_capability() { + return 'mod/'.$this->modname.':grade'; + } + + public function user_enrolled_on_course($context, $userid) { + return has_capability('mod/'.$this->modname.':submit', $context, $userid); + } + + public function get_author($itemid) { + global $DB; + + if ($submission = $DB->get_record('assign_submission', array('id' => $itemid), 'userid')) { + return $submission->userid; + } else { + return 0; + } + } + + public function set_content($linkarray, $cm) { + $onlinetextdata = $this->get_onlinetext($linkarray["userid"], $cm); + + return (empty($onlinetextdata->onlinetext)) ? '' : $onlinetextdata->onlinetext; + } + + public function get_onlinetext($userid, $cm) { + global $DB; + + // Get latest text content submitted as we do not have submission id. + $submissions = $DB->get_records_select('assign_submission', ' userid = ? AND assignment = ? ', + array($userid, $cm->instance), 'id DESC', 'id', 0, 1); + $submission = end($submissions); + $moodletextsubmission = $DB->get_record('assignsubmission_onlinetext', + array('submission' => $submission->id), 'onlinetext, onlineformat'); + + $onlinetextdata = new stdClass(); + $onlinetextdata->itemid = $submission->id; + $onlinetextdata->onlinetext = $moodletextsubmission->onlinetext; + $onlinetextdata->onlineformat = $moodletextsubmission->onlineformat; + + return $onlinetextdata; + } + + public function create_file_event($params) { + return \assignsubmission_file\event\assessable_uploaded::create($params); + } + + public function create_text_event($params) { + return \assignsubmission_onlinetext\event\assessable_uploaded::create($params); + } + + public function get_current_gradequery($userid, $moduleid, $itemid = 0) { + global $DB; + + $currentgradesquery = $DB->get_records('assign_grades', + array('userid' => $userid, 'assignment' => $moduleid), + 'id DESC' + ); return current($currentgradesquery); - } + } - public function initialise_post_date($moduledata) { - return 0; - } + public function initialise_post_date($moduledata) { + return 0; + } } \ No newline at end of file diff --git a/classes/modules/turnitin_coursework.class.php b/classes/modules/turnitin_coursework.class.php index f69b223c..a2d556c9 100644 --- a/classes/modules/turnitin_coursework.class.php +++ b/classes/modules/turnitin_coursework.class.php @@ -22,66 +22,66 @@ // TODO: Split out all module specific code from plagiarism/turnitin/lib.php class turnitin_coursework { - private $modname; - public $grades_table; - public $filecomponent; + private $modname; + public $grades_table; + public $filecomponent; - public function __construct() { - $this->modname = 'coursework'; - $this->grades_table = $this->modname.'_feedbacks'; - $this->filecomponent = 'mod_'.$this->modname; - } + public function __construct() { + $this->modname = 'coursework'; + $this->grades_table = $this->modname.'_feedbacks'; + $this->filecomponent = 'mod_'.$this->modname; + } - public function is_tutor($context) { - $capabilities = array($this->get_tutor_capability(),'mod/coursework:addagreedgrade', 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); - return has_any_capability($capabilities,$context); - } + public function is_tutor($context) { + $capabilities = array($this->get_tutor_capability(),'mod/coursework:addagreedgrade', 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); + return has_any_capability($capabilities,$context); + } - public function get_tutor_capability() { - return 'mod/'.$this->modname.':addinitialgrade'; - } + public function get_tutor_capability() { + return 'mod/'.$this->modname.':addinitialgrade'; + } - public function user_enrolled_on_course($context, $userid) { - return has_capability('mod/'.$this->modname.':submit', $context, $userid); - } + public function user_enrolled_on_course($context, $userid) { + return has_capability('mod/'.$this->modname.':submit', $context, $userid); + } - public function get_author($itemid) { - global $DB; + public function get_author($itemid) { + global $DB; - $id = 0; + $id = 0; - if ($submission = $DB->get_record('coursework_submissions', array('id' => $itemid))) - $id = $submission->authorid; + if ($submission = $DB->get_record('coursework_submissions', array('id' => $itemid))) + $id = $submission->authorid; - return $id; - } + return $id; + } - public function create_file_event($params) { - return \mod_coursework\event\assessable_uploaded::create($params); - } + public function create_file_event($params) { + return \mod_coursework\event\assessable_uploaded::create($params); + } - public function get_current_gradequery($userid, $moduleid, $itemid = 0) { - global $DB; + public function get_current_gradequery($userid, $moduleid, $itemid = 0) { + global $DB; - $sql = "SELECT * - FROM {coursework_submissions} cs, - {coursework_feedbacks} cf - WHERE cs.id = cf.submissionid - AND cs.authorid = :authorid - AND cs.courseworkid = :courseworkid - AND cf.stage_identifier = :stage"; + $sql = "SELECT * + FROM {coursework_submissions} cs, + {coursework_feedbacks} cf + WHERE cs.id = cf.submissionid + AND cs.authorid = :authorid + AND cs.courseworkid = :courseworkid + AND cf.stage_identifier = :stage"; - $params = array('stage'=>'final_agreed_1','authorid'=>$userid,'courseworkid'=>$moduleid); + $params = array('stage'=>'final_agreed_1','authorid'=>$userid,'courseworkid'=>$moduleid); - $currentgradesquery = $DB->get_record_sql($sql, $params); + $currentgradesquery = $DB->get_record_sql($sql, $params); - return $currentgradesquery; - } + return $currentgradesquery; + } - public function initialise_post_date($moduledata) { - return 0; - } + public function initialise_post_date($moduledata) { + return 0; + } } \ No newline at end of file diff --git a/classes/modules/turnitin_forum.class.php b/classes/modules/turnitin_forum.class.php index d0240880..7c2cc2a4 100644 --- a/classes/modules/turnitin_forum.class.php +++ b/classes/modules/turnitin_forum.class.php @@ -22,71 +22,71 @@ // TODO: Split out all module specific code from plagiarism/turnitin/lib.php class turnitin_forum { - private $modname; - public $grades_table; - public $filecomponent; - - public function __construct() { - $this->modname = 'forum'; - $this->grades_table = 'grade_grades'; - $this->filecomponent = 'mod_'.$this->modname; - } - - public function is_tutor($context) { - return has_capability($this->get_tutor_capability(), $context); - } - - public function get_tutor_capability() { - return 'plagiarism/turnitin:viewfullreport'; - } - - public function user_enrolled_on_course($context, $userid) { - return has_capability('mod/'.$this->modname.':replypost', $context, $userid); - } - - public function get_author($itemid) { - return ; - } - - public function set_content($linkarray, $moduleid) { - return $linkarray["content"]; + private $modname; + public $grades_table; + public $filecomponent; + + public function __construct() { + $this->modname = 'forum'; + $this->grades_table = 'grade_grades'; + $this->filecomponent = 'mod_'.$this->modname; + } + + public function is_tutor($context) { + return has_capability($this->get_tutor_capability(), $context); + } + + public function get_tutor_capability() { + return 'plagiarism/turnitin:viewfullreport'; + } + + public function user_enrolled_on_course($context, $userid) { + return has_capability('mod/'.$this->modname.':replypost', $context, $userid); + } + + public function get_author($itemid) { + return ; + } + + public function set_content($linkarray, $moduleid) { + return $linkarray["content"]; } public function create_file_event($params) { - return \mod_forum\event\assessable_uploaded::create($params); - } + return \mod_forum\event\assessable_uploaded::create($params); + } - public function get_current_gradequery($userid, $moduleid, $itemid = 0) { - global $DB; + public function get_current_gradequery($userid, $moduleid, $itemid = 0) { + global $DB; - $currentgradequery = $DB->get_record('grade_grades', array('userid' => $userid, 'itemid' => $itemid)); + $currentgradequery = $DB->get_record('grade_grades', array('userid' => $userid, 'itemid' => $itemid)); return $currentgradequery; - } - - public function initialise_post_date($moduledata) { - return 0; - } - - // Get the forum submission id - unfortunately this is rather complex as the db tables are strangely organised. - public function get_discussionid($forumdata) { - - list($querystrid, $discussionid, $reply, $edit, $delete) = explode('_', $forumdata); - - if (empty($discussionid)) { - $parent = ''; - if ($reply != 0) { - $parent = forum_get_post_full($reply); - } else if ($edit != 0) { - $parent = forum_get_post_full($edit); - } else if ($delete != 0) { - $parent = forum_get_post_full($delete); - } - - if (!empty($parent)) { - $discussionid = $parent->discussion; - } - } - - return $discussionid; - } + } + + public function initialise_post_date($moduledata) { + return 0; + } + + // Get the forum submission id - unfortunately this is rather complex as the db tables are strangely organised. + public function get_discussionid($forumdata) { + + list($querystrid, $discussionid, $reply, $edit, $delete) = explode('_', $forumdata); + + if (empty($discussionid)) { + $parent = ''; + if ($reply != 0) { + $parent = forum_get_post_full($reply); + } else if ($edit != 0) { + $parent = forum_get_post_full($edit); + } else if ($delete != 0) { + $parent = forum_get_post_full($delete); + } + + if (!empty($parent)) { + $discussionid = $parent->discussion; + } + } + + return $discussionid; + } } \ No newline at end of file diff --git a/classes/modules/turnitin_workshop.class.php b/classes/modules/turnitin_workshop.class.php index f3745446..3f09b52e 100644 --- a/classes/modules/turnitin_workshop.class.php +++ b/classes/modules/turnitin_workshop.class.php @@ -22,66 +22,66 @@ // TODO: Split out all module specific code from plagiarism/turnitin/lib.php class turnitin_workshop { - private $modname; - public $grades_table; - public $filecomponent; + private $modname; + public $grades_table; + public $filecomponent; - public function __construct() { - $this->modname = 'workshop'; - $this->grades_table = 'grade_grades'; - $this->filecomponent = 'mod_'.$this->modname; - } + public function __construct() { + $this->modname = 'workshop'; + $this->grades_table = 'grade_grades'; + $this->filecomponent = 'mod_'.$this->modname; + } - public function is_tutor($context) { - return has_capability($this->get_tutor_capability(), $context); - } + public function is_tutor($context) { + return has_capability($this->get_tutor_capability(), $context); + } - public function get_tutor_capability() { - return 'plagiarism/turnitin:viewfullreport'; - } + public function get_tutor_capability() { + return 'plagiarism/turnitin:viewfullreport'; + } - public function user_enrolled_on_course($context, $userid) { - return has_capability('mod/'.$this->modname.':submit', $context, $userid); - } + public function user_enrolled_on_course($context, $userid) { + return has_capability('mod/'.$this->modname.':submit', $context, $userid); + } - public function get_author($itemid) { - return ; - } + public function get_author($itemid) { + return ; + } - public function set_content($linkarray, $moduleid) { - return $linkarray["content"]; - } + public function set_content($linkarray, $moduleid) { + return $linkarray["content"]; + } - public function get_onlinetext($userid, $cm) { - global $DB; + public function get_onlinetext($userid, $cm) { + global $DB; - $submission = $DB->get_record('workshop_submissions', - array('authorid' => $userid, 'workshopid' => $cm->instance)); + $submission = $DB->get_record('workshop_submissions', + array('authorid' => $userid, 'workshopid' => $cm->instance)); - $onlinetextdata = new stdClass(); - $onlinetextdata->itemid = $submission->id; - $onlinetextdata->onlinetext = $submission->content; - $onlinetextdata->onlineformat = $submission->contentformat; + $onlinetextdata = new stdClass(); + $onlinetextdata->itemid = $submission->id; + $onlinetextdata->onlinetext = $submission->content; + $onlinetextdata->onlineformat = $submission->contentformat; - return $onlinetextdata; - } + return $onlinetextdata; + } - public function create_file_event($params) { - return \mod_workshop\event\assessable_uploaded::create($params); - } + public function create_file_event($params) { + return \mod_workshop\event\assessable_uploaded::create($params); + } - public function create_text_event($params) { - return \mod_workshop\event\assessable_uploaded::create($params); - } + public function create_text_event($params) { + return \mod_workshop\event\assessable_uploaded::create($params); + } - public function get_current_gradequery($userid, $moduleid, $itemid = 0) { - global $DB; + public function get_current_gradequery($userid, $moduleid, $itemid = 0) { + global $DB; - $currentgradequery = $DB->get_record('grade_grades', array('userid' => $userid, 'itemid' => $itemid)); + $currentgradequery = $DB->get_record('grade_grades', array('userid' => $userid, 'itemid' => $itemid)); return $currentgradequery; - } + } - public function initialise_post_date($moduledata) { - return $moduledata->assessmentend; - } + public function initialise_post_date($moduledata) { + return $moduledata->assessmentend; + } } \ No newline at end of file diff --git a/classes/observer.php b/classes/observer.php index 1489fe37..46ef171d 100644 --- a/classes/observer.php +++ b/classes/observer.php @@ -21,30 +21,30 @@ require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); class plagiarism_turnitin_observer { - /** - * Handle the course_module_deleted event. - * @param \core\event\course_module_deleted $event - */ - public static function course_module_deleted( + /** + * Handle the course_module_deleted event. + * @param \core\event\course_module_deleted $event + */ + public static function course_module_deleted( \core\event\course_module_deleted $event) { - global $DB; + global $DB; $eventdata = $event->get_data(); - $DB->delete_records('plagiarism_turnitin_files', array('cm' => $eventdata['contextinstanceid'])); - $DB->delete_records('plagiarism_turnitin_config', array('cm' => $eventdata['contextinstanceid'])); - } + $DB->delete_records('plagiarism_turnitin_files', array('cm' => $eventdata['contextinstanceid'])); + $DB->delete_records('plagiarism_turnitin_config', array('cm' => $eventdata['contextinstanceid'])); + } - /** - * Handle the course_module_deleted event. - * @param \core\event\course_module_deleted $event - */ - public static function course_reset( - \core\event\course_reset_ended $event) { - $eventdata = $event->get_data(); + /** + * Handle the course_module_deleted event. + * @param \core\event\course_module_deleted $event + */ + public static function course_reset( + \core\event\course_reset_ended $event) { + $eventdata = $event->get_data(); $plugin = new plagiarism_plugin_turnitin(); $plugin->course_reset($eventdata); - } + } /** diff --git a/classes/task/send_submissions.php b/classes/task/send_submissions.php index 2195c69d..9ee45cc4 100644 --- a/classes/task/send_submissions.php +++ b/classes/task/send_submissions.php @@ -32,7 +32,7 @@ */ class send_submissions extends \core\task\scheduled_task { - public function get_name() { + public function get_name() { return get_string('sendqueuedsubmissions', 'plagiarism_turnitin'); } diff --git a/classes/task/update_reports.php b/classes/task/update_reports.php index 36641d4b..a5d8a264 100644 --- a/classes/task/update_reports.php +++ b/classes/task/update_reports.php @@ -32,7 +32,7 @@ */ class update_reports extends \core\task\scheduled_task { - public function get_name() { + public function get_name() { return get_string('updatereportscores', 'plagiarism_turnitin'); } diff --git a/classes/turnitin_class.class.php b/classes/turnitin_class.class.php index 377f8437..e2343227 100644 --- a/classes/turnitin_class.class.php +++ b/classes/turnitin_class.class.php @@ -30,15 +30,15 @@ class turnitin_class { public $sharedrubrics; public function __construct($id) { - global $DB; + global $DB; - $this->id = $id; + $this->id = $id; - if ($turnitincourse = $DB->get_record('turnitintooltwo_courses', + if ($turnitincourse = $DB->get_record('turnitintooltwo_courses', array("courseid" => $id, "course_type" => "PP"))) { - $this->turnitinid = $turnitincourse->turnitin_cid; + $this->turnitinid = $turnitincourse->turnitin_cid; $this->turnitintitle = $turnitincourse->turnitin_ctl; - } + } } /** @@ -47,21 +47,21 @@ public function __construct($id) { * @return */ public function read_class_from_tii() { - // Initialise Comms Object. + // Initialise Comms Object. $turnitincomms = new turnitin_comms(); $turnitincall = $turnitincomms->initialise_api(); $tiiclass = new TiiClass(); try { - $tiiclass->setClassId($this->turnitinid); + $tiiclass->setClassId($this->turnitinid); $response = $turnitincall->readClass($tiiclass); $readclass = $response->getClass(); $rubrics = $readclass->getSharedRubrics(); - $rubricarray = array(); - foreach ($rubrics as $rubric) { - $rubricarray[$rubric->getRubricId()] = $rubric->getRubricName()." [".get_string('sharedrubric', 'plagiarism_turnitin')."]"; + $rubricarray = array(); + foreach ($rubrics as $rubric) { + $rubricarray[$rubric->getRubricId()] = $rubric->getRubricName()." [".get_string('sharedrubric', 'plagiarism_turnitin')."]"; } $this->sharedrubrics = $rubricarray; @@ -70,4 +70,4 @@ public function read_class_from_tii() { $turnitincomms->handle_exceptions($e, 'coursegeterror', false); } } -} \ No newline at end of file +} \ No newline at end of file diff --git a/classes/turnitin_submission.class.php b/classes/turnitin_submission.class.php index 140b62d0..6176d63a 100644 --- a/classes/turnitin_submission.class.php +++ b/classes/turnitin_submission.class.php @@ -21,175 +21,175 @@ class turnitin_submission { - private $id; - private $data; - private $submissiondata; - private $cm; - - public function __construct($id, $data = array()) { - global $DB; - - $this->id = $id; - $this->data = $data; - $this->submissiondata = $DB->get_record('plagiarism_turnitin_files', array('id' => $id)); - $this->cm = get_coursemodule_from_id('', $this->submissiondata->cm); - } - - /** - * Get all relevant submission data to requeue submission for the cron to process. - */ - public function recreate_submission_event() { - global $DB, $CFG; - - // Create module object. + private $id; + private $data; + private $submissiondata; + private $cm; + + public function __construct($id, $data = array()) { + global $DB; + + $this->id = $id; + $this->data = $data; + $this->submissiondata = $DB->get_record('plagiarism_turnitin_files', array('id' => $id)); + $this->cm = get_coursemodule_from_id('', $this->submissiondata->cm); + } + + /** + * Get all relevant submission data to requeue submission for the cron to process. + */ + public function recreate_submission_event() { + global $DB, $CFG; + + // Create module object. $moduleclass = "turnitin_".$this->cm->modname; $moduleobject = new $moduleclass; // Some data depends on submission type. - switch ($this->submissiondata->submissiontype) { - case 'file': - $file = $this->get_file_info(); - - // Collate data and trigger new event for the cron to process. - if ($CFG->branch >= 26) { - $params = array( - 'context' => context_module::instance($this->cm->id), - 'courseid' => $this->cm->course, - 'objectid' => $file->get_itemid(), - 'userid' => $this->submissiondata->userid, - 'other' => array( - 'content' => '', - 'pathnamehashes' => array($this->submissiondata->identifier) - ) - ); - // Forum attachments need the discussion id to be set. - if ($this->cm->modname == "forum") { - $discussionid = $moduleobject->get_discussionid($this->data['forumdata']); - $params['other']['discussionid'] = $discussionid; - $params['other']['triggeredfrom'] = 'turnitin_recreate_submission_event'; - } - - $event = $moduleobject->create_file_event($params); - if ($this->cm->modname != "forum") { - $event->set_legacy_files(array($this->submissiondata->identifier => $file)); - } - $event->trigger(); - } else { - $eventdata = new stdClass(); - $eventdata->modulename = $this->cm->modname; - $eventdata->cmid = $this->cm->id; - $eventdata->courseid = $this->cm->course; - $eventdata->itemid = $file->get_itemid(); - $eventdata->userid = $this->submissiondata->userid; - $eventdata->pathnamehashes = array($this->submissiondata->identifier); - - events_trigger('assessable_file_uploaded', $eventdata); - } - break; - - case 'text_content': - // Get the actual text content. - $onlinetextdata = $moduleobject->get_onlinetext($this->submissiondata->userid, $this->cm); - - // Collate data and trigger new event for the cron to process. - if ($CFG->branch >= 26) { - $params = array( - 'context' => context_module::instance($this->cm->id), - 'courseid' => $this->cm->course, - 'objectid' => $onlinetextdata->itemid, - 'userid' => $this->submissiondata->userid, - 'other' => array( - 'pathnamehashes' => array(), - 'content' => trim($onlinetextdata->onlinetext), - 'format' => $onlinetextdata->onlineformat - ) - ); - - $event = $moduleobject->create_text_event($params, $this->cm); - $event->trigger(); - } else { - $eventdata = new stdClass(); - $eventdata->modulename = $this->cm->modname; - $eventdata->cmid = $this->cm->id; - $eventdata->courseid = $this->cm->course; - $eventdata->itemid = $onlinetextdata->itemid; - $eventdata->userid = $this->submissiondata->userid; - $eventdata->content = trim($onlinetextdata->onlinetext); - - events_trigger('assessable_content_uploaded', $eventdata); - } - break; - - case 'forum_post': - $discussionid = $moduleobject->get_discussionid($this->data['forumdata']); - - $forum = $DB->get_record("forum", array("id" => $this->cm->instance)); - - // Some forum types don't pass in certain values on main forum page. - if ((empty($discussionid) || $querystrid != 0) && ($forum->type == 'blog' || $forum->type == 'single')) { - $discussion = $DB->get_record_sql('SELECT FD.id - FROM {forum_posts} FP JOIN {forum_discussions} FD - ON FP.discussion = FD.id - WHERE FD.forum = ? AND FD.course = ? - AND FP.userid = ? AND FP.message LIKE ? ', - array($forum->id, $forum->course, - $this->submissiondata->userid, $this->data['forumpost']) - ); - $discussionid = $discussion->id; - } - - $submission = $DB->get_record_select('forum_posts', - " userid = ? AND message LIKE ? AND discussion = ? ", - array($this->submissiondata->userid, $this->data['forumpost'], $discussionid)); - - // Collate data and trigger new event for the cron to process. - if ($CFG->branch >= 26) { - $params = array( - 'context' => context_module::instance($this->cm->id), - 'courseid' => $this->cm->course, - 'objectid' => $submission->id, - 'userid' => $this->submissiondata->userid, - 'other' => array( - 'pathnamehashes' => '', - 'content' => trim($this->data['forumpost']), - 'discussionid' => $discussionid, - 'triggeredfrom' => 'turnitin_recreate_submission_event' - ) - ); - $event = \mod_forum\event\assessable_uploaded::create($params); - $event->trigger(); - } else { - $eventdata = new stdClass(); - $eventdata->modulename = $this->cm->modname; - $eventdata->cmid = $this->cm->id; - $eventdata->courseid = $this->cm->course; - $eventdata->itemid = $submission->id; - $eventdata->userid = $this->submissiondata->userid; - $eventdata->content = trim($this->data['forumpost']); - - events_trigger('assessable_content_uploaded', $eventdata); - } - break; - } + switch ($this->submissiondata->submissiontype) { + case 'file': + $file = $this->get_file_info(); + + // Collate data and trigger new event for the cron to process. + if ($CFG->branch >= 26) { + $params = array( + 'context' => context_module::instance($this->cm->id), + 'courseid' => $this->cm->course, + 'objectid' => $file->get_itemid(), + 'userid' => $this->submissiondata->userid, + 'other' => array( + 'content' => '', + 'pathnamehashes' => array($this->submissiondata->identifier) + ) + ); + // Forum attachments need the discussion id to be set. + if ($this->cm->modname == "forum") { + $discussionid = $moduleobject->get_discussionid($this->data['forumdata']); + $params['other']['discussionid'] = $discussionid; + $params['other']['triggeredfrom'] = 'turnitin_recreate_submission_event'; + } + + $event = $moduleobject->create_file_event($params); + if ($this->cm->modname != "forum") { + $event->set_legacy_files(array($this->submissiondata->identifier => $file)); + } + $event->trigger(); + } else { + $eventdata = new stdClass(); + $eventdata->modulename = $this->cm->modname; + $eventdata->cmid = $this->cm->id; + $eventdata->courseid = $this->cm->course; + $eventdata->itemid = $file->get_itemid(); + $eventdata->userid = $this->submissiondata->userid; + $eventdata->pathnamehashes = array($this->submissiondata->identifier); + + events_trigger('assessable_file_uploaded', $eventdata); + } + break; + + case 'text_content': + // Get the actual text content. + $onlinetextdata = $moduleobject->get_onlinetext($this->submissiondata->userid, $this->cm); + + // Collate data and trigger new event for the cron to process. + if ($CFG->branch >= 26) { + $params = array( + 'context' => context_module::instance($this->cm->id), + 'courseid' => $this->cm->course, + 'objectid' => $onlinetextdata->itemid, + 'userid' => $this->submissiondata->userid, + 'other' => array( + 'pathnamehashes' => array(), + 'content' => trim($onlinetextdata->onlinetext), + 'format' => $onlinetextdata->onlineformat + ) + ); + + $event = $moduleobject->create_text_event($params, $this->cm); + $event->trigger(); + } else { + $eventdata = new stdClass(); + $eventdata->modulename = $this->cm->modname; + $eventdata->cmid = $this->cm->id; + $eventdata->courseid = $this->cm->course; + $eventdata->itemid = $onlinetextdata->itemid; + $eventdata->userid = $this->submissiondata->userid; + $eventdata->content = trim($onlinetextdata->onlinetext); + + events_trigger('assessable_content_uploaded', $eventdata); + } + break; + + case 'forum_post': + $discussionid = $moduleobject->get_discussionid($this->data['forumdata']); + + $forum = $DB->get_record("forum", array("id" => $this->cm->instance)); + + // Some forum types don't pass in certain values on main forum page. + if ((empty($discussionid) || $querystrid != 0) && ($forum->type == 'blog' || $forum->type == 'single')) { + $discussion = $DB->get_record_sql('SELECT FD.id + FROM {forum_posts} FP JOIN {forum_discussions} FD + ON FP.discussion = FD.id + WHERE FD.forum = ? AND FD.course = ? + AND FP.userid = ? AND FP.message LIKE ? ', + array($forum->id, $forum->course, + $this->submissiondata->userid, $this->data['forumpost']) + ); + $discussionid = $discussion->id; + } + + $submission = $DB->get_record_select('forum_posts', + " userid = ? AND message LIKE ? AND discussion = ? ", + array($this->submissiondata->userid, $this->data['forumpost'], $discussionid)); + + // Collate data and trigger new event for the cron to process. + if ($CFG->branch >= 26) { + $params = array( + 'context' => context_module::instance($this->cm->id), + 'courseid' => $this->cm->course, + 'objectid' => $submission->id, + 'userid' => $this->submissiondata->userid, + 'other' => array( + 'pathnamehashes' => '', + 'content' => trim($this->data['forumpost']), + 'discussionid' => $discussionid, + 'triggeredfrom' => 'turnitin_recreate_submission_event' + ) + ); + $event = \mod_forum\event\assessable_uploaded::create($params); + $event->trigger(); + } else { + $eventdata = new stdClass(); + $eventdata->modulename = $this->cm->modname; + $eventdata->cmid = $this->cm->id; + $eventdata->courseid = $this->cm->course; + $eventdata->itemid = $submission->id; + $eventdata->userid = $this->submissiondata->userid; + $eventdata->content = trim($this->data['forumpost']); + + events_trigger('assessable_content_uploaded', $eventdata); + } + break; + } $submissiondata = new stdClass(); $submissiondata->id = $this->id; $submissiondata->statuscode = 'queued'; return $DB->update_record('plagiarism_turnitin_files', $submissiondata); - } + } - /** - * Get the file information from Moodle. We really specifically only need the itemid. - */ - public function get_file_info() { - global $DB; - $fs = get_file_storage(); + /** + * Get the file information from Moodle. We really specifically only need the itemid. + */ + public function get_file_info() { + global $DB; + $fs = get_file_storage(); - if (!$file = $fs->get_file_by_hash($this->submissiondata->identifier)) { - return false; - } + if (!$file = $fs->get_file_by_hash($this->submissiondata->identifier)) { + return false; + } - return $file; - } + return $file; + } } \ No newline at end of file diff --git a/jquery/plugins.php b/jquery/plugins.php index fbf8dc88..3ab0be10 100644 --- a/jquery/plugins.php +++ b/jquery/plugins.php @@ -15,6 +15,6 @@ // along with Moodle. If not, see . $plugins = array( - 'plagiarism-turnitin_module' => array('files' => array('turnitin_module.js')), - 'plagiarism-turnitin_settings' => array('files' => array('turnitin_settings.js')) + 'plagiarism-turnitin_module' => array('files' => array('turnitin_module.js')), + 'plagiarism-turnitin_settings' => array('files' => array('turnitin_settings.js')) ); \ No newline at end of file diff --git a/version.php b/version.php index 989091c9..976b860a 100644 --- a/version.php +++ b/version.php @@ -14,10 +14,10 @@ global $CFG; $plugin->cron = 0; if (!empty($CFG->version)) { - $plugin->cron = ($CFG->version > 2014051200) ? 0 : 300; + $plugin->cron = ($CFG->version > 2014051200) ? 0 : 300; } $plugin->dependencies = array( - 'mod_turnitintooltwo' => 2016091401, + 'mod_turnitintooltwo' => 2016091401, 'mod_assign' => 2013110500 ); From 78a9c8d1c96856d5cae3188a3c9b1ded16cfef0f Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 22 Dec 2016 16:04:18 +0000 Subject: [PATCH 36/56] More Travis changes. --- ajax.php | 30 ++++----- ...store_plagiarism_turnitin_plugin.class.php | 2 +- classes/digitalreceipt/pp_receipt_message.php | 1 - classes/modules/turnitin_coursework.class.php | 27 ++++---- classes/modules/turnitin_forum.class.php | 2 +- classes/modules/turnitin_workshop.class.php | 2 +- classes/task/send_submissions.php | 1 - db/messages.php | 15 +++++ db/upgrade.php | 17 +++-- extras.php | 2 +- jquery/plugins.php | 9 ++- jquery/turnitin_module.js | 64 +++++++++---------- jquery/turnitin_settings.js | 18 +++--- lang/ar/plagiarism_turnitin.php | 22 +++---- lang/cs/plagiarism_turnitin.php | 22 +++---- lang/de/plagiarism_turnitin.php | 22 +++---- lang/en/plagiarism_turnitin.php | 22 +++---- lang/es/plagiarism_turnitin.php | 22 +++---- lang/fi/plagiarism_turnitin.php | 22 +++---- lang/fr/plagiarism_turnitin.php | 22 +++---- lang/it/plagiarism_turnitin.php | 22 +++---- lang/ja/plagiarism_turnitin.php | 22 +++---- lang/ko/plagiarism_turnitin.php | 22 +++---- lang/nl/plagiarism_turnitin.php | 22 +++---- lang/pl/plagiarism_turnitin.php | 22 +++---- lang/pt_br/plagiarism_turnitin.php | 22 +++---- lang/ro/plagiarism_turnitin.php | 22 +++---- lang/ru/plagiarism_turnitin.php | 22 +++---- lang/sv/plagiarism_turnitin.php | 22 +++---- lang/tr/plagiarism_turnitin.php | 22 +++---- lang/vi/plagiarism_turnitin.php | 22 +++---- lang/zh_hans/plagiarism_turnitin.php | 22 +++---- lang/zh_tw/plagiarism_turnitin.php | 22 +++---- 33 files changed, 326 insertions(+), 304 deletions(-) diff --git a/ajax.php b/ajax.php index 05f34964..5cd791bb 100644 --- a/ajax.php +++ b/ajax.php @@ -24,7 +24,7 @@ $action = required_param('action', PARAM_ALPHAEXT); $cmid = optional_param('cmid', 0, PARAM_INT); $itemid = optional_param('itemid', 0, PARAM_INT); -if( !empty( $cmid ) ){ +if( !empty( $cmid ) ) { $cm = get_coursemodule_from_id('', $cmid); $context = context_course::instance($cm->course); @@ -115,8 +115,8 @@ case "peermarkmanager": if ($userrole == 'Instructor') { - $plagiarism_plugin_turnitin = new plagiarism_plugin_turnitin(); - $coursedata = $plagiarism_plugin_turnitin->get_course_data($cm->id, $cm->course); + $plagiarismpluginturnitin = new plagiarism_plugin_turnitin(); + $coursedata = $plagiarismpluginturnitin->get_course_data($cm->id, $cm->course); $tiiassignment = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cm->id, 'name' => 'turnitin_assignid')); @@ -187,23 +187,23 @@ $message = optional_param('message', '', PARAM_ALPHAEXT); - // Get the id from the turnitintooltwo_users table so we can update - $turnitin_user = $DB->get_record('turnitintooltwo_users', array('userid' => $USER->id)); + // Get the id from the turnitintooltwo_users table so we can update. + $turnitinuser = $DB->get_record('turnitintooltwo_users', array('userid' => $USER->id)); - // Build user object for update - $eula_user = new stdClass(); - $eula_user->id = $turnitin_user->id; - $eula_user->user_agreement_accepted = 0; + // Build user object for update. + $eulauser = new stdClass(); + $eulauser->id = $turnitinuser->id; + $eulauser->user_agreement_accepted = 0; if ($message == 'turnitin_eula_accepted') { - $eula_user->user_agreement_accepted = 1; - turnitintooltwo_activitylog("User ".$USER->id." (".$turnitin_user->turnitin_uid.") accepted the EULA.", "PP_EULA_ACCEPTANCE"); + $eulauser->user_agreement_accepted = 1; + turnitintooltwo_activitylog("User ".$USER->id." (".$turnitinuser->turnitin_uid.") accepted the EULA.", "PP_EULA_ACCEPTANCE"); } else if ($message == 'turnitin_eula_declined') { - $eula_user->user_agreement_accepted = -1; - turnitintooltwo_activitylog("User ".$USER->id." (".$turnitin_user->turnitin_uid.") declined the EULA.", "PP_EULA_ACCEPTANCE"); + $eulauser->user_agreement_accepted = -1; + turnitintooltwo_activitylog("User ".$USER->id." (".$turnitinuser->turnitin_uid.") declined the EULA.", "PP_EULA_ACCEPTANCE"); } - // Update the user using the above object - $DB->update_record('turnitintooltwo_users', $eula_user, $bulk=false); + // Update the user using the above object. + $DB->update_record('turnitintooltwo_users', $eulauser, $bulk = false); break; case "resubmit_event": diff --git a/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php b/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php index bfddbc08..7b217ad4 100644 --- a/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php +++ b/backup/moodle2/restore_plagiarism_turnitin_plugin.class.php @@ -98,7 +98,7 @@ public function process_turnitin_files($data) { if ($this->task->is_samesite()) { $data = (object)$data; $recordexists = (!empty($data->externalid)) ? $DB->record_exists('plagiarism_turnitin_files', - array('externalid'=>$data->externalid)) : false; + array('externalid' => $data->externalid)) : false; if (!$recordexists) { $data->cm = $this->task->get_moduleid(); diff --git a/classes/digitalreceipt/pp_receipt_message.php b/classes/digitalreceipt/pp_receipt_message.php index e5b9b4ad..5155f213 100644 --- a/classes/digitalreceipt/pp_receipt_message.php +++ b/classes/digitalreceipt/pp_receipt_message.php @@ -1,5 +1,4 @@ get_tutor_capability(),'mod/coursework:addagreedgrade', 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); - return has_any_capability($capabilities,$context); + $capabilities = array($this->get_tutor_capability(), 'mod/coursework:addagreedgrade', 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); + return has_any_capability($capabilities, $context); } public function get_tutor_capability() { @@ -50,8 +50,9 @@ public function get_author($itemid) { $id = 0; - if ($submission = $DB->get_record('coursework_submissions', array('id' => $itemid))) - $id = $submission->authorid; + if ($submission = $DB->get_record('coursework_submissions', array('id' => $itemid))) { + $id = $submission->authorid; + } return $id; } @@ -66,17 +67,17 @@ public function create_file_event($params) { public function get_current_gradequery($userid, $moduleid, $itemid = 0) { global $DB; - $sql = "SELECT * - FROM {coursework_submissions} cs, - {coursework_feedbacks} cf - WHERE cs.id = cf.submissionid - AND cs.authorid = :authorid - AND cs.courseworkid = :courseworkid - AND cf.stage_identifier = :stage"; + $sql = "SELECT * + FROM {coursework_submissions} cs, + {coursework_feedbacks} cf + WHERE cs.id = cf.submissionid + AND cs.authorid = :authorid + AND cs.courseworkid = :courseworkid + AND cf.stage_identifier = :stage"; - $params = array('stage'=>'final_agreed_1','authorid'=>$userid,'courseworkid'=>$moduleid); + $params = array('stage' => 'final_agreed_1','authorid' => $userid,'courseworkid' => $moduleid); - $currentgradesquery = $DB->get_record_sql($sql, $params); + $currentgradesquery = $DB->get_record_sql($sql, $params); return $currentgradesquery; } diff --git a/classes/modules/turnitin_forum.class.php b/classes/modules/turnitin_forum.class.php index 7c2cc2a4..849ba74b 100644 --- a/classes/modules/turnitin_forum.class.php +++ b/classes/modules/turnitin_forum.class.php @@ -45,7 +45,7 @@ public function user_enrolled_on_course($context, $userid) { } public function get_author($itemid) { - return ; + return; } public function set_content($linkarray, $moduleid) { diff --git a/classes/modules/turnitin_workshop.class.php b/classes/modules/turnitin_workshop.class.php index 3f09b52e..e6f00c87 100644 --- a/classes/modules/turnitin_workshop.class.php +++ b/classes/modules/turnitin_workshop.class.php @@ -45,7 +45,7 @@ public function user_enrolled_on_course($context, $userid) { } public function get_author($itemid) { - return ; + return; } public function set_content($linkarray, $moduleid) { diff --git a/classes/task/send_submissions.php b/classes/task/send_submissions.php index 9ee45cc4..c3da93d7 100644 --- a/classes/task/send_submissions.php +++ b/classes/task/send_submissions.php @@ -1,5 +1,4 @@ . + /** * @package plagiarismplugin * @copyright 2010 iParadigms LLC diff --git a/db/upgrade.php b/db/upgrade.php index 4392db0d..6ce73b41 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . // This file keeps track of upgrades to -// the plagiarism Turnitin module +// the plagiarism Turnitin module. /** * @global moodle_database $DB @@ -74,8 +74,8 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { if ($oldversion < 2014012405) { if ($turnitinsetting = $DB->get_record('config_plugins', array('name' => 'turnitin_use', 'plugin' => 'plagiarism'))) { if ($turnitinsetting->value == 1) { - $supported_mods = array('assign', 'forum', 'workshop'); - foreach ($supported_mods as $mod) { + $supportedmods = array('assign', 'forum', 'workshop'); + foreach ($supportedmods as $mod) { $configfield = new stdClass(); $configfield->value = 1; $configfield->plugin = 'plagiarism'; @@ -104,7 +104,7 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { } if ($oldversion < 2014012413) { - // Add new indexes to tables + // Add new indexes to tables. $table = new xmldb_table('plagiarism_turnitin_files'); $index = new xmldb_index('externalid', XMLDB_INDEX_NOTUNIQUE, array('externalid')); if (!$dbman->index_exists($table, $index)) { @@ -258,11 +258,14 @@ function upgrade_dm_successful_uploads() { global $DB, $CFG; // Update successful submissions from Dan Marsden's plugin with incorrect statuscode. - $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET statuscode = 'success', lastmodified = ".time()." WHERE statuscode = '51'"); + $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET statuscode = 'success', + lastmodified = ".time()." WHERE statuscode = '51'"); // Update the lastmodified timestamp from all successful submissions from Dan Marsden's plugin. - $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET lastmodified = ".time()." WHERE statuscode = 'success' AND lastmodified = 0"); + $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET lastmodified = ".time()." + WHERE statuscode = 'success' AND lastmodified = 0"); // Update error codes with submissions from Dan Marsden's plugin. - $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET statuscode = 'error' WHERE statuscode != 'success' AND statuscode != 'pending'"); + $DB->execute("UPDATE ".$CFG->prefix."plagiarism_turnitin_files SET statuscode = 'error' + WHERE statuscode != 'success' AND statuscode != 'pending'"); } diff --git a/extras.php b/extras.php index c1c4f704..d1d98b70 100644 --- a/extras.php +++ b/extras.php @@ -61,7 +61,7 @@ window.document.forms[0].submit(); //-->"); exit; - break; + break; } // Build page. diff --git a/jquery/plugins.php b/jquery/plugins.php index 3ab0be10..c4fe440c 100644 --- a/jquery/plugins.php +++ b/jquery/plugins.php @@ -8,11 +8,16 @@ // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License -// along with Moodle. If not, see . +// along with Moodle. If not, see . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ $plugins = array( 'plagiarism-turnitin_module' => array('files' => array('turnitin_module.js')), diff --git a/jquery/turnitin_module.js b/jquery/turnitin_module.js index 97cd48be..eabcbca8 100644 --- a/jquery/turnitin_module.js +++ b/jquery/turnitin_module.js @@ -16,9 +16,9 @@ jQuery(document).ready(function($) { if (classList[i].indexOf('origreport_') !== -1 && classList[i] != 'pp_origreport_open') { var classStr = classList[i].split("_"); var url = ""; - // URL must be stored in separate div on forums - if ($('.origreport_forum_launch_'+classStr[1]).length > 0) { - url = $('.origreport_forum_launch_'+classStr[1]).html(); + // URL must be stored in separate div on forums. + if ($('.origreport_forum_launch_' + classStr[1]).length > 0) { + url = $('.origreport_forum_launch_' + classStr[1]).html(); } else { url = $(this).attr("id"); } @@ -34,9 +34,9 @@ jQuery(document).ready(function($) { if (classList[i].indexOf('grademark_') !== -1 && classList[i] != 'pp_grademark_open') { var classStr = classList[i].split("_"); var url = ""; - // URL must be stored in separate div on forums - if ($('.grademark_forum_launch_'+classStr[1]).length > 0) { - url = $('.grademark_forum_launch_'+classStr[1]).html(); + // URL must be stored in separate div on forums. + if ($('.grademark_forum_launch_' + classStr[1]).length > 0) { + url = $('.grademark_forum_launch_' + classStr[1]).html(); } else { url = $(this).attr("id"); } @@ -45,7 +45,7 @@ jQuery(document).ready(function($) { } }); - // Open an iframe light box containing the Peermark Manager + // Open an iframe light box containing the Peermark Manager. if ($('.plagiarism_turnitin_peermark_manager_pp_launch').length > 0) { $('.plagiarism_turnitin_peermark_manager_pp_launch').colorbox({ iframe:true, width:"802px", height:"772px", opacity: "0.7", className: "peermark_manager", @@ -57,14 +57,14 @@ jQuery(document).ready(function($) { }); } - // Refresh submissions from settings page + // Refresh submissions from settings page. $(document).on('click', '.plagiarism_turnitin_refresh_grades', function() { $('.plagiarism_turnitin_refresh_grades').hide(); $('.plagiarism_turnitin_refreshing_grades').show(); $.ajax({ type: "POST", - url: M.cfg.wwwroot+"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "update_grade", cmid: $('input[name="coursemodule"]').val(), sesskey: M.cfg.sesskey}, success: function(data) { @@ -74,7 +74,7 @@ jQuery(document).ready(function($) { }); }); - // Open an iframe light box containing the Peermark reviews + // Open an iframe light box containing the Peermark reviews. $(document).on('click', '.peermark_reviews_pp_launch', function() { $('.peermark_reviews_pp_launch').colorbox({ open:true, iframe:true, width:"802px", height:"772px", opacity: "0.7", className: "peermark_reviews", @@ -86,7 +86,7 @@ jQuery(document).ready(function($) { return false; }); - // Open an iframe light box containing the Rubric View + // Open an iframe light box containing the Rubric View. if ($('.rubric_view_pp_launch').length > 0) { $('.rubric_view_pp_launch').colorbox({ iframe:true, width:"832px", height:"772px", opacity: "0.7", className: "rubric_view", @@ -109,15 +109,15 @@ jQuery(document).ready(function($) { var that = $(this); var submissionid = $(this).prop('id').split("_")[2]; - var forumpost = $('#content_'+submissionid).html(); - var forumdata = $('#forumdata_'+submissionid).html(); + var forumpost = $('#content_' + submissionid).html(); + var forumdata = $('#forumdata_' + submissionid).html(); $.ajax({ type: "POST", - url: M.cfg.wwwroot +"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "resubmit_event", submissionid: submissionid, forumpost: forumpost, - forumdata: forumdata, sesskey: M.cfg.sesskey}, + forumdata: forumdata, sesskey: M.cfg.sesskey}, success: function(data) { that.siblings('.turnitin_status').removeClass('hidden'); that.siblings('.pp_resubmitting').addClass('hidden'); @@ -131,7 +131,7 @@ jQuery(document).ready(function($) { return false; }); - // Open an iframe light box containing the EULA View + // Open an iframe light box containing the EULA View. if ($('.pp_turnitin_eula_link').length > 0) { $(document).on('click', '.pp_turnitin_eula_link', function(e) { e.preventDefault(); @@ -144,7 +144,7 @@ jQuery(document).ready(function($) { $.ajax({ type: "POST", - url: M.cfg.wwwroot +"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "actionuseragreement", message: message, sesskey: M.cfg.sesskey}, success: function(data) { window.location.reload(); }, @@ -175,18 +175,18 @@ jQuery(document).ready(function($) { var img = '
'; $('#cboxOverlay').after(img); var top = $(window).scrollTop() + ($(window).height() / 2); - $('.loading_gif').css('top', top+'px'); + $('.loading_gif').css('top', top + 'px'); } function hideLoadingGif() { $('.loading_gif').remove(); } - // Refresh Peermark assignments stored locally for this module + // Refresh Peermark assignments stored locally for this module. function refreshPPPeermarkAssignments() { $.ajax({ type: "POST", - url: M.cfg.wwwroot +"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "refresh_peermark_assignments", cmid: $('input[name="coursemodule"]').val(), sesskey: M.cfg.sesskey}, success: function(data) {} @@ -197,20 +197,20 @@ jQuery(document).ready(function($) { function openDV(dvtype, submissionid, coursemoduleid, url) { dvWindow = window.open('', '_blank'); var loading = '
'; - loading += ''; - loading += '

'+M.str.plagiarism_turnitin.loadingdv+'

'; + loading += ''; + loading += '

' + M.str.plagiarism_turnitin.loadingdv + '

'; loading += '
'; $(dvWindow.document.body).html(loading); - // Get html to launch DV + // Get html to launch DV. $.ajax({ type: "POST", - url: M.cfg.wwwroot+"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "get_dv_html", submissionid: submissionid, dvtype: dvtype, - cmid: coursemoduleid, sesskey: M.cfg.sesskey}, + cmid: coursemoduleid, sesskey: M.cfg.sesskey}, success: function(data) { - $(dvWindow.document.body).html(loading+data); + $(dvWindow.document.body).html(loading + data); dvWindow.document.forms[0].submit(); dvWindow.document.close(); @@ -226,14 +226,14 @@ jQuery(document).ready(function($) { } else { setTimeout( function(){ checkDVClosed(submissionid, coursemoduleid); - }, 500); + }, 500); } } function refreshScores(submission_id, coursemoduleid) { $.ajax({ type: "POST", - url: M.cfg.wwwroot+"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: "update_grade", submission: submission_id, cmid: coursemoduleid, sesskey: M.cfg.sesskey}, success: function(data) { @@ -242,11 +242,11 @@ jQuery(document).ready(function($) { }); } - // Update the DB value for EULA accepted + // Update the DB value for EULA accepted. function userAgreementAccepted( user_id ){ $.ajax({ type: "POST", - url: M.cfg.wwwroot +"/plagiarism/turnitin/ajax.php", + url: M.cfg.wwwroot + "/plagiarism/turnitin/ajax.php", dataType: "json", data: {action: 'acceptuseragreement', user_id: user_id}, success: function(data) { @@ -255,7 +255,7 @@ jQuery(document).ready(function($) { }); } - // Open an iframe light box containing the Peermark Manager + // Open an iframe light box containing the Peermark Manager. if ($('.peermark_manager_launch').length > 0) { $('.peermark_manager_launch').colorbox({ iframe:true, width:"802px", height:"772px", opacity: "0.7", className: "peermark_manager", transition: "none", @@ -274,7 +274,7 @@ jQuery(document).ready(function($) { }); } - // Open an iframe light box containing the Peermark Reviews + // Open an iframe light box containing the Peermark Reviews. if ($('.peermark_reviews_launch').length > 0) { $('.tii_peermark_reviews_launch').colorbox({ iframe:true, width:"802px", height:"772px", opacity: "0.7", className: "peermark_reviews", transition: "none", diff --git a/jquery/turnitin_settings.js b/jquery/turnitin_settings.js index 480bee56..747b848c 100644 --- a/jquery/turnitin_settings.js +++ b/jquery/turnitin_settings.js @@ -1,5 +1,5 @@ jQuery(document).ready(function($) { - $('input[name="errors_select_all"]').click(function() { + $('input[name="errors_select_all"]').click(function() { if ($(this).prop('checked')) { $('.errors_checkbox').prop('checked', true); } else { @@ -7,27 +7,27 @@ jQuery(document).ready(function($) { } }); - $(".pp-resubmit-files").click(function() { - var submission_ids = []; + $(".pp-resubmit-files").click(function() { + var submission_ids = []; $('.errors_checkbox:checked').each(function(i){ submission_ids[i] = $(this).val(); }); - $.ajax({ - type: "POST", + $.ajax({ + type: "POST", url: "ajax.php", dataType: "json", data: {action: "resubmit_events", submission_ids: submission_ids, sesskey: M.cfg.sesskey}, success: function(data) { - window.location.href = window.location.href+"&resubmitted=success"; + window.location.href = window.location.href + "&resubmitted=success"; }, error: function(data, response) { - window.location.href = window.location.href+"&resubmitted=errors"; + window.location.href = window.location.href + "&resubmitted=errors"; } }); - }) + }) - //Disable/enable resubmit selected files when one or more are selected. + // Disable/enable resubmit selected files when one or more are selected. $(document).on('click', '.errors_checkbox, input[name="errors_select_all"]', function() { if ($('.errors_checkbox:checked').length > 0) { $('.pp-resubmit-files').removeAttr('disabled'); diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php index 3c1d2f2d..19f123f7 100755 --- a/lang/ar/plagiarism_turnitin.php +++ b/lang/ar/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'تمكين Turnitin'; $string['excludebiblio'] = 'استثناء المراجع'; $string['excludequoted'] = 'استثناء نصوص الاقتباسات'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '"(لأن Javascript غير Ù…Ùعل لديك سيتوجب عليك تحديث هذه الصÙحة يدويًا قبل أن تتمكن من الإرسال Ùˆ بعد المواÙقة على اتÙاقية المستخدم لـ Turnitin)"'; $string['filedoesnotexist'] = 'تم حذ٠الملÙ'; -// Plugin settings +// Plugin settings. $string['config'] = 'التكوين'; $string['defaults'] = 'الإعدادات الاÙتراضية'; $string['showusage'] = 'إظهار النسخة الاحتياطية للبيانات'; @@ -108,20 +108,20 @@ $string['course'] = 'الدرس'; $string['module'] = 'نموذج'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'عرض تقرير الاصالة'; $string['launchrubricview'] = 'مشاهدة المعيار القياسي المستخدم لتحديد العلامات'; $string['turnitinppulapost'] = 'لم يتم إرسال ملÙÙƒ إلى Turnitin. الرجاء النقر هنا لقبول اتÙاقية ترخيص المستخدم النهائي.'; $string['ppsubmissionerrorseelogs'] = 'لم يتم إرسال هذا المل٠إلى TurnitinØŒ ÙŠÙرجى استشارة مسؤول المدرسة لديك.'; $string['ppsubmissionerrorstudent'] = 'لم ÙŠÙرسل هذا المل٠إلى TurnitinØŒ ÙŠÙرجى استشارة المدرس للحصول على مزيد من التÙاصيل.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'إشعارات الإيصال الرقمي للمكون الإضاÙÙŠ الخاص بسرقة محتوى Turnitin'; $string['digitalreceipt'] = 'إيصال رقمي'; $string['digital_receipt_subject'] = 'هذا هو الإيصال الرقمي الخاص بك'; $string['pp_digital_receipt_message'] = 'عزيزي {$a->firstname} {$a->lastname}ØŒ

لقد أرسلت بنجاح مل٠{$a->submission_title} إلى مهمة {$a->assignment_name}{$a->assignment_part} ÙÙŠ الÙصل الدراسي {$a->course_fullname} ÙÙŠ {$a->submission_date}. معر٠الإرسال هو {$a->submission_id}. يمكن رؤية الإيصال الرقمي الكامل الخاص بك وطباعته من زر الطباعة/التنزيل ÙÙŠ عارض الوثائق.

شكرًا لاستخدامك Turnitin،

Ùريق Turnitin.'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'معر٠Turnitin '; $string['turnitinstatus'] = 'حالة Turnitin '; $string['pending'] = 'قيد الانتظار'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'لم يقم الطالب بعرض هذا المستند.'; $string['launchpeermarkreviews'] = 'ابدأ تشغيل مراجعات Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'عدد الأحداث ÙÙŠ قائمة أحداث المكون الإضاÙÙŠ الخاص بسرقة المحتوى'; $string['ppcronsubmissionlimitreached'] = 'لن يتم إرسال إرسالات إضاÙية إلى Turnitin من خلال تنÙيذ هذا الكرون، حيث يتم معالجة {$a} Ùقط لكل تشغيل.'; $string['cronsubmittedsuccessfully'] = 'إرسال: تم إرسال{$a->title} (معر٠TII: {$a->submissionid}) للمهمة {$a->assignmentname} على الدرس {$a->coursename} بنجاح إلى Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Ùشل ÙÙŠ حذ٠ارسال Turnitin. تك حذ٠نسخة Moodle المحلية لكن الإرسال إلى Turnitin لم يمكن حذÙÙ‡.'; $string['ppeventsfailedconnection'] = 'لن يتم معالجة أي أحداث بواسطة المكون الإضاÙÙŠ الخاص بسرقة محتويات Turnitin من خلال تنÙيذ هذا الكرون، حيث يتعذر إنشاء اتصال بـ Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'يرجى التشاور مع معلمك أو مسؤول النظام للحصول على مزيد من التÙاصيل.'; $string['faultcode'] = 'رمز الخطأ'; $string['line'] = 'خط'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'حدث خطأ عند محاولة إعادة تسليم ما قمت بتسليمه الى Turnitin'; $string['tiisubmissiongeterror'] = 'حدث خطأ عند محاولة خلق المهمة ÙÙŠ Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'إغلاق'; $string['loadingdv'] = 'جاري تحميل عارض وثائق Turnitin ...'; $string['changerubricwarning'] = 'سيؤدي تغيير أو إزالة أي معيار قياسي إلى إزالة جميع الدرجات القياسية الحالية من المستندات ÙÙŠ هذه المهمة، التي تشتمل على بطاقات الدرجات التي تم تعليمها مسبقًا. ستظل الدرجات الإجمالية للمستندات المعلمة مسبقًا كما هي.'; $string['messageprovider:submission'] = 'إشعارات الإيصال الرقمي للمكون الإضاÙÙŠ الخاص بسرقة محتوى Turnitin '; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'حالة Turnitin'; $string['deleted'] = 'تم حذÙ'; $string['pending'] = 'قيد الانتظار'; diff --git a/lang/cs/plagiarism_turnitin.php b/lang/cs/plagiarism_turnitin.php index 6b860fd2..bca9d4c3 100755 --- a/lang/cs/plagiarism_turnitin.php +++ b/lang/cs/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Povolit Turnitin'; $string['excludebiblio'] = 'Nezahrnout bibliografii'; $string['excludequoted'] = 'Nezahrnout citovaný materiál'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Jelikož nemáte zapnutý jazyk Javascript, budete muset tuto stránku ruÄnÄ› obnovit pÅ™edtím, než budete moci provést odevzdání své práce, a to až po pÅ™ijetí Podmínek pro uživatele Turnitin)'; $string['filedoesnotexist'] = 'Soubor byl smazán.'; -// Plugin settings +// Plugin settings. $string['config'] = 'Konfigurace'; $string['defaults'] = 'Výchozí nastavení'; $string['showusage'] = 'Zobrazit výpis dat'; @@ -108,20 +108,20 @@ $string['course'] = 'Kurz'; $string['module'] = 'Modul'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Zobrazit zprávu o původnosti'; $string['launchrubricview'] = 'Zobrazit rubriku použitou ke známkování'; $string['turnitinppulapost'] = 'Váš soubory nebyl odevzdán do systému Turnitin. Kliknutím zde pÅ™ijmete naÅ¡i smlouvu EULA.'; $string['ppsubmissionerrorseelogs'] = 'Soubor nebyl odevzdán do systému Turnitin. PoraÄte se se správcem systému.'; $string['ppsubmissionerrorstudent'] = 'Soubor nebyl pÅ™edán do systému Turnitin. Další informace vám podá váš vyuÄující.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Oznámení digitálního příjmu pluginu plagiátorství Turnitin'; $string['digitalreceipt'] = 'Digitální doklad'; $string['digital_receipt_subject'] = 'Toto je váš digitální doklad Turnitin'; $string['pp_digital_receipt_message'] = 'Vážený {$a->firstname} {$a->lastname},

úspěšnÄ› jste odevzdal/a soubor {$a->submission_title} do pÅ™iÅ™azení {$a->assignment_name}{$a->assignment_part} v kurzu {$a->course_fullname} na {$a->submission_date}. VaÅ¡e ID odevzdání je {$a->submission_id}. Váš digitální doklad lze zobrazit a vytisknout pomocí tlaÄítka tisk/stáhnout v ProhlížeÄi dokumentů.

Děkujeme, že používáte systém Turnitin,

Tým Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'ID Turnitin'; $string['turnitinstatus'] = 'Stav systému Turnitin'; $string['pending'] = 'Probíhá'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Student si tuto práci neprohlédl.'; $string['launchpeermarkreviews'] = 'Spustit Posudky Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'PoÄet událostí ve frontÄ› pluginu plagiátorství'; $string['ppcronsubmissionlimitreached'] = 'Do systému Turnitin nebyly odeslány žádné další odevzdání tímto spuÅ¡tÄ›ním cron, jelikož na spuÅ¡tÄ›ní bylo zpracováno pouze {$a}'; $string['cronsubmittedsuccessfully'] = 'Odevzdání: {$a->title} (TII ID: {$a->submissionid}) pro pÅ™iÅ™azení {$a->assignmentname} v kurzu {$a->coursename} bylo úspěšnÄ› odevzdáno do systému Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Smazání odevzdaných prací Turnitin se nezdaÅ™ilo. Místní kopie Moodle byla odstranÄ›na, ale odevzdané práce v systému Turnitin nebylo možné smazat.'; $string['ppeventsfailedconnection'] = 'V rámci tohoto spuÅ¡tÄ›ní cron nebudou pluginem plagiátorství Turnitin zpracovány žádné události, jelikož pÅ™ipojení k systému Turnitin nelze navázat.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Další informace vám podá váš vyuÄující nebo správce systému.'; $string['faultcode'] = 'Chybný kód'; $string['line'] = 'Řádek'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'DoÅ¡lo k chybÄ› pÅ™i opÄ›tovném odeslání vaší odevzdané práce do systému Turnitin'; $string['tiisubmissiongeterror'] = 'DoÅ¡lo k chybÄ› pÅ™i získávání odevzdané práce ze systému Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Zavřít'; $string['loadingdv'] = 'NaÄítá se ProhlížeÄ dokumentů Turnitin...'; $string['changerubricwarning'] = 'Úprava nebo odpojení rubriky odstraní vÅ¡echna existující bodování rubrik u prací v tomto úkolu vÄetnÄ› bodovacích karet, které byly pÅ™edtím oznámkované. U dříve ohodnocených prací zůstane celkové hodnocení zachováno.'; $string['messageprovider:submission'] = 'Oznámení digitálního příjmu pluginu plagiátorství Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Stav systému Turnitin'; $string['deleted'] = 'Smazáno'; $string['pending'] = 'Probíhá'; diff --git a/lang/de/plagiarism_turnitin.php b/lang/de/plagiarism_turnitin.php index e3875b60..29782ece 100755 --- a/lang/de/plagiarism_turnitin.php +++ b/lang/de/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Turnitin aktivieren'; $string['excludebiblio'] = 'Bibliografie ausschließen'; $string['excludequoted'] = 'Zitiertes Material ausschließen'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Da Sie Javascript nicht aktiviert haben, müssen Sie diese Seite manuell aktualisieren, ehe Sie nach dem Akzeptieren der Nutzungsbedingungen von Turnitin eine Übermittlung vornehmen können)'; $string['filedoesnotexist'] = 'Datei wurde gelöscht'; -// Plugin settings +// Plugin settings. $string['config'] = 'Konfiguration'; $string['defaults'] = 'Standardeinstellungen'; $string['showusage'] = 'Datenspeicher anzeigen'; @@ -108,20 +108,20 @@ $string['course'] = 'Kurs'; $string['module'] = 'Module'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Echtheitsbericht anzeigen'; $string['launchrubricview'] = 'Die für das Markieren verwendete Rubik anzeigen'; $string['turnitinppulapost'] = 'Ihre Datei wurde nicht an Turnitin übermittelt. Klicken Sie hier, um unsere EULA zu akzeptieren.'; $string['ppsubmissionerrorseelogs'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; $string['ppsubmissionerrorstudent'] = 'Diese Datei wurde nicht an Turnitin übermittelt, für zusätzliche Details kontaktieren Sie bitte Ihren Tutor'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; $string['digitalreceipt'] = 'Digitaler Beleg'; $string['digital_receipt_subject'] = 'Dies ist Ihr digitaler Beleg von Turnitin.'; $string['pp_digital_receipt_message'] = 'Sehr geehrte/r {$a->firstname} {$a->lastname},

Sie haben die Datei {$a->submission_title} für die Aufgabe {$a->assignment_name}{$a->assignment_part} in Kurs {$a->course_fullname} am {$a->submission_date} erfolgreich hochgeladen. Ihre Übermittlungs-ID lautet {$a->submission_id}. Ihren vollständigen digitalen Beleg können Sie über die Schaltfläche „Drucken/Download“ in der Dokumentenansicht anzeigen und drucken.

Vielen Dank, dass Sie Turnitin verwenden,

das Turnitin-Team'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin-ID'; $string['turnitinstatus'] = 'Turnitin-Status'; $string['pending'] = 'Ausstehend'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Der Student hat die Arbeit nicht aufgerufen.'; $string['launchpeermarkreviews'] = 'PeerMark-Reviews starten'; -// Cron +// Cron. $string['ppqueuesize'] = 'Anzahl der Ereignisse in der Ereigniswarteschlange des Plugin zur Plagiarismuserkennung'; $string['ppcronsubmissionlimitreached'] = 'Von diesem Cron-Ausdruck werden keine weiteren Übermittlungen mehr an Turnitin gesendet, da nur {$a} pro Ausführung verarbeitet werden.'; $string['cronsubmittedsuccessfully'] = 'Übermittlung: {$a->title} (TII-ID: {$a->submissionid}) für die Aufgabe {$a->assignmentname} in Kurs {$a->coursename} wurde erfolgreich an Turnitin übermittelt.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Die Löschung der Turnitin-Übermittlung ist fehlgeschlagen. Die lokale Moodle-Kopie wurde entfernt, die Übermittlung bei Turnitin konnte jedoch nicht gelöscht werden.'; $string['ppeventsfailedconnection'] = 'In dieser Cron-Ausführung werden vom Turnitin-Plugin zur Plagiarismuserkennung keine Ereignisse verarbeitet, da keine Verbindung mit Turnitin hergestellt werden kann.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Weitere Informationen erhalten Sie von Ihrem Tutor oder dem Systemadministrator.'; $string['faultcode'] = 'Fehlercode'; $string['line'] = 'Linie'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Beim Versuch, Ihre Übermittlung zu Turnitin erneut vorzunehmen, ist ein Fehler aufgetreten.'; $string['tiisubmissiongeterror'] = 'Beim Versuch, eine Übermittlung vom Turnitin zu erhalten, ist ein Fehler aufgetreten.'; -// Javascript +// Javascript. $string['closebutton'] = 'Schließen'; $string['loadingdv'] = 'Turnitin-Dokumentenansicht wird geladen...'; $string['changerubricwarning'] = 'Durch das Ändern oder Entfernen einer Rubrik werden alle vorhandenen Rubrikbewertungen der Arbeiten zu dieser Aufgabe entfernt, einschließlich ausgefüllter Bewertungskarten. Gesamtnoten für zuvor bewertete Arbeiten bleiben erhalten.'; $string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin-Status'; $string['deleted'] = 'Gelöscht'; $string['pending'] = 'Ausstehend'; diff --git a/lang/en/plagiarism_turnitin.php b/lang/en/plagiarism_turnitin.php index 603efa26..b3c34976 100644 --- a/lang/en/plagiarism_turnitin.php +++ b/lang/en/plagiarism_turnitin.php @@ -1,17 +1,17 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Enable Turnitin'; $string['excludebiblio'] = 'Exclude Bibliography'; $string['excludequoted'] = 'Exclude Quoted Material'; @@ -76,7 +76,7 @@ $string['noscriptula'] = '(As you do not have javascript enabled you will have to manually refresh this page before you can make a submission after accepting the Turnitin User Agreement)'; $string['filedoesnotexist'] = 'File has been deleted'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configuration'; $string['defaults'] = 'Default Settings'; $string['showusage'] = 'Show Data Dump'; @@ -107,20 +107,20 @@ $string['course'] = 'Course'; $string['module'] = 'Module'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'View Originality Report'; $string['launchrubricview'] = 'View the Rubric used for marking'; $string['turnitinppulapost'] = 'Your file has not been submitted to Turnitin. Please click here to accept our EULA.'; $string['ppsubmissionerrorseelogs'] = 'This file has not been submitted to Turnitin, please consult your system administrator'; $string['ppsubmissionerrorstudent'] = 'This file has not been submitted to Turnitin, please consult your tutor for further details'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin Plagiarism Plugin Digital Receipt notifications'; $string['digitalreceipt'] = 'Digital Receipt'; $string['digital_receipt_subject'] = 'This is your Turnitin Digital Receipt'; $string['pp_digital_receipt_message'] = 'Dear {$a->firstname} {$a->lastname},

You have successfully submitted the file {$a->submission_title} to the assignment {$a->assignment_name}{$a->assignment_part} in the class {$a->course_fullname} on {$a->submission_date}. Your submission id is {$a->submission_id}. Your full digital receipt can be viewed and printed from the print/download button in the Document Viewer.

Thank you for using Turnitin,

The Turnitin Team'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin ID'; $string['turnitinstatus'] = 'Turnitin status'; $string['pending'] = 'Pending'; @@ -131,7 +131,7 @@ $string['student_notread'] = 'The student has not viewed this paper.'; $string['launchpeermarkreviews'] = 'Launch Peermark Reviews'; -// Cron +// Cron. $string['ppqueuesize'] = 'Number of events in the Plagiarism Plugin events queue'; $string['ppcronsubmissionlimitreached'] = 'No further submissions will be sent to Turnitin by this cron execution as only {$a} are processed per run'; $string['cronsubmittedsuccessfully'] = 'Submission: {$a->title} (TII ID: {$a->submissionid}) for the assignment {$a->assignmentname} on the course {$a->coursename} was successfully submitted to Turnitin.'; @@ -139,7 +139,7 @@ $string['turnitindeletionerror'] = 'Turnitin submission deletion failed. The local Moodle copy was removed but the submission in Turnitin could not be deleted.'; $string['ppeventsfailedconnection'] = 'No events will be processed by the Turnitin plagiarism plugin by this cron execution as a connection to Turnitin can not be established.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Please consult your tutor or system administrator for further details'; $string['faultcode'] = 'Fault Code'; $string['line'] = 'Line'; @@ -168,13 +168,13 @@ $string['pp_updatesubmissionerror'] = 'There was an error trying to resubmit your submission to Turnitin'; $string['tiisubmissiongeterror'] = 'There was an error when trying to get a submission from Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Close'; $string['loadingdv'] = 'Loading Turnitin Document Viewer...'; $string['changerubricwarning'] = 'Changing or detaching a rubric will remove all existing rubric scoring from papers in this assignment, including scorecards which have previously been marked. Overall grades for previously graded papers will remain.'; $string['messageprovider:submission'] = 'Turnitin Plagiarism Plugin Digital Receipt notifications'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin status'; $string['deleted'] = 'Deleted'; $string['pending'] = 'Pending'; diff --git a/lang/es/plagiarism_turnitin.php b/lang/es/plagiarism_turnitin.php index f0bb30d6..7bdf3679 100755 --- a/lang/es/plagiarism_turnitin.php +++ b/lang/es/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Habilitar Turnitin'; $string['excludebiblio'] = 'Excluir bibliografía'; $string['excludequoted'] = 'Excluir citas bibliográficas'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Como no tienes javascript habilitado, tendrás que actualizar manualmente esta página antes de poder realizar una entrega después de aceptar el acuerdo de usuario de Turnitin)'; $string['filedoesnotexist'] = 'El archivo ha sido eliminado'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configuración'; $string['defaults'] = 'Configuración predeterminada'; $string['showusage'] = 'Mostrar volcado de datos'; @@ -108,20 +108,20 @@ $string['course'] = 'Curso'; $string['module'] = 'Módulo'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Ver el reporte de originalidad'; $string['launchrubricview'] = 'Ver la matriz de evaluación que se ha usado para corregir'; $string['turnitinppulapost'] = 'El archivo no ha sido entregado a Turnitin. Haz clic aquí para aceptar el acuerdo de licencia de software.'; $string['ppsubmissionerrorseelogs'] = 'Este archivo no se ha entregado a Turnitin. Consulta con el administrador del sistema'; $string['ppsubmissionerrorstudent'] = 'Este archivo no se ha entregado a Turnitin. Consulta con tu tutor para obtener más detalles'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Notificaciones con recibo digital del plugin de plagio de Turnitin'; $string['digitalreceipt'] = 'Recibo digital'; $string['digital_receipt_subject'] = 'Este es su recibo digital de Turnitin'; $string['pp_digital_receipt_message'] = 'Estimado {$a->firstname} {$a->lastname}:

Ha enviado correctamente el archivo {$a->submission_title} para el trabajo {$a->assignment_name}{$a->assignment_part} de la clase {$a->course_fullname} en {$a->submission_date}. El código de identificación de la entrega es {$a->submission_id}. El recibo digital completo está disponible para ser visto e impreso mediante el botón imprimir/descargar que se encuentra en el visor de documentos.

Gracias por utilizar Turnitin,

El equipo de Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Identificador de Turnitin'; $string['turnitinstatus'] = 'Estado de Turnitin'; $string['pending'] = 'Pendiente'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'El estudiante no ha visto este trabajo.'; $string['launchpeermarkreviews'] = 'Activar las revisiones de Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Cantidad de eventos en la lista de eventos del plugin de plagio'; $string['ppcronsubmissionlimitreached'] = 'No se enviarán otras entregas a Turnitin mediante esta ejecución de cron, ya que solamente se procesan {$a} por cada ejecución'; $string['cronsubmittedsuccessfully'] = 'Entrega: {$a->title} (ID de TII: {$a->submissionid}) para el trabajo {$a->assignmentname} del curso {$a->coursename} se entregó correctamente a Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'La eliminación de la entrega a Turnitin ha fallado. La copia local de Moodle ha sido eliminada, pero la entrega a Turnitin no.'; $string['ppeventsfailedconnection'] = 'No se procesarán eventos mediante el plugin de plagio de Turnitin que se lleva a cabo mediante esta ejecución de cron, debido a que no puede establecerse una conexión con Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Consulta con tu tutor o administrador para obtener más detalles'; $string['faultcode'] = 'Código de errores'; $string['line'] = 'Línea'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Ha ocurrido un error al intentar entregar de nuevo tu entrega en Turnitin'; $string['tiisubmissiongeterror'] = 'Ha ocurrido un error al intentar obtener una entrega de Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Cerrar'; $string['loadingdv'] = 'Cargando el visor de documentos de Turnitin...'; $string['changerubricwarning'] = 'Cambiar o desvincular una matriz de evaluación eliminará todas las correcciones existentes de los trabajos de este ejercicio, incluidas las que ya se han utilizado. Las notas generales de otros trabajos corregidos anteriormente se mantendrán.'; $string['messageprovider:submission'] = 'Notificaciones con recibo digital del plugin de plagio de Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Estado de Turnitin'; $string['deleted'] = 'Eliminado'; $string['pending'] = 'Pendiente'; diff --git a/lang/fi/plagiarism_turnitin.php b/lang/fi/plagiarism_turnitin.php index 5792093e..aa91156d 100755 --- a/lang/fi/plagiarism_turnitin.php +++ b/lang/fi/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Aktivoi Turnitin'; $string['excludebiblio'] = 'Jätä kirjallisuusluettelo pois'; $string['excludequoted'] = 'Sulje Lainaukset Pois'; @@ -78,7 +78,7 @@ $string['noscriptula'] = '(Joudut päivittämään tämän sivun manuaalisesti, koska sinulla ei ole JavaScriptiä käytössä, ennenkuin voit, -Turnitinin Käyttäjäsopimuksen hyväksymisen jälkeen, tehdä palautuksen)'; $string['filedoesnotexist'] = 'Tiedosto on hävitetty'; -// Plugin settings +// Plugin settings. $string['config'] = 'Konfiguraatio'; $string['defaults'] = 'Oletusarvoiset asetukset'; $string['showusage'] = 'Näytä Data Dump'; @@ -109,20 +109,20 @@ $string['course'] = 'Kurssi'; $string['module'] = 'Moduuli'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Katsele Alkuperäisyysraporttia'; $string['launchrubricview'] = 'Katsele merkintään käytettyä Arvostelumatriisia'; $string['turnitinppulapost'] = 'Tiedostoasi ei ole toimitettu Turnitiniin. Hyväksy käyttöoikeussopimuksemme napsauttamalla tätä.'; $string['ppsubmissionerrorseelogs'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin. Kysyä neuvoa järjestelmäsi ylläpitäjältä'; $string['ppsubmissionerrorstudent'] = 'Tätä tiedostoa ei ole toimitettu Turnitiniin. Pyydä lisätietoja tuutoriltasi.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin Plagiointi Plugin-lisäosa Sähköinen Kuitti ilmoitukset'; $string['digitalreceipt'] = 'Sähköinen Kuitti'; $string['digital_receipt_subject'] = 'Tämä on sähköinen Turnitin-kuittisi'; $string['pp_digital_receipt_message'] = 'Hyvä {$a->firstname} {$a->lastname}!

Olet palauttanut tiedoston {$a->submission_title} tehtävään {$a->assignment_name}{$a->assignment_part} luokassa {$a->course_fullname} {$a->submission_date}. Palautustunnus on {$a->submission_id}. Voit tarkastella sähköistä kuittiasi tai tulostaa sen Dokumenttikatselimen tulosta/lataa-painikkeella.

Kiitos, että käytät Turnitinia.

Turnitin-tiimi'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin-tunnusluku'; $string['turnitinstatus'] = 'Turnitin-tila'; $string['pending'] = 'Avoin'; @@ -133,7 +133,7 @@ $string['student_notread'] = 'Opiskelija ei ole katsonut tätä työtä.'; $string['launchpeermarkreviews'] = 'Käynnistä Peermark Katselmukset'; -// Cron +// Cron. $string['ppqueuesize'] = 'Tapahtumien määrä Plagiointi Plugin-lisäosan tapahtumajonossa'; $string['ppcronsubmissionlimitreached'] = 'Tämä cron-suoritus ei lähetä muita palautuksia Turnitiniin, sillä kerralla käsitellään vain {$a}'; $string['cronsubmittedsuccessfully'] = 'Palautus: {$a->title} (TII-tunnus: {$a->submissionid}) tehtävään {$a->assignmentname} kurssilla {$a->coursename} palautettiin Turnitiniin.'; @@ -141,7 +141,7 @@ $string['turnitindeletionerror'] = 'Turnitiniin tehdyn palautuksen poisto epäonnistui. Paikallinen Moodle-kopio poistettiin, mutta Turnitiniin tehdyn palautuksen poisto ei onnistunut.'; $string['ppeventsfailedconnection'] = 'Turnitin Plagiointi Plugin-lisäosa ei käsittele tapahtumia tässä cron-suorituksessa, sillä yhteyttä Turnitiniin ei voida muodostaa.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Kysy lisätietoja tutoriltasi tai järjestelmäsi ylläpitäjältä'; $string['faultcode'] = 'Vikakoodi'; $string['line'] = 'Rivi'; @@ -171,13 +171,13 @@ $string['pp_updatesubmissionerror'] = 'Kun työtäsi yritettiin palauttaa uudelleen Turnitiniin, kohdattiin virhe'; $string['tiisubmissiongeterror'] = 'Kun palautettua työtä yritettiin saada Turnitinistä, kohdattiin virhe'; -// Javascript +// Javascript. $string['closebutton'] = 'Sulje'; $string['loadingdv'] = 'Ladataan Turnitinin Dokumenttikatselinta...'; $string['changerubricwarning'] = 'Arvostelumatriisin muuttaminen tai irrottaminen poistaa kaiken arvostelumatriisi-arvostelun tämän tehtävän töistä, kuten pistekortit, joihin on aiemmin tehty merkintöjä. Aiemmin arvosteltujen töiden yleisarvosanat jäävät koskematta.'; $string['messageprovider:submission'] = 'Turnitin Plagiointi Plugin-lisäosa Sähköinen Kuitti ilmoitukset'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin-tila'; $string['deleted'] = 'Poistettu'; $string['pending'] = 'Avoin'; diff --git a/lang/fr/plagiarism_turnitin.php b/lang/fr/plagiarism_turnitin.php index ebef3723..017b3a61 100755 --- a/lang/fr/plagiarism_turnitin.php +++ b/lang/fr/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Activer Turnitin'; $string['excludebiblio'] = 'Exclure la bibliographie'; $string['excludequoted'] = 'Exclure les citations'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Comme vous n’avez pas JavaScript activé, vous devez manuellement actualiser cette page avant de pouvoir envoyer un document, et ce, après avoir accepté le contrat d’utilisateur de Turnitin)'; $string['filedoesnotexist'] = 'Le fichier a été supprimé'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configuration'; $string['defaults'] = 'Réglages par défaut'; $string['showusage'] = 'Affichez le contenu de la base de données'; @@ -108,20 +108,20 @@ $string['course'] = 'Cours'; $string['module'] = 'Module'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Afficher le rapport d’originalité'; $string['launchrubricview'] = 'Voir la rubrique utilisée pour corriger'; $string['turnitinppulapost'] = 'Votre fichier n’a pas été renvoyé à Turnitin. Veuillez cliquer ici pour accepter notre CLUF.'; $string['ppsubmissionerrorseelogs'] = 'Le fichier n’a pas été envoyé à Turnitin, veuillez consulter votre administrateur système pour plus de renseignements'; $string['ppsubmissionerrorstudent'] = 'Le fichier n’a pas été envoyé à Turnitin, veuillez consulter votre tuteur pour plus de renseignements'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Notifications d’accusé de réception électronique du plugin de plagiat Turnitin'; $string['digitalreceipt'] = 'Accusé de réception électronique'; $string['digital_receipt_subject'] = 'Voici votre accusé de réception électronique Turnitin'; $string['pp_digital_receipt_message'] = 'Cher(e) {$a->firstname} {$a->lastname},

Vous avez bien envoyé le fichier {$a->submission_title} pour l’exercice {$a->assignment_name}{$a->assignment_part} du cours {$a->course_fullname} le {$a->submission_date}. Votre numéro d’envoi est le {$a->submission_id}. Votre accusé de réception électronique peut être consulté dans son intégralité et imprimé à l’aide du bouton Imprimer/Télécharger dans le Visualiseur de documents.

Merci d’utiliser Turnitin,

L’équipe Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'N° Turnitin'; $string['turnitinstatus'] = 'Statut de Turnitin'; $string['pending'] = 'En attente'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'L'étudiant n'a pas consulté cette copie.'; $string['launchpeermarkreviews'] = 'Démarrer les évaluations Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Nombre d’éléments dans la file d’événements du plugin de plagiat'; $string['ppcronsubmissionlimitreached'] = 'Aucun envoi additionnel ne sera adressé à Turnitin lors de cette exécution de cron, car seulement {$a} éléments sont traités par exécution'; $string['cronsubmittedsuccessfully'] = 'Envoi : {$a->title} (n° TII : {$a->submissionid}) pour l’exercice {$a->assignmentname} du cours {$a->coursename} a bien été envoyé à Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'La suppression de la soumission a échoué. La copie locale de Moodle a été supprimée, mais pas l’envoi à Turnitin.'; $string['ppeventsfailedconnection'] = 'Aucun événement ne sera traité par le plugin de plagiat Turnitin pour cette exécution de cron, car aucune connexion à Turnitin ne peut être établie.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Veuillez consulter votre tuteur ou l’administrateur système pour plus de détails'; $string['faultcode'] = 'Code d’erreur'; $string['line'] = 'Ligne'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Une erreur est survenue en essayant de renvoyer votre document à Turnitin'; $string['tiisubmissiongeterror'] = 'Une erreur est survenue en tentant d'obtenir une transmission de Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Fermer'; $string['loadingdv'] = 'Chargement du Visualiseur de Document Turnitin...'; $string['changerubricwarning'] = 'Si vous modifiez ou supprimez une rubrique, l’ensemble des notes de rubrique des copies de cet exercice (dont les scores des fiches d’évaluation) sera effacé. Les notes globales des copies déjà évaluées resteront, quant à elles, inchangées.'; $string['messageprovider:submission'] = 'Notifications d’accusé de réception électronique du plugin de plagiat Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Statut de Turnitin'; $string['deleted'] = 'Supprimé'; $string['pending'] = 'En attente'; diff --git a/lang/it/plagiarism_turnitin.php b/lang/it/plagiarism_turnitin.php index 65d239b0..80cd1745 100755 --- a/lang/it/plagiarism_turnitin.php +++ b/lang/it/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Abilita Turnitin'; $string['excludebiblio'] = 'Escludi bibliografia'; $string['excludequoted'] = 'Escludi materiale citato'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Dal momento che javascript non è abilitato, dovrai aggiornare manualmente questa pagina per poter consegnare un elaborato dopo aver accettato il Contratto con l'utente di Turnitin)'; $string['filedoesnotexist'] = 'Il file è stato cancellato'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configurazione'; $string['defaults'] = 'Impostazioni predefinite'; $string['showusage'] = 'Mostra data dump'; @@ -108,20 +108,20 @@ $string['course'] = 'Corso'; $string['module'] = 'Modulo'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Visualizza Originality Report'; $string['launchrubricview'] = 'Visualizza la pagella utilizzata per la valutazione'; $string['turnitinppulapost'] = 'Il file non è stato consegnato a Turnitin. Fai clic qui per accettare il Contratto di licenza con l'utente finale.'; $string['ppsubmissionerrorseelogs'] = 'Questo file non è stato consegnato a Turnitin. Consulta il tuo amministratore di sistema'; $string['ppsubmissionerrorstudent'] = 'Questo file non è stato consegnato a Turnitin, consulta il tuo tutor per ulteriori dettagli'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Notifiche della ricevuta digitale del plugin del plagio di Turnitin'; $string['digitalreceipt'] = 'Ricevuta digitale'; $string['digital_receipt_subject'] = 'Questa è la tua ricevuta digitale Turnitin'; $string['pp_digital_receipt_message'] = 'Gentile {$a->firstname} {$a->lastname},

hai consegnato il file {$a->submission_title} per il compito {$a->assignment_name}{$a->assignment_part} nella classe {$a->course_fullname} in {$a->submission_date}. L'ID consegna è {$a->submission_id}. La ricevuta digitale completa può essere visualizzata e stampata dal pulsante di stampa/download nel visualizzatore documenti.

Grazie per aver utilizzato Turnitin,

Il team Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'ID Turnitin'; $string['turnitinstatus'] = 'Stato Turnitin'; $string['pending'] = 'In sospeso'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Lo studente non ha visualizzato questo elaborato.'; $string['launchpeermarkreviews'] = 'Avvia revisioni PeerMark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Numero di eventi nella coda di eventi del plugin di plagio'; $string['ppcronsubmissionlimitreached'] = 'Non verranno inviate ulteriori consegne a Turnitin da questa esecuzione Cron poiché solo {$a} vengono elaborate per ogni esecuzione'; $string['cronsubmittedsuccessfully'] = 'Consegna: {$a->title} (ID TII: {$a->submissionid}) per il compito {$a->assignmentname} nel corso {$a->coursename} consegnata a Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'L'eliminazione delle consegne non ha avuto esito positivo. La copia locale Moodle è stata rimossa, ma non è stato possibile eliminare la consegna in Turnitin.'; $string['ppeventsfailedconnection'] = 'Non verrà elaborato alcun evento dal plugin del plagio di Turnitin da questa esecuzione Cron poiché non è stato possibile stabilire una connessione a Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Consulta il tutor o l'amministratore di sistema per ulteriori dettagli'; $string['faultcode'] = 'Codice guasto'; $string['line'] = 'Linea'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Si è verificato un errore durante il tentativo di riconsegnare il compito in Turnitin'; $string['tiisubmissiongeterror'] = 'Si è verificato un errore durante il tentativo di ottenere una consegna da Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Chiudi'; $string['loadingdv'] = 'Caricamento del visualizzatore documenti Turnitin in corso...'; $string['changerubricwarning'] = 'La modifica o rimozione di una pagella rimuoverà tutto il punteggio esistente della pagella dagli elaborati di questo compito, comprese le schede di valutazione compilate precedentemente. Rimarranno i voti complessivi degli elaborati valutati in precedenza.'; $string['messageprovider:submission'] = 'Notifiche della ricevuta digitale del plugin del plagio di Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Stato Turnitin'; $string['deleted'] = 'Eliminato'; $string['pending'] = 'In sospeso'; diff --git a/lang/ja/plagiarism_turnitin.php b/lang/ja/plagiarism_turnitin.php index a087ae13..b186db7d 100755 --- a/lang/ja/plagiarism_turnitin.php +++ b/lang/ja/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Turnitinを有効ã«ã™ã‚‹'; $string['excludebiblio'] = 'å‚考文献ã®é™¤å¤–'; $string['excludequoted'] = '引用文献を除外'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(ジャãƒã‚¹ã‚¯ãƒªãƒ—トãŒä½œå‹•ã•ã‚Œã¦ã„ãªã„ãŸã‚ã€Turnitinユーザー使用è¦ç´„ã«æ‰¿è«¾ã—ãŸå¾Œã€æ出ã™ã‚‹å‰ã«ã“ã®ãƒšãƒ¼ã‚¸ã‚’マニュアルæ“作ã§æ›´æ–°ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚)'; $string['filedoesnotexist'] = 'ファイルã¯å‰Šé™¤ã•ã‚Œã¾ã—ãŸ'; -// Plugin settings +// Plugin settings. $string['config'] = '設定'; $string['defaults'] = 'デフォルト設定'; $string['showusage'] = 'ダンプã•ã‚ŒãŸãƒ‡ãƒ¼ã‚¿ã‚’表示'; @@ -108,20 +108,20 @@ $string['course'] = 'コース'; $string['module'] = 'モジュール'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'オリジナリティ レãƒãƒ¼ãƒˆã‚’閲覧'; $string['launchrubricview'] = 'マーキングã«ä½¿ç”¨ã•ã‚ŒãŸæŽ¡ç‚¹ã‚’閲覧ã™ã‚‹'; $string['turnitinppulapost'] = 'ã‚ãªãŸã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¾ã›ã‚“ã§ã—ãŸã€‚ã“ã¡ã‚‰ã‚’クリックã—ã¦ã€EULAã«åŒæ„ã—ã¦ãã ã•ã„。'; $string['ppsubmissionerrorseelogs'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。詳ã—ãã¯ã€ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; $string['ppsubmissionerrorstudent'] = 'ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã¯Turnitinã«æ出ã•ã‚Œã¦ã„ã¾ã›ã‚“。更ãªã‚‹è©³ç´°ã«é–¢ã—ã¦ã¯ã€ãƒãƒ¥ãƒ¼ã‚¿ãƒ¼ã¾ã§ã”相談ãã ã•ã„。'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin Plagiarismプラグインã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã«é–¢ã™ã‚‹é€šçŸ¥'; $string['digitalreceipt'] = 'デジタルå—領書'; $string['digital_receipt_subject'] = 'ã“ã‚Œã¯ã‚ãªãŸã®Turnitinã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã§ã™'; $string['pp_digital_receipt_message'] = '{$a->lastname} {$a->firstname}様ã€

ã‚ãªãŸã¯{$a->submission_date}ã«ã€{$a->course_fullname}クラスã®èª²é¡Œ{$a->assignment_name}{$a->assignment_part}ã«ãƒ•ã‚¡ã‚¤ãƒ«{$a->submission_title}ã‚’æ出ã—ã¾ã—ãŸã€‚æ出IDã¯{$a->submission_id}ã§ã™ã€‚デジタルå—領書ã¯ã™ã¹ã¦ã€æ–‡æ›¸é–²è¦§å†…ã«ã‚ã‚‹å°åˆ·ã‚„ダウンロードボタンを使ã£ã¦é–²è¦§ãŠã‚ˆã³å°åˆ·ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚

Turnitinã‚’ã”利用ã„ãŸã ãã€ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã™ã€‚

Turnitinãƒãƒ¼ãƒ ä¸€åŒ'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin ID'; $string['turnitinstatus'] = 'Turnitinã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹'; $string['pending'] = 'ä¿ç•™ä¸­'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'å—講生ã¯ã“ã®ãƒ¬ãƒãƒ¼ãƒˆã‚’ã¾ã é–²è¦§ã—ã¦ã„ã¾ã›ã‚“。'; $string['launchpeermarkreviews'] = 'Peermarkレビューを起動ã™ã‚‹'; -// Cron +// Cron. $string['ppqueuesize'] = 'Plagiarismプラグインã®ã‚¤ãƒ™ãƒ³ãƒˆã‚­ãƒ¥ãƒ¼ã«ã‚るイベント数'; $string['ppcronsubmissionlimitreached'] = 'Cronã¯ä¸€åº¦ã«{$a}件ã¾ã§ã®æ出物ã—ã‹å‡¦ç†ã—ãªã„ã®ã§ã€ã“れ以上Turnitinã«æ出物をé€ã‚Œã¾ã›ã‚“。'; $string['cronsubmittedsuccessfully'] = '{$a->coursename}コースã®èª²é¡Œ{$a->assignmentname}ã«å¯¾ã—ã¦ã€æ出物:{$a->title}(TII ID:{$a->submissionid})ãŒæ­£ã—ãTurnitinã«é€ä¿¡ã•ã‚Œã¾ã—ãŸã€‚'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Turnitinã®æ出物削除ã«å¤±æ•—ã—ã¾ã—ãŸã€‚ローカル Moodle コピーã¯å‰Šé™¤ã•ã‚Œã¾ã—ãŸãŒã€Turnitin内ã®æ出物を削除ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚'; $string['ppeventsfailedconnection'] = 'Turnitinã«æŽ¥ç¶šã—ã¦ã„ãªã„ã®ã§ã€Turnitin Plagiarismプラグインã¯Cronã§ã‚¤ãƒ™ãƒ³ãƒˆã‚’処ç†ã§ãã¾ã›ã‚“。'; -// Error codes +// Error codes. $string['tii_submission_failure'] = '詳ã—ãã¯ã€ãƒãƒ¥ãƒ¼ã‚¿ãƒ¼ã‹ã‚·ã‚¹ãƒ†ãƒ ç®¡ç†è€…ã«ãŠå•ã„åˆã‚ã›ãã ã•ã„。'; $string['faultcode'] = 'フォルトコード'; $string['line'] = 'ライン'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'æ出物をTurnitinã¸å†æ出ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; $string['tiisubmissiongeterror'] = 'æ出物をTurnitinã‹ã‚‰å…¥æ‰‹ã™ã‚‹éš›ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ'; -// Javascript +// Javascript. $string['closebutton'] = 'é–‰ã˜ã‚‹'; $string['loadingdv'] = 'Turnitin文書閲覧を読ã¿è¾¼ã¿ä¸­...'; $string['changerubricwarning'] = '採点を変更ã—ãŸã‚Šè§£é™¤ã—ãŸã‚Šã™ã‚‹ã¨ã€ã‚¹ã‚³ã‚¢ã‚«ãƒ¼ãƒ‰ã‚’å«ã‚ã¦ã“ã®èª²é¡Œã®ãƒ¬ãƒãƒ¼ãƒˆã«æ—¢ã«å­˜åœ¨ã™ã‚‹æŽ¡ç‚¹ãŒã™ã¹ã¦å‰Šé™¤ã•ã‚Œã¾ã™ã€‚以å‰ã«æŽ¡ç‚¹ã•ã‚ŒãŸãƒ¬ãƒãƒ¼ãƒˆã®å…¨ä½“評価ã¯æ®‹ã‚Šã¾ã™ã€‚'; $string['messageprovider:submission'] = 'Turnitin Plagiarismプラグインã®ãƒ‡ã‚¸ã‚¿ãƒ«å—領書ã«é–¢ã™ã‚‹é€šçŸ¥'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitinã®ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹'; $string['deleted'] = '削除ã•ã‚Œã¾ã—ãŸ'; $string['pending'] = 'ä¿ç•™ä¸­'; diff --git a/lang/ko/plagiarism_turnitin.php b/lang/ko/plagiarism_turnitin.php index 45c5ba9d..35d5e1a2 100755 --- a/lang/ko/plagiarism_turnitin.php +++ b/lang/ko/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Turnitin 활성화 하기'; $string['excludebiblio'] = '참고 문헌 제외'; $string['excludequoted'] = 'ì¸ìš© ìžë£Œ 제외'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Javascriptê°€ 활성화ë˜ì§€ 않았으므로 Turnitin ì‚¬ìš©ìž ë™ì˜ì„œì— ë™ì˜í•˜ê³  본 페ì´ì§€ë¥¼ 수ë™ì ìœ¼ë¡œ 새로고침한 후 ì œì¶œì„ í•˜ì—¬ì•¼ 합니다)'; $string['filedoesnotexist'] = '파ì¼ì´ ì‚­ì œë˜ì—ˆìŠµë‹ˆë‹¤.'; -// Plugin settings +// Plugin settings. $string['config'] = '구성'; $string['defaults'] = '기본 환경'; $string['showusage'] = 'ë°ì´íƒ€ ë¤í”„ 표시하기'; @@ -108,20 +108,20 @@ $string['course'] = '코스'; $string['module'] = '모듈'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'ë…창성 ë³´ê³ ì„œ 보기'; $string['launchrubricview'] = '채ì ì— ì‚¬ìš©ëœ ì±„ì í‘œ 보기'; $string['turnitinppulapost'] = 'ê·€í•˜ì˜ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. 당사 EULA를 수ë½í•˜ë ¤ë©´ 여기를 í´ë¦­í•˜ì‹­ì‹œì˜¤.'; $string['ppsubmissionerrorseelogs'] = 'ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. 시스템 관리ìžì—게 문ì˜í•˜ì‹­ì‹œì˜¤.'; $string['ppsubmissionerrorstudent'] = 'ì´ íŒŒì¼ì€ Turnitinì— ì œì¶œë˜ì§€ 않았습니다. ìžì„¸í•œ ë‚´ìš©ì€ ë‹´ë‹¹ 튜터와 ìƒì˜í•˜ì‹­ì‹œì˜¤.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ ë””ì§€í„¸ 수령 알림'; $string['digitalreceipt'] = '디지털 수령ì¦'; $string['digital_receipt_subject'] = 'ê·€í•˜ì˜ Turnitin 디지털 수령ì¦ìž…니다.'; $string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname}님,

{$a->submission_date}ì— ìˆ˜ê°•í•˜ì‹  {$a->course_fullname} í´ëž˜ìŠ¤ì˜ {$a->assignment_name}{$a->assignment_part} ê³¼ì œì— í•´ë‹¹í•˜ëŠ” {$a->submission_title} 파ì¼ì„ 성공ì ìœ¼ë¡œ 제출하였습니다. 제출 ID는 {$a->submission_id}입니다. 디지털 수령ì¦ì€ 문서보기 ì°½ì˜ í”„ë¦°íŠ¸/다운로드 ë²„íŠ¼ì„ ëˆŒëŸ¬ í™•ì¸ ë° ì¸ì‡„í•  수 있습니다.

Turnitinì„ ì´ìš©í•´ 주셔서 ê°ì‚¬í•©ë‹ˆë‹¤.

Turnitin 팀'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin ì•„ì´ë””'; $string['turnitinstatus'] = 'Turnitin ìƒíƒœ'; $string['pending'] = '보류 중'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'í•™ìƒì´ ì´ ë³´ê³ ì„œë¥¼ 보지 않았습니다.'; $string['launchpeermarkreviews'] = 'Peermark í‰ê°€ 개시하기'; -// Cron +// Cron. $string['ppqueuesize'] = '표절 í”ŒëŸ¬ê·¸ì¸ ì´ë²¤íŠ¸ queueì˜ ì´ë²¤íŠ¸ 수'; $string['ppcronsubmissionlimitreached'] = 'ì´ cron 실행당 {$a}ê°œì˜ ì œì¶œë¬¼ë§Œ 처리ë˜ë¯€ë¡œ ë” ì´ìƒ Turnitinì— ì œì¶œë¬¼ì´ ì „ì†¡ë˜ì§€ 않습니다.'; $string['cronsubmittedsuccessfully'] = '{$a->coursename} ì½”ìŠ¤ì˜ {$a->assignmentname} ê³¼ì œì— ëŒ€í•œ 제출물: {$a->title}(TII ID: {$a->submissionid})ì´(ê°€) Turnitinì— ì„±ê³µì ìœ¼ë¡œ 제출ë˜ì—ˆìŠµë‹ˆë‹¤.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Turnitin 제출물 ì‚­ì œì— ì‹¤íŒ¨í•˜ì˜€ìŠµë‹ˆë‹¤.로컬 Moodle ë³µì‚¬ë³¸ì€ ì œê±°ë˜ì—ˆì§€ë§Œ Turnitin ìƒì˜ ì œì¶œë¬¼ì„ ì‚­ì œí•  수 없었습니다.'; $string['ppeventsfailedconnection'] = 'Turnitinì— ëŒ€í•œ ì ‘ì†ì„ 구성할 수 없기 ë•Œë¬¸ì— ì´ cron 실행으로는 Turnitin 표절 플러그ì¸ì— ì˜í•œ ì´ë²¤íŠ¸ 처리가 불가능합니다.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'ìžì„¸í•œ ë‚´ìš©ì€ ë‹´ë‹¹ 튜터나 시스템 관리ìžì™€ ìƒì˜í•˜ì‹­ì‹œì˜¤.'; $string['faultcode'] = '착오 코드'; $string['line'] = 'ì—´'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Turnitinì— ëŒ€í•´ ì œì¶œë¬¼ì„ ìž¬ì œì¶œí•˜ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; $string['tiisubmissiongeterror'] = 'Turnitinì—ì„œ ì œì¶œë¬¼ì„ ê°€ì ¸ì˜¤ëŠ”ë° ì˜¤ë¥˜ê°€ ë°œìƒí•˜ì˜€ìŠµë‹ˆë‹¤'; -// Javascript +// Javascript. $string['closebutton'] = '닫기'; $string['loadingdv'] = 'Turnitin 문서보기 ì°½ 로드 중...'; $string['changerubricwarning'] = '채ì í‘œë¥¼ 변경하거나 분리하면 ì´ë¯¸ 채ì ì´ ëœ ì ìˆ˜ì¹´ë“œë¥¼ í¬í•¨í•˜ì—¬ 해당 ê³¼ì œì— ìžˆëŠ” ë³´ê³ ì„œë“¤ì˜ ê¸°ì¡´ 채ì í‘œ 채ì ì‚¬í•­ì´ ëª¨ë‘ ì œê±°ë©ë‹ˆë‹¤.'; $string['messageprovider:submission'] = 'Turnitin 표절 í”ŒëŸ¬ê·¸ì¸ ë””ì§€í„¸ 수령 알림'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin ìƒíƒœ'; $string['deleted'] = 'ì‚­ì œë¨'; $string['pending'] = '보류 중'; diff --git a/lang/nl/plagiarism_turnitin.php b/lang/nl/plagiarism_turnitin.php index d54479fe..ed13eaf1 100755 --- a/lang/nl/plagiarism_turnitin.php +++ b/lang/nl/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Turnitin inschakelen'; $string['excludebiblio'] = 'Exclusief bibliografie'; $string['excludequoted'] = 'Exclusief citaten'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Aangezien u JavaScript niet hebt ingeschakeld, moet u deze pagina handmatig vernieuwen voordat u uw inzending opnieuw kunt indienen nadat u de Turnitin-gebruikersovereenkomst hebt geaccepteerd)'; $string['filedoesnotexist'] = 'Bestand is verwijderd'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configuratie'; $string['defaults'] = 'Standaardinstellingen'; $string['showusage'] = 'Gegevensdump weergeven'; @@ -108,20 +108,20 @@ $string['course'] = 'Cursus'; $string['module'] = 'Module'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Originaliteitsrapport bekijken'; $string['launchrubricview'] = 'Bekijk het beoordelingsschema (rubric) dat is gebruikt voor het beoordelen'; $string['turnitinppulapost'] = 'Uw bestand is niet ingediend bij Turnitin. Klik hier om onze EULA te accepteren.'; $string['ppsubmissionerrorseelogs'] = 'Dit bestand is niet ingediend bij Turnitin. Raadplaag uw systeembeheerder voor meer informatie.'; $string['ppsubmissionerrorstudent'] = 'Dit bestand is niet ingediend bij Turnitin. Raadplaag uw privédocent voor meer informatie.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Meldingen over digitaal ontvangstbewijs voor Turnitin-plagiaat-plugin'; $string['digitalreceipt'] = 'Digitaal ontvangstbewijs'; $string['digital_receipt_subject'] = 'Dit is uw digitaal ontvangstbewijs van Turnitin'; $string['pp_digital_receipt_message'] = 'Beste {$a->firstname} {$a->lastname},

U hebt het bestand {$a->submission_title} ingediend bij de opdracht {$a->assignment_name}{$a->assignment_part} in de cursus {$a->course_fullname} op {$a->submission_date}. Uw inzendings-id is {$a->submission_id}. Uw volledige digitaal ontvangstbewijs kunt u zien en afdrukken door in Document Viewer te drukken op de knop voor afdrukken/downloaden.

Bedankt dat u Turnitin gebruikt,

Het Turnitin-team'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin-id'; $string['turnitinstatus'] = 'Turnitin-status'; $string['pending'] = 'In afwachting van behandeling'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'De student heeft de paper niet bekeken.'; $string['launchpeermarkreviews'] = 'Peermark-evaluaties starten'; -// Cron +// Cron. $string['ppqueuesize'] = 'Aantal gebeurtenissen in de wachtrij met Plagiaat-Plugin-gebeurtenissen'; $string['ppcronsubmissionlimitreached'] = 'Er worden verder geen inzendingen meer verzonden naar Turnitin door deze cron-uitvoering omdat er slechts {$a} per keer worden verwerkt'; $string['cronsubmittedsuccessfully'] = 'Inzending: {$a->title} (TII-id: {$a->submissionid}) voor de opdracht {$a->assignmentname} op de cursus {$a->coursename} is ingediend bij Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Verwijderen van Turnitin-inzending mislukt. De lokale Moodle-kopie is verwijderd, maar de inzending in Turnitin kan niet worden verwijderd.'; $string['ppeventsfailedconnection'] = 'Er worden geen gebeurtenissen verwerkt door de Turnitin-plagiaat-plugin als gevolg van het uitvoeren van deze cron, aangezien er geen verbinding met Turnitin tot stand kan worden gebracht.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Neem contact op met uw privédocent of systeembeheerder voor meer informatie'; $string['faultcode'] = 'Foutcode'; $string['line'] = 'Lijn'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Er is een fout opgetreden bij een poging uw inzending opnieuw in te dienen bij Turnitin'; $string['tiisubmissiongeterror'] = 'Er is een fout opgetreden bij het ophalen van een inzending uit Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Sluiten'; $string['loadingdv'] = 'Turnitin Document Viewer laden...'; $string['changerubricwarning'] = 'Bij het wijzigen of losmaken van een rubric, of beoordelingsschema, worden alle bestaande rubric-scores van papers binnen deze opdracht verwijderd, met inbegrip van scorekaarten die eerder van opmerkingen zijn voorzien. De totale cijfers voor eerder gecorrigeerde papers blijven bewaard.'; $string['messageprovider:submission'] = 'Meldingen over digitaal ontvangstbewijs voor Turnitin-plagiaat-plugin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin-status'; $string['deleted'] = 'Verwijderd'; $string['pending'] = 'In afwachting van behandeling'; diff --git a/lang/pl/plagiarism_turnitin.php b/lang/pl/plagiarism_turnitin.php index f95f073f..b885da5f 100755 --- a/lang/pl/plagiarism_turnitin.php +++ b/lang/pl/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Włącz Turnitin'; $string['excludebiblio'] = 'Pomiń bibliografię'; $string['excludequoted'] = 'Wyklucz cytaty'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Ponieważ javascript nie jest włączony, strona wymaga manualnego odświeżenia przed dokonaniem wysyłki i po zaakceptowaniu umowy użytkownika Turnitin)'; $string['filedoesnotexist'] = 'Plik został usunięty'; -// Plugin settings +// Plugin settings. $string['config'] = 'Konfiguracja'; $string['defaults'] = 'Ustawienia domyślne'; $string['showusage'] = 'Pokaż zrzut danych'; @@ -108,20 +108,20 @@ $string['course'] = 'Kurs'; $string['module'] = 'Moduł'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Zobacz raport oryginalności'; $string['launchrubricview'] = 'Zobacz arkusz użyty do poprawek'; $string['turnitinppulapost'] = 'Plik nie został przesłany do Turnitin. Kliknij tutaj, aby zaakceptować naszą umowę EULA.'; $string['ppsubmissionerrorseelogs'] = 'Plik nie został przesłany do Turnitin. Skontaktuj się z administratorem systemu.'; $string['ppsubmissionerrorstudent'] = 'Plik nie został przesłany do Turnitin. Skontaktuj się z tutorem, aby uzyskać więcej informacji.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Powiadomienia o potwierdzeniu elektronicznym wtyczki plagiatu Turnitin'; $string['digitalreceipt'] = 'Potwierdzenie elektroniczne'; $string['digital_receipt_subject'] = 'To jest Twoje potwierdzenie elektroniczne Turnitin'; $string['pp_digital_receipt_message'] = 'Witaj {$a->firstname} {$a->lastname},

Udało Ci się pomyślnie przesłać plik {$a->submission_title} do zadania {$a->assignment_name}{$a->assignment_part} w ramach klasy {$a->course_fullname} dnia {$a->submission_date}. Twój identyfikator wysyłki to {$a->submission_id}. Pełne potwierdzenie elektroniczne można wyświetlić i wydrukować, używając przycisku drukowania/pobierania w przeglądarce dokumentów.

Dziękujemy za korzystanie z systemu Turnitin.

Zespół Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Identyfikator Turnitin'; $string['turnitinstatus'] = 'Status systemu Turnitin'; $string['pending'] = 'Oczekujące'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Student nie zobaczył tej pracy.'; $string['launchpeermarkreviews'] = 'Uruchom recenzje Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Liczba zdarzeń w kolejce zdarzeń wtyczki plagiatu'; $string['ppcronsubmissionlimitreached'] = 'Uruchomiona instancja Cron umożliwia przetworzenie jednorazowo {$a} wysyłek, dlatego kolejne wysyłki nie będą przez nią przesyłane do Turnitin'; $string['cronsubmittedsuccessfully'] = 'Wysyłka: {$a->title} (Identyfikator Turnitin: {$a->submissionid}) do zadania {$a->assignmentname} w ramach kursu {$a->coursename} została pomyślnie przesłana do Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Usunięcie wysyłki do Turnitin nie powiodło się. Lokalna kopia Moodle została usunięta, ale wysyłka do Turnitin nie może być usunięta.'; $string['ppeventsfailedconnection'] = 'Wtyczka plagiatu Turnitin uruchomiona w ramach tej instancji Cron nie będzie przetwarzać żadnych zdarzeń, ponieważ ustanowienie połączenia z Turnitin nie jest możliwe.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Aby uzyskać więcej informacji, skonsultuj się ze swoim tutorem lub administratorem systemu'; $string['faultcode'] = 'Kod błędu'; $string['line'] = 'Wiersz'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Wystąpił błąd podczas próby dokonania ponownej wysyłki do Turnitin'; $string['tiisubmissiongeterror'] = 'Wystąpił błąd podczas próby uzyskania przesyłki z Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Zamknij'; $string['loadingdv'] = 'Wczytywanie przeglądarki dokumentów Turnitin...'; $string['changerubricwarning'] = 'Zmiana lub odłączenie arkusza spowoduje usunięcie wszystkich wyników arkusza za prace z tego zadania, łącznie z naliczonymi wcześniej kartami wyników. Ogólne oceny za wcześniej ocenione prace pozostaną bez zmian.'; $string['messageprovider:submission'] = 'Powiadomienia o potwierdzeniu elektronicznym wtyczki plagiatu Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Status systemu Turnitin'; $string['deleted'] = 'Usunięto'; $string['pending'] = 'Oczekujące'; diff --git a/lang/pt_br/plagiarism_turnitin.php b/lang/pt_br/plagiarism_turnitin.php index c3b724c5..a92dd5ad 100755 --- a/lang/pt_br/plagiarism_turnitin.php +++ b/lang/pt_br/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Habilitar o Turnitin'; $string['excludebiblio'] = 'Excluir Bibliografia'; $string['excludequoted'] = 'Excluir Material Citado'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Como você não tem o JavaScript ativado, você terá que atualizar manualmente esta página antes de poder fazer um envio após aceitar o Acordo de Usuário Turnitin)'; $string['filedoesnotexist'] = 'O arquivo foi excluído'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configurações'; $string['defaults'] = 'Configurações Padrão'; $string['showusage'] = 'Mostrar Dados do Despejo'; @@ -108,20 +108,20 @@ $string['course'] = 'Curso'; $string['module'] = 'Módulo'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Visualizar o Relatório de Originalidade'; $string['launchrubricview'] = 'Visualizar a rubrica usada para avaliação'; $string['turnitinppulapost'] = 'Seu arquivo não foi enviado ao Turnitin. Clique aqui para aceitar nosso Contrato de Licença do Usuário Final.'; $string['ppsubmissionerrorseelogs'] = 'Esse arquivo não foi enviado ao Turnitin. Consulte o administrador do sistema'; $string['ppsubmissionerrorstudent'] = 'Esse arquivo não foi enviado ao Turnitin. Consulte seu tutor para obter mais detalhes.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Notificações de Recebimento Digital do Plugin de Plágio Turnitin'; $string['digitalreceipt'] = 'Recibo Digital'; $string['digital_receipt_subject'] = 'Esse é o seu Recibo Digital Turnitin'; $string['pp_digital_receipt_message'] = 'Prezado(a) {$a->firstname} {$a->lastname},

Você enviou com sucesso o arquivo {$a->submission_title} para o trabalho {$a->assignment_name}{$a->assignment_part} na aula {$a->course_fullname} sobre {$a->submission_date}. A identificação do seu envio é {$a->submission_id}. Seu recibo digital completo pode ser visualizado e impresso a partir do botão imprimir/baixar no Visualizador de Documentos.

Obrigado por usar o Turnitin,

A Equipe Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Identificação Turnitin'; $string['turnitinstatus'] = 'Status Turnitin'; $string['pending'] = 'Pendente'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'O aluno não visualizou esse documento.'; $string['launchpeermarkreviews'] = 'Iniciar as Revisões PeerMark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Número de eventos na fila de eventos do Plugin de Plágio'; $string['ppcronsubmissionlimitreached'] = 'Nenhum outro envio será feito para o Turnitin por esta execução de cron, uma vez que são processados apenas {$a} por operação.'; $string['cronsubmittedsuccessfully'] = 'Envio: {$a->title} (TII ID: {$a->submissionid}) para o trabalho {$a->assignmentname} no curso {$a->coursename} foi enviado com sucesso ao Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Falha ao excluir o envio Turnitin. A cópia local do Moodle foi removida, mas o envio no Turnitin não pôde ser excluído.'; $string['ppeventsfailedconnection'] = 'Nenhum evento será processado pelo plugin de plágio Turnitin por essa execução do cron, já que a conexão ao Turnitin não pode ser estabelecida.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Consulte seu tutor ou o administrador do sistema para obter mais detalhes'; $string['faultcode'] = 'Código de falha'; $string['line'] = 'Linha'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Ocorreu um erro ao tentar reenviar seus envios ao Turnitin'; $string['tiisubmissiongeterror'] = 'Ocorreu um erro ao tentar obter um envio a partir do Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Fechar'; $string['loadingdv'] = 'Carregando Visualizador de Documentos Turnitin...'; $string['changerubricwarning'] = 'Ao alterar ou separar uma rubrica irá remover todas as pontuações de rubricas existentes dos documentos nesse trabalho, incluindo os cartões de pontuação que foram pontuados anteriormente . As notas gerais para trabalhos avaliados anteriormente serão mantidas.'; $string['messageprovider:submission'] = 'Notificações de Recebimento Digital do Plugin de Plágio Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Status Turnitin'; $string['deleted'] = 'Excluído'; $string['pending'] = 'Pendente'; diff --git a/lang/ro/plagiarism_turnitin.php b/lang/ro/plagiarism_turnitin.php index cf8db214..be872863 100755 --- a/lang/ro/plagiarism_turnitin.php +++ b/lang/ro/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Activare Turnitin'; $string['excludebiblio'] = 'Excluderea bibliografiei'; $string['excludequoted'] = 'Excluderea citatelor'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Întrucât nu aveți Javascript activat, va trebui să reîncărcați manual această pagină pentru a putea depune o lucrare după acceptarea Acordului de utilizator Turnitin)'; $string['filedoesnotexist'] = 'Fișierul a fost șters'; -// Plugin settings +// Plugin settings. $string['config'] = 'Configurație'; $string['defaults'] = 'Setări implicite'; $string['showusage'] = 'Afișarea conținutului bazei de date'; @@ -108,20 +108,20 @@ $string['course'] = 'Curs'; $string['module'] = 'Modul'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Vizualizarea Raportului privind originalitatea'; $string['launchrubricview'] = 'Vizualizarea baremului folosit pentru însemnări'; $string['turnitinppulapost'] = 'Fișierul nu a fost depus în Turnitin. Faceți clic aici pentru a accepta EULA.'; $string['ppsubmissionerrorseelogs'] = 'Acest fișier nu a fost depus în Turnitin, consultați administratorul de sistem'; $string['ppsubmissionerrorstudent'] = 'Acest fișier nu a fost depus în Turnitin, consultați-vă îndrumătorul pentru mai multe detalii'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Notificări privind confirmările digitale din pluginul de detectare a plagiatului Turnitin'; $string['digitalreceipt'] = 'Confirmare digitală'; $string['digital_receipt_subject'] = 'Aceasta este Confirmarea digitală Turnitin'; $string['pp_digital_receipt_message'] = 'Stimate/Stimată {$a->firstname} {$a->lastname},

Ați depus cu succes fișierul {$a->submission_title} cu tema {$a->assignment_name}{$a->assignment_part} din cursul {$a->course_fullname}, pe data de {$a->submission_date}. ID-ul depunerii este {$a->submission_id}. Confirmarea digitală completă se poate vizualiza și imprima prin intermediul butonului de imprimare/descărcare din vizualizatorul de documente.

Vă mulțumim pentru utilizarea Turnitin,

Echipa Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'ID Turnitin'; $string['turnitinstatus'] = 'Stare Turnitin'; $string['pending'] = 'ÃŽn aÈ™teptare'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Studentul nu a văzut această lucrare.'; $string['launchpeermarkreviews'] = 'Lansare evaluări Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Numărul evenimentelor din coada de evenimente a pluginului de detectare a plagiatului'; $string['ppcronsubmissionlimitreached'] = 'La această executare a lucrării cron nu se mai trimit în Turnitin alte depuneri, deoarece la o executare se procesează cel mult {$a}'; $string['cronsubmittedsuccessfully'] = 'Lucrarea: {$a->title} (ID TII: {$a->submissionid}) pentru tema {$a->assignmentname} din cursul {$a->coursename} a fost depusă cu succes în Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Ștergerea depunerii Turnitin nu a reuÈ™it. Copia locală Moodle a fost înlăturată, dar depunerea din Turnitin nu a putut fi È™tearsă.'; $string['ppeventsfailedconnection'] = 'La această executare a lucrării cron nu se vor procesa alte evenimente cu pluginul de detectare a plagiatului Turnitin, deoarece nu se poate stabili conexiunea cu Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'ConsultaÈ›i-vă îndrumătorul sau administratorul de sistem pentru mai multe detalii'; $string['faultcode'] = 'Cod de eroare'; $string['line'] = 'Linie'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Eroare la încercarea de a redepune lucrarea în Turnitin'; $string['tiisubmissiongeterror'] = 'Eroare la încercarea de a obÈ›ine o depunere de la Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'ÃŽnchidere'; $string['loadingdv'] = 'Se încarcă vizualizatorul de documente Turnitin...'; $string['changerubricwarning'] = 'Modificarea sau detaÈ™area unui barem va înlătura din lucrările cu această temă toate punctajele acordate pe baza baremului, inclusiv grilele de notare punctate anterior. Notele generale ale lucrărilor notate anterior se vor păstra.'; $string['messageprovider:submission'] = 'Notificări privind confirmările digitale din pluginul de detectare a plagiatului Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Stare Turnitin'; $string['deleted'] = 'Șters'; $string['pending'] = 'ÃŽn aÈ™teptare'; diff --git a/lang/ru/plagiarism_turnitin.php b/lang/ru/plagiarism_turnitin.php index a944da61..1c5f9a03 100755 --- a/lang/ru/plagiarism_turnitin.php +++ b/lang/ru/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Включить Turnitin'; $string['excludebiblio'] = 'ИÑключить библиографию'; $string['excludequoted'] = 'ИÑключить цитаты'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(ПоÑкольку в вашем браузере не включен Javascript, прежде чем отправлÑÑ‚ÑŒ работу, вам необходимо будет вручную обновить Ñту Ñтраницу поÑле того, как вы примете уÑÐ»Ð¾Ð²Ð¸Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»ÑŒÑкого ÑоглашениÑ.)'; $string['filedoesnotexist'] = 'Файл удален'; -// Plugin settings +// Plugin settings. $string['config'] = 'КонфигурациÑ'; $string['defaults'] = 'ÐаÑтройки по умолчанию'; $string['showusage'] = 'Показать запиÑÑŒ данных'; @@ -108,20 +108,20 @@ $string['course'] = 'КурÑ'; $string['module'] = 'Модуль'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'ПроÑмотреть отчет об оригинальноÑти'; $string['launchrubricview'] = 'ПроÑмотреть рубрику, иÑпользованную Ð´Ð»Ñ Ð¼Ð°Ñ€ÐºÐ¸Ñ€Ð¾Ð²ÐºÐ¸'; $string['turnitinppulapost'] = 'Ðе удалоÑÑŒ отправить файл в Turnitin. Ðажмите здеÑÑŒ, чтобы принÑÑ‚ÑŒ уÑÐ»Ð¾Ð²Ð¸Ñ Ð»Ð¸Ñ†ÐµÐ½Ð·Ð¸Ð¾Ð½Ð½Ð¾Ð³Ð¾ ÑÐ¾Ð³Ð»Ð°ÑˆÐµÐ½Ð¸Ñ Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ пользователем.'; $string['ppsubmissionerrorseelogs'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. ОбратитеÑÑŒ за дополнительной информацией к ÑиÑтемному админиÑтратору'; $string['ppsubmissionerrorstudent'] = 'Ðе удалоÑÑŒ отправить файл в ÑиÑтему Turnitin. ОбратитеÑÑŒ за дополнительной информацией к Ñвоему преподавателю'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ цифровой квитанции Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; $string['digitalreceipt'] = 'Ð¦Ð¸Ñ„Ñ€Ð¾Ð²Ð°Ñ ÐºÐ²Ð¸Ñ‚Ð°Ð½Ñ†Ð¸Ñ'; $string['digital_receipt_subject'] = 'Это Ñ†Ð¸Ñ„Ñ€Ð¾Ð²Ð°Ñ ÐºÐ²Ð¸Ñ‚Ð°Ð½Ñ†Ð¸Ñ Turnitin'; $string['pp_digital_receipt_message'] = 'Уважаемый(-аÑ) {$a->firstname} {$a->lastname},

Ð’Ñ‹ уÑпешно отправили файл {$a->submission_title} Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñ‹Ð¼ заданием {$a->assignment_name}{$a->assignment_part} по клаÑÑу {$a->course_fullname} {$a->submission_date}. Идентификатор вашей работы — {$a->submission_id}. Цифровую квитанцию можно полноÑтью проÑмотреть и напечатать, нажав на кнопку печати и загрузки в окне проÑмотра документов.

СпаÑибо, что пользуетеÑÑŒ Turnitin.

Команда Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Идентификатор Turnitin'; $string['turnitinstatus'] = 'Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Turnitin'; $string['pending'] = 'Ðа раÑÑмотрении'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Студент не проÑмотрел Ñту работу.'; $string['launchpeermarkreviews'] = 'ЗапуÑтить обзоры Рееrmark'; -// Cron +// Cron. $string['ppqueuesize'] = 'КоличеÑтво Ñобытий в очереди Ñобытий Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; $string['ppcronsubmissionlimitreached'] = 'Ðовые работы будут отправлены поÑле Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñтого ÑеанÑа планировщика: во Ð²Ñ€ÐµÐ¼Ñ Ð¾Ð´Ð½Ð¾Ð³Ð¾ ÑеанÑа можно обработать только {$a} работ'; $string['cronsubmittedsuccessfully'] = 'Отправка работы: {$a->title} (идентификатор TII: {$a->submissionid}) файл Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñ‹Ð¼ заданием {$a->assignmentname} по курÑу {$a->coursename} уÑпешно отправлен в Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'При попытке удалить работу, отправленную в Turnitin, произошла ошибка. Ð›Ð¾ÐºÐ°Ð»ÑŒÐ½Ð°Ñ ÐºÐ¾Ð¿Ð¸Ñ Moodle удалена, но не удалоÑÑŒ удалить работу из ÑиÑтемы Turnitin.'; $string['ppeventsfailedconnection'] = 'Ðе удаетÑÑ ÑƒÑтановить Ñоединение Ñ Turnitin. Модуль Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат не будет обрабатывать ÑÐ¾Ð±Ñ‹Ñ‚Ð¸Ñ Ð´Ð¾ Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñтого ÑеанÑа планировщика.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'ОбратитеÑÑŒ за дополнительной информацией к Ñвоему преподавателю или ÑиÑтемному админиÑтратору'; $string['faultcode'] = 'Код ошибки'; $string['line'] = 'Строка'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Возникла ошибка при попытке вновь Ñделать предÑтавление в Turnitin'; $string['tiisubmissiongeterror'] = 'Возникла ошибка при попытке получить предÑтавление из Тurnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Закрыть'; $string['loadingdv'] = 'СредÑтво проÑмотра документов загружаетÑÑ...'; $string['changerubricwarning'] = 'При изменении или отмене Ð½Ð°Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ñ€ÑƒÐ±Ñ€Ð¸ÐºÐ¸ будут удалены вÑе оценки работ по Ñтому заданию, принадлежащие Ñтой рубрике, Ð²ÐºÐ»ÑŽÑ‡Ð°Ñ ÑƒÐ¶Ðµ подпиÑанные оценочные лиÑÑ‚Ñ‹. Общие оценки проверенных работ оÑтанутÑÑ Ð±ÐµÐ· изменений.'; $string['messageprovider:submission'] = 'Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ цифровой квитанции Ð¼Ð¾Ð´ÑƒÐ»Ñ Turnitin Ð´Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÑ€ÐºÐ¸ на плагиат'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Turnitin'; $string['deleted'] = 'Удалено'; $string['pending'] = 'Ðа раÑÑмотрении'; diff --git a/lang/sv/plagiarism_turnitin.php b/lang/sv/plagiarism_turnitin.php index d9d10b3c..125e32cf 100755 --- a/lang/sv/plagiarism_turnitin.php +++ b/lang/sv/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Aktivera Turnitin'; $string['excludebiblio'] = 'Exkludera källförteckning'; $string['excludequoted'] = 'Exkludera citerat material'; @@ -77,7 +77,7 @@ $string['noscriptula'] = 'Eftersom du inte har JavaScript aktiverat mÃ¥ste du manuellt uppdatera den här sidan innan du kan göra en inlämning (efter att du accepterat Turnitins Användaravtal)'; $string['filedoesnotexist'] = 'Filen har raderats'; -// Plugin settings +// Plugin settings. $string['config'] = 'Konfigurering'; $string['defaults'] = 'Standardinställningar'; $string['showusage'] = 'Visa datadump'; @@ -108,20 +108,20 @@ $string['course'] = 'Kurs'; $string['module'] = 'Modul'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Visa Originalitetsrapport'; $string['launchrubricview'] = 'Visa bedömningsmatrisen som används för kommentering'; $string['turnitinppulapost'] = 'Din fil har inte lämnats in till Turnitin. Klicka här för att godkänna vÃ¥ra användaravtal.'; $string['ppsubmissionerrorseelogs'] = 'Den här filen har inte skickas till Turnitin. Be din systemadministratör om hjälp.'; $string['ppsubmissionerrorstudent'] = 'Den här filen har inte skickas till Turnitin. Be din lärare om hjälp.'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Meddelanden för digitala kvitton för plagiatplugin frÃ¥n Turnitin'; $string['digitalreceipt'] = 'Digitalt kvitto'; $string['digital_receipt_subject'] = 'Det här är ditt digitala kvitto frÃ¥n Turnitin'; $string['pp_digital_receipt_message'] = 'Hej {$a->firstname} {$a->lastname}!

Du har lämnat in filen {$a->submission_title} för uppgift {$a->assignment_name}{$a->assignment_part} för kursen {$a->course_fullname} den {$a->submission_date}. Ditt inlämnings-ID är {$a->submission_id}. Ditt fullständiga digitala kvitto kan visas och skrivas ut med knappen skriv ut/ladda ner i dokumentvisaren.

Tack för att du använder Turnitin,

Turnitin-teamet'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin-ID'; $string['turnitinstatus'] = 'Turnitin-status'; $string['pending'] = 'Väntar på bekräftelse'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Studenten har inte visat denna uppsats.'; $string['launchpeermarkreviews'] = 'Starta Peermark-recensioner'; -// Cron +// Cron. $string['ppqueuesize'] = 'Antal händelser i händelsekön för plagiatplugin'; $string['ppcronsubmissionlimitreached'] = 'Inga fler inlämningar kommer att skickas till Turnitin av denna Cron-aktivitet, eftersom endast {$a} bearbetas per körning'; $string['cronsubmittedsuccessfully'] = 'Inlämning: {$a->title} (TII ID: {$a->submissionid}) för uppgift {$a->assignmentname} på kursen {$a->coursename} har lämnats in till Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Radering av inlämning för Turnitin misslyckades. Den lokala Moodle-kopian har tagits bort men inlämningen i Turnitin kunde inte raderas.'; $string['ppeventsfailedconnection'] = 'Inga händelser kommer att bearbetas av plagiatplugin i Turnitin för den här Cron-aktiviteten eftersom det inte gick att ansluta till Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Vänd dig till din handledare eller administratör för mer information.'; $string['faultcode'] = 'Felkod'; $string['line'] = 'Rad'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Det uppstod ett fel vid försök att återinlämna din uppgift till Turnitin'; $string['tiisubmissiongeterror'] = 'Det uppstod ett fel vid försök att hämta ett inlämnande från Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Stäng'; $string['loadingdv'] = 'Laddar dokumentvisaren i Turnitin...'; $string['changerubricwarning'] = 'Om du ändrar eller tar bort en bedömningsmatris kommer detta att avlägsna all existerande bedömningsmatris-poäng från samtliga uppsatser i denna uppgift, inklusive poängkort som har markerats tidigare. Sammanlagda betyg för tidigare betygsatta uppsatser kommer att finnas kvar.'; $string['messageprovider:submission'] = 'Meddelanden för digitala kvitton för plagiatplugin från Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin-status'; $string['deleted'] = 'Raderad'; $string['pending'] = 'Väntar på bekräftelse'; diff --git a/lang/tr/plagiarism_turnitin.php b/lang/tr/plagiarism_turnitin.php index 81b203a4..51aba245 100755 --- a/lang/tr/plagiarism_turnitin.php +++ b/lang/tr/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Turnitin'i Etkinleştir'; $string['excludebiblio'] = 'Bibliyografyayı Çıkar'; $string['excludequoted'] = 'Alıntılanan Materyali Çıkar'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Javascript etkinleştirilmediğinden, Turnitin Kullanıcı Sözleşmesi'ni kabul ettikten sonra bir ödev gönderimi yapmadan önce, sayfayı yenilemelisiniz)'; $string['filedoesnotexist'] = 'Dosya silindi'; -// Plugin settings +// Plugin settings. $string['config'] = 'Yapılandırma'; $string['defaults'] = 'Varsayılan Ayarlar'; $string['showusage'] = 'Veri Atıklarını Göster'; @@ -108,20 +108,20 @@ $string['course'] = 'Kurs'; $string['module'] = 'Modül'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Orijinallik Raporunu Görüntüle'; $string['launchrubricview'] = 'İşaretleme için kullanılmış performans değerlendirme ölçeklerini görüntüle'; $string['turnitinppulapost'] = 'Dosyanız Turnitin'e gönderilmedi. Kullanıcı Lisans Sözleşmesi'ni kabul etmek için lütfen buraya tıklayın.'; $string['ppsubmissionerrorseelogs'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen sistem yöneticinize danışın'; $string['ppsubmissionerrorstudent'] = 'Bu dosya Turnitin'e gönderilmedi, lütfen daha ayrıntılı bilgi için öğretmeninize danışın'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin İntihal Eklentisi Dijital Makbuz bildirimleri'; $string['digitalreceipt'] = 'Dijital Makbuz'; $string['digital_receipt_subject'] = 'Bu, sizin Turnitin Dijital Makbuzunuzdur'; $string['pp_digital_receipt_message'] = 'Sayın {$a->firstname} {$a->lastname},

{$a->submission_title} dosyasını {$a->course_fullname} sınıfındaki {$a->assignment_name}{$a->assignment_part} ödevine {$a->submission_date} tarihinde başarıyla gönderdiniz. Gönderi numaranız {$a->submission_id}. Dijital makbuzunuz Doküman Görüntüleyicideki yazdır/indir düğmesinden görüntülenebilir ve yazdırılabilir.

Turnitin'i kullandığınız için teşekkür ederiz,

Turnitin Ekibi'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin Numarası'; $string['turnitinstatus'] = 'Turnitin durumu'; $string['pending'] = 'Bekliyor'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Öğrenci henüz bu ödevi görüntülemedi.'; $string['launchpeermarkreviews'] = 'Peermark DeÄŸerlendirmelerini Yayınla'; -// Cron +// Cron. $string['ppqueuesize'] = 'Ä°ntihal Eklentisi etkinlik sırasındaki etkinlik sayısı'; $string['ppcronsubmissionlimitreached'] = 'Bir çalıştırmada yalnızca {$a} iÅŸlendiÄŸi için Turnitin'e daha fazla gönderim yapılmayacak'; $string['cronsubmittedsuccessfully'] = 'Gönderi: {$a->coursename} kursundaki {$a->assignmentname} ödevi için {$a->title} (TII Numarası: {$a->submissionid}) baÅŸarıyla Turnitin'e gönderilmiÅŸtir.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Turnitin gönderisi silinirken bir hata oluÅŸtu. Yerel Moodle kopyası kaldırıldı ancak Turnitin' deki gönderi silinemedi.'; $string['ppeventsfailedconnection'] = 'Turnitin ile baÄŸlantı kurulamadığından Turnitin intihal eklentisi tarafından bir etkinlik iÅŸleme alınmayacak.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Daha ayrıntılı bilgi için lütfen öğretmeninize veya sistem yöneticinize danışın'; $string['faultcode'] = 'Hata Kodu'; $string['line'] = 'Satır'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Turnitin'e ödevinizi yeniden gönderirken bir sorun oluÅŸtu'; $string['tiisubmissiongeterror'] = 'Turnitin'den bir gönderi alınırken sorun oluÅŸtu'; -// Javascript +// Javascript. $string['closebutton'] = 'Kapat'; $string['loadingdv'] = 'Turnitin Doküman Görüntüleyici Yükleniyor...'; $string['changerubricwarning'] = 'Performans deÄŸerlendirme ölçeÄŸini deÄŸiÅŸtirmeniz veya kaldırmanız bu ödevdeki, daha önce iÅŸaretlenen skor kartları dahil, tüm performans deÄŸerlendirme ölçeÄŸi skorlarını kaldırılacaktır. Puanlanmış önceki ödevlerin toplam puanı bekleyecektir.'; $string['messageprovider:submission'] = 'Turnitin Ä°ntihal Eklentisi Dijital Makbuz bildirimleri'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin durumu'; $string['deleted'] = 'Silindi'; $string['pending'] = 'Bekliyor'; diff --git a/lang/vi/plagiarism_turnitin.php b/lang/vi/plagiarism_turnitin.php index 277616db..9456c34a 100755 --- a/lang/vi/plagiarism_turnitin.php +++ b/lang/vi/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'Cho phép Turnitin'; $string['excludebiblio'] = 'Loại trừ Mục lục tham khảo'; $string['excludequoted'] = 'Loại trừ Tài liệu Trích dẫn'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(Do bạn không cho phép Javascript, bạn sẽ phải làm má»›i má»™t cách thủ công trang này để có thể thá»±c hiện ná»™p bài sau khi đã chấp nhận Thá»a thuận NgÆ°á»i Dùng Turnitin)'; $string['filedoesnotexist'] = 'Tập tin đã được xóa'; -// Plugin settings +// Plugin settings. $string['config'] = 'Cấu hình'; $string['defaults'] = 'Cài đặt Mặc định'; $string['showusage'] = 'Hiển thị Kết xuất Dữ liệu'; @@ -108,20 +108,20 @@ $string['course'] = 'Khóa há»c'; $string['module'] = 'Mô-Ä‘un'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Xem Báo cáo Äá»™c Sáng'; $string['launchrubricview'] = 'Xem Thang đánh giá dùng để chấm Ä‘iểm'; $string['turnitinppulapost'] = 'Tập tin của bạn chÆ°a được ná»™p vào Turnitin. Vui lòng nhấp vào đây để chấp thuận EULA của chúng tôi.'; $string['ppsubmissionerrorseelogs'] = 'Tập tin này chÆ°a được ná»™p cho Turnitin, vui lòng tÆ° vấn quản trị viên hệ thống của bạn'; $string['ppsubmissionerrorstudent'] = 'Tập tin này chÆ°a được ná»™p vào Turnitin, vui lòng tÆ° vấn trợ giảng của bạn để biết thêm chi tiết'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Thông báo vá» Biên lai Äiện tá»­ trong Phần bổ trợ Chống đạo văn của Turnitin'; $string['digitalreceipt'] = 'Biên lai Äiện tá»­'; $string['digital_receipt_subject'] = 'Äây là Biên lai Äiện tá»­ Turnitin của bạn'; $string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname} thân mến!

Bạn đã nộp thành công tập tin {$a->submission_title} cho bài tập {$a->assignment_name}{$a->assignment_part} trong lớp {$a->course_fullname} trên {$a->submission_date}. Id bài nộp của bạn là {$a->submission_id}. Bạn có thể xem và in biên lai điện tử của mình từ nút in/tải vỠtrong Trình xem Tài liệu.

Cảm ơn bạn đã sử dụng Turnitin!

Nhóm Turnitin'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'ID Turnitin'; $string['turnitinstatus'] = 'Trạng thái Turnitin'; $string['pending'] = 'Äang chá»'; @@ -132,7 +132,7 @@ $string['student_notread'] = 'Há»c sinh vẫn chÆ°a xem bài này.'; $string['launchpeermarkreviews'] = 'Mở Bình duyệt Peermark'; -// Cron +// Cron. $string['ppqueuesize'] = 'Số lượng sá»± kiện trong hàng đợi sá»± kiện của Phần bổ trợ Chống đạo văn'; $string['ppcronsubmissionlimitreached'] = 'Sẽ không có thêm bài ná»™p nào được gá»­i tá»›i Turnitin bằng lệnh thá»±c thi cron này vì chỉ có {$a} được xá»­ lý trên má»—i lần chạy'; $string['cronsubmittedsuccessfully'] = 'Bài ná»™p: {$a->title} (ID TII: {$a->submissionid}) cho bài tập {$a->assignmentname} trên khóa há»c {$a->coursename} đã được ná»™p thành công cho Turnitin.'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Xóa bài ná»™p Turnitin không thành công. Bản lÆ°u cục bá»™ trong Moodle đã được gỡ bá» nhÆ°ng không thể xóa bài ná»™p trong Turnitin.'; $string['ppeventsfailedconnection'] = 'Sẽ không có sá»± kiện nào được phần bổ trợ chống đạo văn của Turnitin xá»­ lý bằng lệnh thá»±c thi cron này vì không thể thiết lập kết nối tá»›i Turnitin.'; -// Error codes +// Error codes. $string['tii_submission_failure'] = 'Vui lòng tÆ° vấn trợ giảng hoặc quản trị viên hệ thống của bạn để biết thêm chi tiết'; $string['faultcode'] = 'Mã Lá»—i'; $string['line'] = 'Dòng'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng ná»™p lại bài ná»™p trên Turnitin'; $string['tiisubmissiongeterror'] = 'Xảy ra lá»—i khi Ä‘ang cố gắng lấy bài ná»™p từ Turnitin'; -// Javascript +// Javascript. $string['closebutton'] = 'Äóng'; $string['loadingdv'] = 'Äang tải Trình xem Tài liệu Turnitin...'; $string['changerubricwarning'] = 'Thay đổi hoặc hủy đính kèm má»™t thang đánh giá sẽ gỡ bá» tất cả Ä‘iểm đánh giá hiện có theo thang đánh giá đó khá»i các bài ná»™p trong bài tập này, kể cả các thẻ Ä‘iểm đã được chấm trÆ°á»›c đây. Äiểm tổng quát cho những bài đã chấm trÆ°á»›c đây sẽ được duy trì.'; $string['messageprovider:submission'] = 'Thông báo vá» Biên lai Äiện tá»­ trong Phần bổ trợ Chống đạo văn của Turnitin'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Trạng thái Turnitin'; $string['deleted'] = 'Äã xóa'; $string['pending'] = 'Äang chá»'; diff --git a/lang/zh_hans/plagiarism_turnitin.php b/lang/zh_hans/plagiarism_turnitin.php index faa7dfc9..369c65a1 100755 --- a/lang/zh_hans/plagiarism_turnitin.php +++ b/lang/zh_hans/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = 'å¯ç”¨ Turnitin'; $string['excludebiblio'] = 'ä¸å«å‚考书目'; $string['excludequoted'] = '排除引用资料'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(由于您没有å¯ç”¨ javascriptï¼Œå› æ­¤åœ¨æŽ¥å— Turnitin 用户åè®®åŽï¼Œæ‚¨å¿…须手动更新此页é¢æ‰èƒ½æ交)'; $string['filedoesnotexist'] = '文件已被删除'; -// Plugin settings +// Plugin settings. $string['config'] = 'é…ç½®'; $string['defaults'] = '默认设置'; $string['showusage'] = '显示数æ®è½¬å‚¨'; @@ -108,20 +108,20 @@ $string['course'] = '课程'; $string['module'] = 'å•å…ƒ'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = '查看原创性报告'; $string['launchrubricview'] = '查看用于标记的评分表'; $string['turnitinppulapost'] = '您的文件尚未æ交至 Turnitin。请å•å‡»æ­¤å¤„接å—我们的 EULA。'; $string['ppsubmissionerrorseelogs'] = '此文件尚未æ交至 Turnitin,请咨询您的系统管ç†å‘˜'; $string['ppsubmissionerrorstudent'] = '此文件尚未æ交至 Turnitin,请问您的导师登记æ¥æŸ¥è¯¢æ›´å¤šè¯¦æƒ…'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin 剽窃 Plugin 数字回执通知'; $string['digitalreceipt'] = '数字回执'; $string['digital_receipt_subject'] = '这是您的 Turnitin 数字回执'; $string['pp_digital_receipt_message'] = '尊敬的 {$a->firstname} {$a->lastname},

您已于 {$a->submission_date}将文件 {$a->submission_title} æˆåŠŸæ交至 {$a->course_fullname} è¯¾å ‚çš„åˆ†é… {$a->assignment_name}{$a->assignment_part}。您的æ交 ID 为 {$a->submission_id}。å¯ä»¥é€šè¿‡æ–‡æ¡£æŸ¥çœ‹å™¨ä¸­çš„“打å°/下载â€æŒ‰é’®æŸ¥çœ‹å¹¶æ‰“å°æ‚¨çš„完整数字回执。

感谢您使用 Turnitin,

Turnitin 团队敬上'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin 代ç '; $string['turnitinstatus'] = 'Turnitin 状æ€'; $string['pending'] = '未决'; @@ -132,7 +132,7 @@ $string['student_notread'] = '学生尚未查看此论文。'; $string['launchpeermarkreviews'] = 'å¯åŠ¨ Peermark 评价'; -// Cron +// Cron. $string['ppqueuesize'] = '剽窃 Plugin 事件队列中的事件数'; $string['ppcronsubmissionlimitreached'] = 'æ­¤ cron 执行ä¸ä¼šå‘ Turnitin å‘é€å…¶ä»–任何æ交,因为æ¯æ¬¡è¿è¡Œåªä¼šå¤„ç† {$a}'; $string['cronsubmittedsuccessfully'] = 'æ交:课程 {$a->coursename} ä¸­åˆ†é… {$a->assignmentname} çš„ {$a->title}(TII ID:{$a->submissionid})已æˆåŠŸæ交至 Turnitin。'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Turnitin æ交内容刪除失败。计算机上的 Moodle 副本已移除,但 Turnitin 內的æ交内容无法刪除。'; $string['ppeventsfailedconnection'] = 'Turnitin 剽窃 Plugin çš„æ­¤ cron 执行ä¸ä¼šå¤„ç†ä»»ä½•äº‹ä»¶ï¼Œå› ä¸ºæ— æ³•å»ºç«‹åˆ° Turnitin 的连接。'; -// Error codes +// Error codes. $string['tii_submission_failure'] = '请咨询您的辅导或系统管ç†å‘˜ä»¥èŽ·å¾—更多资讯'; $string['faultcode'] = '错误代å·'; $string['line'] = '列'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = 'å°è¯•å°†æ交内容é‡æ–°æ交至 Turnitin 时出错'; $string['tiisubmissiongeterror'] = 'å°è¯•ä»Ž Turnitin 中获å–æ交内容时出错'; -// Javascript +// Javascript. $string['closebutton'] = '关闭'; $string['loadingdv'] = '正在加载 Turnitin 文档查看器...'; $string['changerubricwarning'] = '更改或分离评分表将从此作业的论文中移除所有现有的评分表分数,包括之å‰å·²æ ‡è®°çš„评分å¡ã€‚之å‰å·²è¯„分的论文的总æˆç»©å°†ä¼šè¢«ä¿ç•™ã€‚'; $string['messageprovider:submission'] = 'Turnitin 剽窃 Plugin 数字回执通知'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin 状æ€'; $string['deleted'] = '已删除'; $string['pending'] = '未决'; diff --git a/lang/zh_tw/plagiarism_turnitin.php b/lang/zh_tw/plagiarism_turnitin.php index 5e2bef56..1cf08cfd 100755 --- a/lang/zh_tw/plagiarism_turnitin.php +++ b/lang/zh_tw/plagiarism_turnitin.php @@ -1,18 +1,18 @@ '; -// Assignment Settings +// Assignment Settings. $string['turnitin:enable'] = '啟用 Turnitin'; $string['excludebiblio'] = 'ä¸å«åƒè€ƒæ›¸ç›®'; $string['excludequoted'] = 'ä¸å«å¼•ç”¨è³‡æ–™å…§å®¹'; @@ -77,7 +77,7 @@ $string['noscriptula'] = '(因為您並未啟用 Javascriptï¼Œåœ¨æŽ¥å— Turnitin 使用者å”議後,您必須手動更新此é é¢ï¼Œç„¶å¾Œæ‰èƒ½æ交物件)'; $string['filedoesnotexist'] = '檔案已é­åˆ°åˆªé™¤'; -// Plugin settings +// Plugin settings. $string['config'] = 'é…ç½®'; $string['defaults'] = 'é è¨­è¨­å®š'; $string['showusage'] = '顯示資料傾å°'; @@ -108,20 +108,20 @@ $string['course'] = '課程'; $string['module'] = '單元'; -// Grade book/View assignment page +// Grade book/View assignment page. $string['turnitin:viewfullreport'] = '檢視原創性報告'; $string['launchrubricview'] = '檢視標示用的評分表'; $string['turnitinppulapost'] = '並未將您的檔案æ交至 Turnitin。請按一下這裡,以接å—我們的 EULA。'; $string['ppsubmissionerrorseelogs'] = '這個檔案並未æ交至 Turnitin,請連絡您的系統管ç†å“¡'; $string['ppsubmissionerrorstudent'] = '這個檔案並未æ交至 Turnitin,請連絡您的指導教師,以å–得更多詳細資料'; -// Receipts +// Receipts. $string['messageprovider:submission'] = 'Turnitin 剽竊 Plugin é›»å­å›žæ¢é€šçŸ¥'; $string['digitalreceipt'] = 'é›»å­å›žæ¢'; $string['digital_receipt_subject'] = '這是您的 Turnitin é›»å­å›žæ¢'; $string['pp_digital_receipt_message'] = '{$a->firstname} {$a->lastname} 您好:

您已在 {$a->submission_date} 上æˆåŠŸå°‡æª”案 {$a->submission_title} æ交至課程 {$a->course_fullname} 中的作業 {$a->assignment_name}{$a->assignment_part}。您的æ交 ID 為 {$a->submission_id}。您å¯ä»¥å¾žæ–‡ä»¶æª¢è¦–工具列å°/下載按鈕,來檢視或列å°å®Œæ•´çš„é›»å­å›žæ¢ã€‚

æ„Ÿè¬æ‚¨ä½¿ç”¨ Turnitin,

Turnitin 團隊敬上'; -// Paper statuses +// Paper statuses. $string['turnitinid'] = 'Turnitin ID'; $string['turnitinstatus'] = 'Turnitin 狀態'; $string['pending'] = '等待中'; @@ -132,7 +132,7 @@ $string['student_notread'] = '學生尚未檢視此報告。'; $string['launchpeermarkreviews'] = 'å•Ÿå‹• Peermark è©•è«–'; -// Cron +// Cron. $string['ppqueuesize'] = '剽竊 Plugin 事件佇列中的事件數'; $string['ppcronsubmissionlimitreached'] = '因為æ¯æ¬¡åŸ·è¡Œé€™å€‹ Corn,åªèƒ½è™•ç† {$a} 個,所以ä¸æœƒå†å°‡æ交物件傳é€è‡³ Turnitin。'; $string['cronsubmittedsuccessfully'] = '課程 {$a->coursename} 上作業 {$a->assignmentname} çš„æ交物件:{$a->title} (TII ID:{$a->submissionid}) å·²æˆåŠŸæ交至 Turnitin。'; @@ -140,7 +140,7 @@ $string['turnitindeletionerror'] = 'Turnitin æ交物件刪除失敗。本機的 Moodle 複本已é­åˆ°ç§»é™¤ï¼Œä½†ç„¡æ³•åˆªé™¤ Turnitin 內的æ交物件。'; $string['ppeventsfailedconnection'] = '因為無法與 Turnitin 建立連接,所以執行此 Cron,Turnitin 剽竊 Plugin 也ä¸æœƒè™•ç†ä»»ä½•äº‹ä»¶ã€‚'; -// Error codes +// Error codes. $string['tii_submission_failure'] = '請連絡您的指導教師或系統管ç†å“¡ï¼Œä»¥å–得更多詳細資料'; $string['faultcode'] = '錯誤代號'; $string['line'] = '列'; @@ -169,13 +169,13 @@ $string['pp_updatesubmissionerror'] = '嘗試將您的æ交物件é‡æ–°æ交至 Turnitin 時發生錯誤'; $string['tiisubmissiongeterror'] = '嘗試從 Turnitin å…§å–å¾—æ交物件時發生錯誤'; -// Javascript +// Javascript. $string['closebutton'] = '關閉'; $string['loadingdv'] = '正在載入 Turnitin 文件檢視工具...'; $string['changerubricwarning'] = '變更或分離評語,會將從此作業內的報告中移除ç¾æœ‰çš„所有評語分數,包括之å‰æ¨™ç¤ºçš„計分å¡ã€‚之å‰å·²è©•åˆ†å ±å‘Šçš„æ•´é«”æˆç¸¾å‰‡æœƒäºˆä»¥ä¿ç•™ã€‚'; $string['messageprovider:submission'] = 'Turnitin 剽竊 Plugin é›»å­å›žæ¢é€šçŸ¥'; -// Turnitin Submission Status +// Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin 狀態'; $string['deleted'] = '已刪除'; $string['pending'] = '等待中'; From 7ebc551d5a0537a9c2ba9ed33298ee154ff5baf6 Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 22 Dec 2016 17:06:34 +0000 Subject: [PATCH 37/56] Fix file encoding for language files. --- lang/ar/plagiarism_turnitin.php | 2 +- lang/cs/plagiarism_turnitin.php | 2 +- lang/de/plagiarism_turnitin.php | 166 +++++++++++++-------------- lang/es/plagiarism_turnitin.php | 2 +- lang/fi/plagiarism_turnitin.php | 2 +- lang/fr/plagiarism_turnitin.php | 2 +- lang/it/plagiarism_turnitin.php | 2 +- lang/ja/plagiarism_turnitin.php | 2 +- lang/ko/plagiarism_turnitin.php | 2 +- lang/nl/plagiarism_turnitin.php | 2 +- lang/pl/plagiarism_turnitin.php | 2 +- lang/pt_br/plagiarism_turnitin.php | 2 +- lang/ro/plagiarism_turnitin.php | 2 +- lang/ru/plagiarism_turnitin.php | 2 +- lang/tr/plagiarism_turnitin.php | 2 +- lang/vi/plagiarism_turnitin.php | 2 +- lang/zh_hans/plagiarism_turnitin.php | 2 +- lang/zh_tw/plagiarism_turnitin.php | 2 +- 18 files changed, 100 insertions(+), 100 deletions(-) diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php index 19f123f7..88b36494 100755 --- a/lang/ar/plagiarism_turnitin.php +++ b/lang/ar/plagiarism_turnitin.php @@ -1,4 +1,4 @@ -'; // Assignment Settings. $string['turnitin:enable'] = 'Turnitin aktivieren'; -$string['excludebiblio'] = 'Bibliografie ausschließen'; -$string['excludequoted'] = 'Zitiertes Material ausschließen'; -$string['excludevalue'] = 'Geringfügige Übereinstimmungen ausschließen'; -$string['excludewords'] = 'Wörter'; +$string['excludebiblio'] = 'Bibliografie ausschließen'; +$string['excludequoted'] = 'Zitiertes Material ausschließen'; +$string['excludevalue'] = 'Geringfügige Ãœbereinstimmungen ausschließen'; +$string['excludewords'] = 'Wörter'; $string['excludepercent'] = 'Prozent'; $string['norubric'] = 'Keine Rubrik'; $string['otherrubric'] = 'Rubrik einer anderen Lehrkraft verwenden'; -$string['attachrubric'] = 'Dieser Aufgabe eine Rubrik anhängen'; +$string['attachrubric'] = 'Dieser Aufgabe eine Rubrik anhängen'; $string['launchrubricmanager'] = 'Rubrikmanager starten'; -$string['attachrubricnote'] = 'Hinweis: Studenten können angehängte Rubriken und deren Inhalt vor dem Übermitteln aufrufen.'; +$string['attachrubricnote'] = 'Hinweis: Studenten können angehängte Rubriken und deren Inhalt vor dem Ãœbermitteln aufrufen.'; $string['erater_handbook_advanced'] = 'Erweitert'; $string['erater_handbook_highschool'] = 'Oberstufe'; $string['erater_handbook_middleschool'] = 'Mittelstufe'; @@ -32,50 +32,50 @@ $string['erater_dictionary_enus'] = 'US-amerikanisches Englisch-Lexikon'; $string['erater_dictionary_engb'] = 'Britisches Englisch-Lexikon'; $string['erater_dictionary_en'] = 'Britisches und US-amerikanisches Englisch-Lexikon'; -$string['erater'] = 'e-rater-Grammatikprüfung aktivieren'; +$string['erater'] = 'e-rater-Grammatikprüfung aktivieren'; $string['erater_handbook'] = 'ETS©-Handbuch'; -$string['erater_dictionary'] = 'e-rater-Wörterbuch'; +$string['erater_dictionary'] = 'e-rater-Wörterbuch'; $string['erater_categories'] = 'e-rater-Kategorien'; $string['erater_spelling'] = 'Rechtschreibung'; $string['erater_grammar'] = 'Grammatik'; $string['erater_usage'] = 'Gebrauch'; $string['erater_mechanics'] = 'Funktionsweise'; $string['erater_style'] = 'Stil'; -$string['anonblindmarkingnote'] = 'Hinweis: Die separate Turnitin-Einstellung für anonyme Benotung wurde entfernt. Turnitin legt die Einstellung für anonymes Benoten anhand der Moodle-Einstellung für Blindbewertung fest.'; -$string['transmatch'] = 'Übersetzte Übereinstimmung'; -$string['genduedate'] = 'Berichte am Fälligkeitsdatum erstellen (erneute Übermittlungen sind bis zum Fälligkeitsdatum zulässig)'; -$string['genimmediately1'] = 'Berichte sofort erstellen (erneute Übermittlungen sind nicht zulässig)'; -$string['genimmediately2'] = 'Berichte sofort erstellen (erneute Übermittlungen sind bis zum Fälligkeitsdatum zulässig)'; +$string['anonblindmarkingnote'] = 'Hinweis: Die separate Turnitin-Einstellung für anonyme Benotung wurde entfernt. Turnitin legt die Einstellung für anonymes Benoten anhand der Moodle-Einstellung für Blindbewertung fest.'; +$string['transmatch'] = 'Ãœbersetzte Ãœbereinstimmung'; +$string['genduedate'] = 'Berichte am Fälligkeitsdatum erstellen (erneute Ãœbermittlungen sind bis zum Fälligkeitsdatum zulässig)'; +$string['genimmediately1'] = 'Berichte sofort erstellen (erneute Ãœbermittlungen sind nicht zulässig)'; +$string['genimmediately2'] = 'Berichte sofort erstellen (erneute Ãœbermittlungen sind bis zum Fälligkeitsdatum zulässig)'; $string['launchquickmarkmanager'] = 'QuickMark-Manager starten'; $string['launchpeermarkmanager'] = 'PeerMark-Manager starten'; $string['studentreports'] = 'Studenten den Echtheitsbericht anzeigen'; -$string['studentreports_help'] = 'Ermöglicht Studenten das Anzeigen von Turnitin-Echtheitsberichten. Wenn Sie die Option "Ja" wählen, können Studenten den von Turnitin erstellten Echtheitsbericht ansehen.'; -$string['submitondraft'] = 'Datei beim ersten Hochladen übermitteln'; -$string['submitonfinal'] = 'Datei übermitteln, wenn der Student sie zum Markieren sendet.'; -$string['draftsubmit'] = 'Wann muss die Datei an Turnitin übermittelt werden?'; -$string['allownonor'] = 'Jeden Dateityp zur Übermittlung zulassen?'; -$string['allownonor_help'] = 'Mit dieser Einstellung können alle Dateitypen übermitteln werden. Ist diese Option auf "Ja" gesetzt, werden Übermittlungen ggf. auf ihre Echtheit überprüft und zum Download bereitgestellt. Außerdem stehen wenn möglich GradeMark-Feedbacktools zur Verfügung.'; +$string['studentreports_help'] = 'Ermöglicht Studenten das Anzeigen von Turnitin-Echtheitsberichten. Wenn Sie die Option "Ja" wählen, können Studenten den von Turnitin erstellten Echtheitsbericht ansehen.'; +$string['submitondraft'] = 'Datei beim ersten Hochladen übermitteln'; +$string['submitonfinal'] = 'Datei übermitteln, wenn der Student sie zum Markieren sendet.'; +$string['draftsubmit'] = 'Wann muss die Datei an Turnitin übermittelt werden?'; +$string['allownonor'] = 'Jeden Dateityp zur Ãœbermittlung zulassen?'; +$string['allownonor_help'] = 'Mit dieser Einstellung können alle Dateitypen übermitteln werden. Ist diese Option auf "Ja" gesetzt, werden Ãœbermittlungen ggf. auf ihre Echtheit überprüft und zum Download bereitgestellt. Außerdem stehen wenn möglich GradeMark-Feedbacktools zur Verfügung.'; $string['norepository'] = 'Kein Repository'; $string['standardrepository'] = 'Standard-Repository '; $string['submitpapersto'] = 'Studentenarbeiten ablegen'; $string['institutionalrepository'] = 'Institutions-Repository (wenn vorhanden)'; -$string['submitpapersto_help'] = 'Mit dieser Einstellung können Lehrkräfte festlegen, ob Arbeiten in einem Turnitin-Repository für Studentenarbeiten gespeichert werden. Der Vorteil einer Übermittlung von Arbeiten das Studentenarbeits-Repository besteht darin, dass die zu einer Aufgabe übermittelten Studentenarbeiten mit den Arbeiten von Studenten' Ihrer aktuellen sowie früheren Kurse abgeglichen werden. Wenn Sie die Option "Kein Repository" wählen, werden die Arbeiten Ihrer Studenten' nicht im Studentenarbeits-Repository von Turnitin gespeichert.'; -$string['checkagainstnote'] = 'Hinweis: Wenn Sie nicht für mindestens eine der folgenden Abgleichoptionen „Ja“ auswählen, wird KEIN Echtheitsbericht generiert.'; +$string['submitpapersto_help'] = 'Mit dieser Einstellung können Lehrkräfte festlegen, ob Arbeiten in einem Turnitin-Repository für Studentenarbeiten gespeichert werden. Der Vorteil einer Ãœbermittlung von Arbeiten das Studentenarbeits-Repository besteht darin, dass die zu einer Aufgabe übermittelten Studentenarbeiten mit den Arbeiten von Studenten' Ihrer aktuellen sowie früheren Kurse abgeglichen werden. Wenn Sie die Option "Kein Repository" wählen, werden die Arbeiten Ihrer Studenten' nicht im Studentenarbeits-Repository von Turnitin gespeichert.'; +$string['checkagainstnote'] = 'Hinweis: Wenn Sie nicht für mindestens eine der folgenden Abgleichoptionen „Ja“ auswählen, wird KEIN Echtheitsbericht generiert.'; $string['spapercheck'] = 'Abgleich mit vorhandenen Studentenarbeiten'; $string['internetcheck'] = 'Abgleich mit dem Internet'; $string['journalcheck'] = 'Abgleich mit Zeitungen,
Periodika und anderen Publikationen'; -$string['compareinstitution'] = 'Eingereichte Dateien mit den an dieser Institution übermittelten Arbeiten vergleichen'; +$string['compareinstitution'] = 'Eingereichte Dateien mit den an dieser Institution übermittelten Arbeiten vergleichen'; $string['reportgenspeed'] = 'Geschwindigkeit beim Erstellen des Berichts'; -$string['genspeednote'] = 'Hinweis: Bei der Generierung eines Echtheitsberichts für erneute Übermittlungen kann eine Verzögerung von 24 Stunden auftreten.'; +$string['genspeednote'] = 'Hinweis: Bei der Generierung eines Echtheitsberichts für erneute Ãœbermittlungen kann eine Verzögerung von 24 Stunden auftreten.'; $string['locked_message'] = 'Gesperrte Nachricht'; -$string['locked_message_help'] = 'Wenn Einstellungen gesperrt sind, wird in dieser Nachricht der Grund dafür angegeben.'; +$string['locked_message_help'] = 'Wenn Einstellungen gesperrt sind, wird in dieser Nachricht der Grund dafür angegeben.'; $string['locked_message_default'] = 'Diese Einstellung ist auf Websiteebene gesperrt.'; $string['sharedrubric'] = 'Freigegebene Rubrik'; -$string['turnitinrefreshsubmissions'] = 'Übermittlungen aktualisieren'; -$string['turnitinrefreshingsubmissions'] = 'Übermittlungen werden aktualisiert...'; -$string['turnitinppulapre'] = 'Vor der Übermittung einer Datei an Turnitin müssen Sie unsere EULA (Endbenutzer-Lizenzvereinbarung) akzeptieren. Wenn Sie die EULA nicht akzeptieren, wird Ihre Datei nur an Moodle übermittelt. Klicken Sie zum Akzeptieren hier.'; -$string['noscriptula'] = '(Da Sie Javascript nicht aktiviert haben, müssen Sie diese Seite manuell aktualisieren, ehe Sie nach dem Akzeptieren der Nutzungsbedingungen von Turnitin eine Übermittlung vornehmen können)'; -$string['filedoesnotexist'] = 'Datei wurde gelöscht'; +$string['turnitinrefreshsubmissions'] = 'Ãœbermittlungen aktualisieren'; +$string['turnitinrefreshingsubmissions'] = 'Ãœbermittlungen werden aktualisiert...'; +$string['turnitinppulapre'] = 'Vor der Ãœbermittung einer Datei an Turnitin müssen Sie unsere EULA (Endbenutzer-Lizenzvereinbarung) akzeptieren. Wenn Sie die EULA nicht akzeptieren, wird Ihre Datei nur an Moodle übermittelt. Klicken Sie zum Akzeptieren hier.'; +$string['noscriptula'] = '(Da Sie Javascript nicht aktiviert haben, müssen Sie diese Seite manuell aktualisieren, ehe Sie nach dem Akzeptieren der Nutzungsbedingungen von Turnitin eine Ãœbermittlung vornehmen können)'; +$string['filedoesnotexist'] = 'Datei wurde gelöscht'; // Plugin settings. $string['config'] = 'Konfiguration'; @@ -83,26 +83,26 @@ $string['showusage'] = 'Datenspeicher anzeigen'; $string['saveusage'] = 'Datenanzeige sichern'; $string['errors'] = 'Fehler'; -$string['turnitinconfig'] = 'Konfiguration für das Turnitin-Plug-in gegen Plagiarismus'; -$string['tiiexplain'] = 'Turnitin ist ein kommerzielles Produkt, und Sie benötigen ein zahlungspflichtiges Abonnement, um diesen Dienst nutzen zu können. Weitere Informationen finden Sie unter http://docs.moodle.org/en/Turnitin_administration.'; +$string['turnitinconfig'] = 'Konfiguration für das Turnitin-Plug-in gegen Plagiarismus'; +$string['tiiexplain'] = 'Turnitin ist ein kommerzielles Produkt, und Sie benötigen ein zahlungspflichtiges Abonnement, um diesen Dienst nutzen zu können. Weitere Informationen finden Sie unter http://docs.moodle.org/en/Turnitin_administration.'; $string['useturnitin'] = 'Turnitin aktivieren'; -$string['useturnitin_mod'] = 'Turnitin aktivieren für {$a}'; -$string['pp_configuredesc'] = 'Sie müssen dieses Modul innerhalb des turnitintooltwo-Moduls konfigurieren. Klicken Sie hier, um dieses Plug-in zu konfigurieren.'; -$string['turnitindefaults'] = 'Standardeinstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; -$string['defaultsdesc'] = 'Die folgenden Einstellungen bilden den Standard, wenn Turnitin mit einem Aktivitätsmodul aktiviert ist.'; -$string['turnitinpluginsettings'] = 'Einstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; -$string['pperrorsdesc'] = 'Beim Versuch, die folgenden Dateien bei Turnitin hochzuladen, ist ein Problem aufgetreten. Wählen Sie für eine erneute Übermittlung die gewünschten Dateien aus, und klicken Sie auf die Schaltfläche „Erneut übermitteln“. Diese Dateien werden dann bei der nächsten Cron-Ausführung verarbeitet.'; -$string['pperrorssuccess'] = 'Die ausgewählten Dateien wurden erneut übermittelt und werden von Cron verarbeitet.'; -$string['pperrorsfail'] = 'Bei einigen der ausgewählten Dateien ist ein Problem aufgetreten. Für diese Dateien konnte kein neues Cron-Ereignis erstellt werden.'; -$string['resubmitselected'] = 'Ausgewählte Dateien erneut übermitteln'; -$string['deleteconfirm'] = 'Möchten Sie diese Übermittlung wirklich löschen? \n\nDieser Vorgang kann nicht rückgängig gemacht werden.'; -$string['deletesubmission'] = 'Übermittlung löschen'; +$string['useturnitin_mod'] = 'Turnitin aktivieren für {$a}'; +$string['pp_configuredesc'] = 'Sie müssen dieses Modul innerhalb des turnitintooltwo-Moduls konfigurieren. Klicken Sie hier, um dieses Plug-in zu konfigurieren.'; +$string['turnitindefaults'] = 'Standardeinstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; +$string['defaultsdesc'] = 'Die folgenden Einstellungen bilden den Standard, wenn Turnitin mit einem Aktivitätsmodul aktiviert ist.'; +$string['turnitinpluginsettings'] = 'Einstellungen für das Turnitin-Plugin zur Plagiarismuserkennung'; +$string['pperrorsdesc'] = 'Beim Versuch, die folgenden Dateien bei Turnitin hochzuladen, ist ein Problem aufgetreten. Wählen Sie für eine erneute Ãœbermittlung die gewünschten Dateien aus, und klicken Sie auf die Schaltfläche „Erneut übermitteln“. Diese Dateien werden dann bei der nächsten Cron-Ausführung verarbeitet.'; +$string['pperrorssuccess'] = 'Die ausgewählten Dateien wurden erneut übermittelt und werden von Cron verarbeitet.'; +$string['pperrorsfail'] = 'Bei einigen der ausgewählten Dateien ist ein Problem aufgetreten. Für diese Dateien konnte kein neues Cron-Ereignis erstellt werden.'; +$string['resubmitselected'] = 'Ausgewählte Dateien erneut übermitteln'; +$string['deleteconfirm'] = 'Möchten Sie diese Ãœbermittlung wirklich löschen? \n\nDieser Vorgang kann nicht rückgängig gemacht werden.'; +$string['deletesubmission'] = 'Ãœbermittlung löschen'; $string['semptytable'] = 'Keine Ergebnisse vorhanden.'; $string['configupdated'] = 'Konfiguration aktualisiert'; $string['defaultupdated'] = 'Turnitin-Standards aktualisiert'; -$string['notavailableyet'] = 'Nicht verfügbar'; -$string['resubmittoturnitin'] = 'Erneut an Turnitin übermitteln'; -$string['resubmitting'] = 'Wird erneut übermittelt...'; +$string['notavailableyet'] = 'Nicht verfügbar'; +$string['resubmittoturnitin'] = 'Erneut an Turnitin übermitteln'; +$string['resubmitting'] = 'Wird erneut übermittelt...'; $string['id'] = 'ID'; $string['student'] = 'Student'; $string['course'] = 'Kurs'; @@ -110,35 +110,35 @@ // Grade book/View assignment page. $string['turnitin:viewfullreport'] = 'Echtheitsbericht anzeigen'; -$string['launchrubricview'] = 'Die für das Markieren verwendete Rubik anzeigen'; -$string['turnitinppulapost'] = 'Ihre Datei wurde nicht an Turnitin übermittelt. Klicken Sie hier, um unsere EULA zu akzeptieren.'; -$string['ppsubmissionerrorseelogs'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; -$string['ppsubmissionerrorstudent'] = 'Diese Datei wurde nicht an Turnitin übermittelt, für zusätzliche Details kontaktieren Sie bitte Ihren Tutor'; +$string['launchrubricview'] = 'Die für das Markieren verwendete Rubik anzeigen'; +$string['turnitinppulapost'] = 'Ihre Datei wurde nicht an Turnitin übermittelt. Klicken Sie hier, um unsere EULA zu akzeptieren.'; +$string['ppsubmissionerrorseelogs'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; +$string['ppsubmissionerrorstudent'] = 'Diese Datei wurde nicht an Turnitin übermittelt, für zusätzliche Details kontaktieren Sie bitte Ihren Tutor'; // Receipts. -$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; +$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; $string['digitalreceipt'] = 'Digitaler Beleg'; $string['digital_receipt_subject'] = 'Dies ist Ihr digitaler Beleg von Turnitin.'; -$string['pp_digital_receipt_message'] = 'Sehr geehrte/r {$a->firstname} {$a->lastname},

Sie haben die Datei {$a->submission_title} für die Aufgabe {$a->assignment_name}{$a->assignment_part} in Kurs {$a->course_fullname} am {$a->submission_date} erfolgreich hochgeladen. Ihre Übermittlungs-ID lautet {$a->submission_id}. Ihren vollständigen digitalen Beleg können Sie über die Schaltfläche „Drucken/Download“ in der Dokumentenansicht anzeigen und drucken.

Vielen Dank, dass Sie Turnitin verwenden,

das Turnitin-Team'; +$string['pp_digital_receipt_message'] = 'Sehr geehrte/r {$a->firstname} {$a->lastname},

Sie haben die Datei {$a->submission_title} für die Aufgabe {$a->assignment_name}{$a->assignment_part} in Kurs {$a->course_fullname} am {$a->submission_date} erfolgreich hochgeladen. Ihre Übermittlungs-ID lautet {$a->submission_id}. Ihren vollständigen digitalen Beleg können Sie über die Schaltfläche „Drucken/Download“ in der Dokumentenansicht anzeigen und drucken.

Vielen Dank, dass Sie Turnitin verwenden,

das Turnitin-Team'; // Paper statuses. $string['turnitinid'] = 'Turnitin-ID'; $string['turnitinstatus'] = 'Turnitin-Status'; $string['pending'] = 'Ausstehend'; -$string['similarity'] = 'Ähnlichkeit'; -$string['notorcapable'] = 'Für diese Datei lässt sich kein Echtheitsbericht erstellen.'; +$string['similarity'] = 'Ähnlichkeit'; +$string['notorcapable'] = 'Für diese Datei lässt sich kein Echtheitsbericht erstellen.'; $string['grademark'] = 'GradeMark'; -$string['student_read'] = 'Der Student hat die Arbeit aufgerufen über:'; +$string['student_read'] = 'Der Student hat die Arbeit aufgerufen über:'; $string['student_notread'] = 'Der Student hat die Arbeit nicht aufgerufen.'; $string['launchpeermarkreviews'] = 'PeerMark-Reviews starten'; // Cron. $string['ppqueuesize'] = 'Anzahl der Ereignisse in der Ereigniswarteschlange des Plugin zur Plagiarismuserkennung'; -$string['ppcronsubmissionlimitreached'] = 'Von diesem Cron-Ausdruck werden keine weiteren Übermittlungen mehr an Turnitin gesendet, da nur {$a} pro Ausführung verarbeitet werden.'; -$string['cronsubmittedsuccessfully'] = 'Übermittlung: {$a->title} (TII-ID: {$a->submissionid}) für die Aufgabe {$a->assignmentname} in Kurs {$a->coursename} wurde erfolgreich an Turnitin übermittelt.'; -$string['pp_submission_error'] = 'Turnitin hat einen Fehler für Ihre Übermittlung zurückgegeben:'; -$string['turnitindeletionerror'] = 'Die Löschung der Turnitin-Übermittlung ist fehlgeschlagen. Die lokale Moodle-Kopie wurde entfernt, die Übermittlung bei Turnitin konnte jedoch nicht gelöscht werden.'; -$string['ppeventsfailedconnection'] = 'In dieser Cron-Ausführung werden vom Turnitin-Plugin zur Plagiarismuserkennung keine Ereignisse verarbeitet, da keine Verbindung mit Turnitin hergestellt werden kann.'; +$string['ppcronsubmissionlimitreached'] = 'Von diesem Cron-Ausdruck werden keine weiteren Ãœbermittlungen mehr an Turnitin gesendet, da nur {$a} pro Ausführung verarbeitet werden.'; +$string['cronsubmittedsuccessfully'] = 'Ãœbermittlung: {$a->title} (TII-ID: {$a->submissionid}) für die Aufgabe {$a->assignmentname} in Kurs {$a->coursename} wurde erfolgreich an Turnitin übermittelt.'; +$string['pp_submission_error'] = 'Turnitin hat einen Fehler für Ihre Ãœbermittlung zurückgegeben:'; +$string['turnitindeletionerror'] = 'Die Löschung der Turnitin-Ãœbermittlung ist fehlgeschlagen. Die lokale Moodle-Kopie wurde entfernt, die Ãœbermittlung bei Turnitin konnte jedoch nicht gelöscht werden.'; +$string['ppeventsfailedconnection'] = 'In dieser Cron-Ausführung werden vom Turnitin-Plugin zur Plagiarismuserkennung keine Ereignisse verarbeitet, da keine Verbindung mit Turnitin hergestellt werden kann.'; // Error codes. $string['tii_submission_failure'] = 'Weitere Informationen erhalten Sie von Ihrem Tutor oder dem Systemadministrator.'; @@ -146,37 +146,37 @@ $string['line'] = 'Linie'; $string['message'] = 'Nachricht'; $string['code'] = 'Code'; -$string['tiisubmissionsgeterror'] = 'Beim Versuch, von Turnitin Übermittlungen zu dieser Aufgabe abzurufen, ist ein Fehler aufgetreten.'; -$string['errorcode0'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; -$string['errorcode1'] = 'Diese Datei wurde nicht an Turnitin gesendet, da sie nicht genügend Inhalt zum Erstellen eines Echtheitsberichts enthält.'; -$string['errorcode2'] = 'Diese Datei wird nicht an Turnitin übermittelt, da sie die maximal zulässige Größe von {$a} überschreitet.'; -$string['errorcode3'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da der Benutzer die Endbenutzer-Lizenzvereinbarung nicht akzeptiert hat.'; -$string['errorcode4'] = 'Sie müssen einen unterstützten Dateityp für diese Aufgabe hochladen. Folgende Dateitypen werden akzeptiert: DOC, DOCX, PPT, PPTX, PPS, PPSX, PDF, TXT, HTM, HTML, HWP, ODT, WPD, PS und RTF.'; -$string['errorcode5'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Moduls in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; -$string['errorcode6'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Bearbeiten der Moduleinstellungen in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; -$string['errorcode7'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Benutzers in Turnitin ein Problem aufgetreten ist, das Übermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; -$string['errorcode8'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen der temporären Datei ein Problem aufgetreten ist. Die wahrscheinlichste Ursache ist ein ungültiger Dateiname. Benennen Sie die Datei um, und laden Sie sie mit der Option zum Bearbeiten von Übermittlungen erneut hoch.'; -$string['errorcode9'] = 'Die Datei kann nicht übermittelt werden, da im Dateipool kein zugänglicher Inhalt für eine Übermittlung vorhanden ist.'; +$string['tiisubmissionsgeterror'] = 'Beim Versuch, von Turnitin Ãœbermittlungen zu dieser Aufgabe abzurufen, ist ein Fehler aufgetreten.'; +$string['errorcode0'] = 'Diese Datei wurde nicht an Turnitin übermittelt; wenden Sie sich an Ihren Systemadministrator.'; +$string['errorcode1'] = 'Diese Datei wurde nicht an Turnitin gesendet, da sie nicht genügend Inhalt zum Erstellen eines Echtheitsberichts enthält.'; +$string['errorcode2'] = 'Diese Datei wird nicht an Turnitin übermittelt, da sie die maximal zulässige Größe von {$a} überschreitet.'; +$string['errorcode3'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da der Benutzer die Endbenutzer-Lizenzvereinbarung nicht akzeptiert hat.'; +$string['errorcode4'] = 'Sie müssen einen unterstützten Dateityp für diese Aufgabe hochladen. Folgende Dateitypen werden akzeptiert: DOC, DOCX, PPT, PPTX, PPS, PPSX, PDF, TXT, HTM, HTML, HWP, ODT, WPD, PS und RTF.'; +$string['errorcode5'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Moduls in Turnitin ein Problem aufgetreten ist, das Ãœbermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode6'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Bearbeiten der Moduleinstellungen in Turnitin ein Problem aufgetreten ist, das Ãœbermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode7'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen des Benutzers in Turnitin ein Problem aufgetreten ist, das Ãœbermittlungen verhindert. Weitere Informationen finden Sie in Ihren API-Protokollen.'; +$string['errorcode8'] = 'Diese Datei wurde nicht an Turnitin übermittelt, da beim Erstellen der temporären Datei ein Problem aufgetreten ist. Die wahrscheinlichste Ursache ist ein ungültiger Dateiname. Benennen Sie die Datei um, und laden Sie sie mit der Option zum Bearbeiten von Ãœbermittlungen erneut hoch.'; +$string['errorcode9'] = 'Die Datei kann nicht übermittelt werden, da im Dateipool kein zugänglicher Inhalt für eine Ãœbermittlung vorhanden ist.'; $string['coursegeterror'] = 'Kursdaten konnten nicht abgerufen werden.'; -$string['configureerror'] = 'Sie müssen dieses Modul vollständig als Administrator konfigurieren, um es in einem Kurs benutzen zu können. Wenden Sie sich an Ihren Moodle-Administrator.'; -$string['turnitintoolofflineerror'] = 'Es ist ein vorübergehendes Problem aufgetreten. Bitte versuchen Sie es später erneut.'; -$string['defaultinserterror'] = 'Beim Einfügen einer Standardwerteinstellung in die Datenbank ist ein Fehler eingetreten.'; +$string['configureerror'] = 'Sie müssen dieses Modul vollständig als Administrator konfigurieren, um es in einem Kurs benutzen zu können. Wenden Sie sich an Ihren Moodle-Administrator.'; +$string['turnitintoolofflineerror'] = 'Es ist ein vorübergehendes Problem aufgetreten. Bitte versuchen Sie es später erneut.'; +$string['defaultinserterror'] = 'Beim Einfügen einer Standardwerteinstellung in die Datenbank ist ein Fehler eingetreten.'; $string['defaultupdateerror'] = 'Beim Aktualisieren einer Standardwerteinstellung in der Datenbank ist ein Fehler eingetreten.'; $string['tiiassignmentgeterror'] = 'Beim Versuch, eine Aufgabe von Turnitin abzurufen, ist ein Fehler aufgetreten.'; -$string['assigngeterror'] = 'Daten für turnitintooltwo konnten nicht aufgerufen werden.'; +$string['assigngeterror'] = 'Daten für turnitintooltwo konnten nicht aufgerufen werden.'; $string['classupdateerror'] = 'Daten des Turnitin-Kurses konnten nicht aktualisiert werden.'; -$string['pp_createsubmissionerror'] = 'Beim Versuch, eine Übermittlung zu Turnitin einzurichten, ist ein Fehler aufgetreten.'; -$string['pp_updatesubmissionerror'] = 'Beim Versuch, Ihre Übermittlung zu Turnitin erneut vorzunehmen, ist ein Fehler aufgetreten.'; -$string['tiisubmissiongeterror'] = 'Beim Versuch, eine Übermittlung vom Turnitin zu erhalten, ist ein Fehler aufgetreten.'; +$string['pp_createsubmissionerror'] = 'Beim Versuch, eine Ãœbermittlung zu Turnitin einzurichten, ist ein Fehler aufgetreten.'; +$string['pp_updatesubmissionerror'] = 'Beim Versuch, Ihre Ãœbermittlung zu Turnitin erneut vorzunehmen, ist ein Fehler aufgetreten.'; +$string['tiisubmissiongeterror'] = 'Beim Versuch, eine Ãœbermittlung vom Turnitin zu erhalten, ist ein Fehler aufgetreten.'; // Javascript. -$string['closebutton'] = 'Schließen'; +$string['closebutton'] = 'Schließen'; $string['loadingdv'] = 'Turnitin-Dokumentenansicht wird geladen...'; -$string['changerubricwarning'] = 'Durch das Ändern oder Entfernen einer Rubrik werden alle vorhandenen Rubrikbewertungen der Arbeiten zu dieser Aufgabe entfernt, einschließlich ausgefüllter Bewertungskarten. Gesamtnoten für zuvor bewertete Arbeiten bleiben erhalten.'; -$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; +$string['changerubricwarning'] = 'Durch das Ändern oder Entfernen einer Rubrik werden alle vorhandenen Rubrikbewertungen der Arbeiten zu dieser Aufgabe entfernt, einschließlich ausgefüllter Bewertungskarten. Gesamtnoten für zuvor bewertete Arbeiten bleiben erhalten.'; +$string['messageprovider:submission'] = 'Turnitin-Plugin zur Plagiarismuserkennung – Benachrichtigungen zum digitalen Beleg'; // Turnitin Submission Status. $string['turnitinstatus'] = 'Turnitin-Status'; -$string['deleted'] = 'Gelöscht'; +$string['deleted'] = 'Gelöscht'; $string['pending'] = 'Ausstehend'; -$string['because'] = 'Ursache: Ein Administrator hat die ausstehende Aufgabe aus der Verarbeitungswarteschlange gelöscht und die Übermittlung an Turnitin abgebrochen.
Die Datei ist weiterhin in Moodle vorhanden; wenden Sie sich an die zuständige Lehrkraft.
Fehlercodes siehe unten:'; +$string['because'] = 'Ursache: Ein Administrator hat die ausstehende Aufgabe aus der Verarbeitungswarteschlange gelöscht und die Übermittlung an Turnitin abgebrochen.
Die Datei ist weiterhin in Moodle vorhanden; wenden Sie sich an die zuständige Lehrkraft.
Fehlercodes siehe unten:'; diff --git a/lang/es/plagiarism_turnitin.php b/lang/es/plagiarism_turnitin.php index 7bdf3679..cd68feb1 100755 --- a/lang/es/plagiarism_turnitin.php +++ b/lang/es/plagiarism_turnitin.php @@ -1,4 +1,4 @@ - Date: Thu, 22 Dec 2016 17:33:01 +0000 Subject: [PATCH 38/56] Tidying up lib.php and removing new line from language packs. --- lang/ar/plagiarism_turnitin.php | 1 - lang/cs/plagiarism_turnitin.php | 1 - lang/de/plagiarism_turnitin.php | 1 - lang/en/plagiarism_turnitin.php | 1 - lang/es/plagiarism_turnitin.php | 1 - lang/fi/plagiarism_turnitin.php | 1 - lang/fr/plagiarism_turnitin.php | 1 - lang/it/plagiarism_turnitin.php | 1 - lang/ja/plagiarism_turnitin.php | 1 - lang/ko/plagiarism_turnitin.php | 1 - lang/nl/plagiarism_turnitin.php | 1 - lang/pl/plagiarism_turnitin.php | 1 - lang/pt_br/plagiarism_turnitin.php | 1 - lang/ro/plagiarism_turnitin.php | 1 - lang/ru/plagiarism_turnitin.php | 1 - lang/sv/plagiarism_turnitin.php | 3 +- lang/tr/plagiarism_turnitin.php | 1 - lang/vi/plagiarism_turnitin.php | 1 - lang/zh_hans/plagiarism_turnitin.php | 1 - lang/zh_tw/plagiarism_turnitin.php | 1 - lib.php | 89 ++++++++++++++-------------- settings.php | 14 ++--- turnitinplugin_view.class.php | 45 +++++++------- 23 files changed, 77 insertions(+), 93 deletions(-) diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php index 88b36494..0f305370 100755 --- a/lang/ar/plagiarism_turnitin.php +++ b/lang/ar/plagiarism_turnitin.php @@ -1,5 +1,4 @@ dirroot.'/plagiarism/lib.php'); -// Require classes from mod/turnitintooltwo +// Require classes from mod/turnitintooltwo. require_once($CFG->dirroot.'/mod/turnitintooltwo/lib.php'); require_once($CFG->dirroot.'/mod/turnitintooltwo/turnitintooltwo_view.class.php'); -// Include plugin classes +// Include plugin classes. require_once(__DIR__."/turnitinplugin_view.class.php"); require_once(__DIR__.'/classes/turnitin_class.class.php'); require_once(__DIR__.'/classes/turnitin_submission.class.php'); require_once(__DIR__.'/classes/turnitin_comms.class.php'); require_once(__DIR__.'/classes/digitalreceipt/pp_receipt_message.php'); -// Include supported module specific code +// Include supported module specific code. require_once(__DIR__.'/classes/modules/turnitin_assign.class.php'); require_once(__DIR__.'/classes/modules/turnitin_forum.class.php'); require_once(__DIR__.'/classes/modules/turnitin_workshop.class.php'); @@ -68,7 +68,7 @@ class plagiarism_plugin_turnitin extends plagiarism_plugin { /** * Get the fields to be used in the form to configure each activities Turnitin settings. * - * @return array of settings fields + * @return array of settings fields. */ public function get_settings_fields() { return array('use_turnitin', 'plagiarism_show_student_report', 'plagiarism_draft_submit', @@ -110,11 +110,11 @@ public function get_settings($cmid = null, $uselockedvalues = true) { } // Enforce site wide config locking. - foreach ($defaults as $key => $value){ - if (substr($key, -5) !== '_lock'){ + foreach ($defaults as $key => $value) { + if (substr($key, -5) !== '_lock') { continue; } - if ($value != 1){ + if ($value != 1) { continue; } $setting = substr($key, 0, -5); @@ -239,12 +239,13 @@ public function get_form_elements_module($mform, $context, $modulename = "") { // Get assignment settings, use default settings on assignment creation. $plagiarismvalues = $this->get_settings($cmid); - /* If Turnitin is disabled and we don't have settings (we're editing an existing assignment that was created without Turnitin enabled) + /* If Turnitin is disabled and we don't have settings (we're editing an existing assignment + * that was created without Turnitin enabled) * Then we pass NULL for the $cmid to ensure we have the default settings should they enable Turnitin. */ if (empty($plagiarismvalues["use_turnitin"]) && count($plagiarismvalues) <= 2) { $savedvalues = $plagiarismvalues; - $plagiarismvalues = $this->get_settings(NULL); + $plagiarismvalues = $this->get_settings(null); // Ensure we reuse the saved setting for use Turnitin. if (isset($savedvalues["use_turnitin"])) { @@ -260,7 +261,8 @@ public function get_form_elements_module($mform, $context, $modulename = "") { // Create/Edit course in Turnitin and join user to class. $course = $this->get_course_data($cmid, $COURSE->id); - $turnitinpluginview->add_elements_to_settings_form($mform, $course, "activity", $cmid, $plagiarismvalues["plagiarism_rubric"]); + $turnitinpluginview->add_elements_to_settings_form($mform, $course, "activity", + $cmid, $plagiarismvalues["plagiarism_rubric"]); // Disable all plagiarism elements if turnitin is not enabled. foreach ($plagiarismelements as $element) { @@ -306,11 +308,11 @@ public static function course_reset($eventdata) { // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); - foreach(scandir(__DIR__.'/classes/modules/') as $filename){ - if (!in_array($filename, array(".",".."))) { - $filename_ar = explode('.', $filename); - $classname_ar = explode('_', $filename_ar[0]); // $filename_ar[0] is class name. - $supportedmods[] = $classname_ar[1]; // $classname_ar[1] is module name. + foreach(scandir(__DIR__.'/classes/modules/') as $filename) { + if (!in_array($filename, array(".", ".."))) { + $filenamear = explode('.', $filename); + $classnamear = explode('_', $filenamear[0]); // $filenamear[0] is the class name. + $supportedmods[] = $classnamear[1]; // $classnamear[1] is the module name. } } @@ -320,7 +322,7 @@ public static function course_reset($eventdata) { continue; } - // Get all the course modules that have Turnitin enabled + // Get all the course modules that have Turnitin enabled. $sql = "SELECT cm.id FROM {course_modules} cm RIGHT JOIN {plagiarism_turnitin_config} ptc ON cm.id = ptc.cm @@ -344,8 +346,8 @@ public static function course_reset($eventdata) { } } - // If all turnitin enabled modules for this course have been reset - // then remove the Turnitin course id from the database + // If all turnitin enabled modules for this course have been reset. + // then remove the Turnitin course id from the database. if ($resetcourse) { $DB->delete_records('turnitintooltwo_courses', array('courseid' => $courseid, 'course_type' => 'PP')); } @@ -397,7 +399,7 @@ public function print_disclosure($cmid) { $config = turnitintooltwo_admin_config(); $output = ''; - // Get course details + // Get course details. $cm = get_coursemodule_from_id('', $cmid); $moduletiienabled = $this->get_config_settings('mod_'.$cm->modname); @@ -1783,7 +1785,7 @@ public function cron() { global $DB, $CFG, $PLAGIARISM_TURNITIN_TASKCALL; // 2.7 onwards we would like to be called from task calls. - if ( $CFG->version > 2014051200 AND !$PLAGIARISM_TURNITIN_TASKCALL ){ + if ( $CFG->version > 2014051200 AND !$PLAGIARISM_TURNITIN_TASKCALL ) { mtrace("[Turnitin Plagiarism Plugin] Aborted Cron call because of active task mode"); return; } @@ -1813,17 +1815,17 @@ public function cron() { } /** - * Updates the database field duedate_report_refresh for any given submission ID. - * @param int $id - the ID of the submission to update. - * @param int $newValue - the value to which the field should be set. - */ + * Updates the database field duedate_report_refresh for any given submission ID. + * @param int $id - the ID of the submission to update. + * @param int $newValue - the value to which the field should be set. + */ public function set_duedate_report_refresh($id, $newValue) { global $DB; - $update_data = new stdClass(); - $update_data->id = $id; - $update_data->duedate_report_refresh = $newValue; - $DB->update_record('plagiarism_turnitin_files', $update_data); + $updatedata = new stdClass(); + $updatedata->id = $id; + $updatedata->duedate_report_refresh = $newValue; + $DB->update_record('plagiarism_turnitin_files', $updatedata); } /** @@ -1847,7 +1849,7 @@ public function cron_update_scores($submissiontype = 'file', $submissions) { $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); $now = strtotime('now'); $dtdue = (!empty($moduledata->duedate)) ? $moduledata->duedate : 0; - if ($now >= $dtdue && $now < strtotime('+1 day',$dtdue)) { + if ($now >= $dtdue && $now < strtotime('+1 day', $dtdue)) { $this->set_duedate_report_refresh($tiisubmission->id, 1); } @@ -1943,7 +1945,7 @@ public function cron_update_scores($submissiontype = 'file', $submissions) { } } - // Sets the duedate_report_refresh flag for each processed submission to 2 to prevent them being processed again in the next cron run + // Sets the duedate_report_refresh flag for each processed submission to 2 to prevent them being processed again in the next cron run. foreach ($submissions as $tiisubmission) { if ($cm = get_coursemodule_from_id('', $tiisubmission->cm)) { $this->set_duedate_report_refresh($tiisubmission->id, 2); @@ -1975,7 +1977,7 @@ private function get_course_id_from_assignment_id($assignmentid) { } /** - * Previous incarnations of this plugin did not store the turnitin course id so we have to get this using the assignment id, + * Previous incarnations of this plugin did not store the turnitin course id so we have to get this using the assignment id. * If that wasn't linked with turnitin then we have to check all the modules on this course. */ public function get_previous_course_id($cmid, $courseid) { @@ -2108,7 +2110,7 @@ public function queue_submission_to_turnitin($cm, $author, $submitter, $identifi } $attempt = $previoussubmission->attempt; } else { - // Check if there is previous submission of text content which we will replace + // Check if there is previous submission of text content which we will replace. $typefield = ($CFG->dbtype == "oci") ? " to_char(submissiontype) " : " submissiontype "; if ($submissiontype == 'text_content' && $previoussubmission = $DB->get_record_select('plagiarism_turnitin_files', @@ -2204,7 +2206,7 @@ public function event_handler($eventdata) { return true; } - // Get module data + // Get module data. $moduledata = $DB->get_record($cm->modname, array('id' => $cm->instance)); if ($cm->modname != 'assign') { $moduledata->submissiondrafts = 0; @@ -2220,7 +2222,7 @@ public function event_handler($eventdata) { $submitter = $eventdata['userid']; $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; - // Get actual text content and files to be submitted for draft submissions + // Get actual text content and files to be submitted for draft submissions. // as this won't be present in eventdata for certain event types. if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { // Get content. @@ -2513,7 +2515,7 @@ function plagiarism_turnitin_send_queued_submissions() { $pluginturnitin = new plagiarism_plugin_turnitin(); $queueditems = $DB->get_records_select("plagiarism_turnitin_files", "statuscode = 'queued' OR statuscode = 'pending'", - NULL, '', '*', 0, PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); + null, '', '*', 0, PLAGIARISM_TURNITIN_CRON_SUBMISSIONS_LIMIT); // Submit each file individually to Turnitin. foreach ($queueditems as $queueditem) { @@ -2657,34 +2659,35 @@ function plagiarism_turnitin_send_queued_submissions() { } // Read the stored file/content into a temp file for submitting. - $submission_title = explode('.', $title); + $submissiontitle = explode('.', $title); // Compile file string array for naming the file. - $file_string = array( - $submission_title[0], + $filestring = array( + $submissiontitle[0], $cm->id ); // Only include user's name and id if we're not using blind marking and student privacy. if ( empty($moduledata->blindmarking) && empty($config->enablepseudo) ) { - $user_details = array( + $userdetails = array( $user->id, $user->firstname, $user->lastname ); - $file_string = array_merge($user_details, $file_string); + $filestring = array_merge($userdetails, $filestring); } try { - $tempfile = turnitintooltwo_tempfile($file_string, $filename); + $tempfile = turnitintooltwo_tempfile($filestring, $filename); } catch (Exception $e) { $errorcode = 8; } // Save failed submission and don't process any further. if ($errorcode != 0) { - return $pluginturnitin->save_submission($cm, $queueditem->author, $queueditem->id, $queueditem->identifier, 'error', $queueditem->externalid, + return $pluginturnitin->save_submission($cm, $queueditem->author, $queueditem->id, + $queueditem->identifier, 'error', $queueditem->externalid, $queueditem->submitter, $queueditem->itemid, $queueditem->submissiontype, $queueditem->attempt, $errorcode); } @@ -2733,7 +2736,7 @@ function plagiarism_turnitin_send_queued_submissions() { unlink($tempfile); } - // Add config field to show submissions have been made which we use to lock anonymous marking setting + // Add config field to show submissions have been made which we use to lock anonymous marking setting. $configfield = new stdClass(); $configfield->cm = $cm->id; $configfield->name = 'submitted'; diff --git a/settings.php b/settings.php index fd4d553d..5379592a 100644 --- a/settings.php +++ b/settings.php @@ -40,10 +40,10 @@ } $plagiarismpluginturnitin = new plagiarism_plugin_turnitin(); -$supported_mods = array('assign', 'forum', 'workshop'); +$supportedmods = array('assign', 'forum', 'workshop'); -if ($DB->record_exists('modules',array('name'=>'coursework','visible'=>1))) { - $supported_mods[] = 'coursework'; +if ($DB->record_exists('modules',array('name' => 'coursework', 'visible' => 1))) { + $supportedmods[] = 'coursework'; } // Get plugin config. @@ -51,7 +51,7 @@ $pluginconfig['turnitin_use'] = get_config('plagiarism', 'turnitin_use'); // Check that mod enabled setting has been initialised. -foreach ($supported_mods as $mod) { +foreach ($supportedmods as $mod) { $pluginconfig['turnitin_use_mod_'.$mod] = $plagiarismpluginturnitin->get_config_settings('mod_'.$mod); } @@ -61,12 +61,12 @@ if (!empty($action)) { switch ($action) { case "config": - // Overall plugin use setting + // Overall plugin use setting. $turnitinoveralluse = optional_param('turnitin_use', 0, PARAM_INT); set_config('turnitin_use', $turnitinoveralluse, 'plagiarism'); // Allow Turnitin to be on for Individual modules. - foreach ($supported_mods as $mod) { + foreach ($supportedmods as $mod) { $turnitinuse = optional_param('turnitin_use_mod_'.$mod, 0, PARAM_INT); $turnitinuse = ($turnitinoveralluse == 0) ? 0 : $turnitinuse; @@ -92,7 +92,7 @@ $defaultfield = new stdClass(); $defaultfield->cm = null; $defaultfield->name = $field; - if ($field == 'plagiarism_locked_message'){ + if ($field == 'plagiarism_locked_message') { $defaultfield->value = optional_param($field, '', PARAM_TEXT); } else { $defaultfield->value = optional_param($field, '', PARAM_ALPHANUMEXT); diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index ab2b0908..52a5b748 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -59,7 +59,7 @@ public function draw_settings_tab_menu($currenttab, $notice = null) { public function show_config_form($pluginconfig) { global $CFG, $DB; - // Populate elements array which will generate the form elements + // Populate elements array which will generate the form elements. // Each element is in following format: (type, name, label, helptext (minus _help), options (if select). $elements = array(); $elements[] = array('header', 'config', get_string('turnitinconfig', 'plagiarism_turnitin')); @@ -67,16 +67,17 @@ public function show_config_form($pluginconfig) { $elements[] = array('advcheckbox', 'turnitin_use', get_string('useturnitin', 'plagiarism_turnitin'), '', array(0, 1)); - // Enable Turnitin for specific modules - $supported_mods = array('assign', 'forum', 'workshop'); + // Enable Turnitin for specific modules. + $supportedmods = array('assign', 'forum', 'workshop'); - if ($DB->record_exists('modules',array('name'=>'coursework','visible'=>1))) { - $supported_mods[] = 'coursework'; + if ($DB->record_exists('modules',array('name' => 'coursework','visible' => 1))) { + $supportedmods[] = 'coursework'; } - foreach ($supported_mods as $mod) { - $elements[] = array('checkbox', 'turnitin_use_mod_'.$mod, get_string('useturnitin_mod', 'plagiarism_turnitin', $mod), '', - '', '', '', array('turnitin_use', '==', 1)); + foreach ($supportedmods as $mod) { + $elements[] = array('checkbox', 'turnitin_use_mod_'.$mod, + get_string('useturnitin_mod', 'plagiarism_turnitin', $mod), '', + '', '', '', array('turnitin_use', '==', 1)); } $elements[] = array('html', get_string('pp_configuredesc', 'plagiarism_turnitin', $CFG->wwwroot)); @@ -110,7 +111,7 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $PAGE->requires->string_for_js('closebutton', 'plagiarism_turnitin'); $config = turnitintooltwo_admin_config(); - $config_warning = ''; + $configwarning = ''; $rubrics = array(); if ($location == "activity") { @@ -153,10 +154,10 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $cssurl = new moodle_url('/mod/turnitintooltwo/css/colorbox.css'); $PAGE->requires->css($cssurl); - // Refresh Grades + // Refresh Grades. $refreshgrades = ''; if ($cmid != 0) { - // If assignment has submissions then show a refresh grades button + // If assignment has submissions then show a refresh grades button. $numsubs = $DB->count_records('plagiarism_turnitin_files', array('cm' => $cmid)); if ($numsubs > 0) { $refreshgrades = html_writer::tag('div', $OUTPUT->pix_icon('refresh', get_string('turnitinrefreshsubmissions', 'plagiarism_turnitin'), 'plagiarism_turnitin'). @@ -183,11 +184,11 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $quickmarkmanagerlink .= $OUTPUT->box_end(true); } - $use_turnitin = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cmid, 'name' => 'use_turnitin')); + $useturnitin = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cmid, 'name' => 'use_turnitin')); // Peermark Manager. $peermarkmanagerlink = ''; - if (!empty($config->enablepeermark) && !empty($use_turnitin->value)) { + if (!empty($config->enablepeermark) && !empty($useturnitin->value)) { if ($cmid != 0) { $peermarkmanagerlink .= $OUTPUT->box_start('row_peermark_manager', ''); $peermarkmanagerlink .= html_writer::link($CFG->wwwroot. @@ -210,7 +211,7 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $locks = $DB->get_records_sql("SELECT name, value FROM {plagiarism_turnitin_config} WHERE cm IS NULL"); - if (empty($config_warning)) { + if (empty($configwarning)) { $mform->addElement('select', 'use_turnitin', get_string("useturnitin", "turnitintooltwo"), $options); $this->lock($mform, $location, $locks); @@ -234,21 +235,21 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $suboptions = array(0 => get_string('norepository', 'plagiarism_turnitin'), 1 => get_string('standardrepository', 'plagiarism_turnitin')); switch ($config->repositoryoption) { - case 0; // Standard options + case 0; // Standard options. $mform->addElement('select', 'plagiarism_submitpapersto', get_string('submitpapersto', 'plagiarism_turnitin'), $suboptions); $this->lock($mform, $location, $locks); break; - case 1; // Standard options + Allow Instituional Repository + case 1; // Standard options + Allow Instituional Repository. $suboptions[2] = get_string('institutionalrepository', 'plagiarism_turnitin'); $mform->addElement('select', 'plagiarism_submitpapersto', get_string('submitpapersto', 'plagiarism_turnitin'), $suboptions); $this->lock($mform, $location, $locks); break; - case 2; // Force Standard Repository + case 2; // Force Standard Repository. $mform->addElement('hidden', 'plagiarism_submitpapersto', 1); $mform->setType('plagiarism_submitpapersto', PARAM_RAW); break; - case 3; // Force No Repository + case 3; // Force No Repository. $mform->addElement('hidden', 'plagiarism_submitpapersto', 0); $mform->setType('plagiarism_submitpapersto', PARAM_RAW); break; @@ -286,7 +287,7 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti $mform->addRule('plagiarism_exclude_matches_value', null, 'numeric', null, 'client'); $mform->disabledIf('plagiarism_exclude_matches_value', 'plagiarism_exclude_matches', 'eq', 0); - if ($location == 'defaults'){ + if ($location == 'defaults') { $mform->addElement('text', 'plagiarism_locked_message', get_string("locked_message", "plagiarism_turnitin"), 'maxlength="50" size="50"' ); $mform->setType('plagiarism_locked_message', PARAM_TEXT); $mform->setDefault('plagiarism_locked_message', get_string("locked_message_default", "plagiarism_turnitin") ); @@ -523,13 +524,13 @@ public function show_file_errors_table($page = 0) { public function lock($mform, $location, $locks) { $field = end($mform->_elements)->_attributes['name']; - if ($location == 'defaults'){ - // If we are on the site config level, show the lock UI + if ($location == 'defaults') { + // If we are on the site config level, show the lock UI. $mform->addElement('advcheckbox', $field . '_lock', '', get_string('locked', 'admin'), array('group' => 1) ); } else { - // If we are at the plugin level, and we are locked then freeze + // If we are at the plugin level, and we are locked then freeze. $locked = (isset($locks[$field.'_lock']->value)) ? $locks[$field.'_lock']->value : 0; if ($locked) { $mform->freeze($field); From f908f505042f0d1ea3ee3b9fc245dcddf9f3e841 Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 22 Dec 2016 17:38:57 +0000 Subject: [PATCH 39/56] Appending Moodle message to language string files. --- lang/ar/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/cs/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/de/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/en/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/es/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/fi/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/fr/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/it/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/ja/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/ko/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/nl/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/pl/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/pt_br/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/ro/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/ru/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/sv/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/tr/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/vi/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/zh_hans/plagiarism_turnitin.php | 20 ++++++++++++++++++++ lang/zh_tw/plagiarism_turnitin.php | 20 ++++++++++++++++++++ 20 files changed, 400 insertions(+) diff --git a/lang/ar/plagiarism_turnitin.php b/lang/ar/plagiarism_turnitin.php index 0f305370..b86848c2 100755 --- a/lang/ar/plagiarism_turnitin.php +++ b/lang/ar/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/cs/plagiarism_turnitin.php b/lang/cs/plagiarism_turnitin.php index beee5a24..7dd540d5 100755 --- a/lang/cs/plagiarism_turnitin.php +++ b/lang/cs/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/de/plagiarism_turnitin.php b/lang/de/plagiarism_turnitin.php index e0406a97..4bdfb9d3 100755 --- a/lang/de/plagiarism_turnitin.php +++ b/lang/de/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/en/plagiarism_turnitin.php b/lang/en/plagiarism_turnitin.php index 626cd5d1..5b88d8c9 100644 --- a/lang/en/plagiarism_turnitin.php +++ b/lang/en/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/es/plagiarism_turnitin.php b/lang/es/plagiarism_turnitin.php index a2f1cf2f..8adf559f 100755 --- a/lang/es/plagiarism_turnitin.php +++ b/lang/es/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/fi/plagiarism_turnitin.php b/lang/fi/plagiarism_turnitin.php index 15394210..bd27e07f 100755 --- a/lang/fi/plagiarism_turnitin.php +++ b/lang/fi/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/fr/plagiarism_turnitin.php b/lang/fr/plagiarism_turnitin.php index 8d36df9d..b2715c8f 100755 --- a/lang/fr/plagiarism_turnitin.php +++ b/lang/fr/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/it/plagiarism_turnitin.php b/lang/it/plagiarism_turnitin.php index 23107216..ec431402 100755 --- a/lang/it/plagiarism_turnitin.php +++ b/lang/it/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/ja/plagiarism_turnitin.php b/lang/ja/plagiarism_turnitin.php index 2050c9b8..fc0afb2e 100755 --- a/lang/ja/plagiarism_turnitin.php +++ b/lang/ja/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/ko/plagiarism_turnitin.php b/lang/ko/plagiarism_turnitin.php index a96b9aa0..b4d4ace5 100755 --- a/lang/ko/plagiarism_turnitin.php +++ b/lang/ko/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/nl/plagiarism_turnitin.php b/lang/nl/plagiarism_turnitin.php index caeec39a..4b356cbb 100755 --- a/lang/nl/plagiarism_turnitin.php +++ b/lang/nl/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/pl/plagiarism_turnitin.php b/lang/pl/plagiarism_turnitin.php index 381e8f31..6296d035 100755 --- a/lang/pl/plagiarism_turnitin.php +++ b/lang/pl/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/pt_br/plagiarism_turnitin.php b/lang/pt_br/plagiarism_turnitin.php index 262cd744..fa91c2b2 100755 --- a/lang/pt_br/plagiarism_turnitin.php +++ b/lang/pt_br/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/ro/plagiarism_turnitin.php b/lang/ro/plagiarism_turnitin.php index 1eb2b4e4..06429364 100755 --- a/lang/ro/plagiarism_turnitin.php +++ b/lang/ro/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/ru/plagiarism_turnitin.php b/lang/ru/plagiarism_turnitin.php index 077f0859..bf2d93ab 100755 --- a/lang/ru/plagiarism_turnitin.php +++ b/lang/ru/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/sv/plagiarism_turnitin.php b/lang/sv/plagiarism_turnitin.php index c084ea4c..72e08541 100755 --- a/lang/sv/plagiarism_turnitin.php +++ b/lang/sv/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/tr/plagiarism_turnitin.php b/lang/tr/plagiarism_turnitin.php index 88f878b6..63c918ea 100755 --- a/lang/tr/plagiarism_turnitin.php +++ b/lang/tr/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/vi/plagiarism_turnitin.php b/lang/vi/plagiarism_turnitin.php index 14d4e797..5ea5e991 100755 --- a/lang/vi/plagiarism_turnitin.php +++ b/lang/vi/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/zh_hans/plagiarism_turnitin.php b/lang/zh_hans/plagiarism_turnitin.php index d77ff8ba..d90e23b6 100755 --- a/lang/zh_hans/plagiarism_turnitin.php +++ b/lang/zh_hans/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. diff --git a/lang/zh_tw/plagiarism_turnitin.php b/lang/zh_tw/plagiarism_turnitin.php index b2be1beb..c79be61b 100755 --- a/lang/zh_tw/plagiarism_turnitin.php +++ b/lang/zh_tw/plagiarism_turnitin.php @@ -1,4 +1,24 @@ . + +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /* * To change this template, choose Tools | Templates. * and open the template in the editor. From 9f3012aa4a241056dca046712a18b14d92e88968 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 3 Jan 2017 10:24:10 +0000 Subject: [PATCH 40/56] Further Travis changes. --- .travis.yml | 4 ++-- ajax.php | 2 +- classes/digitalreceipt/pp_receipt_message.php | 2 ++ classes/modules/turnitin_assign.class.php | 4 +++- classes/modules/turnitin_coursework.class.php | 9 ++++--- classes/modules/turnitin_forum.class.php | 4 +++- classes/modules/turnitin_workshop.class.php | 4 +++- classes/task/update_reports.php | 1 - classes/turnitin_class.class.php | 5 +++- classes/turnitin_comms.class.php | 11 +++++---- db/access.php | 7 ++++++ db/events.php | 7 ++++++ db/messages.php | 4 ++-- db/tasks.php | 7 ++++++ db/upgrade.php | 8 +++++-- jquery/plugins.php | 2 ++ settings.php | 2 +- turnitinplugin_view.class.php | 5 ++-- version.php | 24 +++++++++++++++---- 19 files changed, 85 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 371ac97f..9034ddaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,10 +37,10 @@ script: - moodle-plugin-ci phplint - moodle-plugin-ci phpcpd - moodle-plugin-ci phpmd - - moodle-plugin-ci codechecker +# - moodle-plugin-ci codechecker - moodle-plugin-ci csslint - moodle-plugin-ci shifter - - moodle-plugin-ci jshint +# - moodle-plugin-ci jshint - moodle-plugin-ci validate - moodle-plugin-ci phpunit - moodle-plugin-ci behat \ No newline at end of file diff --git a/ajax.php b/ajax.php index 5cd791bb..25d33430 100644 --- a/ajax.php +++ b/ajax.php @@ -24,7 +24,7 @@ $action = required_param('action', PARAM_ALPHAEXT); $cmid = optional_param('cmid', 0, PARAM_INT); $itemid = optional_param('itemid', 0, PARAM_INT); -if( !empty( $cmid ) ) { +if ( !empty( $cmid ) ) { $cm = get_coursemodule_from_id('', $cmid); $context = context_course::instance($cm->course); diff --git a/classes/digitalreceipt/pp_receipt_message.php b/classes/digitalreceipt/pp_receipt_message.php index 5155f213..f2fdea52 100644 --- a/classes/digitalreceipt/pp_receipt_message.php +++ b/classes/digitalreceipt/pp_receipt_message.php @@ -21,6 +21,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +defined('MOODLE_INTERNAL') || die(); + class pp_receipt_message { /** diff --git a/classes/modules/turnitin_assign.class.php b/classes/modules/turnitin_assign.class.php index 238dad05..8994406c 100644 --- a/classes/modules/turnitin_assign.class.php +++ b/classes/modules/turnitin_assign.class.php @@ -19,7 +19,9 @@ * @copyright 2012 iParadigms LLC * */ -// TODO: Split out all module specific code from plagiarism/turnitin/lib.php +defined('MOODLE_INTERNAL') || die(); + +// TODO: Split out all module specific code from plagiarism/turnitin/lib.php. class turnitin_assign { private $modname; diff --git a/classes/modules/turnitin_coursework.class.php b/classes/modules/turnitin_coursework.class.php index 5b105f09..02c1b39f 100644 --- a/classes/modules/turnitin_coursework.class.php +++ b/classes/modules/turnitin_coursework.class.php @@ -19,7 +19,9 @@ * @copyright 2012 iParadigms LLC * */ -// TODO: Split out all module specific code from plagiarism/turnitin/lib.php +defined('MOODLE_INTERNAL') || die(); + +// TODO: Split out all module specific code from plagiarism/turnitin/lib.php. class turnitin_coursework { private $modname; @@ -33,7 +35,8 @@ public function __construct() { } public function is_tutor($context) { - $capabilities = array($this->get_tutor_capability(), 'mod/coursework:addagreedgrade', 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); + $capabilities = array($this->get_tutor_capability(), 'mod/coursework:addagreedgrade', + 'mod/coursework:addallocatedagreedgrade', 'mod/coursework:administergrades'); return has_any_capability($capabilities, $context); } @@ -75,7 +78,7 @@ public function get_current_gradequery($userid, $moduleid, $itemid = 0) { AND cs.courseworkid = :courseworkid AND cf.stage_identifier = :stage"; - $params = array('stage' => 'final_agreed_1','authorid' => $userid,'courseworkid' => $moduleid); + $params = array('stage' => 'final_agreed_1', 'authorid' => $userid, 'courseworkid' => $moduleid); $currentgradesquery = $DB->get_record_sql($sql, $params); diff --git a/classes/modules/turnitin_forum.class.php b/classes/modules/turnitin_forum.class.php index 849ba74b..d73d3071 100644 --- a/classes/modules/turnitin_forum.class.php +++ b/classes/modules/turnitin_forum.class.php @@ -19,7 +19,9 @@ * @copyright 2012 iParadigms LLC * */ -// TODO: Split out all module specific code from plagiarism/turnitin/lib.php +defined('MOODLE_INTERNAL') || die(); + +// TODO: Split out all module specific code from plagiarism/turnitin/lib.php. class turnitin_forum { private $modname; diff --git a/classes/modules/turnitin_workshop.class.php b/classes/modules/turnitin_workshop.class.php index e6f00c87..0217c6ab 100644 --- a/classes/modules/turnitin_workshop.class.php +++ b/classes/modules/turnitin_workshop.class.php @@ -19,7 +19,9 @@ * @copyright 2012 iParadigms LLC * */ -// TODO: Split out all module specific code from plagiarism/turnitin/lib.php +defined('MOODLE_INTERNAL') || die(); + +// TODO: Split out all module specific code from plagiarism/turnitin/lib.php. class turnitin_workshop { private $modname; diff --git a/classes/task/update_reports.php b/classes/task/update_reports.php index a5d8a264..b9124dd3 100644 --- a/classes/task/update_reports.php +++ b/classes/task/update_reports.php @@ -1,5 +1,4 @@ getSharedRubrics(); $rubricarray = array(); foreach ($rubrics as $rubric) { - $rubricarray[$rubric->getRubricId()] = $rubric->getRubricName()." [".get_string('sharedrubric', 'plagiarism_turnitin')."]"; + $rubricarray[$rubric->getRubricId()] = $rubric->getRubricName()." + [".get_string('sharedrubric', 'plagiarism_turnitin')."]"; } $this->sharedrubrics = $rubricarray; diff --git a/classes/turnitin_comms.class.php b/classes/turnitin_comms.class.php index 5f93fb85..ff8b38fc 100644 --- a/classes/turnitin_comms.class.php +++ b/classes/turnitin_comms.class.php @@ -19,8 +19,11 @@ * and open the template in the editor. */ -// We can't currently use the sdk classes as the class is already declared from mod/turnitintooltwo. -// require_once(__DIR__.'/../sdk/api.class.php'); +defined('MOODLE_INTERNAL') || die(); + +/* We can't currently use the sdk classes as the class is already declared from mod/turnitintooltwo. + * require_once(__DIR__.'/../sdk/api.class.php'); + */ require_once($CFG->dirroot.'/mod/turnitintooltwo/turnitintooltwo_perflog.class.php'); class turnitin_comms { @@ -65,7 +68,7 @@ public function initialise_api( $istestingconnection = false ) { $api->setLogPath($CFG->tempdir.'/turnitintooltwo/logs/'); } - // Use Moodle's proxy settings if specified + // Use Moodle's proxy settings if specified. if (!empty($CFG->proxyhost)) { $api->setProxyHost($CFG->proxyhost); } @@ -98,7 +101,7 @@ public function initialise_api( $istestingconnection = false ) { $api->setSSLCertificate($certificate); } - // Offline mode provided by Androgogic + // Offline mode provided by Androgogic. if (!empty($CFG->tiioffline) && !$istestingconnection && empty($tiipp->in_use)) { turnitintooltwo_print_error('turnitintoolofflineerror', 'plagiarism_turnitin'); } diff --git a/db/access.php b/db/access.php index 0808fb6a..b8df2c24 100644 --- a/db/access.php +++ b/db/access.php @@ -14,6 +14,13 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + +defined('MOODLE_INTERNAL') || die(); + $capabilities = array( 'plagiarism/turnitin:enable' => array( 'captype' => 'write', diff --git a/db/events.php b/db/events.php index fda23c7a..030182ba 100644 --- a/db/events.php +++ b/db/events.php @@ -14,6 +14,13 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + +defined('MOODLE_INTERNAL') || die(); + $observers = array ( array( 'eventname' => '\assignsubmission_file\event\assessable_uploaded', diff --git a/db/messages.php b/db/messages.php index b5c072ea..a8e2a217 100644 --- a/db/messages.php +++ b/db/messages.php @@ -19,11 +19,11 @@ * @copyright 2010 iParadigms LLC */ +defined('MOODLE_INTERNAL') || die(); + defined('MOODLE_INTERNAL') || die(); $messageproviders = array ( // Notify student with their digital receipt. 'submission' => array ( ) ); - -?> \ No newline at end of file diff --git a/db/tasks.php b/db/tasks.php index a402216c..8c71b76d 100644 --- a/db/tasks.php +++ b/db/tasks.php @@ -14,10 +14,17 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + /** * @package plagiarism_turnitin */ +defined('MOODLE_INTERNAL') || die(); + $tasks = array( array( 'classname' => 'plagiarism_turnitin\task\update_reports', diff --git a/db/upgrade.php b/db/upgrade.php index 6ce73b41..202b0b9b 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -14,8 +14,12 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . -// This file keeps track of upgrades to -// the plagiarism Turnitin module. +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC + */ + +defined('MOODLE_INTERNAL') || die(); /** * @global moodle_database $DB diff --git a/jquery/plugins.php b/jquery/plugins.php index c4fe440c..29ed10fe 100644 --- a/jquery/plugins.php +++ b/jquery/plugins.php @@ -19,6 +19,8 @@ * @copyright 2012 iParadigms LLC */ +defined('MOODLE_INTERNAL') || die(); + $plugins = array( 'plagiarism-turnitin_module' => array('files' => array('turnitin_module.js')), 'plagiarism-turnitin_settings' => array('files' => array('turnitin_settings.js')) diff --git a/settings.php b/settings.php index 5379592a..110b7b5b 100644 --- a/settings.php +++ b/settings.php @@ -42,7 +42,7 @@ $plagiarismpluginturnitin = new plagiarism_plugin_turnitin(); $supportedmods = array('assign', 'forum', 'workshop'); -if ($DB->record_exists('modules',array('name' => 'coursework', 'visible' => 1))) { +if ($DB->record_exists('modules', array('name' => 'coursework', 'visible' => 1))) { $supportedmods[] = 'coursework'; } diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index 52a5b748..d862f5c1 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -70,7 +70,7 @@ public function show_config_form($pluginconfig) { // Enable Turnitin for specific modules. $supportedmods = array('assign', 'forum', 'workshop'); - if ($DB->record_exists('modules',array('name' => 'coursework','visible' => 1))) { + if ($DB->record_exists('modules', array('name' => 'coursework', 'visible' => 1))) { $supportedmods[] = 'coursework'; } @@ -164,7 +164,8 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti html_writer::tag('span', get_string('turnitinrefreshsubmissions', 'plagiarism_turnitin')), array('class' => 'plagiarism_turnitin_refresh_grades')); - $refreshgrades .= html_writer::tag('div', $OUTPUT->pix_icon('loading', get_string('turnitinrefreshingsubmissions', 'plagiarism_turnitin'), 'plagiarism_turnitin'). + $refreshgrades .= html_writer::tag('div', $OUTPUT->pix_icon('loading', + get_string('turnitinrefreshingsubmissions', 'plagiarism_turnitin'), 'plagiarism_turnitin'). html_writer::tag('span', get_string('turnitinrefreshingsubmissions', 'plagiarism_turnitin')), array('class' => 'plagiarism_turnitin_refreshing_grades')); } diff --git a/version.php b/version.php index 976b860a..75118d7e 100644 --- a/version.php +++ b/version.php @@ -1,13 +1,27 @@ . -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. +/** + * @package turnitintooltwo + * @copyright 2012 iParadigms LLC */ -$plugin->version = 2016112401; +$plugin->version = 2016112401; $plugin->release = "2.6+"; -$plugin->requires = 2013111800; +$plugin->requires = 2013111800; $plugin->component = 'plagiarism_turnitin'; $plugin->maturity = MATURITY_STABLE; From 8fea6c895423318f3351f25abecc97df129f4033 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 3 Jan 2017 10:33:32 +0000 Subject: [PATCH 41/56] Comment out unit tests as we haven't added them yet. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9034ddaf..a3429ebb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,5 +42,5 @@ script: - moodle-plugin-ci shifter # - moodle-plugin-ci jshint - moodle-plugin-ci validate - - moodle-plugin-ci phpunit - - moodle-plugin-ci behat \ No newline at end of file +# - moodle-plugin-ci phpunit +# - moodle-plugin-ci behat \ No newline at end of file From baacf3b68840497b6d33c6e91322011bf00298aa Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 09:43:42 +0000 Subject: [PATCH 42/56] Check for what needs new tickets creating for. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a3429ebb..371ac97f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,10 +37,10 @@ script: - moodle-plugin-ci phplint - moodle-plugin-ci phpcpd - moodle-plugin-ci phpmd -# - moodle-plugin-ci codechecker + - moodle-plugin-ci codechecker - moodle-plugin-ci csslint - moodle-plugin-ci shifter -# - moodle-plugin-ci jshint + - moodle-plugin-ci jshint - moodle-plugin-ci validate -# - moodle-plugin-ci phpunit -# - moodle-plugin-ci behat \ No newline at end of file + - moodle-plugin-ci phpunit + - moodle-plugin-ci behat \ No newline at end of file From 1af02ad8a6ecc9b4befc82b08df04e69a05cd74a Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 10:36:03 +0000 Subject: [PATCH 43/56] Further Travis changes. --- classes/modules/turnitin_assign.class.php | 4 +- classes/modules/turnitin_coursework.class.php | 4 +- classes/modules/turnitin_forum.class.php | 4 +- classes/modules/turnitin_workshop.class.php | 4 +- classes/task/update_reports.php | 4 +- classes/turnitin_submission.class.php | 4 + lib.php | 91 ++++++++++--------- 7 files changed, 61 insertions(+), 54 deletions(-) diff --git a/classes/modules/turnitin_assign.class.php b/classes/modules/turnitin_assign.class.php index 8994406c..6e7a98e3 100644 --- a/classes/modules/turnitin_assign.class.php +++ b/classes/modules/turnitin_assign.class.php @@ -25,12 +25,12 @@ class turnitin_assign { private $modname; - public $grades_table; + public $gradestable; public $filecomponent; public function __construct() { $this->modname = 'assign'; - $this->grades_table = $this->modname.'_grades'; + $this->gradestable = $this->modname.'_grades'; $this->filecomponent = $this->modname.'submission_file'; } diff --git a/classes/modules/turnitin_coursework.class.php b/classes/modules/turnitin_coursework.class.php index 02c1b39f..60c4b621 100644 --- a/classes/modules/turnitin_coursework.class.php +++ b/classes/modules/turnitin_coursework.class.php @@ -25,12 +25,12 @@ class turnitin_coursework { private $modname; - public $grades_table; + public $gradestable; public $filecomponent; public function __construct() { $this->modname = 'coursework'; - $this->grades_table = $this->modname.'_feedbacks'; + $this->gradestable = $this->modname.'_feedbacks'; $this->filecomponent = 'mod_'.$this->modname; } diff --git a/classes/modules/turnitin_forum.class.php b/classes/modules/turnitin_forum.class.php index d73d3071..86a0043a 100644 --- a/classes/modules/turnitin_forum.class.php +++ b/classes/modules/turnitin_forum.class.php @@ -25,12 +25,12 @@ class turnitin_forum { private $modname; - public $grades_table; + public $gradestable; public $filecomponent; public function __construct() { $this->modname = 'forum'; - $this->grades_table = 'grade_grades'; + $this->gradestable = 'grade_grades'; $this->filecomponent = 'mod_'.$this->modname; } diff --git a/classes/modules/turnitin_workshop.class.php b/classes/modules/turnitin_workshop.class.php index 0217c6ab..91a40f68 100644 --- a/classes/modules/turnitin_workshop.class.php +++ b/classes/modules/turnitin_workshop.class.php @@ -25,12 +25,12 @@ class turnitin_workshop { private $modname; - public $grades_table; + public $gradestable; public $filecomponent; public function __construct() { $this->modname = 'workshop'; - $this->grades_table = 'grade_grades'; + $this->gradestable = 'grade_grades'; $this->filecomponent = 'mod_'.$this->modname; } diff --git a/classes/task/update_reports.php b/classes/task/update_reports.php index b9124dd3..3d01c83e 100644 --- a/classes/task/update_reports.php +++ b/classes/task/update_reports.php @@ -36,11 +36,11 @@ public function get_name() { } public function execute() { - global $CFG, $PLAGIARISM_TURNITIN_TASKCALL; + global $CFG, $pptaskcall; // Call plagiarism turnitin cron function to update report scores. require_once($CFG->dirroot.'/plagiarism/turnitin/lib.php'); - $PLAGIARISM_TURNITIN_TASKCALL = true; + $pptaskcall = true; plagiarism_turnitin_update_reports(); } } \ No newline at end of file diff --git a/classes/turnitin_submission.class.php b/classes/turnitin_submission.class.php index 6176d63a..ec11e51a 100644 --- a/classes/turnitin_submission.class.php +++ b/classes/turnitin_submission.class.php @@ -19,6 +19,10 @@ * @copyright 2012 iParadigms LLC * */ +if (!defined('MOODLE_INTERNAL')) { + die('Direct access to this script is forbidden.'); // It must be included from a Moodle page. +} + class turnitin_submission { private $id; diff --git a/lib.php b/lib.php index b0c524b7..78e42819 100644 --- a/lib.php +++ b/lib.php @@ -308,11 +308,11 @@ public static function course_reset($eventdata) { // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); - foreach(scandir(__DIR__.'/classes/modules/') as $filename) { + foreach (scandir(__DIR__.'/classes/modules/') as $filename) { if (!in_array($filename, array(".", ".."))) { $filenamear = explode('.', $filename); - $classnamear = explode('_', $filenamear[0]); // $filenamear[0] is the class name. - $supportedmods[] = $classnamear[1]; // $classnamear[1] is the module name. + $classnamear = explode('_', $filenamear[0]); // Split the class name. + $supportedmods[] = $classnamear[1]; // Set the module name. } } @@ -432,16 +432,16 @@ public function print_disclosure($cmid) { if ($eulaaccepted != 1) { // Moodle strips out form and script code for forum posts so we have to do the Eula Launch differently. - $ula_link = html_writer::link($CFG->wwwroot.'/plagiarism/turnitin/extras.php?cmid='.$cmid.'&cmd=useragreement&view_context=box_solid', + $eulalink = html_writer::link($CFG->wwwroot.'/plagiarism/turnitin/extras.php?cmid='.$cmid.'&cmd=useragreement&view_context=box_solid', $OUTPUT->pix_icon('tiiIcon', '', 'plagiarism_turnitin', array('class' => 'icon_size_large')).'
'. get_string('turnitinppulapre', 'plagiarism_turnitin'), array("class" => "pp_turnitin_eula_link")); $eulaignoredclass = ($eulaaccepted == 0) ? ' pp_turnitin_ula_ignored' : ''; - $ula = html_writer::tag('div', $ula_link, array('class' => 'pp_turnitin_ula js_required'.$eulaignoredclass, + $eula = html_writer::tag('div', $eulalink, array('class' => 'pp_turnitin_ula js_required'.$eulaignoredclass, 'data-userid' => $user->id)); - $noscriptula = html_writer::tag('noscript', + $noscripteula = html_writer::tag('noscript', turnitintooltwo_view::output_dv_launch_form("useragreement", 0, $user->tiiuserid, "Learner", get_string('turnitinppulapre', 'plagiarism_turnitin'), false)." ". get_string('noscriptula', 'plagiarism_turnitin'), @@ -449,8 +449,8 @@ public function print_disclosure($cmid) { } // Show EULA launcher and form placeholder. - if (!empty($ula)) { - $output .= $ula.$noscriptula; + if (!empty($eula)) { + $output .= $eula.$noscripteula; $turnitincomms = new turnitin_comms(); $turnitincall = $turnitincomms->initialise_api(); @@ -513,7 +513,7 @@ public function load_page_components() { public function get_course_data($cmid, $courseid, $workflowcontext = 'site') { $coursedata = turnitintooltwo_assignment::get_course_data($courseid, 'PP', $workflowcontext); - // get add from querystring to work out module type. + // Get add from querystring to work out module type. $add = optional_param('add', '', PARAM_TEXT); if (empty($coursedata->turnitin_cid)) { @@ -610,7 +610,7 @@ public function get_links($linkarray) { $coursedata = $this->get_course_data($cm->id, $cm->course); } - // Create module object + // Create module object. $moduleclass = "turnitin_".$cm->modname; $moduleobject = new $moduleclass; @@ -654,7 +654,7 @@ public function get_links($linkarray) { $identifier = sha1($content); } - // Group submissions where all students have to submit sets userid to 0; + // Group submissions where all students have to submit sets userid to 0. if ($linkarray['userid'] == 0 && !$istutor) { $linkarray['userid'] = $USER->id; } @@ -689,19 +689,19 @@ public function get_links($linkarray) { $user = new turnitintooltwo_user($USER->id, "Learner"); $success = $user->join_user_to_class($coursedata->turnitin_cid); - // $success is false if there is no Turnitin connection and null if user has previously been enrolled. + // Variable $success is false if there is no Turnitin connection and null if user has previously been enrolled. if ((is_null($success) || $success === true) && $eulashown == false) { $eulaaccepted = ($user->useragreementaccepted == 0) ? $user->get_accepted_user_agreement() : $user->useragreementaccepted; $userid = $linkarray["userid"]; if ($eulaaccepted != 1) { - $eula_link = html_writer::link($CFG->wwwroot.'/plagiarism/turnitin/extras.php?cmid='.$linkarray["cmid"]. + $eulalink = html_writer::link($CFG->wwwroot.'/plagiarism/turnitin/extras.php?cmid='.$linkarray["cmid"]. '&cmd=useragreement&view_context=box_solid', $OUTPUT->pix_icon('tiiIcon', '', 'plagiarism_turnitin', array('class' => 'icon_size_large')).'
'. get_string('turnitinppulapost', 'plagiarism_turnitin'), array("class" => "pp_turnitin_eula_link")); - $eula = html_writer::tag('div', $eula_link, array('class' => 'pp_turnitin_ula js_required', 'data-userid' => $user->id)); + $eula = html_writer::tag('div', $eulalink, array('class' => 'pp_turnitin_ula js_required', 'data-userid' => $user->id)); } // Show EULA launcher and form placeholder. @@ -759,13 +759,13 @@ public function get_links($linkarray) { $contentdisplayed = true; } - // Get turnitin file details + // Get turnitin file details. $plagiarismfiles = $DB->get_records('plagiarism_turnitin_files', array('userid' => $linkarray["userid"], 'cm' => $linkarray["cmid"], 'identifier' => $identifier), 'lastmodified DESC', '*', 0, 1); $plagiarismfile = current($plagiarismfiles); - // Populate gradeitem query + // Populate gradeitem query. $gradeitemqueryarray = array( 'iteminstance' => $cm->instance, 'itemmodule' => $cm->modname, @@ -809,7 +809,8 @@ public function get_links($linkarray) { if ($istutor || $linkarray["userid"] == $USER->id) { $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', - get_string('turnitinid', 'plagiarism_turnitin').': '.$plagiarismfile->externalid, 'plagiarism_turnitin', array('class' => 'icon_size')). + get_string('turnitinid', 'plagiarism_turnitin').': '.$plagiarismfile->externalid, + 'plagiarism_turnitin', array('class' => 'icon_size')). get_string('turnitinid', 'plagiarism_turnitin').': '.$plagiarismfile->externalid, array('class' => 'turnitin_status')); } @@ -865,7 +866,7 @@ public function get_links($linkarray) { $output .= $OUTPUT->box_end(true); } - //Check if blind marking is on and revealidentities is not set yet. + // Check if blind marking is on and revealidentities is not set yet. $blindon = (!empty($moduledata->blindmarking) && empty($moduledata->revealidentities)); // Can grade and feedback be released to this student yet? @@ -1044,7 +1045,7 @@ public function get_links($linkarray) { $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, array('class' => 'turnitin_status')); - } else if ($plagiarismfile->statuscode == 'queued'){ + } else if ($plagiarismfile->statuscode == 'queued') { $statusstr = get_string('turnitinstatus', 'plagiarism_turnitin').': '.get_string('queued', 'plagiarism_turnitin'); $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, array('class' => 'turnitin_status')); @@ -1091,7 +1092,8 @@ public function get_links($linkarray) { $plagiarismsettings = $this->get_settings($cm->id); $turnitinassignid = (empty($plagiarismsettings['turnitin_assignid'])) ? '' : $plagiarismsettings['turnitin_assignid']; $output .= html_writer::tag( - 'span', ''); + 'span', ''); return $output; } @@ -1204,7 +1206,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { $plagiarismfile->gm_feedback = $tiisubmission->getFeedbackExists(); - //Update feedback timestamp. + // Update feedback timestamp. $plagiarismfile->student_read = ($tiisubmission->getAuthorLastViewedFeedback() > 0) ? strtotime($tiisubmission->getAuthorLastViewedFeedback()) : 0; @@ -1227,7 +1229,8 @@ private function update_submission($cm, $submissionid, $tiisubmission) { if ($file = $fs->get_file_by_hash($submissiondata->identifier)) { $itemid = $file->get_itemid(); - $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); + $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => + $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); $item = current($submission); if ($item->id != $itemid) { @@ -1236,8 +1239,8 @@ private function update_submission($cm, $submissionid, $tiisubmission) { } else { $gbupdaterequired = false; } - } elseif ($submissiondata->submissiontype == "text_content") { - // Get latest submission + } else if ($submissiondata->submissiontype == "text_content") { + // Get latest submission. $moduleobject = new turnitin_assign(); $latesttext = $moduleobject->get_onlinetext($submissiondata->userid, $cm); $latestidentifier = sha1($latesttext->onlinetext); @@ -1253,7 +1256,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { $DB->update_record('plagiarism_turnitin_files', $plagiarismfile); if ($cm->modname == "coursework") { - // at the moment TII doesn't support double marking so we won't synchronise grades from Grade Mark as it would destroy the workflow + // At the moment TII doesn't support double marking so we won't synchronise grades from Grade Mark as it would destroy the workflow. return true; } @@ -1288,7 +1291,7 @@ private function update_grade($cm, $submission, $userid, $type = 'submission') { $moduleclass = "turnitin_".$cm->modname; $moduleobject = new $moduleclass; - // Get file from pathname hash + // Get file from pathname hash. $submissiondata = $DB->get_record('plagiarism_turnitin_files', array('externalid' => $submission->getSubmissionId()), 'identifier'); // Get file as we need item id for discounting files that are no longer in submission. @@ -1335,7 +1338,7 @@ private function update_grade($cm, $submission, $userid, $type = 'submission') { } } - // Loop through all users and update grade + // Loop through all users and update grade. foreach ($userids as $userid) { // Get gradebook data. switch ($cm->modname) { @@ -1366,7 +1369,7 @@ private function update_grade($cm, $submission, $userid, $type = 'submission') { $moduleobject = new $moduleclass; // Configure grade object and save to db. - $table = $moduleobject->grades_table; + $table = $moduleobject->gradestable; $grade->timemodified = time(); if ($currentgrade) { @@ -1665,7 +1668,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $dtpost = strtotime('+6 months'); } - // Ensure post date can't be before start date + // Ensure post date can't be before start date. if ($dtpost < $dtstart) { $dtpost = $dtstart; } @@ -1678,7 +1681,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $dtdue = strtotime('+1 year'); } - // Ensure due date can't be before start date + // Ensure due date can't be before start date. if ($dtdue <= $dtstart) { $dtdue = strtotime('+1 month', $dtstart); } @@ -1690,7 +1693,8 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setDueDate(gmdate("Y-m-d\TH:i:s\Z", $dtdue)); - // If the duedate is in the future then set any submission duedate_report_refresh flags that are 2 to 1 to make sure they are re-examined in the next cron run + // If the duedate is in the future then set any submission duedate_report_refresh flags that + // are 2 to 1 to make sure they are re-examined in the next cron run. if ($dtdue > time()) { $DB->set_field('plagiarism_turnitin_files', 'duedate_report_refresh', 1, array('cm' => $cm->id, 'duedate_report_refresh' => 2)); } @@ -1782,17 +1786,17 @@ public function check_if_submitting($cm, $userid, $pathnamehash, $submissiontype * Call functions to be run by cron */ public function cron() { - global $DB, $CFG, $PLAGIARISM_TURNITIN_TASKCALL; + global $DB, $CFG, $pptaskcall; // 2.7 onwards we would like to be called from task calls. - if ( $CFG->version > 2014051200 AND !$PLAGIARISM_TURNITIN_TASKCALL ) { + if ( $CFG->version > 2014051200 AND !$pptaskcall ) { mtrace("[Turnitin Plagiarism Plugin] Aborted Cron call because of active task mode"); return; } // Reset task call flag. - if ( $PLAGIARISM_TURNITIN_TASKCALL ) { - $PLAGIARISM_TURNITIN_TASKCALL = false; + if ( $pptaskcall ) { + $pptaskcall = false; } // Update scores by separate submission type. @@ -1807,7 +1811,6 @@ public function cron() { array('success', $submissiontype, 1), 'externalid DESC'); $this->cron_update_scores($submissiontype, $submissions); } catch (Exception $ex) { - error_log("Exception in TII cron while updating scores for '$submissiontype' submission types: ".$ex); mtrace("Exception in TII cron while updating scores for '$submissiontype' submission types: ".$ex); } } @@ -1817,14 +1820,14 @@ public function cron() { /** * Updates the database field duedate_report_refresh for any given submission ID. * @param int $id - the ID of the submission to update. - * @param int $newValue - the value to which the field should be set. + * @param int $newvalue - the value to which the field should be set. */ - public function set_duedate_report_refresh($id, $newValue) { + public function set_duedate_report_refresh($id, $newvalue) { global $DB; $updatedata = new stdClass(); $updatedata->id = $id; - $updatedata->duedate_report_refresh = $newValue; + $updatedata->duedate_report_refresh = $newvalue; $DB->update_record('plagiarism_turnitin_files', $updatedata); } @@ -2218,12 +2221,12 @@ public function event_handler($eventdata) { return true; } - // Set the author and submitter + // Set the author and submitter. $submitter = $eventdata['userid']; $author = (!empty($eventdata['relateduserid'])) ? $eventdata['relateduserid'] : $eventdata['userid']; // Get actual text content and files to be submitted for draft submissions. - // as this won't be present in eventdata for certain event types. + // As this won't be present in eventdata for certain event types. if ($eventdata['other']['modulename'] == 'assign' && $eventdata['eventtype'] == "assessable_submitted") { // Get content. $moodlesubmission = $DB->get_record('assign_submission', array('assignment' => $cm->instance, @@ -2371,7 +2374,7 @@ public function clean_old_turnitin_submissions($cm, $userid, $itemid, $submissio global $DB, $CFG; $deletestr = ''; - // Create module object + // Create module object. $moduleclass = "turnitin_".$cm->modname; $moduleobject = new $moduleclass; @@ -2650,8 +2653,8 @@ function plagiarism_turnitin_send_queued_submissions() { $apimethod = ($settings["plagiarism_report_gen"] == 0) ? "createSubmission" : "replaceSubmission"; } - $forum_post = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $queueditem->itemid)); - $textcontent = strip_tags($forum_post->message); + $forumpost = $DB->get_record_select('forum_posts', " userid = ? AND id = ? ", array($user->id, $queueditem->itemid)); + $textcontent = strip_tags($forumpost->message); $title = 'forumpost_'.$user->id."_".$cm->id."_".$cm->instance."_".$queueditem->itemid.'.txt'; $filename = $title; From 3249edaab52e71375bf59a9c873523dd6fdc107a Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 10:57:41 +0000 Subject: [PATCH 44/56] Further Travis changes. --- ajax.php | 4 +-- lib.php | 50 +++++++++++++++++------------------ turnitinplugin_view.class.php | 6 ++++- 3 files changed, 32 insertions(+), 28 deletions(-) diff --git a/ajax.php b/ajax.php index 25d33430..79cd9f78 100644 --- a/ajax.php +++ b/ajax.php @@ -141,7 +141,7 @@ break; case "rubricview": - $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : + $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : has_capability('mod/'.$cm->modname.':submit', $context); if ($isstudent) { $tiiassignment = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cm->id, 'name' => 'turnitin_assignid')); @@ -161,7 +161,7 @@ case "peermarkreviews": - $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : + $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : has_capability('mod/'.$cm->modname.':submit', $context); if ($userrole == 'Instructor' || $isstudent) { diff --git a/lib.php b/lib.php index 78e42819..460c3a1d 100644 --- a/lib.php +++ b/lib.php @@ -256,7 +256,7 @@ public function get_form_elements_module($mform, $context, $modulename = "") { $plagiarismelements = $this->get_settings_fields(); $turnitinpluginview = new turnitinplugin_view(); - $plagiarismvalues["plagiarism_rubric"] = ( !empty($plagiarismvalues["plagiarism_rubric"]) ) ? + $plagiarismvalues["plagiarism_rubric"] = ( !empty($plagiarismvalues["plagiarism_rubric"]) ) ? $plagiarismvalues["plagiarism_rubric"] : 0; // Create/Edit course in Turnitin and join user to class. @@ -301,9 +301,9 @@ public static function course_reset($eventdata) { $courseid = (int)$data['other']['reset_options']['courseid']; $resetcourse = true; - $resetassign = (isset($data['other']['reset_options']['reset_assign_submissions'])) ? + $resetassign = (isset($data['other']['reset_options']['reset_assign_submissions'])) ? $data['other']['reset_options']['reset_assign_submissions'] : 0; - $resetforum = (isset($data['other']['reset_options']['reset_forum_all'])) ? + $resetforum = (isset($data['other']['reset_options']['reset_forum_all'])) ? $data['other']['reset_options']['reset_forum_all'] : 0; // Get the modules that support the Plagiarism plugin by whether they have a class file. @@ -934,7 +934,7 @@ public function get_links($linkarray) { if ($_SESSION["updated_pm"][$cm->id] <= (time() - (60 * 2))) { $this->refresh_peermark_assignments($cm, $plagiarismsettings['turnitin_assignid']); $turnitintooltwoassignment = new turnitintooltwo_assignment($cm->instance, '', 'PP'); - $_SESSION["peermark_assignments"][$cm->id] = + $_SESSION["peermark_assignments"][$cm->id] = $turnitintooltwoassignment->get_peermark_assignments($plagiarismsettings['turnitin_assignid']); $_SESSION["updated_pm"][$cm->id] = time(); } @@ -981,7 +981,7 @@ public function get_links($linkarray) { // Show error message if there is one. if ($errorcode == 0) { $langstring = ($istutor) ? 'ppsubmissionerrorseelogs' : 'ppsubmissionerrorstudent'; - $errorstring = (isset($plagiarismfile->errormsg)) ? + $errorstring = (isset($plagiarismfile->errormsg)) ? get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; } else { $errorstring = get_string('errorcode'.$plagiarismfile->errorcode, @@ -1013,7 +1013,7 @@ public function get_links($linkarray) { $output .= html_writer::tag('div', $OUTPUT->pix_icon('tiiIcon', $statusstr, 'plagiarism_turnitin', array('class' => 'icon_size')).$statusstr, array('class' => 'turnitin_status hidden')); - // Show hidden data for potential forum post resubmissions + // Show hidden data for potential forum post resubmissions. if ($submissiontype == 'forum_post' && !empty($linkarray["content"])) { $output .= html_writer::tag('div', $linkarray["content"], array('class' => 'hidden', 'id' => 'content_'.$plagiarismfile->id)); @@ -1034,7 +1034,7 @@ public function get_links($linkarray) { $errorcode = (isset($plagiarismfile->errorcode)) ? $plagiarismfile->errorcode : 0; if ($errorcode == 0) { $langstring = ($istutor) ? 'ppsubmissionerrorseelogs' : 'ppsubmissionerrorstudent'; - $errorstring = (isset($plagiarismfile->errormsg)) ? + $errorstring = (isset($plagiarismfile->errormsg)) ? get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; } else { $errorstring = get_string('errorcode'.$plagiarismfile->errorcode, @@ -1194,7 +1194,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { 'id, cm, userid, identifier, similarityscore, grade, submissiontype, orcapable, student_read, gm_feedback')) { $plagiarismfile = new stdClass(); $plagiarismfile->id = $submissiondata->id; - $plagiarismfile->similarityscore = (is_numeric($tiisubmission->getOverallSimilarity())) ? + $plagiarismfile->similarityscore = (is_numeric($tiisubmission->getOverallSimilarity())) ? $tiisubmission->getOverallSimilarity() : null; $plagiarismfile->transmatch = 0; if ((int)$tiisubmission->getTranslatedOverallSimilarity() > $tiisubmission->getOverallSimilarity()) { @@ -1207,7 +1207,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { $plagiarismfile->gm_feedback = $tiisubmission->getFeedbackExists(); // Update feedback timestamp. - $plagiarismfile->student_read = ($tiisubmission->getAuthorLastViewedFeedback() > 0) ? + $plagiarismfile->student_read = ($tiisubmission->getAuthorLastViewedFeedback() > 0) ? strtotime($tiisubmission->getAuthorLastViewedFeedback()) : 0; // Identify if an update is required for the similarity score and grade. @@ -1229,7 +1229,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { if ($file = $fs->get_file_by_hash($submissiondata->identifier)) { $itemid = $file->get_itemid(); - $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => + $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); $item = current($submission); @@ -1554,7 +1554,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setTitle( $title ); // Configure repository setting. - $reposetting = (isset($modulepluginsettings["plagiarism_submitpapersto"])) ? + $reposetting = (isset($modulepluginsettings["plagiarism_submitpapersto"])) ? $modulepluginsettings["plagiarism_submitpapersto"] : 1; // Override if necessary when admin is forcing standard/no repository. @@ -1572,7 +1572,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setInternetCheck($modulepluginsettings["plagiarism_compare_internet"]); $assignment->setPublicationsCheck($modulepluginsettings["plagiarism_compare_journals"]); if ($config->repositoryoption == 1) { - $institutioncheck = (isset($modulepluginsettings["plagiarism_compare_institution"])) ? + $institutioncheck = (isset($modulepluginsettings["plagiarism_compare_institution"])) ? $modulepluginsettings["plagiarism_compare_institution"] : 0; $assignment->setInstitutionCheck($institutioncheck); } @@ -1582,8 +1582,8 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setBibliographyExcluded($modulepluginsettings["plagiarism_exclude_biblio"]); $assignment->setQuotedExcluded($modulepluginsettings["plagiarism_exclude_quoted"]); $assignment->setSmallMatchExclusionType($modulepluginsettings["plagiarism_exclude_matches"]); - $modulepluginsettings["plagiarism_exclude_matches_value"] = - (!empty($modulepluginsettings["plagiarism_exclude_matches_value"])) ? + $modulepluginsettings["plagiarism_exclude_matches_value"] = + (!empty($modulepluginsettings["plagiarism_exclude_matches_value"])) ? $modulepluginsettings["plagiarism_exclude_matches_value"] : 0; $assignment->setSmallMatchExclusionThreshold($modulepluginsettings["plagiarism_exclude_matches_value"]); @@ -1605,7 +1605,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" // Otherwise, the Turnitin setting is incompatible with Moodle due to multiple files and resubmission rules. $assignment->setLateSubmissionsAllowed(1); $assignment->setMaxGrade(0); - $assignment->setRubricId((!empty($modulepluginsettings["plagiarism_rubric"])) ? + $assignment->setRubricId((!empty($modulepluginsettings["plagiarism_rubric"])) ? $modulepluginsettings["plagiarism_rubric"] : ''); if (!empty($moduledata->grade)) { @@ -1702,21 +1702,21 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setFeedbackReleaseDate(gmdate("Y-m-d\TH:i:s\Z", $dtpost)); // Erater settings. - $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? + $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? $modulepluginsettings["plagiarism_erater"] : 0); - $assignment->setEraterSpelling((isset($modulepluginsettings["plagiarism_erater_spelling"])) ? + $assignment->setEraterSpelling((isset($modulepluginsettings["plagiarism_erater_spelling"])) ? $modulepluginsettings["plagiarism_erater_spelling"] : 0); - $assignment->setEraterGrammar((isset($modulepluginsettings["plagiarism_erater_grammar"])) ? + $assignment->setEraterGrammar((isset($modulepluginsettings["plagiarism_erater_grammar"])) ? $modulepluginsettings["plagiarism_erater_grammar"] : 0); - $assignment->setEraterUsage((isset($modulepluginsettings["plagiarism_erater_usage"])) ? + $assignment->setEraterUsage((isset($modulepluginsettings["plagiarism_erater_usage"])) ? $modulepluginsettings["plagiarism_erater_usage"] : 0); - $assignment->setEraterMechanics((isset($modulepluginsettings["plagiarism_erater_mechanics"])) ? + $assignment->setEraterMechanics((isset($modulepluginsettings["plagiarism_erater_mechanics"])) ? $modulepluginsettings["plagiarism_erater_mechanics"] : 0); - $assignment->setEraterStyle((isset($modulepluginsettings["plagiarism_erater_style"])) ? + $assignment->setEraterStyle((isset($modulepluginsettings["plagiarism_erater_style"])) ? $modulepluginsettings["plagiarism_erater_style"] : 0); - $assignment->setEraterSpellingDictionary((isset($modulepluginsettings["plagiarism_erater_dictionary"])) ? + $assignment->setEraterSpellingDictionary((isset($modulepluginsettings["plagiarism_erater_dictionary"])) ? $modulepluginsettings["plagiarism_erater_dictionary"] : 'en_US'); - $assignment->setEraterHandbook((isset($modulepluginsettings["plagiarism_erater_handbook"])) ? + $assignment->setEraterHandbook((isset($modulepluginsettings["plagiarism_erater_handbook"])) ? $modulepluginsettings["plagiarism_erater_handbook"] : 0); // If we have a turnitin id then edit the assignment otherwise create it. @@ -1913,7 +1913,7 @@ public function cron_update_scores($submissiontype = 'file', $submissions) { $plagiarismfile = new stdClass(); $plagiarismfile->id = $currentsubmission->id; $plagiarismfile->externalid = $tiisubmissionid; - $plagiarismfile->similarityscore = (is_numeric($readsubmission->getOverallSimilarity())) ? + $plagiarismfile->similarityscore = (is_numeric($readsubmission->getOverallSimilarity())) ? $readsubmission->getOverallSimilarity() : null; $plagiarismfile->grade = (is_numeric($readsubmission->getGrade())) ? $readsubmission->getGrade() : null; $plagiarismfile->orcapable = ($readsubmission->getOriginalityReportCapable() == 1) ? 1 : 0; @@ -2200,7 +2200,7 @@ public function event_handler($eventdata) { $plagiarismsettings = $this->get_settings($eventdata['contextinstanceid']); $moduletiienabled = $this->get_config_settings('mod_'.$eventdata['other']['modulename']); if ($eventdata['other']['modulename'] == 'assign') { - $plagiarismsettings["plagiarism_draft_submit"] = (isset($plagiarismsettings["plagiarism_draft_submit"])) ? + $plagiarismsettings["plagiarism_draft_submit"] = (isset($plagiarismsettings["plagiarism_draft_submit"])) ? $plagiarismsettings["plagiarism_draft_submit"] : 0; } diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index d862f5c1..adaaf957 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -14,6 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +if (!defined('MOODLE_INTERNAL')) { + die('Direct access to this script is forbidden.'); // It must be included from a Moodle page. +} + require_once($CFG->dirroot.'/mod/turnitintooltwo/turnitintooltwo_form.class.php'); require_once(__DIR__.'/lib.php'); @@ -299,7 +303,7 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti // Populate Rubric options. $rubricoptions = array('' => get_string('norubric', 'plagiarism_turnitin')) + $rubrics; if (!empty($currentrubric)) { - $rubricoptions[$currentrubric] = (isset($rubricoptions[$currentrubric])) ? + $rubricoptions[$currentrubric] = (isset($rubricoptions[$currentrubric])) ? $rubricoptions[$currentrubric] : get_string('otherrubric', 'plagiarism_turnitin'); } From 2f5cb302892495b17c98080bfcda633ae84a25f7 Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 11:39:28 +0000 Subject: [PATCH 45/56] Attempt to resolve end of line missing spacecomplaints. --- ajax.php | 12 +++--- lib.php | 78 +++++++++++++---------------------- turnitinplugin_view.class.php | 3 +- 3 files changed, 37 insertions(+), 56 deletions(-) diff --git a/ajax.php b/ajax.php index 79cd9f78..03652719 100644 --- a/ajax.php +++ b/ajax.php @@ -141,8 +141,10 @@ break; case "rubricview": - $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : - has_capability('mod/'.$cm->modname.':submit', $context); + $replypost = 'mod/'.$cm->modname.':replypost'; + $submit = 'mod/'.$cm->modname.':submit'; + $isstudent = ($cm->modname == "forum") ? has_capability($replypost, $context) : has_capability($submit, $context); + if ($isstudent) { $tiiassignment = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cm->id, 'name' => 'turnitin_assignid')); @@ -160,9 +162,9 @@ break; case "peermarkreviews": - - $isstudent = ($cm->modname == "forum") ? has_capability('mod/'.$cm->modname.':replypost', $context) : - has_capability('mod/'.$cm->modname.':submit', $context); + $replypost = 'mod/'.$cm->modname.':replypost'; + $submit = 'mod/'.$cm->modname.':submit'; + $isstudent = ($cm->modname == "forum") ? has_capability($replypost, $context) : has_capability($submit, $context); if ($userrole == 'Instructor' || $isstudent) { $tiiassignment = $DB->get_record('plagiarism_turnitin_config', array('cm' => $cm->id, 'name' => 'turnitin_assignid')); diff --git a/lib.php b/lib.php index 460c3a1d..bd5fe035 100644 --- a/lib.php +++ b/lib.php @@ -256,8 +256,7 @@ public function get_form_elements_module($mform, $context, $modulename = "") { $plagiarismelements = $this->get_settings_fields(); $turnitinpluginview = new turnitinplugin_view(); - $plagiarismvalues["plagiarism_rubric"] = ( !empty($plagiarismvalues["plagiarism_rubric"]) ) ? - $plagiarismvalues["plagiarism_rubric"] : 0; + $plagiarismvalues["plagiarism_rubric"] = ( !empty($plagiarismvalues["plagiarism_rubric"]) ) ? $plagiarismvalues["plagiarism_rubric"] : 0; // Create/Edit course in Turnitin and join user to class. $course = $this->get_course_data($cmid, $COURSE->id); @@ -301,10 +300,11 @@ public static function course_reset($eventdata) { $courseid = (int)$data['other']['reset_options']['courseid']; $resetcourse = true; - $resetassign = (isset($data['other']['reset_options']['reset_assign_submissions'])) ? - $data['other']['reset_options']['reset_assign_submissions'] : 0; - $resetforum = (isset($data['other']['reset_options']['reset_forum_all'])) ? - $data['other']['reset_options']['reset_forum_all'] : 0; + $resetassignsubmissions = $data['other']['reset_options']['reset_assign_submissions']); + $resetassign = (isset($reset_assign_submissions) ? $reset_assign_submissions : 0; + + $reset_forum_all = $data['other']['reset_options']['reset_forum_all']); + $resetforum = (isset($reset_forum_all) ? $reset_forum_all : 0; // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); @@ -934,8 +934,7 @@ public function get_links($linkarray) { if ($_SESSION["updated_pm"][$cm->id] <= (time() - (60 * 2))) { $this->refresh_peermark_assignments($cm, $plagiarismsettings['turnitin_assignid']); $turnitintooltwoassignment = new turnitintooltwo_assignment($cm->instance, '', 'PP'); - $_SESSION["peermark_assignments"][$cm->id] = - $turnitintooltwoassignment->get_peermark_assignments($plagiarismsettings['turnitin_assignid']); + $_SESSION["peermark_assignments"][$cm->id] = $turnitintooltwoassignment->get_peermark_assignments($plagiarismsettings['turnitin_assignid']); $_SESSION["updated_pm"][$cm->id] = time(); } @@ -981,8 +980,7 @@ public function get_links($linkarray) { // Show error message if there is one. if ($errorcode == 0) { $langstring = ($istutor) ? 'ppsubmissionerrorseelogs' : 'ppsubmissionerrorstudent'; - $errorstring = (isset($plagiarismfile->errormsg)) ? - get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; + $errorstring = (isset($plagiarismfile->errormsg)) ? get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; } else { $errorstring = get_string('errorcode'.$plagiarismfile->errorcode, 'plagiarism_turnitin', display_size(TURNITINTOOLTWO_MAX_FILE_UPLOAD_SIZE)); @@ -1034,8 +1032,7 @@ public function get_links($linkarray) { $errorcode = (isset($plagiarismfile->errorcode)) ? $plagiarismfile->errorcode : 0; if ($errorcode == 0) { $langstring = ($istutor) ? 'ppsubmissionerrorseelogs' : 'ppsubmissionerrorstudent'; - $errorstring = (isset($plagiarismfile->errormsg)) ? - get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; + $errorstring = (isset($plagiarismfile->errormsg)) ? get_string($langstring, 'plagiarism_turnitin') : $plagiarismfile->errormsg; } else { $errorstring = get_string('errorcode'.$plagiarismfile->errorcode, 'plagiarism_turnitin', display_size(TURNITINTOOLTWO_MAX_FILE_UPLOAD_SIZE)); @@ -1194,8 +1191,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { 'id, cm, userid, identifier, similarityscore, grade, submissiontype, orcapable, student_read, gm_feedback')) { $plagiarismfile = new stdClass(); $plagiarismfile->id = $submissiondata->id; - $plagiarismfile->similarityscore = (is_numeric($tiisubmission->getOverallSimilarity())) ? - $tiisubmission->getOverallSimilarity() : null; + $plagiarismfile->similarityscore = (is_numeric($tiisubmission->getOverallSimilarity())) ? $tiisubmission->getOverallSimilarity() : null; $plagiarismfile->transmatch = 0; if ((int)$tiisubmission->getTranslatedOverallSimilarity() > $tiisubmission->getOverallSimilarity()) { $plagiarismfile->similarityscore = $tiisubmission->getTranslatedOverallSimilarity(); @@ -1207,8 +1203,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { $plagiarismfile->gm_feedback = $tiisubmission->getFeedbackExists(); // Update feedback timestamp. - $plagiarismfile->student_read = ($tiisubmission->getAuthorLastViewedFeedback() > 0) ? - strtotime($tiisubmission->getAuthorLastViewedFeedback()) : 0; + $plagiarismfile->student_read = ($tiisubmission->getAuthorLastViewedFeedback() > 0) ? strtotime($tiisubmission->getAuthorLastViewedFeedback()) : 0; // Identify if an update is required for the similarity score and grade. if (!is_null($plagiarismfile->similarityscore) || !is_null($plagiarismfile->grade) || @@ -1229,8 +1224,8 @@ private function update_submission($cm, $submissionid, $tiisubmission) { if ($file = $fs->get_file_by_hash($submissiondata->identifier)) { $itemid = $file->get_itemid(); - $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => - $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); + $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, + 'userid' => $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); $item = current($submission); if ($item->id != $itemid) { @@ -1554,8 +1549,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setTitle( $title ); // Configure repository setting. - $reposetting = (isset($modulepluginsettings["plagiarism_submitpapersto"])) ? - $modulepluginsettings["plagiarism_submitpapersto"] : 1; + $reposetting = (isset($modulepluginsettings["plagiarism_submitpapersto"])) ? $modulepluginsettings["plagiarism_submitpapersto"] : 1; // Override if necessary when admin is forcing standard/no repository. switch ($config->repositoryoption) { @@ -1572,8 +1566,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setInternetCheck($modulepluginsettings["plagiarism_compare_internet"]); $assignment->setPublicationsCheck($modulepluginsettings["plagiarism_compare_journals"]); if ($config->repositoryoption == 1) { - $institutioncheck = (isset($modulepluginsettings["plagiarism_compare_institution"])) ? - $modulepluginsettings["plagiarism_compare_institution"] : 0; + $institutioncheck = (isset($modulepluginsettings["plagiarism_compare_institution"])) ? $modulepluginsettings["plagiarism_compare_institution"] : 0; $assignment->setInstitutionCheck($institutioncheck); } @@ -1582,11 +1575,9 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setBibliographyExcluded($modulepluginsettings["plagiarism_exclude_biblio"]); $assignment->setQuotedExcluded($modulepluginsettings["plagiarism_exclude_quoted"]); $assignment->setSmallMatchExclusionType($modulepluginsettings["plagiarism_exclude_matches"]); - $modulepluginsettings["plagiarism_exclude_matches_value"] = - (!empty($modulepluginsettings["plagiarism_exclude_matches_value"])) ? - $modulepluginsettings["plagiarism_exclude_matches_value"] : 0; - - $assignment->setSmallMatchExclusionThreshold($modulepluginsettings["plagiarism_exclude_matches_value"]); + $excludematchesval = $modulepluginsettings["plagiarism_exclude_matches_value"]; + $excludematchesval = (!empty($excludematchesval) ? $excludematchesval : 0; + $assignment->setSmallMatchExclusionThreshold($excludematchesval); // Don't set anonymous marking if there have been submissions. $previoussubmissions = $DB->record_exists('plagiarism_turnitin_files', @@ -1605,8 +1596,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" // Otherwise, the Turnitin setting is incompatible with Moodle due to multiple files and resubmission rules. $assignment->setLateSubmissionsAllowed(1); $assignment->setMaxGrade(0); - $assignment->setRubricId((!empty($modulepluginsettings["plagiarism_rubric"])) ? - $modulepluginsettings["plagiarism_rubric"] : ''); + $assignment->setRubricId((!empty($modulepluginsettings["plagiarism_rubric"])) ? $modulepluginsettings["plagiarism_rubric"] : ''); if (!empty($moduledata->grade)) { $assignment->setMaxGrade(($moduledata->grade < 0) ? 100 : (int)$moduledata->grade); @@ -1702,22 +1692,14 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setFeedbackReleaseDate(gmdate("Y-m-d\TH:i:s\Z", $dtpost)); // Erater settings. - $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? - $modulepluginsettings["plagiarism_erater"] : 0); - $assignment->setEraterSpelling((isset($modulepluginsettings["plagiarism_erater_spelling"])) ? - $modulepluginsettings["plagiarism_erater_spelling"] : 0); - $assignment->setEraterGrammar((isset($modulepluginsettings["plagiarism_erater_grammar"])) ? - $modulepluginsettings["plagiarism_erater_grammar"] : 0); - $assignment->setEraterUsage((isset($modulepluginsettings["plagiarism_erater_usage"])) ? - $modulepluginsettings["plagiarism_erater_usage"] : 0); - $assignment->setEraterMechanics((isset($modulepluginsettings["plagiarism_erater_mechanics"])) ? - $modulepluginsettings["plagiarism_erater_mechanics"] : 0); - $assignment->setEraterStyle((isset($modulepluginsettings["plagiarism_erater_style"])) ? - $modulepluginsettings["plagiarism_erater_style"] : 0); - $assignment->setEraterSpellingDictionary((isset($modulepluginsettings["plagiarism_erater_dictionary"])) ? - $modulepluginsettings["plagiarism_erater_dictionary"] : 'en_US'); - $assignment->setEraterHandbook((isset($modulepluginsettings["plagiarism_erater_handbook"])) ? - $modulepluginsettings["plagiarism_erater_handbook"] : 0); + $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? $modulepluginsettings["plagiarism_erater"] : 0); + $assignment->setEraterSpelling((isset($modulepluginsettings["plagiarism_erater_spelling"])) ? $modulepluginsettings["plagiarism_erater_spelling"] : 0); + $assignment->setEraterGrammar((isset($modulepluginsettings["plagiarism_erater_grammar"])) ? $modulepluginsettings["plagiarism_erater_grammar"] : 0); + $assignment->setEraterUsage((isset($modulepluginsettings["plagiarism_erater_usage"])) ? $modulepluginsettings["plagiarism_erater_usage"] : 0); + $assignment->setEraterMechanics((isset($modulepluginsettings["plagiarism_erater_mechanics"])) ? $modulepluginsettings["plagiarism_erater_mechanics"] : 0); + $assignment->setEraterStyle((isset($modulepluginsettings["plagiarism_erater_style"])) ? $modulepluginsettings["plagiarism_erater_style"] : 0); + $assignment->setEraterSpellingDictionary((isset($modulepluginsettings["plagiarism_erater_dictionary"])) ? $modulepluginsettings["plagiarism_erater_dictionary"] : 'en_US'); + $assignment->setEraterHandbook((isset($modulepluginsettings["plagiarism_erater_handbook"])) ? $modulepluginsettings["plagiarism_erater_handbook"] : 0); // If we have a turnitin id then edit the assignment otherwise create it. if ($tiiassignment = $DB->get_record('plagiarism_turnitin_config', @@ -1913,8 +1895,7 @@ public function cron_update_scores($submissiontype = 'file', $submissions) { $plagiarismfile = new stdClass(); $plagiarismfile->id = $currentsubmission->id; $plagiarismfile->externalid = $tiisubmissionid; - $plagiarismfile->similarityscore = (is_numeric($readsubmission->getOverallSimilarity())) ? - $readsubmission->getOverallSimilarity() : null; + $plagiarismfile->similarityscore = (is_numeric($readsubmission->getOverallSimilarity())) ? $readsubmission->getOverallSimilarity() : null; $plagiarismfile->grade = (is_numeric($readsubmission->getGrade())) ? $readsubmission->getGrade() : null; $plagiarismfile->orcapable = ($readsubmission->getOriginalityReportCapable() == 1) ? 1 : 0; $plagiarismfile->transmatch = 0; @@ -2200,8 +2181,7 @@ public function event_handler($eventdata) { $plagiarismsettings = $this->get_settings($eventdata['contextinstanceid']); $moduletiienabled = $this->get_config_settings('mod_'.$eventdata['other']['modulename']); if ($eventdata['other']['modulename'] == 'assign') { - $plagiarismsettings["plagiarism_draft_submit"] = (isset($plagiarismsettings["plagiarism_draft_submit"])) ? - $plagiarismsettings["plagiarism_draft_submit"] : 0; + $plagiarismsettings["plagiarism_draft_submit"] = (isset($plagiarismsettings["plagiarism_draft_submit"])) ? $plagiarismsettings["plagiarism_draft_submit"] : 0; } // Either module not using Turnitin or Turnitin not being used at all so return true to remove event from queue. diff --git a/turnitinplugin_view.class.php b/turnitinplugin_view.class.php index adaaf957..c27745d3 100644 --- a/turnitinplugin_view.class.php +++ b/turnitinplugin_view.class.php @@ -303,8 +303,7 @@ public function add_elements_to_settings_form($mform, $course, $location = "acti // Populate Rubric options. $rubricoptions = array('' => get_string('norubric', 'plagiarism_turnitin')) + $rubrics; if (!empty($currentrubric)) { - $rubricoptions[$currentrubric] = (isset($rubricoptions[$currentrubric])) ? - $rubricoptions[$currentrubric] : get_string('otherrubric', 'plagiarism_turnitin'); + $rubricoptions[$currentrubric] = (isset($rubricoptions[$currentrubric])) ? $rubricoptions[$currentrubric] : get_string('otherrubric', 'plagiarism_turnitin'); } $mform->addElement('select', 'plagiarism_rubric', get_string('attachrubric', 'plagiarism_turnitin'), $rubricoptions); From fd4f7d5f045b712d054e0a7e7532ba3c2c90e709 Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 11:44:54 +0000 Subject: [PATCH 46/56] Changes from last travis check. --- lib.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib.php b/lib.php index bd5fe035..22209a18 100644 --- a/lib.php +++ b/lib.php @@ -300,11 +300,11 @@ public static function course_reset($eventdata) { $courseid = (int)$data['other']['reset_options']['courseid']; $resetcourse = true; - $resetassignsubmissions = $data['other']['reset_options']['reset_assign_submissions']); + $resetassignsubmissions = $data['other']['reset_options']['reset_assign_submissions']; $resetassign = (isset($reset_assign_submissions) ? $reset_assign_submissions : 0; - $reset_forum_all = $data['other']['reset_options']['reset_forum_all']); - $resetforum = (isset($reset_forum_all) ? $reset_forum_all : 0; + $resetforumall = $data['other']['reset_options']['reset_forum_all']; + $resetforum = (isset($resetforumall) ? $reset_forum_all : 0; // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); @@ -1224,7 +1224,7 @@ private function update_submission($cm, $submissionid, $tiisubmission) { if ($file = $fs->get_file_by_hash($submissiondata->identifier)) { $itemid = $file->get_itemid(); - $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, + $submission = $DB->get_records('assign_submission', array('assignment' => $cm->instance, 'userid' => $submissiondata->userid), 'id DESC', 'id, attemptnumber', '0', '1'); $item = current($submission); @@ -1692,7 +1692,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setFeedbackReleaseDate(gmdate("Y-m-d\TH:i:s\Z", $dtpost)); // Erater settings. - $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? $modulepluginsettings["plagiarism_erater"] : 0); + $assignment->setErater((isset($modulepluginsettings["plagiarism_erater"])) ? $modulepluginsettings["plagiarism_erater"] : 0); $assignment->setEraterSpelling((isset($modulepluginsettings["plagiarism_erater_spelling"])) ? $modulepluginsettings["plagiarism_erater_spelling"] : 0); $assignment->setEraterGrammar((isset($modulepluginsettings["plagiarism_erater_grammar"])) ? $modulepluginsettings["plagiarism_erater_grammar"] : 0); $assignment->setEraterUsage((isset($modulepluginsettings["plagiarism_erater_usage"])) ? $modulepluginsettings["plagiarism_erater_usage"] : 0); From 5a808b8c2ccf547a8bee515c3e2796e16a2b6d04 Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 12:04:31 +0000 Subject: [PATCH 47/56] Correct syntax errors. --- lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.php b/lib.php index 22209a18..f393796a 100644 --- a/lib.php +++ b/lib.php @@ -301,10 +301,10 @@ public static function course_reset($eventdata) { $resetcourse = true; $resetassignsubmissions = $data['other']['reset_options']['reset_assign_submissions']; - $resetassign = (isset($reset_assign_submissions) ? $reset_assign_submissions : 0; + $resetassign = (isset($resetassignsubmissions)) ? $resetassignsubmissions : 0; $resetforumall = $data['other']['reset_options']['reset_forum_all']; - $resetforum = (isset($resetforumall) ? $reset_forum_all : 0; + $resetforum = (isset($resetforumall)) ? $resetforumall : 0; // Get the modules that support the Plagiarism plugin by whether they have a class file. $supportedmods = array(); From 6d3dcd30af6524ab0a409424621536d04ed88b8c Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 12:09:06 +0000 Subject: [PATCH 48/56] Syntax error on line 1579 --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index f393796a..58713fd3 100644 --- a/lib.php +++ b/lib.php @@ -1576,7 +1576,7 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setQuotedExcluded($modulepluginsettings["plagiarism_exclude_quoted"]); $assignment->setSmallMatchExclusionType($modulepluginsettings["plagiarism_exclude_matches"]); $excludematchesval = $modulepluginsettings["plagiarism_exclude_matches_value"]; - $excludematchesval = (!empty($excludematchesval) ? $excludematchesval : 0; + $excludematchesval = (!empty($excludematchesval)) ? $excludematchesval : 0; $assignment->setSmallMatchExclusionThreshold($excludematchesval); // Don't set anonymous marking if there have been submissions. From 882c9ed3139c013b640645532eeb6096c25f086f Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 6 Jan 2017 12:20:52 +0000 Subject: [PATCH 49/56] Comment out Travis features we'll need to fix later. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 371ac97f..217c9fa3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ script: - moodle-plugin-ci codechecker - moodle-plugin-ci csslint - moodle-plugin-ci shifter - - moodle-plugin-ci jshint +# - moodle-plugin-ci jshint - moodle-plugin-ci validate - - moodle-plugin-ci phpunit +# - moodle-plugin-ci phpunit - moodle-plugin-ci behat \ No newline at end of file From e5cce53b68a57a1f7775a5eae757f4ff95bbe2d1 Mon Sep 17 00:00:00 2001 From: David Winn Date: Mon, 16 Jan 2017 11:00:22 +0000 Subject: [PATCH 50/56] Fix for text submissions in our events change. --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 58713fd3..f2af4723 100644 --- a/lib.php +++ b/lib.php @@ -2246,7 +2246,7 @@ public function event_handler($eventdata) { list($insql, $inparams) = $DB->get_in_or_equal(array('success', 'queued'), SQL_PARAMS_QM, 'param', false); $typefield = ($CFG->dbtype == "oci") ? " to_char(statuscode) " : " statuscode "; $plagiarismfiles = $DB->get_records_select('plagiarism_turnitin_files', " userid = ? AND cm = ? ". - " AND identifier AND ".$typefield." = ? ".$insql, + " AND identifier = ? AND ".$typefield. " " .$insql, array_merge(array($author, $cm->id, $identifier), $inparams)); if ($plagiarismfiles) { From 47f50c8b217915aa02789132058db9c5e3608053 Mon Sep 17 00:00:00 2001 From: David Winn Date: Wed, 18 Jan 2017 15:46:38 +0000 Subject: [PATCH 51/56] Remove old/unused event on PP upgrade. --- db/upgrade.php | 6 +++++- version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/db/upgrade.php b/db/upgrade.php index 202b0b9b..8caf825c 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -238,7 +238,7 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { } } - if ($oldversion < 2016112401) { + if ($oldversion < 2017011801) { $table = new xmldb_table('plagiarism_turnitin_files'); // Due to an inconsistency with install and upgrade scripts, some users will @@ -253,6 +253,10 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { // Update fields to NULL as per default if necessary. $DB->set_field('plagiarism_turnitin_files', 'submitter', null, array('submitter' => 0)); $DB->set_field('plagiarism_turnitin_files', 'student_read', null, array('student_read' => 0)); + + // Remove old PP event from the database if it exists. + $DB->delete_records('task_scheduled', array('component' => 'plagiarism_turnitin', 'classname' => '\plagiarism_turnitin\task\plagiarism_turnitin_task')); + } return $result; diff --git a/version.php b/version.php index 75118d7e..f2907734 100644 --- a/version.php +++ b/version.php @@ -19,7 +19,7 @@ * @copyright 2012 iParadigms LLC */ -$plugin->version = 2016112401; +$plugin->version = 2017011801; $plugin->release = "2.6+"; $plugin->requires = 2013111800; $plugin->component = 'plagiarism_turnitin'; From 983c5cc9985f5bf99672726525508f42b07e4bc2 Mon Sep 17 00:00:00 2001 From: David Winn Date: Wed, 18 Jan 2017 15:53:33 +0000 Subject: [PATCH 52/56] Remove whitespace. --- db/upgrade.php | 1 - 1 file changed, 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index 8caf825c..c87cfd36 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -256,7 +256,6 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { // Remove old PP event from the database if it exists. $DB->delete_records('task_scheduled', array('component' => 'plagiarism_turnitin', 'classname' => '\plagiarism_turnitin\task\plagiarism_turnitin_task')); - } return $result; From 76b92bfe1338692fc246dbb750322f7ff14d6a2b Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 19 Jan 2017 12:03:44 +0000 Subject: [PATCH 53/56] Change for exclude matches variable setting. --- lib.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib.php b/lib.php index 58713fd3..66b2d74d 100644 --- a/lib.php +++ b/lib.php @@ -1575,9 +1575,11 @@ public function sync_tii_assignment($cm, $coursetiiid, $workflowcontext = "site" $assignment->setBibliographyExcluded($modulepluginsettings["plagiarism_exclude_biblio"]); $assignment->setQuotedExcluded($modulepluginsettings["plagiarism_exclude_quoted"]); $assignment->setSmallMatchExclusionType($modulepluginsettings["plagiarism_exclude_matches"]); - $excludematchesval = $modulepluginsettings["plagiarism_exclude_matches_value"]; - $excludematchesval = (!empty($excludematchesval)) ? $excludematchesval : 0; - $assignment->setSmallMatchExclusionThreshold($excludematchesval); + + if (empty($modulepluginsettings["plagiarism_exclude_matches_value"])) { + $modulepluginsettings["plagiarism_exclude_matches_value"] = 0; + } + $assignment->setSmallMatchExclusionThreshold($modulepluginsettings["plagiarism_exclude_matches_value"]); // Don't set anonymous marking if there have been submissions. $previoussubmissions = $DB->record_exists('plagiarism_turnitin_files', From b7ab63cfb05413f84900c0b3ae43ec25e45abc70 Mon Sep 17 00:00:00 2001 From: David Winn Date: Fri, 20 Jan 2017 16:01:46 +0000 Subject: [PATCH 54/56] Fix error code for 40mb file. --- lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib.php b/lib.php index e7ba6f72..ad87ca0a 100644 --- a/lib.php +++ b/lib.php @@ -974,6 +974,7 @@ public function get_links($linkarray) { if ($errorcode == 0 && $submissiontype == 'file') { if ($file->get_filesize() > TURNITINTOOLTWO_MAX_FILE_UPLOAD_SIZE) { $errorcode = 2; + $plagiarismfile->errorcode = 2; } } From ff49791c7b61402514e3bb33d4071495da596dce Mon Sep 17 00:00:00 2001 From: David Winn Date: Wed, 25 Jan 2017 15:29:41 +0000 Subject: [PATCH 55/56] Release 2017012501 --- CHANGELOG.md | 19 +++++++++++++++++++ version.php | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c76e8e7..d7862ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +### Date: 2017-January-25 +### Release: v2017012501 + +- The events now use Moodle's new Events 2 API, which is a requirement to support future Moodle versions. Admins should ensure the Events Queue has been cleared for Plagiarism events. Following this change to the Events API this release and future releases will no longer work on Moodle 2.6. +- The language strings have been updated across all supported languages. +- The unused database columns legacyteacher, apimd5 and externalstatus have been removed from the plugin's plagiarism_turnitin_files table. These were leftovers from Dan Marsden's version of the plugin that are no longer used. +- Travis-CI has been aded to the plugin as an extra QA resource to help flag any issues with the code. +- Fixes: + - The assignment edit API call no longer fails if repository settings don't match the plugin settings. + - JavaScript error no longer appears when closing the PeerMark manager. + - The & character no longer appears in TFS as &. + - Default values for submitter and student_read columns are now consistent between upgrade and install. (Thanks to @danmarsden). + - The error message when submitting a file >40mb now displays correctly. + - Fixed an issue with anonymous marking where grades would appear in the gradebook before the assignment has been unanonymised. + - Fixed an issue where the first submission to an assignment would sometimes fail to send to Turnitin. + - Moodle's Behat unit tests will no longer fail. (Thanks to @roperto) + +--- + ### Date: 2016-September-14 ### Release: v2016091401 diff --git a/version.php b/version.php index f2907734..08727a00 100644 --- a/version.php +++ b/version.php @@ -19,9 +19,9 @@ * @copyright 2012 iParadigms LLC */ -$plugin->version = 2017011801; +$plugin->version = 2017012501; $plugin->release = "2.6+"; -$plugin->requires = 2013111800; +$plugin->requires = 2014051200; $plugin->component = 'plagiarism_turnitin'; $plugin->maturity = MATURITY_STABLE; From c1e45ca996ecb842a7685274a6f396daec4a189c Mon Sep 17 00:00:00 2001 From: David Winn Date: Thu, 26 Jan 2017 13:40:46 +0000 Subject: [PATCH 56/56] Change release value to 2.7 --- version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.php b/version.php index 08727a00..3b96c1af 100644 --- a/version.php +++ b/version.php @@ -20,7 +20,7 @@ */ $plugin->version = 2017012501; -$plugin->release = "2.6+"; +$plugin->release = "2.7+"; $plugin->requires = 2014051200; $plugin->component = 'plagiarism_turnitin'; $plugin->maturity = MATURITY_STABLE;