~torstenhtr/kicad/kicad_via_stitching

Viewing all changes in revision 5568.

  • Committer: jean-pierre charras
  • Date: 2015-04-02 18:51:47 UTC
  • Revision ID: jp.charras@wanadoo.fr-20150402185147-uyn3rigl0e5mudxe
eeschema: fix Bug #1437604 (double translation of some messages in pin editor dialog) relative to some static strings flagged "to be translated".
This is due to the fact static strings flagged translated ( _("string") notation)  are not translated  when they are static only if they are not inside a dll.
When they are static inside a dll, the dictionary is already loaded, and the constructor translate them.
Therefore they can be translated twice in dialogs are calling wxGetTranslation to show them, if the application is run from kicad.
But if the application is run as stand alone, the translation is made only once (as expected).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: