• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Kelsenellenelvian

Languages, Themes, Manuals & Mods

185 posts in this topic

Maybe we can add inside core.js

position and whatfunc

Add to:


function SetNotExitingFlag()
{
position="core.js";
whatfunc="SetNotExitingFlag()";

Add to:


function RefreshWPI()
{
position="core.js";
whatfunc="RefreshWPI()";

Add to:


function WPIUnloading()
{
position="core.js";
whatfunc="WPIUnloading()";

Add to:


function handleErrors(msg,url,line)
{
position="core.js";
whatfunc="handleErrors()";

Thanks and regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Inside information.js

Maybe we can add

On line 145:

VariablesGrid.addRow(gId++,'COMSPEC,'+ReplacePath("%comspec%")+'');

Thanks and regards

0

Share this post


Link to post
Share on other sites

Hi @Kel,

finally I translated the manual and fixed a few lines of lang file for better meaning and sync with the manual.. I want to be a supporter as a translator. would I put files here or PM you?

Thanks ZEUS_ for your help and work! ;)

I think the best way is to past your files on the forum.

Cheers and regards

hello,

I saw this now. I already sent files to @Kel from wincert, when this forum was closed for maintenance. anyway, thanks for your efforts.

regards.

0

Share this post


Link to post
Share on other sites

Here is the new lang_fr.js for WPI_v8.6.7

Because the line 238 is removed:

lblEnable64BitProcessing[lang]  = ['Enable 64bit processing'];

Thanks and regards

"Edit: file given

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

To those that have provided lang files:

I have all of the ones provided in the previous posts. Thank you . If you make any changes add them into new posts so I don't get lost please.

The updated files are in the 8.7.0 and will be in there on dec 8th when it is released.

0

Share this post


Link to post
Share on other sites

Hi Kelsenellenelvian..

Here the Dutch Updated lang file..
The error I get here was:

optKeep[lang]                     = ['Blijft zichtbaar.Beweegt met muis mee'];

So I removed that line..
And OC translate new line's.
All is fine now!!!..

Thx alot..

Grt Whatsup

=============================================================================

Here is the new lang_fr.js for WPI_v8.6.7

Because the line 238 is removed:

lblEnable64BitProcessing[lang] = ['Enable 64bit processing'];

http://www.mediafire.com/download/9kukrbmgrxyxrwj/lang_fr.rar

Thanks and regards

I'll also removed this line!!..Correct??

lang_nl.js

Edited by Whatsup
0

Share this post


Link to post
Share on other sites

Hello Kels,

Here is the new french language file for WPI 8.7. Many thanks

*Edit: File given

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

when try to open wpi 8.7, it gives me error that some removed lines from lang file:

I remove these lines and now it's OK.

-lblEnable64BitProcessing[lang]

-optKeep[lang]

lang_tr.js

0

Share this post


Link to post
Share on other sites

Got it in the download now Zeus

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

Hi!

There was some bug in the Hungarian file. Here is the new one for 8.7.0.

lang_hu.js

Edited by ssjoco
0

Share this post


Link to post
Share on other sites

-lblEnable64BitProcessing[lang] is also causing problems with polish language.

0

Share this post


Link to post
Share on other sites

All language files have been updated inside WPI_v8.7.1. thanks to Kels!

*Edit: However some lines needs to be translated at last for WPI_v8.7.1

// v8.6+lblNumberOfCores[lang]          = ['Number Of Cores'];lblNumberOfLogicalProcessors[lang] = ['Number Of Logical Processors'];lblProductKey[lang]             = ['Product Key'];lblKeyboardLayout[lang]         = ['Keyboard Layout'];// v8.7lblWindows8[lang]               = ['Windows 8']
Edited by myselfidem
0

Share this post


Link to post
Share on other sites

All language files have been updated inside WPI_v8.7.1. thanks to Kels!

I have 8.7.1 and lblEnable64BitProcessing is still there.

0

Share this post


Link to post
Share on other sites

Error is on line 532 inside lang_pl.js and inside lang_no.js (line 533) and maybe others language files; remove this line:

lblTrue64Bits[lang]             = ['Prawdziwe 64 Bity'];

Check also your config.js file and remove all lines using WPI_v8.7.1:

bit64[pn]=['yes'];

and

bit64[pn]=['no'];
Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Hello Kell..

Update Lang Dutch file add line Windows 8:

PS:Thanks for the Update!.

lang_nl.js

Edited by Whatsup
0

Share this post


Link to post
Share on other sites

About [function DownloadFile] inside installer.js, we can change:

On line 1080, change:

cmd = '"'+ReplacePath(" % programfiles % \\Internet Explorer\\iexplore.exe")+'" ' + cmd;

To (look at spaces):

cmd = '"'+ReplacePath("%programfiles%\\Internet Explorer\\iexplore.exe")+'"' + cmd;

From line 1400, change to:

   if (FileExists(windir+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"))   {     cmdLine = 'Powershell -NoProfile Import-Module BitsTransfer -cmdlet Start-BitsTransfer; Start-BitsTransfer -Source ' + URL + ' -Destination "$env:temp\\'+Filename+'" -TransferType Download';     fsoCmd = true;     }     else     {     cmdLine = '"'+wpipath+'\\Tools\\BitsAdmin.exe" /transfer WPI /download /priority high ' + URL + ' "%TEMP%\\'+Filename+'"';     fsoCmd = true;     }      if (AlwaysShowOutputWindow || ShowDownloadOutput)   fsoCmd = false;   ReturnCode = WshShell.Run(ReplacePath(cmdLine), fsoCmd ? 0 : 1, true);   if (ReturnCode == 0)   WriteLogLine(cmdName + ' ' + getText(InstallDownloadSuccess) + ' (' + getText(ReturnedCode) + ' ' + ReturnCode + '): ' + URL);   else   WriteLogLine(cmdName + ' ' + getText(InstallDownloadFail) + ' (' + getText(ReturnedCode) + ' ' + ReturnCode + '): ' + URL);   UpdateInstallList(("div" + i + "_" + j + "_" + FailNum), "");   cmd = ReplacePath('"%TEMP%\\'+Filename+'"' + Args) || ReplacePath('"$env:temp\\'+Filename+'"' + Args);   return cmd;

Now downloading files works fine!

Regards

*Edit: post updated

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

To avoid errors with "Resume Button" and "Abort Button ", we can change inside Installer.hta:

function PauseInstaller(){	if (!UserPaused)	{		UserPaused=true;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",1,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnResume);                        return;	}	else	{		UserPaused=false;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",0,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnPause);	}}

To:

function PauseInstaller(){	if (!UserPaused)	{		UserPaused=true;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",1,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnResume);		document.getElementById("AbortButton").disabled=true;		return;	}	else	{		UserPaused=false;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",0,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnPause);		document.getElementById("AbortButton").disabled=false;	}}

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites
function PauseInstaller(){	if (!UserPaused)	{		UserPaused=true;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",1,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnResume);		document.getElementById("AbortButton").disabled=true;		return;	}	else	{		UserPaused=false;		WriteRegKey("HKEY_CURRENT_USER\\Software\\WPI\\UserPaused",0,"REG_DWORD");		document.getElementById("Pause").innerHTML=getText(btnPause);		document.getElementById("AbortButton").disabled=false;	}}

Regards

I don't think you need that "return", do you? If you don't need one in the "else" you shouldn't need it in the "if" either, unless there is something else in the function that you are not showing.

Cheers and Regards

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.