Fixed toolbar in non-english languages.
This commit is contained in:
parent
fc0915de60
commit
bd1396bf7e
|
@ -1,3 +0,0 @@
|
||||||
@ECHO OFF
|
|
||||||
CD ..\translate
|
|
||||||
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js minifyall
|
|
|
@ -212,6 +212,14 @@ body {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nonenglish .topbar_td {
|
||||||
|
width: 10px;
|
||||||
|
height: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
padding-left:16px;
|
||||||
|
padding-right:16px;
|
||||||
|
}
|
||||||
|
|
||||||
.topbar_td_end {
|
.topbar_td_end {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
CD ..\translate
|
CD ..\translate
|
||||||
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js minifyall
|
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js minifyall
|
||||||
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js translateall
|
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js translateall
|
||||||
|
C:\Users\Default.DESKTOP-M9I88C9\AppData\Roaming\nvm\v12.13.0\node translate.js extractall
|
File diff suppressed because it is too large
Load Diff
|
@ -137,7 +137,7 @@
|
||||||
<td tabindex=0 id=MainDevFiles class="topbar_td style3x" onclick=go(13,event) onkeypress="if (event.key == 'Enter') go(13)">Files</td>
|
<td tabindex=0 id=MainDevFiles class="topbar_td style3x" onclick=go(13,event) onkeypress="if (event.key == 'Enter') go(13)">Files</td>
|
||||||
<td tabindex=0 id=MainDevEvents class="topbar_td style3x" onclick=go(16,event) onkeypress="if (event.key == 'Enter') go(16)">Events</td>
|
<td tabindex=0 id=MainDevEvents class="topbar_td style3x" onclick=go(16,event) onkeypress="if (event.key == 'Enter') go(16)">Events</td>
|
||||||
<td tabindex=0 id=MainDevInfo class="topbar_td style3x" onclick=go(17,event) onkeypress="if (event.key == 'Enter') go(17)">Details</td>
|
<td tabindex=0 id=MainDevInfo class="topbar_td style3x" onclick=go(17,event) onkeypress="if (event.key == 'Enter') go(17)">Details</td>
|
||||||
<td tabindex=0 id=MainDevAmt class="topbar_td style3x" onclick=go(14,event) onkeypress="if (event.key == 'Enter') go(14)">Intel® AMT</td>
|
<td tabindex=0 id=MainDevAmt class="topbar_td style3x" onclick=go(14,event) onkeypress="if (event.key == 'Enter') go(14)">Intel®AMT</td>
|
||||||
<td tabindex=0 id=MainDevConsole class="topbar_td style3x" onclick=go(15,event) onkeypress="if (event.key == 'Enter') go(15)">Console</td>
|
<td tabindex=0 id=MainDevConsole class="topbar_td style3x" onclick=go(15,event) onkeypress="if (event.key == 'Enter') go(15)">Console</td>
|
||||||
<td tabindex=0 id=MainDevPlugins class="topbar_td style3x" onclick=go(19,event) onkeypress="if (event.key == 'Enter') go(19)">Plugins</td>
|
<td tabindex=0 id=MainDevPlugins class="topbar_td style3x" onclick=go(19,event) onkeypress="if (event.key == 'Enter') go(19)">Plugins</td>
|
||||||
<td class="topbar_td_end style3"> </td>
|
<td class="topbar_td_end style3"> </td>
|
||||||
|
@ -1244,6 +1244,11 @@
|
||||||
d4ToggleWrap(true);
|
d4ToggleWrap(true);
|
||||||
d4ToggleSize(true);
|
d4ToggleSize(true);
|
||||||
if (pluginHandler != null) pluginHandler.callHook('onWebUIStartupEnd');
|
if (pluginHandler != null) pluginHandler.callHook('onWebUIStartupEnd');
|
||||||
|
|
||||||
|
// Deleted non-english style and fix all topbar titles
|
||||||
|
if (Q('MainDevDesktop').innerHTML != 'Desktop') { QC('body').add('nonenglish'); }
|
||||||
|
var elements = document.getElementsByClassName('topbar_td');
|
||||||
|
for (var i in elements) { if (elements[i].innerHTML) { elements[i].innerHTML = elements[i].innerHTML.split(' ').join(' '); } }
|
||||||
}
|
}
|
||||||
|
|
||||||
function adjustPanels() {
|
function adjustPanels() {
|
||||||
|
|
Loading…
Reference in New Issue