Skip to content

Commit

Permalink
New string (millionaire_lettersall) that will be used to Deutsch lang…
Browse files Browse the repository at this point in the history
…uage
  • Loading branch information
bdaloukas committed Aug 19, 2016
1 parent 2b2d80c commit 8ca0c4d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions lang/en/game.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
// 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';
Expand Down
4 changes: 3 additions & 1 deletion millionaire/play.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ function game_millionaire_showgrid( $game, $millionaire, $id, $query, $aanswer,
echo "<tr $background><td colspan=10>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>\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);
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
}

$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;
Expand Down

0 comments on commit 8ca0c4d

Please sign in to comment.