MSFN Forum: Languages, Themes, Manuals & Mods - MSFN Forum

Jump to content


  • 6 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

Languages, Themes, Manuals & Mods The place for translations... Rate Topic: -----

#81 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 January 2013 - 03:51 PM

......................

This post has been edited by Kelsenellenelvian: 19 January 2013 - 04:11 AM



#82 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 15 January 2013 - 05:01 PM

This solution works only on older versions, in 8.6.3 WPI.hta no longer exists...

#83 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 January 2013 - 05:03 PM

Look inside .\WPI\Common\WPI.hta ! ;)

The method of execution is different, but there is still wpi.hta !

This post has been edited by myselfidem: 18 January 2013 - 05:21 AM


#84 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 15 January 2013 - 05:16 PM

Thank you myselfidem :)

#85 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 January 2013 - 09:30 AM

Many thanks Kels for the new release WPI v8.6.4

To display properly the slider (on the right of the window) inside the tab changelog, it's needed to change inside ChangeLog.txt (on line 15) <nobr> with 'nobr' (for example).

Also inside aboutwpi_changelog.htm

On line 9 missing: </div>

Inside aboutwpitemplate_links.htm

On line 9 missing: </div>

Inside aboutwpitemplate_version.htm

On lines 35 and 60 are missing: </div>

Inside updatewpi.htm

On line 90 is missing: </a>

Inside informationtemplate_readme.htm

On line 9 missing: </div>

Thanks and regards

*Edit:
Seems missing inside configwizardtemplate_createshortcut.htm
On line 21: </td>

This post has been edited by myselfidem: 18 January 2013 - 03:19 AM


#86 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 January 2013 - 12:06 AM

Could we add inside the Manual:

Comparison operators

===   Identical (equal and of the same type)



We can see this one inside (for example): json_parse.js (from line 114)

Regards

This post has been edited by myselfidem: 18 January 2013 - 05:20 AM


#87 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 January 2013 - 05:41 AM

French Manual updated:

Regards

*Edit: given

This post has been edited by myselfidem: 19 January 2013 - 11:37 AM


#88 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 January 2013 - 12:20 PM

I see a strange behaviour using Theme\Tooltips !
This was already the case before and it's not an issue!

Sometimes the right pane move to the left when we select a path to choose an image (or using other options) inside the window.

I think this happens when we make changes using some font size !

Regards

This post has been edited by myselfidem: 18 January 2013 - 01:29 PM


#89 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 January 2013 - 07:46 PM

Fontinstaller is now fixed and there is a ton of internal fixes for the next release. (Still supporter only)

#90 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 January 2013 - 02:26 AM

Very nice! :)

The trouble about the slight leftward movement of the window seems solved writing all lines inside lang_fr.js like lang_en.js !
(line numbers strictly similar and text corresponding (order))

lang_fr.js file updated:

Thanks and regards

*Edit: given

This post has been edited by myselfidem: 19 January 2013 - 11:37 AM


#91 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 20 January 2013 - 02:22 AM

However, it seems to solve the little slight leftward movement it's needed also to change inside:

themewizardtemplate_tooltips.htm

Move </div> to line 503 and </div> to line 525 like this:

<div id="TextPaddingValue" class="opTxt" style="width:3em;"></div>


<div id="TransparencyValue" class="opTxt" style="width:3em;"></div>


Thanks and regards

*Edit:
Move </div> to line 10 inside aboutwpitemplate_changelog.htm

<div id="ChangeLog" class="opTxt" style="width:100%; height:225px; overflow:auto;"></div>

This post has been edited by myselfidem: 22 January 2013 - 01:42 AM


#92 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 January 2013 - 05:40 AM

About icon inside WPI Installer, I suggest as test to try to change inside the file, to display the wpi.ico:

Installer.hta change:
<script type="text/javascript">
 document.write('<script type="text/javascript"' +
 ('<HTA:APPLICATION ID="oWPI_Installer"' + 
  ' application="yes"' +
  ' singleInstance="yes"' +
  ' applicationName="Windows Post-Install Wizard Installer"' +
  ' version="'+ShortVersion+'"' +
  ' icon=""' +
  ' border="dialog"' +
  ' borderStyle="normal"' +
  ' innerBorder="no"' +
  ' caption="yes"' +
  ' sysMenu="no"' +
  ' contextMenu="no"' +
  ' minimizeButton="no"' +
  ' maximizeButton="no"' +
  ' navigable="yes"' +
  ' scroll="no"' +
  ' scrollFlat="no"' +
  ' selection="no"' +
  ' showInTaskBar="yes"' +
  ' windowState="normal"' +
  ' />') +
  ' </' + 'script>'); 
</script>



Icon used downloading the Avatar.png on the web site (changing to WPI.ico with GIMP):

Installer window

Tested and works fine!

The icon will be fixed inside Installer and it seems start is faster !

Thanks to check if it's OK.

Regards

WPI Installer icon

*Edit: french manual updated (added Comparison operator ===)

http://www.mediafire.com/#6696bficr91ar


*Edit: script updated

*Edit2: However, the window Installer can be resized using the script above!

This post has been edited by myselfidem: 03 April 2013 - 01:18 PM


#93 User is offline   jinkazama 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 16-November 03
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 24 January 2013 - 05:47 AM

Italian Language for 8.6.5
Please update it to use 8.6.5 in italian

Attached File(s)



#94 User is offline   chymax3m 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 17-January 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2013 - 06:35 PM

