Changeset 28244 in osm for applications/editors/josm/plugins/wikipedia
- Timestamp:
- 2012-04-10T18:52:37+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java
r28198 r28244 48 48 new SideButton(new WikipediaSettingsAction(), false))); 49 49 } 50 final StringProperty wikipediaLang = new StringProperty("wikipedia.lang", LanguageInfo.get WikiLanguagePrefix());50 final StringProperty wikipediaLang = new StringProperty("wikipedia.lang", LanguageInfo.getJOSMLocaleCode().substring(0, 2)); 51 51 final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>(); 52 52 final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) { … … 116 116 return null; 117 117 } 118 return new Tag("wikipedia :" + m.group(1),m.group(2));118 return new Tag("wikipedia", m.group(1) + ":" + m.group(2)); 119 119 } 120 120
Note:
See TracChangeset
for help on using the changeset viewer.