Skip to content

Commit

Permalink
flash upgrader MDL-20841 Add lang support to the flash upgrader
Browse files Browse the repository at this point in the history
  • Loading branch information
mouneyrac committed Nov 27, 2009
1 parent bb2fcfc commit ee720bd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/en_utf8/moodle.php
Expand Up @@ -658,6 +658,8 @@
$string['firstdayofweek'] = '0'; $string['firstdayofweek'] = '0';
$string['firstname'] = 'First name'; $string['firstname'] = 'First name';
$string['firsttime'] = 'Is this your first time here?'; $string['firsttime'] = 'Is this your first time here?';
$string['flashlinkmessage'] = 'Please upgrade your Flash player now:';
$string['flashupgrademessage'] = " The Flash plugin is required to play this content, but the version you have is too old.\n\n You may need to log out and log in back after upgrade.";
$string['folder'] = 'Folder'; $string['folder'] = 'Folder';
$string['folderclosed'] = 'Closed folder'; $string['folderclosed'] = 'Closed folder';
$string['folderopened'] = 'Opened folder'; $string['folderopened'] = 'Opened folder';
Expand Down
Binary file modified lib/flashdetect/flashupgrade.fla
Binary file not shown.
Binary file modified lib/flashdetect/flashupgrade.swf
Binary file not shown.
9 changes: 9 additions & 0 deletions lib/flashdetect/message.php
@@ -0,0 +1,9 @@
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
require('../../config.php');
require_login();
echo 'alertmessage='.get_string('flashupgrademessage').'&linkmessage='.get_string('flashlinkmessage');
?>

0 comments on commit ee720bd

Please sign in to comment.