Files
AdventureLog/backend/server/users/migrations/0008_customuser_map_style.py
Sean Morley eaa66d08fa Development (#1155)
* Add new default light and dark themes to match AdventureLog styles

* Allow different theme for site and maps
Fixes #1130

* Update settings page to use translation keys for currency and map style descriptions

* Add global flag to CollectionItineraryItemSerializer and implement map view persistence in frontend

* Update appVersion to v0.12.0-main-052126

* Enhance permissions for shared collections and restrict publicity changes to owners only

* Update appVersion to v0.12.1-beta-052126

* Add new localization strings and descriptions for various languages

- Updated Spanish (es.json) with new map style and preferred currency descriptions.
- Enhanced French (fr.json) with additional details for Strava activities and currency descriptions.
- Added new strings in Hungarian (hu.json) for map style and preferred currency.
- Included additional details in Italian (it.json) for Strava activities and currency descriptions.
- Updated Japanese (ja.json) with new strings for map style and preferred currency.
- Enhanced Korean (ko.json) with additional details for Strava activities and currency descriptions.
- Added new strings in Dutch (nl.json) for map style and preferred currency.
- Updated Norwegian (no.json) with new strings for map style and preferred currency.
- Enhanced Polish (pl.json) with additional details for Strava activities and currency descriptions.
- Updated Brazilian Portuguese (pt-br.json) with new map style and preferred currency descriptions.
- Added new strings in Romanian (ro.json) for additional details and currency descriptions.
- Enhanced Russian (ru.json) with new strings for map style and preferred currency.
- Updated Slovak (sk.json) with additional details for map style and preferred currency.
- Enhanced Swedish (sv.json) with new strings for map style and preferred currency.
- Added new strings in Turkish (tr.json) for map style and preferred currency.
- Updated Ukrainian (uk.json) with new strings for map style and preferred currency.
- Enhanced Chinese (zh.json) with additional details for map style and preferred currency.
2026-05-23 09:15:11 -04:00

19 lines
1.2 KiB
Python

# Generated by Django 5.2.11 on 2026-05-16 12:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0007_apikey'),
]
operations = [
migrations.AddField(
model_name='customuser',
name='map_style',
field=models.CharField(choices=[('default', 'Default'), ('terrain-3d', '3D Terrain'), ('satellite-terrain-3d', '3D Satellite Terrain'), ('topo-terrain-3d', '3D Topographic'), ('osm-standard', 'OpenStreetMap'), ('satellite', 'Satellite'), ('satellite-labels', 'Satellite + Labels'), ('usgs-imagery', 'USGS Imagery'), ('usgs-imagery-topo', 'USGS Imagery + Topo'), ('elevation', 'Elevation'), ('usgs-topo', 'USGS Topo'), ('esri-topo', 'Esri Topo'), ('opentopomap', 'OpenTopoMap'), ('carto-light', 'Light'), ('carto-dark', 'Dark'), ('carto-positron', 'Positron'), ('carto-positron-labels', 'Positron + Labels'), ('esri-gray', 'Gray Canvas'), ('carto-voyager', 'Voyager'), ('osm-humanitarian', 'Humanitarian'), ('esri-streets', 'Streets'), ('esri-national-geographic', 'National Geographic'), ('esri-oceans', 'Oceans'), ('osm-france', 'France Style')], default='default', max_length=32),
),
]