diff --git a/CHANGES.md b/CHANGES.md index 8944afb..8f9db14 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,6 @@ +Changes in version 2016-08-19 (20160819) +- New string (millionaire_lettersall) that will be used to Deutsch language + Changes in version 2016-06-26 (20160626) - Change type of game_cross.createscore to double diff --git a/lang/en/game.php b/lang/en/game.php index 68a4e5c..d0f3f0b 100644 --- a/lang/en/game.php +++ b/lang/en/game.php @@ -103,6 +103,7 @@ $string[ 'noglossaryentriesfound'] = 'No glossary entries found'; // File millionaire/play.php. $string[ 'millionaire_must_select_questioncategory'] = 'You must select one question category'; $string[ 'millionaire_must_select_quiz'] = 'You must select one quiz'; +$string[ 'millionaire_lettersall'] = '-'; // File report/overview/report.php. $string[ 'allattempts'] = 'Show all tries'; diff --git a/millionaire/play.php b/millionaire/play.php index 8dccaaa..c57b136 100644 --- a/millionaire/play.php +++ b/millionaire/play.php @@ -235,7 +235,9 @@ function game_millionaire_showgrid( $game, $millionaire, $id, $query, $aanswer, echo "     \r\n"; $bfirst = true; - $letters = get_string( 'lettersall', 'game'); + $letters = get_string( 'millionaire_lettersall', 'game'); + if( ($letters == '') or ($letters == '-')) + $letters = get_string( 'lettersall', 'game'); for ($i = 1; $i <= count( $aanswer); $i++) { $name = "btAnswer".$i; $s = game_substr( $letters, $i - 1, 1); diff --git a/version.php b/version.php index c6572ef..3671db2 100644 --- a/version.php +++ b/version.php @@ -36,10 +36,10 @@ if (!isset( $plugin)) { } $plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics). -$plugin->version = 2016062603; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2016081901; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2010112400; // Requires Moodle 2.0. $plugin->cron = 0; // Period for cron to check this module (secs). -$plugin->release = '2016-06-26'; +$plugin->release = '2016-08-19'; if ($useplugin != 2) { $module = $plugin;