Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Languages, Themes, Manuals & Mods

- - - - -

  • Please log in to reply
183 replies to this topic

#126
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
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, 15 June 2013 - 12:12 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).


How to remove advertisement from MSFN

#127
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Inside information.js

Maybe we can add

On line 145:
VariablesGrid.addRow(gId++,'COMSPEC,'+ReplacePath("%comspec%")+'');

Thanks and regards
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#128
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag


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.
Champion

Posted Image


#129
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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, 11 December 2013 - 08:55 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#130
ykchanaed

ykchanaed

    Junior

  • Member
  • Pip
  • 94 posts
  • Joined 18-January 07

updated zh language file

Attached Files



#131
chymax3m

chymax3m

    Newbie

  • Member
  • 42 posts
  • Joined 17-January 12
  • OS:Windows 7 x64
  • Country: Country Flag

Hi Kel, here is the renewed Ukrainian language file. Good luck!

Attached Files



#132
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,829 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

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.



#133
Whatsup

Whatsup

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 11-February 10

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

 

Attached Files


Edited by Whatsup, 29 November 2013 - 12:27 PM.


#134
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,829 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

got it thanks.



#135
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

Hello Kels,

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

 

*Edit: File given

 


Edited by myselfidem, 09 February 2014 - 02:21 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#136
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

French manual updated on Chapter 9 and minor changes (fr.rar folder):

 

https://www.mediafir...6bficr91ar/WPIW

 

Thanks and regards


Edited by myselfidem, 14 December 2013 - 12:26 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#137
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,829 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

got it myselfidem



#138
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

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]

 

 

Attached Files


Champion

Posted Image


#139
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,829 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Got it in the download now Zeus


Edited by Kelsenellenelvian, 15 December 2013 - 07:50 AM.


#140
ssjoco

ssjoco

    Newbie

  • Member
  • 29 posts
  • Joined 15-April 07

Hi!

 

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

Attached Files


Edited by ssjoco, 25 December 2013 - 02:39 AM.


#141
Francesco

Francesco

    Advanced Member

  • Member
  • PipPipPip
  • 410 posts
  • Joined 20-March 04

Can't those two lines simply be removed from all languages files?



#142
Killgore

Killgore

    Newbie

  • Member
  • 32 posts
  • Joined 28-September 04

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


Regards,
Chris

#143
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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.7
lblWindows8[lang]               = ['Windows 8']

Edited by myselfidem, 31 January 2014 - 02:37 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#144
Killgore

Killgore

    Newbie

  • Member
  • 32 posts
  • Joined 28-September 04

 

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

 

 

I have 8.7.1 and lblEnable64BitProcessing is still there.


Regards,
Chris

#145
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,829 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Then I missed it just remove that line

#146
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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, 01 February 2014 - 01:20 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#147
Whatsup

Whatsup

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 11-February 10

Hello Kell..

 

Update Lang Dutch file add line Windows 8:

 

PS:Thanks for the Update!.

Attached Files


Edited by Whatsup, 04 February 2014 - 04:13 PM.


#148
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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, 09 February 2014 - 02:19 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#149
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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, 12 February 2014 - 07:18 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#150
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,798 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag
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


Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users