Ticket #762: Just add tr.patch
File Just add tr.patch, 1.1 KB (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/plugins/PluginSelection.java
175 175 JEditorPane description = new JEditorPane(); 176 176 description.setContentType("text/html"); 177 177 description.setEditable(false); 178 description.setText("<html><i>"+(plugin.description==null?tr("no description available"):plugin.description)+"</i></html>"); 178 description.setText("<html><i>" + 179 (plugin.description == null 180 ? tr("no description available") 181 : tr(plugin.description)) + 182 "</i></html>"); 179 183 description.setBorder(BorderFactory.createEmptyBorder(0,20,0,0)); 180 184 description.setBackground(UIManager.getColor("Panel.background")); 181 185 description.addHyperlinkListener(new HyperlinkListener() {