WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

WinASM Studio v5.1.6.0 Trying to fix translation issue, I can´t wait sorry ;D

XeS
Quote Post


Extremely Active Member
******

Group: Members
Posts: 253
Member No.: 15879
Joined: 3-December 08



Better Solution see here ->follow me


I can´t sleep, because i know there is a bug in my favourite ASM IDE so i fixed it on my own.
:)

Here is the workaround!

CODE

Codelocation in hex-editor:
-before change-
1B06 = 9C06
1B15 = 9D06

-after change-
1B05 = 9D06
1B15 = 9C06



This is a fast and not 100% tested fix so wait for it until the admin and autor will release one with the fix, with this fix it is possible to change the "CBS_SORT FLAG" in the "Resource-FILE" and it would affect the sorting from the combobox.see translation bug

Attached files are fixed "WinASM Studio" and the "german" files but with no warranty.

I tested the english and the german version with no errors and all worked fine.
This patch was developed under pressure because i want to go out this evening.

Please post any suggestions or bugs. Tomorrow i will take another look at this and maybe i find some bugs on my on.

I hope no one will be mad at me. But i love this ASM IDE and will do everything i can to help developing this great work!
)(

Regards

XeS

Sponsored Links
PMEmail PosterUsers WebsiteICQ
Top
XeS
Quote Post


Extremely Active Member
******

Group: Members
Posts: 253
Member No.: 15879
Joined: 3-December 08


German translation fixed

Attached File ( Number of downloads: 2 )
 Login or Register to download
PMEmail PosterUsers WebsiteICQ
Top
XeS
Quote Post


Extremely Active Member
******

Group: Members
Posts: 253
Member No.: 15879
Joined: 3-December 08


How to fix it in WinAsm studio code.

Pseudocode from WinAsm studio
CODE

localize and verify "DLL to load resource"
initialize accelerators
invoke LoadStringX,offset Memmory,ResourceID
invoke LoadStringX,offset Next_Memmory,Next_ResourceID
invoke LoadStringX,offset Next_Memmory,Next_ResourceID
invoke LoadStringX,offset Next_Memmory,Next_ResourceID

and so on....


Change 2 lines would solve the translation issue.

Lines are:
CODE

invoke LoadString32,offset Memmory,69Ch
invoke LoadString32,offset Memmory,69Dh


change it to:
CODE

invoke LoadString32,offset Memmory,69Dh
invoke LoadString32,offset Memmory,69Ch


So it will first load "Kleinbuchstaben"->"Lowercase" and then "Großbuchstaben"->"Uppercase". And it will be added into the combobox in the same way. So it looks like this:
  • Default
  • Großbuchstaben
  • Kleinbuchstaben
What happened?
We correcting the insertion but not disabled CBS_SORT so it will be wrong anyway.

Now disable CBS_SORT in the resourcefile will take effect and it will be displayed like this:
  • Default
  • Kleinbuchstaben
  • Großbuchstaben
That´s it.

Hope this helps!

)(

Regards

XeS
PMEmail PosterUsers WebsiteICQ
Top
XeS
Quote Post


Extremely Active Member
******

Group: Members
Posts: 253
Member No.: 15879
Joined: 3-December 08


Now i´ve found what i was searching for the initialization of "Options Dialog". So here is the NOT quick and dirty solution.

Pseudocode for WinAsm Source Code
CODE

DlgProc PROC

     .if(Msg=WM_INIT)
           Call someone
           Call anotherone
           Call InitializeComponents  ;<-- at this procedure we fix the insertion
     .elseif(Do something else)
     ....
DlgProc ENDP


Pseudocode InitializeComponents
CODE

InitializeComponents PROC
      ...Initialize some components
     ;Search for
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Default
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Uppercase
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Lowercase
      ...more initialization
InitializeComponents ENDP


Now switch the lines to:
CODE

InitializeComponents PROC
      ...Initialize some components
     ;Search for something like this
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Default
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Lowercase
      invoke SendMessage,ComboBoxHandle,CB_ADDSTRING,0,offset Uppercase
      ...more initialization
InitializeComponents ENDP


Bytefix for version 5.1.6.0
CODE

CFC7'h = 61 change to 81
CFDE'h = 81 change to 61


This Patch will only affect translations with CBS_SORT Flag = 0. Give me a few minutes and i will test some translations for bugs.

@Edit:
bugs:
  • German Fixed Download
  • Spanish Fixed Download
  • Italiano Fixed Download
  • English no problems -> but should be fixed
  • French no source to modify -> bugged
  • japanese is fixed with a workaround 1.Default 2.Lowercase 3.Uppercase -> but not correctly.
(No translation version changed. IE if they supported version 5.1.5.0 they will not support all features from version 5.1.6.0 or higher)

And some other translations i can´t view correctly.

Attachement:
WinAsm Version 5.1.6.0 fixed insertion!

Hope this helps.

Regards

XeS

Attached File ( Number of downloads: 5 )
 Login or Register to download
PMEmail PosterUsers WebsiteICQ
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google