Had the language file been updated? Send me please English lang file in PM and i'll update Ukrainian one.

#95 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2013 - 09:02 PM

Here

Attached File(s)



#96 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 29 January 2013 - 09:36 AM

I would suggest to add "function getProductKey" inside WPI to know the Windows key!

I found the code here (at the bottom of the web page):

JS/VB Product Key Viewer (THANK YOU RPGFAN!)

1 - Adding inside wmi.js (from line 349); [or maybe inside core.js and wmi.js ?] :

function getProductKey()
{
    position="wmi.js";
    whatfunc="getProductKey()";  // Thanks to TheTeenScripter
 
    var shell = new ActiveXObject("WScript.shell");
    var DigiProdId = shell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId");
    DigiProdId = DigiProdId.toArray();

    var binaryKey = new Array();
 for(i=52;i<67;i++)
 {
 binaryKey[binaryKey.length] = DigiProdId[i];
 }
    var digits = new Array('B','C','D','F','G','H','J','K','M','P','Q','R','T','V','W','X','Y','2','3','4','6','7','8','9');
    var decodedKey = new Array(); // Will be 25 characters at the end

    for (var i = 24; i >= 0; i--) {
    var k = 0;
    for (var j = binaryKey.length - 1; j >= 0; j--) {
 k = (k << 8) + binaryKey[j];
 binaryKey[j] = (k / 24) & 255; //The "& 255" converts the
 k %= 24;         //value to a byte.
    }
    decodedKey.unshift(digits[k]);
    }
    var ProductKey = "";
 for(i=0;i<decodedKey.length;i++)
 {
 ProductKey += decodedKey[i];
  if(Math.floor((i+1)/5) == (i+1)/5 && i != decodedKey.length-1)
  {
  ProductKey += "-";
  }
      }
 return ProductKey;
}



2 - Inside information.js (line 119):

MyComputerGrid.addRow(gId++,getText(lblProductKey)+','+getProductKey()+'');


3 - Inside global_lang.js (line 321):

var lblProductKey=[];


4 - Inside global.js (line 198):

var SystemEnclosureType, ProductKey;


5 - Inside lang_en.js (at the bottom: line 1102)

lblProductKey[lang]              = ['Product Key'];



On line 1100 inside lang_en.js (missing ; at last):

lblNumberOfCores[lang]          = ['Number Of Cores']; 


Tested and works fine!

Thanks and regards

This post has been edited by myselfidem: 29 January 2013 - 11:28 AM


#97 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 January 2013 - 07:21 AM

As previously made by Francesco, we can fix a bug using Dependencies (adding a blank line):

http://www.msfn.org/...mmand-selected/

Adding inside configwizard.js on line 833:


if ((document.getElementById("uid").disabled) || (document.getElementById("cmd1").disabled))
                Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;



The alert box will appear now (and no more text on the top-left window !)

Tested and works fine! Thanks to check if it's OK.

Regards

Alert Box Dependencies Image

Maybe it would be useful to change also the message box and add (for example):

lang_en.js (line 972):
txtMustAddCommand[lang] = ['You must add a program name (UID) and also a command entry through the \'Add\' button before being able to perform this opreation'];


Regards

*Edit: post updated

This post has been edited by myselfidem: 02 February 2013 - 10:14 AM


#98 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 31 January 2013 - 12:53 PM

Bug Fix about Downloading files with WPI using Windows 7 or Windows 8:

Manage BITS (Background Intelligent Transfer Service) with Windows PowerShell

Using Windows PowerShell to Create BITS Transfer Jobs (Windows)

Quote

Previous versions of Windows provided command-line management of BITS using the BITSAdmin.exe tool. In Windows 7, BITSAdmin.exe is deprecated. Instead, you should use the Windows PowerShell cmdlets.


To download successfully ({DOWNLOAD}) a file from Internet using Windows 7 or Windows 8, we must add some changes inside installer.js:

From line 1338 we can add:
if (getOSver()=="Win7" || getOSver()=="Win8")
    cmdLine='Powershell Start-BitsTransfer -Source '+URL+' -Destination "%TEMP%\\'+Filename+'" -TransferType Download';
 fsoCmd=true;

if (getOSver()=="2K" || getOSver()=="XP" || getOSver()=="Vista")



Tested successfully:

http://www.msfn.org/...ost__p__1028736

Thanks and regards

*Edit: post and command updated!

This post has been edited by myselfidem: 23 February 2013 - 02:03 AM


#99 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 February 2013 - 07:08 AM

@Kels

What do you think about adding some useful infos inside wpi.css to customize Theme, like this:

wpi.css (partial infos):

.navTxt  /* text icons on the left: Options, Configuration... */
{
 font-family: tahoma;
 font-weight: bold;
 color: #ffffff;
 font-size: 16pt;
}

.timerHeader  /* text over the counter */
{
 font-family: arial;
 color: #ffffff;
 font-weight: bold;
 font-style: normal;
 font-size: 10pt;
}

.timer  /* digital counter */
{
 font-family: arial;
 color: #ffffff;
 font-weight: bold;
 font-style: normal;
 font-size: 24pt;
}




Thanks and regards

This post has been edited by myselfidem: 02 February 2013 - 08:40 AM


#100 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 184
  • Joined: 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 February 2013 - 01:52 PM

line 173 replaced with its true meaning.. also I began to translate manual for Turkish, hope I translate it as soon as possible.

Attached File(s)



Share this topic:


  • 6 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

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



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