Hi Geoff,

Thanks a lot for improvements !

   1. The scale field now checks for numeric values with spaces, and
      attempts to resolve a reasonable number, so "1 234" and "1,234"
      converts to "1234".  Please let me know if this causes any other
      problems with your decimal point/separator values.

This one is not fixed for me. To reproduce the problem, set locale to french/France, open the main printer dialog (I get a scale of "2 897" for example), and click in the "fit to page" checkbox.
I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 (instead of 2 897) and there is no more error.
If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : http://www.exampledepot.com/egs/java.text/Numbers.html

   1. The <Window Close> button now operates the same as the <Cancel>
      button.

Fixed, thanks.

   1. PrinterPlugin tooltip is now internationalized

Fixed, thanks.

   1. The title of the <About> dialog is now internationalized.

Fixed, thanks

   1. The "Quality" word in the Help dialog should simply be removed
      from the language file (JumpPrinter.HelpDialog.Message7).  In
      English I have changed this to "Options ....".  I have not
      changed the other language files.

OK, what I meant was that "Precision" and "Quality words used in "JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were probably refering to old PrinterSetUp String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate Renderer", "External Renderer","SkyJump Renderer"};
but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", "External Renderer"}; Not sure if terms Precision/Quality must be removed from language file or add to renderer names...

   1. [..] around "Furniture"  in Help dialog now corrected.

Fixed, thanks

   1. Save Image dialog, "Size" is now internationalised

Fixed, thanks

   1. Your French language file is now included in the jar

Great, thanks

   1. <Note> Panel -- and ++ buttons are now internationalised, In
      English I have named these "Del" and "Add".  I have attempted
      the translation into Italian, German and French (excuse my poor
      language skills).  Note that the layout of the dialog is
      sensitive to word length - but you can always put "--" and "++"
      in the language file.

Fine, thanks

   1. The package com.cadplan.fileio was in both jars (this is not
good - I know). Generally it did not cause problems - but!!! For JumpPrinter I have renamed this package to
      com.cadplan.fileioA - this should solve the problem for the moment.

Sorry for my bad diagnosis. The problem is still there (if I change the jar name to JumpPrinter-1.77.jar, I get an exception).
Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar file
Just let you know why I could not do it and let you decide if it is worthwhile fixing it.

Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 'p') as in the source code

Attached, the french file with a few typo fixed.

Best regards,

Michaël

Please let me know how you get on.

thanks

Geoff



On 3/07/2011 6:34 PM, Michaël Michaud wrote:
Hi Geoff,

I just have translated PrinterPlugIn to french.
Please find the properties file attached to this mail.
I'm on the way of including it in OpenJUMP 1.4.1-s distribution.

It gave me the occasion to appreciate the excellent work you did for this plugin.
I realized that I did not know 10% of its capabilities :-) .

Here are a few points where, in my opinion, it coud be improved :

The only bug I found is related to the scale displayed in the main menu.
When the dialog is opened, displayed scale number uses the local (ex. Scale 1: 2 983 with my french configuration), but it cannot read it back because of the space between thousands and units.
It throws the same error as when a bad number is manually entered.

The cancel button of the main dialog works fine (simply closes the dialog box) I would have expected the same behaviour when I use the dialog close button (upper right corner),
but instead, it opens the Printer dialog box.

Other remarks are small ui improvement suggestions (sorry if I missed some points) :
- PrinterPlugIn button tooltip is not yet internationalized
- Button "About" is internationalized, but not About dialog box title
- Renderer chooser is refered as "Quality" option in the Help dialog box, but has no title in the main configuration dialog box
- In the Help dialog, brackets around Furniture Dialog are not closed
- In the Save Image  dialog box, "size" option is not internationalized
- IMO, in Note panel of Furniture dialog box, an Add/Remove internationalized button would be better than -- and ++

Thanks again for this excellent plugin.

Michaël


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-----
No virus found in this message.
Checked by AVG -www.avg.com
Version: 10.0.1388 / Virus Database: 1516/3741 - Release Date: 07/03/11

--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Fax: (08) 9382 4459
Email:ge...@cadplan.com.au
http://www.cadplan.com.au

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

