PhotoFiltre

Le forum officiel de PhotoFiltre
It is currently 20 Oct 2019 2:53

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Missing info about encoding in translations file
PostPosted: 31 Mar 2016 17:27 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
Where does it say what encoding the translations files should be in?


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 01 Apr 2016 8:11 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
don't understand the question ?
you received the .pas file i sent to you ?
just translate the end of the file (part 1.17) and send me it again to compile


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 01 Apr 2016 12:12 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
Encoding is the way the file is saved. Like UTF-8 or ISO-8895-1 or what ever.
So the characters show up correctly.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 01 Apr 2016 17:51 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
save in ANSI mode only, like other updates :wink:


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 04 Apr 2016 12:13 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
Do you mean Windows-1252?
Maybe this should be added to the files like in TrEncoding so you and translators know what encoding the file is saved in.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 04 Apr 2016 14:34 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
We do like this until this day and it will work, why do you want to change today ?
Windows-1252? is for non unicode setting, only for client PC, not for the plg :wink:

Just translate the part 1.17 in notepad (not wordpad or other). Save in ANSI and send me only this new strings, i will merge and compil the .pas
Code:
// 1.17
TrLblDivide = 'Divide';
TrLblLighten = 'Lighten'; //  Dodge
TrLblDarken = 'Darken';   // burn
TrLblMergeHLight = 'Hard light';
TrLblMergeSLight = 'Soft light';
TrLblMergeAddition = 'Addition';
TrLblMergeSubstract = 'Substract';
TrLblMergeGExtract = 'Grain extract';
TrLblMergeGMerge = 'Grain merge';
TrLblMergeGDarken = 'Gamma -';
TrLblMergeGLighten = 'Gamma +';
TrLblMergeGHLight = 'Gamma light';
TrLblRatioScreen = 'Screen ratio';
TrMnuMicroContrast = 'Micro contrast';
TrMnuHighPass = 'High pass';


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 05 Apr 2016 13:47 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
I think you should write somewhere what encoding to use.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 05 Apr 2016 15:37 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
Are you the same translator who updated the previous version ?
Because i don't understand why it is a problem for you this time :roll:


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 06 Apr 2016 8:34 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
don't forget before to set correctelly the windows langage settings for non unicode text
(set the danish langage in the advanced windows settings)


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 06 Apr 2016 17:42 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
Yes its me that translated before and its not a problem, i just think its a good idea to write some where what encoding to use.
And what newline to use and stuff like that.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 06 Apr 2016 19:34 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
Ok, not understanded correctely the problem.
you can use the TrCharset variable but it is not used by the programm, it's only for information for the translator :wink:


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 07 Apr 2016 15:13 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
charset and encoding are not the same as far as i know.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 08 Apr 2016 8:36 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
possible but you can just add a comment in the translation file because it is not used :wink:


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 08 Apr 2016 12:11 
Offline
Nouveau(elle)
Nouveau(elle)|Nouveau|Nouvelle

Joined: 08 Jan 2011 21:55
Posts: 49
Gender: None specified
Operating System: Windows 7
My point is that if you dont have control over what encoding are used characters might not be showed correctly.

Like in my language we use æøå and if you dont give instructions as to what encoding to use and you dont know what encoding the file is using some characters like æøå might not be showed correctly.


Top
 Profile  
 
 Post subject: Re: Missing info about encoding in translations file
PostPosted: 08 Apr 2016 15:22 
Offline
Administrateur(trice)
Administrateur(trice)|Administrateur|Administratrice

Joined: 28 Oct 2003 23:49
Posts: 11214
Gender: None specified
of course, but you need unicode compiler like new version of delphi (XE 8) or Lazarus but Delphi 7 don't support that :wink:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group