STRU - Lists and modifies the structure of the dbfs files

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

chrisjx2002
Posts: 192
Joined: Wed Jan 06, 2010 5:39 pm

Re: STRU - Lists and modifies the structure of the dbfs file

Post by chrisjx2002 »

Hello Pablo,

Thanks for improving the support of other languages to your software.

Now the N° on the screen is correct.

To improve the support of other languages, I try to modify the help screen. I modify Copie to Crée in French.lng and I got this error on the screenshot (see attached file).

Regards
Attachments
Screenshot help
Screenshot help
Message3.jpg (72.47 KiB) Viewed 4445 times
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: STRU - Lists and modifies the structure of the dbfs file

Post by Pablo César »

I see... check now.
I modify Copie to Crée in French.lng
If you make improvements in French.Lng, please share with us.

<Attached file removed, see last message with now release>
Last edited by Pablo César on Tue Sep 18, 2012 4:12 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: STRU - Lists and modifies the structure of the dbfs file

Post by mol »

There is problem with Polish characters in console mode still.
It's because console mode uses CP-852 and graphics mode uses CP-1250.
Polish ascii codes are different in both codepages.
Only one way to resolve thi problem, is to declare different language files.
Attachments
polish_console.zip
(1.75 KiB) Downloaded 247 times
chrisjx2002
Posts: 192
Joined: Wed Jan 06, 2010 5:39 pm

Re: STRU - Lists and modifies the structure of the dbfs file

Post by chrisjx2002 »

I have checked : now it is OK. That is super!!!

You will find attached an updated version of the translation in French : mostly typo errors.
chrisjx2002
Posts: 192
Joined: Wed Jan 06, 2010 5:39 pm

Re: STRU - Lists and modifies the structure of the dbfs file

Post by chrisjx2002 »

With the file it is better... ;)
Attachments
French.zip
French translation
(1.73 KiB) Downloaded 255 times
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

STRU - Lists and modifies the structure of the dbfs file

Post by Pablo César »

chrisjx2002 wrote:I have checked : now it is OK. That is super!!!
I am glad to know this and very thank you for yours compliments.
chrisjx2002 wrote:You will find attached an updated version of the translation in French : mostly typo errors.
Thank you for optimize French.Lng.
mol wrote:There is problem with Polish characters in console mode still.
It's because console mode uses CP-852 and graphics mode uses CP-1250.
Let me know something else. At both modes (console and GUI), when SET CODEPAGE TO POLISH like it is happening in STRU (for example), then HMG will set CP-852 and CP-1250 according modes ? Or this is not happening, ie you need to force CP-852 or CP-1250 ?
mol wrote:Only one way to resolve thi problem, is to declare different language files.
Your attached polish file for console proposes, was renamed (please note) and now it is going to be used according console mode and when is also existing TLg extension file. These is going to work for other similar cases with both files.

Please Marek check if it is working properly now in this new release.

The only problem I see is that in polish language, sometimes strings are so long, then you will need to enlarge windows sizes or abbreviate in you polish words. :cry:

<Attached file removed, see last message with now release>
Last edited by Pablo César on Thu Sep 20, 2012 4:59 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

STRU - Lists and modifies the structure of the dbfs files

Post by Pablo César »

Still no answer from Marek, but believing that it is ok now for Polish language.
Another release is ready correcting a bug when deleting fields and when also add new field. Another correction was made when there is a process file and shall delete prgs files at deleting fields and also for editing changes.

Please, I need help: I found a weird behaviour when double clicked or editing at field with caracter-type and lengh 1. In first editing spinner_1 is showing in blank not like as 1. But if cancel and returning editing then spinner_1 is showing 1. I tried to refresh spinner but it doesn´t work. Very strange. My tries was at line 1530, unsuccefully. :cry:

In the first time I went in to edit, it does not shows the value "1" in Spinner_1:
Screen44.PNG
Screen44.PNG (19.29 KiB) Viewed 4378 times
When is canceled editing and returns for the second time, then yes it appears correctly:
Screen45.PNG
Screen45.PNG (19.63 KiB) Viewed 4375 times
Very strange! :(

Languages files must be updating, now with 135 itens/lines. Please Esgici (for turkish), Marek (for polish, Lng and TLg) and chrisjx2002 (for french), you add the two new missing lines/items. Many thanks for your translations.

<Attached file removed, see last message with now release>
Last edited by Pablo César on Fri Sep 21, 2012 5:08 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: STRU - Lists and modifies the structure of the dbfs file

Post by esgici »

Ola Pablo
Pablo César wrote:... a weird behaviour when double clicked or editing at field with caracter-type and lengh 1.

I don't like this word; but this seems a bug :(

A second oddness is : if changed

Code: Select all

1063        RANGEMIN 1
to

Code: Select all

1063        RANGEMIN 0
problem gone away; but this modification is also wrong. You have validate spinner value to avoiding 0 though allowed by spinner.
Languages files must be updating, now with 135 itens/lines.
Sorry, all .lng file you sent in .rar has 133 items/lines, no 135 :(

Regards
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

STRU - Lists and modifies the structure of the dbfs file

Post by Pablo César »

esgici wrote:
Pablo César wrote:... a weird behaviour when double clicked or editing at field with caracter-type and lengh 1.

I don't like this word; but this seems a bug :(
Yes, your completly right: It´s a bug ! And I will post this message in HMG Bug Reports section !!
esgici wrote:A second oddness is : if changed

Code: Select all

1063        RANGEMIN 1 
to
1063        RANGEMIN 0
Problem gone away; but this modification is also wrong. You have validate spinner value to avoiding 0 though allowed by spinner.
Ohhh guy ! You are very clever ! Thank you very much ! I have already validate bigger than zero in Spinner_1.
Esgici wrote:
Pablo César wrote:Languages files must be updating, now with 135 itens/lines.
Sorry, all .lng file you sent in .rar has 133 items/lines, no 135 :(
No, no. All files are with 135 but Turkish.Lng, Polish.Lng, Polish.TLg and French.Lng are with last two lines with empties quotes and need the right translation. I could do it by Google translator, but not sure that translations would it be perfect than made by all of you. For that reason I kindly ask you to make for us, please. :roll: Portuguese, Spanish and English are already done.

I would like to get in italian... someone could do it for us ?

<Attached file removed, see last message with now release>
Last edited by Pablo César on Fri Sep 21, 2012 5:10 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: STRU - Lists and modifies the structure of the dbfs file

Post by esgici »

Ola Pablo
Languages files must be updating, now with 135 itens/lines.
Done.
Saudação.
Viva INTERNATIONAL HMG :D
Post Reply