mirror of
https://github.com/unraid/webgui.git
synced 2026-05-02 15:59:35 -05:00
Multi-language support
This commit is contained in:
@@ -59,7 +59,7 @@ function applyCfg() {
|
||||
|
||||
<?if (strpos(file_get_contents('/proc/cmdline'), 'pcie_acs_override=') !== false):?>
|
||||
<p class="notice" style="line-height:30px;height:auto">_(Warning)_: _(Your system has booted with the PCIe ACS Override setting enabled)_. _(The below list doesn't not reflect the way IOMMU would naturally group devices)_.<br>
|
||||
<?=sprintf(_("To see natural IOMMU groups for your hardware, go to the %sVM Manager%s page and set the **PCIe ACS override** setting to **Disabled**"),"<a href='/Settings/VMSettings'>","</a>")?>.</p>
|
||||
<?=my_hyperlink(_("To see natural IOMMU groups for your hardware, go to the [VM Manager] page and set the **PCIe ACS override** setting to **Disabled**"),'/Settings/VMSettings')?>.</p>
|
||||
<?endif;?>
|
||||
|
||||
<pre><form id="vfiopci" onsubmit="return false"><table id='t1' class='pre'><tr><td><div class="spinner"></div></td></tr></table></form></pre><br>
|
||||
|
||||
@@ -59,6 +59,9 @@ function my_disk($name,$raw=false) {
|
||||
function my_disks($disk) {
|
||||
return strpos($disk['status'],'_NP')===false;
|
||||
}
|
||||
function my_hyperlink($text,$link) {
|
||||
return str_replace(['[',']'],["<a href=\"$link\">","</a>"],$text);
|
||||
}
|
||||
function prefix($key) {
|
||||
return preg_replace('/\d+$/','',$key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user