Skip to content

Commit

Permalink
Obey Russian laws
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynovikov committed Oct 30, 2023
1 parent 8acbc3d commit 0efa880
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions app/src/main/assets/styles/inc_boundaries.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
<!-- Administrative boundaries -->
<m cat="administrative" k="boundary" v="administrative">
<m k="admin_level">
<m k="admin_level" v="2|3|4">
<m zoom-min="8">
<line fix="true" stipple="5" stipple-ratio="0.4" stipple-stroke="#ac46ac"
stroke="color:transparent" width="2.5" />
</m>
</m>
<!--
<m k="admin_level" v="4">
<m zoom-min="8">
<line fix="true" stipple="5" stipple-ratio="0.4" stipple-stroke="#88ac46ac"
Expand Down Expand Up @@ -53,6 +60,7 @@
<line fix="true" stroke="#88ac46ac" width="0.6" />
</m>
</m>
-->
</m>
</m>
</rendertheme>
4 changes: 2 additions & 2 deletions app/src/main/java/mobi/maptrek/fragments/Legend.java
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,8 @@ public class Legend extends ListFragment {
private static final LegendSection administrative = new LegendSection(R.string.legend_administrative, new LegendItem[]{
country,
state,
country_boundary,
region_boundary,
//country_boundary,
//region_boundary,
province_boundary,
capital,
city,
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@
<string name="legend_state">Штат/область</string>
<string name="legend_country_boundary">Граница государства</string>
<string name="legend_region_boundary">Граница региона</string>
<string name="legend_province_boundary">Граница провинции</string>
<string name="x_legend_province_boundary">Граница провинции</string>
<string name="legend_province_boundary">Граница</string>
<string name="legend_capital">Столица государства</string>
<string name="legend_capital_name">Москва</string>
<string name="legend_city">Крупный город</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@
<string name="legend_state">State</string>
<string name="legend_country_boundary">Country boundary</string>
<string name="legend_region_boundary">Region boundary</string>
<string name="legend_province_boundary">Province boundary</string>
<string name="x_legend_province_boundary">Province boundary</string>
<string name="legend_province_boundary">Boundary</string>
<string name="legend_capital">Country capital</string>
<string name="legend_capital_name">Moscow</string>
<string name="legend_city">City</string>
Expand Down

0 comments on commit 0efa880

Please sign in to comment.