Skip to content

Commit

Permalink
Remove confusing (tags/geometry) strings
Browse files Browse the repository at this point in the history
  • Loading branch information
praszuk committed Sep 18, 2024
1 parent 1300875 commit 624768b
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ public class ImportedBuildingOverlappingOptionDialog {
public static CombineNearestOverlappingStrategy show(String geomDs, String tagsDs, double overlapPercentage) {
ArrayList<Pair<CombineNearestOverlappingStrategy, Object>> choicesPairs = new ArrayList<>(Arrays.asList(
Pair.create(CombineNearestOverlappingStrategy.MERGE_BOTH, tr("Merge both")),
Pair.create(
CombineNearestOverlappingStrategy.ACCEPT_GEOMETRY_SOURCE,
String.format(tr("Use %s (geometry)"), geomDs)
),
Pair.create(
CombineNearestOverlappingStrategy.ACCEPT_TAGS_SOURCE,
String.format(tr("Use %s (tags)"), tagsDs)
),
Pair.create(CombineNearestOverlappingStrategy.ACCEPT_GEOMETRY_SOURCE, String.format(tr("Use %s"), geomDs)),
Pair.create(CombineNearestOverlappingStrategy.ACCEPT_TAGS_SOURCE, String.format(tr("Use %s"), tagsDs)),
Pair.create(CombineNearestOverlappingStrategy.CANCEL, tr("Cancel"))
));
Object[] choices = choicesPairs.stream().map(pair -> pair.b).toArray();
Expand Down

0 comments on commit 624768b

Please sign in to comment.