When I do this...theres document.write(getText(lblOptionsLanguage)); instead of Language or Sprache. there has to be a "link" to the lang.js in the htm or??
New Version 3.1 online
#22
Posted 29 December 2004 - 03:27 AM
oh yes. sh...
this is because the contents are created dynamically. we'll have to find another way to do the substitutions there.
document.write only works while the page is actually loading. in this case the page is loaded already and we're only modifying the inner HTML of a specific tag.
this is because the contents are created dynamically. we'll have to find another way to do the substitutions there.
document.write only works while the page is actually loading. in this case the page is loaded already and we're only modifying the inner HTML of a specific tag.
#23
Posted 29 December 2004 - 03:36 AM
There's a new Version 3.1.3. Options and config button texts and tooltips can be defined in lang.js now.
Some people complained about that HTML rendering for the config wizard taking so long. I've found another way of doing the rendering, called 'cached template'.
In debug mode you can find a stop watch on the left panel. it measures the time rendering takes. the options dialog has a new option called 'Config create mode'. There's 2 entries there - 'cached template' and 'read & replace'
For my small config, rendering takes about 3 second - cached template is faster only by milliseconds. but please try it out and post your results. THX.
Debug (upper panel) informs you of which rendering mode is used.
Also: if some guru's out there who could spend some of his time looking over config.js's code to speed it up ... please do !
Some people complained about that HTML rendering for the config wizard taking so long. I've found another way of doing the rendering, called 'cached template'.
In debug mode you can find a stop watch on the left panel. it measures the time rendering takes. the options dialog has a new option called 'Config create mode'. There's 2 entries there - 'cached template' and 'read & replace'
For my small config, rendering takes about 3 second - cached template is faster only by milliseconds. but please try it out and post your results. THX.
Debug (upper panel) informs you of which rendering mode is used.
Also: if some guru's out there who could spend some of his time looking over config.js's code to speed it up ... please do !
#24
Posted 29 December 2004 - 03:37 AM
has anyone noticed when they point to the decription it seems like it is having a epileptic seizures. it like popping in and out.
#26
Posted 29 December 2004 - 03:52 AM
in cached template, on my system, it's 300ms faster:
5708 vs. 5438
5708 vs. 5438
#27
Posted 29 December 2004 - 03:59 AM
its dependant too on the amount of programs u have in your config.js
ill post back with the 1s hasi has included with wpi
EDIT:
using default template included with wpi its
3313 for new
3849 for old
ill post back with the 1s hasi has included with wpi
EDIT:
using default template included with wpi its
3313 for new
3849 for old
#28
Posted 29 December 2004 - 04:06 AM
italian buttons labels and tooltips:
//--------------------------------------------------------------------------------------------- //italiano (by Beppemito) lang = 'it'; msgStartInstall[lang] = ['Windows Post-Installation Wizard ora si chiuderà e installerà le applicazioni scelte.\nSi prega di attendere,la procedura richiederà diversi minuti.']; lblTimerTitle[lang] = ['Il processo di installazione<br>partirà tra']; lblTimerStop[lang] = ['Clicca qui per stoppare il timer']; lblInstall[lang] = ['Installa']; lblExit[lang] = ['Esci']; lblHelp[lang] = ['Aiuto']; lblSelectAll[lang] = ['Seleziona tutti']; lblSelectNone[lang] = ['Deseleziona tutti']; lblSelectDefaults[lang] = ['Seleziona defaults']; lblOptions[lang] = ['Opzioni']; lblConfig[lang] = ['Configura']; ttInstall[lang] = ['Inizio installazione','Clicca qui per installare i programmi selezionati.']; ttExit[lang] = ['Esci','Clicca qui se vuoi uscire senza installare alcun programma.']; ttHelp[lang] = ['Aiuto','Visualizza le informazioni della versione e il disclaimer.']; ttSelectAll[lang] = ['Seleziona tutti','Clicca per selezionare tutti i programmi.']; ttSelectNone[lang] = ['Deseleziona tutti','Clicca per deselezionare tutti i programmi.']; ttSelectDefaults[lang] = ['Seleziona defaults','Clicca qui per selezionare i programmi fondamentali.']; txtRunOnceExTitle[lang] = ['Installazione dei programmi ...']; txtUsage[lang] = ['Installa - Installa i programmi scelti\nSeleziona/Deseleziona tutti - Seleziona/Deseleziona tutti i programmi\nSeleziona defaults - Seleziona solo i programmi fondamentali\n\nEsci - Chiudi WPI senza installare alcun programma']; ttOptions[lang] = ['Opzioni','Personalizza la tua versione di WPI']; ttConfig[lang] = ['Configura','Configura la tua lista di programmi.'];// //---------------------------------------------------------------------------------------------
#29
Posted 29 December 2004 - 04:50 AM
Uploaded the italian changes and fixed a problem with the tooltips on the main page. Version 3.1.3a



Help


Back to top








