<?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/>.

/**
 * Plugin strings are defined here.
 *
 * @package     mod_mooduell
 * @category    string
 * @copyright   2020 David Bogner <david.bogner@wunderbyte.at>
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

defined('MOODLE_INTERNAL') || die();

$string['action'] = 'Action';
$string['addInstance'] = 'Add instance';
$string['addanothercategory'] = 'Add another category';
$string['addquestionstocategory'] = 'Add questions to category {$a}';
$string['alternativelogo'] = 'Alternative Companylogo';
$string['alternativelogodesc'] = 'Companylogo Menu';
$string['anonymous'] = 'Anonymous';
$string['answertexttoolong'] = 'ID: {$a}: Answertext is too long';
$string['app'] = 'App';
$string['app:completiongamesplayed'] = 'Finish {$a} games to complete this challenge.';
$string['app:completiongameswon'] = 'Win {$a} games to complete this challenge.';
$string['app:completionrightanswers'] = 'Answer {$a} questions correctly to complete this challenge.';
$string['app:completionrightanswersperc'] = 'Answer {$a}% of all questions correctly to complete this challenge.';
$string['appstore_qr_desc'] = 'Scan this QR code with your phone to open the Apple App Store download page.';
$string['appstore_qr_title'] = 'App Store QR';
$string['appstorebutton'] = 'App Store';
$string['appstoreurl'] = "Link to the Apple App Store";
$string['cachedef_fcmtoken'] = "Cache FCM token.";
$string['cachedef_questionscache'] = "Cache questions for games.";
$string['cachedef_tablescache'] = "Cache for tables in the plugin.";
$string['cachedef_userscache'] = "Cache users and their permissions in the app.";
$string['cachetime'] = "Cache in seconds. Longer times will improve performance.";
$string['caplistdescription'] = 'The following users lack the necessary capabilities (webservice/rest:use or moodle/webservice:createmobiletoken).
Without these capabilities these user will not be able to use MooDuell.';
$string['caplistmissingrights'] = 'Users without capability';
$string['caplistuserlist'] = 'Users List';
$string['categoriesexplanation'] = 'If you choose more than one category, please add a weight. Weight DOES NOT have to sum up to 100';
$string['category'] = 'Category';
$string['categoryweight'] = 'Weight of the category';
$string['challenged'] = '{$a} has challenged you';
$string['challengename:completiongamesplayed'] = 'Number of games challenge';
$string['challengename:completiongameswon'] = 'Number of games won challenge';
$string['challengename:completionrightanswers'] = 'Number of right answers challenge';
$string['challengename:completionrightanswersperc'] = 'Percentage challenge';
$string['clicktomoveon'] = 'Click to move on';
$string['close'] = 'Close';
$string['companylogo'] = 'Companylogo';
$string['companylogodesc'] = 'Companylogo Header Bar';
$string['completionchallengename'] = 'Add challenge name...';
$string['completiondetail:gamesplayed'] = 'Finish {$a} games';
$string['completiondetail:gameswon'] = 'Win {$a} games';
$string['completiondetail:rightanswers'] = 'Answer {$a} questions correctly';
$string['completiondetail:rightanswersperc'] = 'Answer {$a}% of all questions correctly';
$string['completionexpected'] = 'Expect completed on';
$string['completiongamesplayed'] = 'User has to finish number of games';
$string['completiongamesplayedlabel'] = 'Played games';
$string['completiongamesplayedlabel_help'] = 'Enter a target number and a challenge name (which will be shown in the app only).';
$string['completiongameswon'] = 'User has to win number of games';
$string['completiongameswonlabel'] = 'Won games';
$string['completiongameswonlabel_help'] = 'Enter a target number and a challenge name (which will be shown in the app only).';
$string['completionrightanswers'] = 'User has to answer number of question correctly';
$string['completionrightanswerslabel'] = 'Number of questions';
$string['completionrightanswerslabel_help'] = 'Enter a target number and a challenge name (which will be shown in the app only).';
$string['completionrightanswersperc'] = 'User has to answer percentage of questions correctly';
$string['completionrightanswersperclabel'] = 'Percentage of correctly answered questions';
$string['completionrightanswersperclabel_help'] = 'Enter a target number and a challenge name (which will be shown in the app only).';
$string['correctlyanswered'] = 'Correctly answered';
$string['correctlyansweredpercentage'] = '% correctly answered';
$string['countdown'] = 'Countdown';
$string['countdown_help'] = 'How much time will players have to answer a question';
$string['deletegame'] = 'Delete game';
$string['disablesbadges'] = 'Disable awards';
$string['downloadhighscores'] = 'Download highscores as csv file';
$string['downloaduniviemoduell'] = 'Dowload your app and start playing now!';
$string['draw'] = 'You played draw against {$a}';
$string['enablepush'] = 'enable push';
$string['finishedgames'] = 'Finished games';
$string['foundthesegames'] = 'We found these games:';
$string['gameslost'] = 'Games lost';
$string['gamesplayed'] = 'Games played';
$string['gameswon'] = 'Games won';
$string['highscores'] = 'Highscores';
$string['important'] = 'Important!';
$string['integrationcheck_enabled'] = 'Enabled';
$string['integrationcheck_integrationcheck'] = 'Integration Check';
$string['integrationcheck_mobilewebservicesactive'] = 'Mobile Webservices Active';
$string['integrationcheck_notenabled'] = 'Not Enabled';
$string['integrationcheck_setting'] = 'Setting';
$string['integrationcheck_status'] = 'Status';
$string['integrationcheck_webservicesactive'] = 'Webservices Active';
$string['lastplayed'] = 'Last time played';
$string['launch_description'] = 'Scan a QR code to install the app instantly, then scan your personal login QR to sign in.';
$string['launch_eyebrow'] = 'MooDuell Web Preview';
$string['launch_feature_one'] = 'Duel any Moodle user with one-time login tokens';
$string['launch_feature_three'] = 'Track progress, rankings and learning challenges';
$string['launch_feature_two'] = 'Questions are sourced directly from your Moodle quizzes';
$string['launch_note'] = 'Push notifications, camera and payment features require the native app.';
$string['launch_tagline'] = 'The Moodle Quiz Duel';
$string['launch_title'] = 'Challenge your colleagues to a quiz duel.';
$string['license_activated'] = 'PRO version activated successfully.<br>(Expires: ';
$string['license_invalid'] = 'Invalid license key';
$string['license_overlimit_settings'] = 'Your {$a->product} license is valid, but it cannot be activated because your platform currently has {$a->active} active users for MooDuell and the license limit is {$a->limit}.<br>Because of this, you can no longer create new games and you can no longer create new MooDuell activities.';
$string['licensekey'] = 'PRO license key';
$string['licensekeycfg'] = 'Activate PRO version';
$string['licensekeycfgdesc'] = 'With a PRO license you can create as many MooDuell Quizzes as you like. PRO license also allows you to customize our MooDuell-App using your own theme.';
$string['licensekeydesc'] = 'Upload a valid license key to activate the PRO version.';
$string['licenselimit_newactivity_blocked'] = 'Your MooDuell license user limit has been exceeded. Creating new MooDuell activities is blocked.';
$string['licenselimit_newgame_blocked'] = 'Your MooDuell license user limit has been exceeded. Creating new games is blocked.';
$string['licenselimit_over_warning'] = 'You are currently at {$a->current} of {$a->limit} users for your MooDuell license ({$a->percentage}%). You are over the license limit: creating new games and creating new MooDuell activities is now blocked.';
$string['licenselimit_threshold_warning'] = 'You are currently at {$a->current} of {$a->limit} users for your MooDuell license ({$a->percentage}%).';
$string['listofquestions'] = 'List of questions:';
$string['login_qr_title'] = 'Login QR';
$string['messageprovider:status'] = 'Game status changes';
$string['modulename'] = 'MooDuell';
$string['modulename_help'] = 'The MooDuell module helps you to create multiplayer quiz activities which then can be played using the MooDuell App.';
$string['modulenameplural'] = 'MooDuells';
$string['mooduell:addinstance'] = 'Add instance';
$string['mooduell:canpurchase'] = 'User can purchase';
$string['mooduell:editgames'] = 'Edit games';
$string['mooduell:managemooduellsettings'] = 'Manage the settings of a MooDuell Game';
$string['mooduell:play'] = 'Play Mooduell';
$string['mooduell:viewinstance'] = 'View an instance of mooduell';
$string['mooduell:viewstatistics'] = 'View game statistics';
$string['mooduell:viewstudentnames'] = 'View full names of participants';
$string['mooduellfieldset'] = 'MooDuell settings';
$string['mooduellname'] = 'Name of the MooDuell game';
$string['mooduellname_help'] = 'Choose a name for your game';
$string['mooduellsettings'] = 'MooDuell settings';
$string['nocategories'] = 'There are no categories added yet';
$string['nocountdown'] = 'No Countdown';
$string['noimage'] = 'No image';
$string['nomessage'] = 'There is nothing to say';
$string['noopengames'] = 'There are no open games yet.';
$string['noquestions'] = 'There are no questions in this quiz.';
$string['nostatistics'] = 'Sorry, statistics could\'nt be loaded.';
$string['notenoughquestions'] = 'There are not enough questions in the chosen category. Choose another category or add more questions to the existing one.';
$string['notok'] = 'Not OK';
$string['nowarnings'] = 'Your game seems fine, there are currently no warnings';
$string['ok'] = 'OK';
$string['openappstore'] = 'Open App Store';
$string['opengames'] = 'Open games';
$string['openplaystore'] = 'Open Google Play';
$string['pincode'] = "Your PinCode: ";
$string['playera'] = 'Player A';
$string['playeraresults'] = 'Result A';
$string['playerb'] = 'Player B';
$string['playerbresults'] = 'Result B';
$string['playstore_qr_desc'] = 'Scan this QR code with your phone to open the Google Play download page.';
$string['playstore_qr_title'] = 'Google Play QR';
$string['playstorebutton'] = 'Google Play';
$string['playstoreurl'] = "Link to the Google Play Store";
$string['pluginadministration'] = 'Plugin Administration';
$string['pluginname'] = 'MooDuell';
$string['privacy:metadata:mooduell_games'] = 'Stores the mooduell game progress.';
$string['privacy:metadata:mooduell_games:mooduellid'] = 'Id of the mooduell instance.';
$string['privacy:metadata:mooduell_games:playeracorrect'] = 'Number of correctly answered questions by player A.';
$string['privacy:metadata:mooduell_games:playeraid'] = 'User Id of the player who initiated the game.';
$string['privacy:metadata:mooduell_games:playeraqplayed'] = 'Number of player As played questions.';
$string['privacy:metadata:mooduell_games:playerbcorrect'] = 'Number of correctly answered questions by player B.';
$string['privacy:metadata:mooduell_games:playerbid'] = 'User Id of the player who was challenged to this game.';
$string['privacy:metadata:mooduell_games:playerbqplayed'] = 'Number of player Bs played questions.';
$string['privacy:metadata:mooduell_games:status'] = 'Status of the game.';
$string['privacy:metadata:mooduell_games:timecreated'] = 'Timestamp of when the instance was created.';
$string['privacy:metadata:mooduell_games:timemodified'] = 'Timestamp of when the instance was last modified.';
$string['privacy:metadata:mooduell_games:victorycoefficient'] = 'Victories correlated to the strength of adversary.';
$string['privacy:metadata:mooduell_games:winnerid'] = 'User Id of the games winner.';
$string['privacy:metadata:mooduell_highscores'] = 'Stores the highscores and is updated constantly.';
$string['privacy:metadata:mooduell_highscores:gamesfinished'] = 'Number of games finished (by the user on this instance).';
$string['privacy:metadata:mooduell_highscores:gameslost'] = 'Number of games lost (by the user on this instance).';
$string['privacy:metadata:mooduell_highscores:gamesplayed'] = 'Number of games played (by the user on this instance).';
$string['privacy:metadata:mooduell_highscores:gamesstarted'] = 'Number of games started (by the user on this instance).';
$string['privacy:metadata:mooduell_highscores:gameswon'] = 'Number of games won (by the user on this instance).';
$string['privacy:metadata:mooduell_highscores:mooduellid'] = 'Id of the mooduell instance.';
$string['privacy:metadata:mooduell_highscores:qcorrect'] = 'The number of correctly answered questions (by the user, on the MooDuell instance).';
$string['privacy:metadata:mooduell_highscores:qcpercentage'] = 'Percentage of correctly answered questions (by user on this MooDuell instance).';
$string['privacy:metadata:mooduell_highscores:qplayed'] = 'Number of played questions (by the user on this MooDuell instance).';
$string['privacy:metadata:mooduell_highscores:ranking'] = 'The users rank in the highscores table of the MooDuell instance.';
$string['privacy:metadata:mooduell_highscores:score'] = 'The users score on the MooDuell instance.';
$string['privacy:metadata:mooduell_highscores:timecreated'] = 'Timestamp of when the record was created.';
$string['privacy:metadata:mooduell_highscores:timemodified'] = 'Timestamp of when the record was last modified.';
$string['privacy:metadata:mooduell_highscores:userid'] = 'The unique user id.';
$string['privacy:metadata:mooduell_pushtokens'] = 'Stores all the pushtokens for all the users.';
$string['privacy:metadata:mooduell_pushtokens:identifier'] = 'The unique device identifier.';
$string['privacy:metadata:mooduell_pushtokens:model'] = 'Information about the device like model and screen size.';
$string['privacy:metadata:mooduell_pushtokens:numberofnotifications'] = 'The number of notifications.';
$string['privacy:metadata:mooduell_pushtokens:pushtoken'] = 'The pushtoken.';
$string['privacy:metadata:mooduell_pushtokens:userid'] = 'The unique user id.';
$string['pushtoken'] = 'Push API access key';
$string['qrdesc'] = "To login on your Smartphone, scan this personal QR-Code with the MooDuell App.";
$string['qrshare'] = 'You can also use this QR-Code directly from your Smartphone. To Login just touch the Code and share it to your mooduell App.';
$string['qrtitle'] = "QR Login - How to:";
$string['question'] = 'question';
$string['questionhasnocorrectanswers'] = 'ID {$a}: Question has no correct answers';
$string['questionid'] = 'ID';
$string['questionimage'] = 'Image';
$string['questions'] = 'Questions';
$string['questions_played'] = 'Questions answered';
$string['questionscategory'] = 'Question category';
$string['questionscategorygroup'] = 'Select question categories';
$string['questionselect'] = 'Select Questions';
$string['questionstatus'] = 'Status';
$string['questiontext'] = 'Text';
$string['questiontextlength'] = 'Text length';
$string['questiontexttoolong'] = 'ID {$a}: Questiontext is too long';
$string['questiontexttooshort'] = 'ID {$a}: Questiontext is too short';
$string['questiontype'] = 'Type';
$string['rank'] = 'Ranking';
$string['reloadbutton'] = 'Reload page';
$string['reloadtext'] = 'QR-Code expired';
$string['score'] = 'Score';
$string['shortcode_mooduell_description'] = 'Embeds the MooDuell web app as an authenticated iframe. Every shortcode usage must pass the configured securitytoken. Example: [mooduell securitytoken=ABCDEFGH] or [mooduell randomuserfromcourse=12 securitytoken=ABCDEFGH].';
$string['shortcode_warning_invalid_securitytoken'] = 'The MooDuell shortcode security token is invalid.';
$string['shortcode_warning_missing_mooduell_instance'] = 'The target course ({$a}) does not contain a MooDuell activity, so rotating course users cannot be used here.';
$string['shortcode_warning_missing_securitytoken'] = 'This MooDuell shortcode requires a securitytoken parameter.';
$string['shortcode_warning_no_eligible_user'] = 'No eligible MooDuell user could be resolved for the target course ({$a}).';
$string['shortcodetoken'] = 'Shortcode security token';
$string['shortcodetoken_desc'] = 'Security token required for all MooDuell shortcode usages. A random 8-character token is generated by default. Only shortcodes that pass the same token in the securitytoken parameter will render.';
$string['showanswersfeedback'] = 'Show answer-specific feedbacks';
$string['showanswersfeedback_help'] = 'If you activate this, the feedback texts set for each individual answer will be shown after answering a question.';
$string['showcontinuebutton'] = 'Show "Continue"-button';
$string['showcontinuebutton_help'] = 'Even when there is only one correct answer, users have to confirm their choice by clicking on the "Continue"-button.';
$string['showcorrectanswer'] = 'Show correct answer';
$string['showcorrectanswer_help'] = 'After wrongly answering a question, the right answer will be shown.';
$string['showgeneralfeedback'] = 'Show general feedback';
$string['showgeneralfeedback_help'] = 'If you activate this, the text from a question\'s "General feedback" will be shown after answering a question.';
$string['showqr'] = 'Show QR Code';
$string['showqrlogin'] = 'Show QR to Login';
$string['startmooduell'] = 'Start MooDuell';
$string['stat_active_users'] = 'Active users';
$string['stat_active_users_desc'] = 'That\'s the number of different users who have started at least one game yet.';
$string['stat_answered_correctly'] = 'Correct answers';
$string['stat_answered_correctly_desc'] = 'This is the percentage of correct answers given.';
$string['stat_easiest_question'] = 'Easiest question';
$string['stat_easiest_question_desc1'] = 'This question was answered correctly <b>';
$string['stat_easiest_question_desc2'] = ' times</b>.';
$string['stat_edit_question'] = 'Edit question';
$string['stat_games_finished'] = 'Games finished';
$string['stat_games_finished_desc'] = 'That\'s how many games have been finished yet.';
$string['stat_games_started'] = 'Games started';
$string['stat_games_started_desc'] = 'That\'s how many games have been started yet.';
$string['stat_hardest_question'] = 'Hardest question';
$string['stat_hardest_question_desc1'] = 'This question was answered incorrectly <b>';
$string['stat_hardest_question_desc2'] = ' times</b>.';
$string['stat_question_undefined'] = 'Cannot be determined yet.';
$string['stat_questions_answered'] = 'Questions answered';
$string['stat_questions_answered_desc'] = 'That\'s how many responses have already been submitted in total.';
$string['stat_student_correct_answers'] = 'Correct answers';
$string['stat_student_correct_answers_desc'] = 'That\'s the number of questions you have answered correctly.';
$string['stat_student_correct_percentage'] = 'Correctly answered';
$string['stat_student_correct_percentage_desc'] = 'That\'s the percentage of questions you have answered correctly.';
$string['stat_student_finished_games'] = 'Finished games';
$string['stat_student_finished_games_desc'] = 'That\'s the number of games you have already finished.';
$string['stat_student_games_won'] = 'Games won';
$string['stat_student_games_won_desc'] = 'That\'s the number of games you have won.';
$string['stat_student_open_games'] = 'Open games';
$string['stat_student_open_games_desc'] = 'That\'s the number of games you\'re currently playing.';
$string['stat_student_opponents'] = 'Opponents';
$string['stat_student_opponents_desc'] = 'That\'s the number of different users you have already played against.';
$string['statistics'] = 'Statistics';
$string['status'] = 'Status';
$string['students'] = 'Students';
$string['supporturl'] = 'Support URL';
$string['theme'] = 'Theme';
$string['themedesc'] = 'Theme in JSON format';
$string['timecreated'] = 'Creation date';
$string['timemodified'] = 'Last change';
$string['univiemooduell'] = 'Univie Mooduell';
$string['univiemooduellappstore'] = 'Get it on Apple App Store:';
$string['univiemooduellplaystore'] = 'Get it on Google Play Store:';
$string['unlockplatform'] = 'Disable Paymodel';
$string['updatesubscription'] = "Check subscription status";
$string['usefullnames'] = 'Use full names';
$string['usefullnames_help'] = 'Full names of users will be shown. If not, users have to define a MooDuell alias in their profile.';
$string['userhasnonickname'] = 'User has no nickname';
$string['username'] = 'Name';
$string['viewgame'] = 'View game';
$string['waitfornextquestion'] = 'Time to next question';
$string['waitfornextquestion_help'] = 'How long should the right answer should be visible after the user has answered a question.';
$string['warnings'] = 'Warnings';
$string['wrongquestiontype'] = 'ID {$a}: Question has the wrong type';
$string['xseconds'] = '{$a} seconds';
$string['youlose'] = 'You lost against {$a}';
$string['yourturn'] = 'It\'s your turn against {$a}';
$string['youwin'] = 'You won against {$a}';
