hello,
I'm having trouble finding where the option translation in DA is defined. Under CMD_ADMIN_STATS are resource usage statistics, which in English are displayed in the table correctly while in other languages not necessarily. This is most likely due to the fact that in other languages a word after translation may consist of several words. For example, "Filesystem" in Polish is "System plików", which makes the second word treated as another column in the table (for which the |DF| variable in the data/skins/SKIN/admin/admin_stats.html file is responsible). The last column, in turn, is a combination of "Mounted on" and "Use%". Is it somehow possible to overwrite the translation in the table under the |DF| variable without replacing the value of this variable?
debug with Polish language set:
31: DF=<table class='list table-highlight' cellpadding=3 cellspacing=1>
<tr ><td class=listtitle><b><a class=listtitle href='?redirect=yes&sort1=-1'>System</a></b></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=2'>plików</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=3'>rozm.</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=4'>użyte</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=5'>dost.</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=6'>%uż. zamont. na</a></td >
</tr >
debug with English language set:
31: DF=<table class='list table-highlight' cellpadding=3 cellspacing=1>
<tr ><td class=listtitle><b><a class=listtitle href='?redirect=yes&sort1=-1'>Filesystem</a></b></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=2'>Size</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=3'>Used</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=4'>Avail</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=5'>Use%</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=6'>Mounted on</a></td >
</tr >
I'm having trouble finding where the option translation in DA is defined. Under CMD_ADMIN_STATS are resource usage statistics, which in English are displayed in the table correctly while in other languages not necessarily. This is most likely due to the fact that in other languages a word after translation may consist of several words. For example, "Filesystem" in Polish is "System plików", which makes the second word treated as another column in the table (for which the |DF| variable in the data/skins/SKIN/admin/admin_stats.html file is responsible). The last column, in turn, is a combination of "Mounted on" and "Use%". Is it somehow possible to overwrite the translation in the table under the |DF| variable without replacing the value of this variable?
debug with Polish language set:
31: DF=<table class='list table-highlight' cellpadding=3 cellspacing=1>
<tr ><td class=listtitle><b><a class=listtitle href='?redirect=yes&sort1=-1'>System</a></b></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=2'>plików</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=3'>rozm.</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=4'>użyte</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=5'>dost.</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=6'>%uż. zamont. na</a></td >
</tr >
debug with English language set:
31: DF=<table class='list table-highlight' cellpadding=3 cellspacing=1>
<tr ><td class=listtitle><b><a class=listtitle href='?redirect=yes&sort1=-1'>Filesystem</a></b></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=2'>Size</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=3'>Used</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=4'>Avail</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=5'>Use%</a></td >
<td class=listtitle><a class=listtitle href='?redirect=yes&sort1=6'>Mounted on</a></td >
</tr >