Menu

#77 disabled access to some labels through localization files

2.0
open-accepted
None
5
2017-02-08
2013-11-04
siccis
No

not all labels can be accessed through the localization files e.g.:
"Swatches" subtab label or "Recent" picked color array in Attribute Editor Window -> Fill Tab
or "deg" label in Attribute Editor Window -> Text Tab

Discussion

  • Vincent Belaïche

    • status: open --> open-accepted
    • assigned_to: Vincent Belaïche
     
  • Vincent Belaïche

    Concerning the "deg" label in the text tab, it seems to be hard coded as a matter of fact, see
    1 lines 1378–1379. This is not the only hard coded "deg" in the source code, so certainly a localization key would be nice to have.

    Concerning the Hatches subtab, this is a different matter : jPicEdt delegates this to javax.swing.JColorChooser — see line 416 of 1 — so I need to see how to call constructor with the correct localization.

     
  • Vincent Belaïche

    OK, to fix the Swatches subtab label, the only thing to do is to call JComponent.setDeaultLocale with the selected locale in JPicEdt.Localizer.

     
  • Vincent Belaïche

    I made a fixe as SVN revision 2037. I attached the correspinding installer.

    Could you please check if this solves your problem ?

     

Log in to post a comment.