Ignore:
Timestamp:
2012-04-10T18:52:37+02:00 (13 years ago)
Author:
simon04
Message:

JOSM/wikipedia: fix #josm7586

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java

    r28198 r28244  
    4848                new SideButton(new WikipediaSettingsAction(), false)));
    4949    }
    50     final StringProperty wikipediaLang = new StringProperty("wikipedia.lang", LanguageInfo.getWikiLanguagePrefix());
     50    final StringProperty wikipediaLang = new StringProperty("wikipedia.lang", LanguageInfo.getJOSMLocaleCode().substring(0, 2));
    5151    final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>();
    5252    final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) {
     
    116116                return null;
    117117            }
    118             return new Tag("wikipedia:" + m.group(1), m.group(2));
     118            return new Tag("wikipedia", m.group(1) + ":" + m.group(2));
    119119        }
    120120
Note: See TracChangeset for help on using the changeset viewer.