Skip to content

Commit

Permalink
Remove deprecated strings
Browse files Browse the repository at this point in the history
- Fixes issue #129.
- We also add forgotten strings to file deprecated.txt.
  • Loading branch information
martignoni committed Dec 24, 2023
1 parent 89da61f commit 131fa61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lang/en/deprecated.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
badpowersupply,tool_moodlebox
ipaddress,tool_moodlebox
raspbianversion,tool_moodlebox
showbuttonsinfooter,tool_moodlebox
showbuttonsinfooter_desc,tool_moodlebox
2 changes: 0 additions & 2 deletions lang/en/tool_moodlebox.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@
$string['wifissidinvalid'] = 'The name of the Wi-Fi network (SSID) provided is invalid. It must be a string of at least 1 byte and at most 32 bytes.';

// Deprecated.
$string['badpowersupply'] = '<p><b>Warning: under-voltage detected!</b> The power supply of the MoodleBox is inadequate, which can cause various problems, for example a limitation of the number of Wi-Fi clients or even an unexpected shutdown of the device.</p><p>It is strongly recommended to <b>change the power supply</b>, giving preference to the <a href="https://www.raspberrypi.org/products/raspberry-pi-universal-power-supply/" target="_blank">official Raspberry Foundation power supply</a>, and to use a good quality cable to connect it with the MoodleBox.</p>';
$string['ipaddress'] = 'IP address';
$string['raspbianversion'] = 'Raspbian version';
$string['showbuttonsinfooter'] = 'Show restart and shutdown buttons in footer';
$string['showbuttonsinfooter_desc'] = 'If enabled, the restart and shutdown buttons are displayed in the footer of all pages of the site when logged in as an administrator or as a manager.';

0 comments on commit 131fa61

Please sign in to comment.