mirror of
https://github.com/unraid/webgui.git
synced 2026-05-12 15:20:29 -05:00
Multi-language support
This commit is contained in:
@@ -94,7 +94,7 @@ function my_id($id) {
|
||||
}
|
||||
function my_word($num) {
|
||||
$words = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen','twenty','twenty-one','twenty-two','twenty-three','twenty-four','twenty-five','twenty-six','twenty-seven','twenty-eight','twenty-nine','thirty'];
|
||||
return $num<count($words) ? $words[$num] : $num;
|
||||
return $num<count($words) ? _($words[$num],1) : $num;
|
||||
}
|
||||
function my_usage() {
|
||||
global $disks,$var,$display;
|
||||
|
||||
Reference in New Issue
Block a user