Changeset 34559 in osm


Ignore:
Timestamp:
2018-08-18T20:22:49+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 12847

Location:
applications/editors/josm/plugins/tag2link
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tag2link/build.xml

    r33867 r34559  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="10899"/>
     7    <property name="plugin.main.version" value="12847"/>
    88
    99    <property name="plugin.author" value="Don-vip &amp; FrViPofm"/>
  • applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/Tag2LinkRuleChecker.java

    r33382 r34559  
    2626import java.util.regex.Pattern;
    2727
    28 import org.openstreetmap.josm.Main;
    2928import org.openstreetmap.josm.data.osm.IPrimitive;
    3029import org.openstreetmap.josm.data.osm.Tag;
     
    3635import org.openstreetmap.josm.plugins.tag2link.data.Source;
    3736import org.openstreetmap.josm.plugins.tag2link.io.SourcesReader;
     37import org.openstreetmap.josm.spi.preferences.Config;
    3838
    3939/**
     
    8080                Matcher lm = Pattern.compile(".*lang(?:\\((\\p{Lower}{2,})(?:,(\\p{Lower}{2,}))*\\))?.*").matcher(arg);
    8181                if (lm.matches()) {
    82                     String josmLang = Main.pref.get("language");
     82                    String josmLang = Config.getPref().get("language");
    8383                    String jvmLang = (josmLang.isEmpty() ? Locale.getDefault().getLanguage() : josmLang).split("_")[0];
    8484                    if (lm.groupCount() == 0) {
  • applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java

    r33867 r34559  
    2626import java.nio.file.Files;
    2727
    28 import org.openstreetmap.josm.Main;
    2928import org.openstreetmap.josm.actions.JosmAction;
    3029import org.openstreetmap.josm.plugins.tag2link.Tag2LinkConstants;
Note: See TracChangeset for help on using the changeset viewer.