Help on strings.prg translations

Help on strings.prg translations

Postby Antonio Linares » Thu May 15, 2014 9:50 am

Could someone help to complete these translations ? thanks :-)

In this order: English, Spanish, French, Portuguese, German, Italian

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "HELP_HERE", "HELP_HERE", "HELP_HERE" }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41413
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Help on strings.prg translations

Postby Enrico Maria Giordano » Thu May 15, 2014 11:00 am

Antonio,

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "HELP_HERE", "HELP_HERE", "Modifica struttura DBF" }

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8379
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Help on strings.prg translations

Postby Kleyber » Thu May 15, 2014 11:21 am

Antonio,

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "Alterar estrutura do DBF", "HELP_HERE", "Modifica struttura DBF" }
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: Help on strings.prg translations

Postby Marc Vanzegbroeck » Thu May 15, 2014 11:44 am

In Dutch : Aanpassen DBF structuur :D
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1157
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Help on strings.prg translations

Postby byte-one » Thu May 15, 2014 12:19 pm

In German: "DBF-Struktur bearbeiten"
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Help on strings.prg translations

Postby Antonio Linares » Thu May 15, 2014 3:14 pm

English, Spanish, French, Portuguese, German, Italian

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "Alterar estrutura do DBF", "DBF-Struktur bearbeiten", "Modifica struttura DBF" }

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41413
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Help on strings.prg translations

Postby Silvio.Falconi » Fri May 16, 2014 4:31 pm

Antonio,Emg

I have problem with lang system because I use xbrowse save state .

As I explain here : viewtopic.php?f=3&t=28065

the final user set the lang to english.

the final user open the customer table

when the final user end the customer table save the state of xbrowse ( the procedure restore the state of xbrowse at begining)

the final user change the language from menu main of the application from english to Italian.

the final user open the customer table and it cannot see the xbrowse's column titles with Italian language but with english language


How I can resolve this big problem ?

I also ask to Mr Nages but i not have any messages also...
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: Help on strings.prg translations

Postby Antonio Linares » Fri May 16, 2014 5:06 pm

Silvio,

When the user saves the xbrowse state, the current language settings is used.

If the language is changed later on, obviously we can not take the freedom to translate his other language texts.

It seems to me as somehow the user should be warned that the previous saved info was in a different language than the current one.

I appreciate other users comments, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41413
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Help on strings.prg translations

Postby Silvio.Falconi » Thu May 22, 2014 7:49 am

Now I resolved erase the cstate from ini with when someone change the lang

WritePProString("Browse","CuState","",::cIniUser)

but I lose all informations

but I think we can create a function to rewrite only title headers of xbrowse _cHeaders


while we can have all others informations arrays


_nCreationOrders
_nWidths
_lHides
_cGrpHdrs



and the recreate the string of cstate from ini file


a little idea ....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: Help on strings.prg translations

Postby James Bott » Fri May 23, 2014 9:26 pm

Antonio,

To be consistent with the other translations, the English one should probably be changed from:

"Modify DBF struct"

To:

"Modify DBF structure"

Yes, it is a tiny change, but it is consistent.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Help on strings.prg translations

Postby Antonio Linares » Sat May 24, 2014 12:35 pm

James,

Implemented for next build. thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41413
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Help on strings.prg translations

Postby Silvio.Falconi » Sat May 24, 2014 4:10 pm

Antonio,
Perhaps I found a solution

see METHOD SaveState( aAdditionalData ) of xbrowse

we can create an Ovverride method to this class if the land is changed

We must change only aData[6] string while we can use the old other strings.. this is only an idea ...

lLang_changed .t. or .f.

aheader_changed If lLang_changed is .t. the procedure call an function where create an array with the new header right


Code: Select all  Expand view


Override Method RestoreState( cState ) In Class TXBROWSE With  RestoreState(lLang_changed,aheader_changed)
..

Function RestoreState(lLang_changed)
          Local Self := hb_QSelf()


     If lLang_changed
     
            ::cHeaders  := aheader_changed
     
      endif

   ::GetDisplayCols()
   ::Super:Refresh()
 
return nil

 


HOw it can be implemented ?

 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares and 38 guests