# Properties file for the Selection Plugins - default language if none specified
JumpPrinter.MenuItem=Imprimer
JumpPrinter.File=Fichier
JumpPrinter.Error=Erreur...
JumpPrinter.Warning=Attention...
JumpPrinter.Preparing=Pr\u00E9paration de l'impression
JumpPrinter.Printing=Impression en cours...veuillez patienter
JumpPrinter.SavingImage=Sauvegarder l'image
JumpPrinter.Setup=Configuration de l'impression
JumpPrinter.NumberOfPages=Nombre de pages \u00E0 imprimer:
JumpPrinter.OkToPrint=Voulez-vous imprimer ?
JumpPrinter.Setup.About=A propos
JumpPrinter.Setup.SinglePage=Page simple
JumpPrinter.Setup.Quality=Mode d'impression
JumpPrinter.Setup.Scale=Echelle 1:
JumpPrinter.Setup.Furniture=Habillage cartographique
JumpPrinter.Setup.Help=Aide
JumpPrinter.Setup.Cancel=Annuler
JumpPrinter.Setup.OK=OK
JumpPrinter.Setup.FitToPage=Ajuster \u00E0 la page
JumpPrinter.Setup.SaveCfg=Sauvegarder Cfg
JumpPrinter.Setup.LoadCfg=Charger Cfg
JumpPrinter.Setup.PageSetup=Configurer la mise en page
JumpPrinter.Setup.Print=Impression
JumpPrinter.Setup.SaveImage=Sauvergarder l'image
JumpPrinter.Setup.Message1=L'\u00E9chelle doit \u00EAtre sup\u00E9rieure \u00E0 0
JumpPrinter.Setup.Message2=Erreur dans le champ \u00E9chelle
JumpPrinter.Setup.Message3=Mise en page restaur\u00E9e \u00E0 partir de\:
JumpPrinter.Setup.Message4=Mise en page sauvegard\u00E9e dans:
JumpPrinter.Setup.Message5=Erreur durant le chargement du fichier de 
configuration.\nLe\ fichier de configuration n'existe peut-\u00EAtre pas pour 
ce projet.
JumpPrinter.Setup.Message7=L'option 'Pr\u00E9cision' n'affiche pas toujours les 
couches images \u00E0 la bonne \u00E9chelle. Utiliser l'option 'Qualit\u00E9' 
pour l'impression de couches images.
JumpPrinter.Setup.Message8=L'option 'Moteur de rendu externe' n'affiche pas les 
styles de ligne de type 'd\u00E9coration'.
JumpPrinter.Setup.Message9=Vous allez supprimer la mise en page:
JumpPrinter.Setup.Message10=Nouveau projet charg\u00E9, la mise en page n'est 
sans doute plus la bonne.\nVous devriez recharger la mise en page qui convient.
JumpPrinter.Furniture=Choix d'\u00E9l\u00E9ments cartographiques 
suppl\u00E9mentaires
JumpPrinter.Furniture.Title=Titre
JumpPrinter.Furniture.Scale=Echelle
JumpPrinter.Furniture.Border=Bordure
JumpPrinter.Furniture.North=Nord
JumpPrinter.Furniture.Note=Note
JumpPrinter.Furniture.Legend=L\u00E9gende de la carte
JumpPrinter.Furniture.LayerLegend=L\u00E9gende des couches
JumpPrinter.Furniture.Cancel=Annuler
JumpPrinter.Furniture.Apply=Appliquer
JumpPrinter.Furniture.Close=Fermer
JumpPrinter.Furniture.Show=Afficher
JumpPrinter.Furniture.Layer=Couche
JumpPrinter.Furniture.Delete=Supprimer
JumpPrinter.Furniture.Scale.Units=Unit\u00E9s
JumpPrinter.Furniture.Scale.ShowRatio=Afficher l'\u00E9chelle
JumpPrinter.Furniture.Scale.ShowUnits=Afficher les unit\u00E9s
JumpPrinter.Furniture.Image.Locked=Verrouill\u00E9
JumpPrinter.Furniture.Title.Title=Titre
JumpPrinter.Furniture.Image.ImageFile=Fichier image
JumpPrinter.Furniture.Add=Ajouter
JumpPrinter.Furniture.Message1=Le facteur d'\u00E9chelle doit \u00EAtre compris 
entre 0.1 et 10.0
JumpPrinter.Furniture.Message2=Num\u00E9ro de couche invalide
JumpPrinter.Furniture.Border.LineWidth=Largeur
JumpPrinter.Furniture.Border.Fixed=Fixe
JumpPrinter.Furniture.Legend.CheckAll=Tout s\u00E9lectionner
JumpPrinter.Furniture.Legend.ClearAll=Tout d\u00E9selectionner
JumpPrinter.Furniture.Legend.Border=Bordure
JumpPrinter.Furniture.North.Rotation=Rotation
JumpPrinter.Furniture.North.Style1=Style 1
JumpPrinter.Furniture.North.Style2=Style 2
JumpPrinter.Furniture.North.Style3=Style 3
JumpPrinter.Furniture.North.Style4=Style 4
JumpPrinter.Furniture.North.Style5=Style 5
JumpPrinter.Furniture.North.Style6=Style 6
JumpPrinter.Furniture.North.Message1=Erreur dans le champ rotation.
JumpPrinter.Furniture.Note.Plain=Normal
JumpPrinter.Furniture.Note.PlainItalic=Normal+Italique
JumpPrinter.Furniture.Note.Bold=Gras
JumpPrinter.Furniture.Note.BoldItalic=Gras+Italique
JumpPrinter.Furniture.Note.Left=Gauche
JumpPrinter.Furniture.Note.Centre=Centre
JumpPrinter.Furniture.Note.Right=Droit
JumpPrinter.Furniture.Note.Note=Note
JumpPrinter.Furniture.Note.Font=Police
JumpPrinter.Furniture.Note.Size=Taille
JumpPrinter.Furniture.Note.Add=Ajoutez
JumpPrinter.Furniture.Note.Delete=Enlevez
JumpPrinter.Furniture.Note.Full=Justifi\u00E9
JumpPrinter.Furniture.Note.Width=Largeur
JumpPrinter.Furniture.Note.Justify=Justifi\u00E9
JumpPrinter.Furniture.Note.Style=Style
JumpPrinter.Furniture.Note.Shade=Fond
JumpPrinter.Furniture.Note.Border=Bordure
JumpPrinter.Furniture.Note.Message1=Cette note va \u00EAtre d\u00E9finitivement 
supprim\u00E9e
JumpPrinter.Furniture.Scale.Scale=Echelle 1:
JumpPrinter.Furniture.Scale.AutoRange=Automatique
JumpPrinter.Furniture.Scale.Range=Intervalles
JumpPrinter.Furniture.Scale.Interval=Intervalle
JumpPrinter.Furniture.Scale.Number=Unit\u00E9 de l'\u00E9chelle
JumpPrinter.Furniture.Scale.Message1=L'unit\u00E9 de l'\u00E9chelle n'est pas 
valide.
JumpPrinter.Furniture.Scale.Message2=Il y a une erreur dans le champ Unit\u00E9 
\u00E9chelle.
JumpPrinter.Furniture.Scale.Message3=Il y a une erreur dans la d\u00E9finition 
des intervalles.
JumpPrinter.Furniture.Title.Plain=Normal
JumpPrinter.Furniture.Title.PlainItalic=Normal+Italique
JumpPrinter.Furniture.Title.Bold=Gras
JumpPrinter.Furniture.Title.BoldItalic=Gras+Italique
JumpPrinter.Furniture.Title.Title=Titre
JumpPrinter.Furniture.Title.Font=Police
JumpPrinter.Furniture.Title.Size=Taille
JumpPrinter.Furniture.Title.Style=Style
JumpPrinter.Furniture.Vertical=Vertical
JumpPrinter.Furniture.Horizontal=Horizontal
JumpPrinter.HelpDialog=Aide
JumpPrinter.HelpDialog.MouseOptions=Options de la souris
JumpPrinter.HelpDialog.MoveOption=Bouton-gauche : appuyer-d\u00E9placer
JumpPrinter.HelpDialog.Message1=d\u00E9placer un \u00E9l\u00E9ment 
cartographique
JumpPrinter.HelpDialog.PanOption=Bouton-gauche : Maj + appuyer-déplacer
JumpPrinter.HelpDialog.Message2=d\u00E9placer la carte avec tous ses 
\u00E9l\u00E9ments
JumpPrinter.HelpDialog.ButtonOptions=Options des boutons
JumpPrinter.HelpDialog.ZoomIn=zoomer.
JumpPrinter.HelpDialog.Zoom100=zoomer à 100% et aligner en haut à gauche
JumpPrinter.HelpDialog.ZoomOut=dézoomer
JumpPrinter.HelpDialog.Message3=charger la mise en page du projet courant
JumpPrinter.HelpDialog.Message4=sauvegarder la mise en page du projet courant
JumpPrinter.HelpDialog.Message5=ajouter des \u00E9l\u00E9ments d'habillage 
cartographique
JumpPrinter.HelpDialog.Options=Options d'impression
JumpPrinter.HelpDialog.Message6=ajuster l'\u00E9chelle pour faire tenir la 
carte sur une seule feuille
JumpPrinter.HelpDialog.Message7=adapter le mode d'impression aux 
pr\u00E9f\u00E9rences de l'utilisateur
JumpPrinter.HelpDialog.InputFields=Champs \u00E0 remplir
JumpPrinter.HelpDialog.Message8=\u00E9chelle d'impression de la carte
JumpPrinter.HelpDialog.Close=Fermer
JumpPrinter.Image.Dialog=Paramètres de l'image
JumpPrinter.Image.ImageType=Type d'image
JumpPrinter.Image.KeepAspectRatio=Conserver le ratio largeur/hauteur
JumpPrinter.Image.JPEGQuality=Qualit\u00E9 JPEG (%)
JumpPrinter.Image.Size=Taille




------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to