Changeset 34559 in osm for applications/editors/josm/plugins
- Timestamp:
- 2018-08-18T20:22:49+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/tag2link
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tag2link/build.xml
r33867 r34559 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 0899"/>7 <property name="plugin.main.version" value="12847"/> 8 8 9 9 <property name="plugin.author" value="Don-vip & FrViPofm"/> -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/Tag2LinkRuleChecker.java
r33382 r34559 26 26 import java.util.regex.Pattern; 27 27 28 import org.openstreetmap.josm.Main;29 28 import org.openstreetmap.josm.data.osm.IPrimitive; 30 29 import org.openstreetmap.josm.data.osm.Tag; … … 36 35 import org.openstreetmap.josm.plugins.tag2link.data.Source; 37 36 import org.openstreetmap.josm.plugins.tag2link.io.SourcesReader; 37 import org.openstreetmap.josm.spi.preferences.Config; 38 38 39 39 /** … … 80 80 Matcher lm = Pattern.compile(".*lang(?:\\((\\p{Lower}{2,})(?:,(\\p{Lower}{2,}))*\\))?.*").matcher(arg); 81 81 if (lm.matches()) { 82 String josmLang = Main.pref.get("language");82 String josmLang = Config.getPref().get("language"); 83 83 String jvmLang = (josmLang.isEmpty() ? Locale.getDefault().getLanguage() : josmLang).split("_")[0]; 84 84 if (lm.groupCount() == 0) { -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java
r33867 r34559 26 26 import java.nio.file.Files; 27 27 28 import org.openstreetmap.josm.Main;29 28 import org.openstreetmap.josm.actions.JosmAction; 30 29 import org.openstreetmap.josm.plugins.tag2link.Tag2LinkConstants;
Note:
See TracChangeset
for help on using the changeset viewer.