<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// 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
// 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 <http://www.gnu.org/licenses/>.

/**
 *
 * @package    block_edwiserratingreview
 * @copyright  2022 WisdmLabs
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
$string['pluginname'] = 'Edwiser Rating and Review';
$string['edwiserratingreview'] = 'Edwiser Rating and Review';
$string['edwiserratingreview:addinstance'] = 'Add a new simple HTML block';
$string['edwiserratingreview:myaddinstance'] = 'Add a new simple HTML block to the My Moodle page';
$string["reviewbuttontext"] = "Text for review Button";
$string['edwiserratingreview:editreview'] = "Edit review";
$string['edwiserratingreview:approvereview'] = "Approve review";
$string["ernrapprovalpage"] = "Edwiser Rating and Review Approval Page";
$string["approvalpage"] = "Approval Page";
$string["reviewpage"] = "All Reviews";

$string["reviewbutton"] = "Enter Text for Review Button";
$string['studdentfeedbacktext'] = 'Student Feedback';
$string['courseratingtext'] = 'Course Rating';
$string['writereviewbtntext'] = 'Write a Review';
$string['reviews'] = 'Reviews';

$string['submitcoursereview'] = 'Submit Course Review';
$string['overallratingtext'] = 'Overall Rating';
$string['addareviewformtext'] = 'Add a review';
$string['cancelbtntext'] = 'Cancel';
$string['submitbtntext'] = 'Submit';


$string['allratings'] = 'All Ratings';
$string['fivestars'] = 'Five Stars';
$string['fourstars'] = 'Four Stars';
$string['threestars'] = 'Three Stars';
$string['twostars'] = 'Two Stars';
$string['onestar'] = 'One Star';
$string['showmorereview'] = 'Show More Review';

$string["reviewfor"] = "Review for";
$string["name"] = "Name";
$string["email"] = "Email";
$string["ratings"] = "Ratings";
$string["reviewtitle"] = "Review Title";
$string["review"] = "Review";
$string["action"] = "Action";
$string["date"] = "Date";
$string["from"] = "From";
$string["to"] = "To";
$string["rangebetween"] = "Range between";
$string["pendingforapproval"] = "Pending for approval";

$string['blockalreadyadded'] = '<div class="alert alert-light pluginadded" role="alert">Plugin added to courses sucessfully</div>';
$string['cardlayoutratingdata'] = '<div class="d-flex justify-content-around"><span>{$a->averagerating}{$a->avergeratingstar}</span><span>({$a->totalcount})</span></div>';
$string["reviewareadesc"] = "What did you like or dislike";
$string['frontpagemodaltitle'] = 'Edwiser Rating and Review setup ';
$string['frontpagemodalbody'] = 'Do you want to add Edwiser rating and review block to all your courses to enable rating and review?';

$string['courselistdata'] = '<option class="form-control"  value = "{$a->courseid}"  {$a->selected}>{$a->coursename}</option>';

$string['enrolpagereviewstext'] = 'Reviews';
$string['datatableinfo'] = "Showing _START_ to _END_ of _TOTAL_ entries";  // Do not remove _START_ to _END_ of _TOTAL_ text.
$string['noreviewsfound'] = 'No Reviews found';
$string['showmorereviwebutton']  = '<a href = "#" class= "btn btn-outline-secondary btn-lg btn-block showmorereviewsbtn">Show More Review</a>';
$string['sucessfullyaddedmsg'] = 'Edwiser Rating and Review block added sucessfully on every available course.';
$string['reviewsubmittedresponse'] = 'Thank you for submitting the review, your review will be published soon.';
$string['reviewdeletewarning'] = '<p>Are you sure you want to delete the selected review?</p>';
