Skip to content

Commit

Permalink
Re-introduce removed strings and deprecate them using Moodle policy.
Browse files Browse the repository at this point in the history
Will hopefully fix issue #25.
  • Loading branch information
martignoni committed Sep 13, 2017
1 parent 628eb49 commit ed1da95
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lang/en/deprecated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changepasswordsetting,tool_moodlebox
changewifipassword,tool_moodlebox
currentwifipassword,tool_moodlebox
newwifipassword,tool_moodlebox
nopassworddefined,tool_moodlebox
wifipasswordmessage,tool_moodlebox
wifipasswordsetting,tool_moodlebox
11 changes: 10 additions & 1 deletion lang/en/tool_moodlebox.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
$string['shutdownmessage'] = 'The MoodleBox is shutting down. Please wait a few seconds before disconnecting the power supply.';
$string['systeminfo'] = 'System information';
$string['unknownmodel'] = 'Unknown Raspberry Pi model';
$string['unsupportedhardware'] = 'Unsupported server hardware detected ! This plugin does only work on Raspberry Pi';
$string['unsupportedhardware'] = 'Unsupported server hardware detected! This plugin does only work on Raspberry Pi';
$string['uptime'] = 'System uptime';
$string['wifichannel'] = 'Wi-Fi channel';
$string['wificountry'] = 'Wi-Fi regulatory country';
Expand All @@ -69,3 +69,12 @@
$string['wifisettings'] = 'Wi-Fi settings';
$string['wifisettingsmessage'] = 'The Wi-Fi settings were changed. Don\'t forget to communicate the new SSID and password to your students.';
$string['wifissid'] = 'Wi-Fi network name (SSID)';

// Deprecated
$string['changepasswordsetting'] = 'MoodleBox password change';
$string['changewifipassword'] = 'Change Wi-Fi password';
$string['currentwifipassword'] = 'Current Wi-Fi password';
$string['newwifipassword'] = 'New Wi-Fi password';
$string['nopassworddefined'] = 'No Wi-Fi password defined';
$string['wifipasswordmessage'] = 'The Wi-Fi network password was changed. Don\'t forget to communicate it to your students.';
$string['wifipasswordsetting'] = 'Wi-Fi network password change';

0 comments on commit ed1da95

Please sign in to comment.