MSFN Forum: New Version 3.1 online - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

New Version 3.1 online Rate Topic: -----

#21 User is offline   Dynaletik 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 633
  • Joined: 18-September 04
  • OS:none specified
  • Country: Country Flag

Posted 29 December 2004 - 02:20 AM

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??


#22 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

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.

#23 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

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 !

#24 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

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.

#25 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 29 December 2004 - 03:45 AM

Old Method: 12828ms

New Method: 11804ms

#26 User is offline   sonica 

  • Junior
  • Pip
  • Group: Members
  • Posts: 71
  • Joined: 01-September 04

Posted 29 December 2004 - 03:52 AM

in cached template, on my system, it's 300ms faster:

5708 vs. 5438

#27 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

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 :P

EDIT:

using default template included with wpi its

3313 for new
3849 for old

#28 User is offline   sonica 

  • Junior
  • Pip
  • Group: Members
  • Posts: 71
  • Joined: 01-September 04

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 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

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

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy