- Rework selection model so any shelter marker can be tapped to select, not just the nearest three in the bottom sheet list - Highlight selected shelter with a distinct amber marker icon - Track user map interaction (pan/zoom) to prevent auto-recentering - Add reset navigation FAB to re-fit map to user + selected shelter - Add offline map cache prompt (OK/Skip) with warning banner and retry - Rewrite MapCacheManager to use passive tile caching via map panning - Respect system status bar with fitsSystemWindows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
45 lines
2.4 KiB
XML
45 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string name="app_name">Tilfluktsrom</string>
|
|
|
|
<!-- Status messages -->
|
|
<string name="status_ready">Ready</string>
|
|
<string name="status_loading">Loading shelter data…</string>
|
|
<string name="status_updating">Updating…</string>
|
|
<string name="status_offline">Offline mode</string>
|
|
<string name="status_shelters_loaded">%d shelters loaded</string>
|
|
<string name="status_no_location">Waiting for GPS…</string>
|
|
<string name="status_caching_map">Caching map for offline use…</string>
|
|
|
|
<!-- Loading screen -->
|
|
<string name="loading_shelters">Downloading shelter data…</string>
|
|
<string name="loading_map">Caching map tiles…</string>
|
|
<string name="loading_map_explanation">Preparing offline map.\nThe map will scroll briefly to cache your surroundings.</string>
|
|
<string name="loading_first_time">Setting up for first use…</string>
|
|
|
|
<!-- Shelter info -->
|
|
<string name="shelter_capacity">%d places</string>
|
|
<string name="shelter_room_nr">Room %d</string>
|
|
<string name="nearest_shelter">Nearest shelter</string>
|
|
<string name="no_shelters">No shelter data available</string>
|
|
|
|
<!-- Actions -->
|
|
<string name="action_refresh">Refresh data</string>
|
|
<string name="action_toggle_view">Toggle map/compass view</string>
|
|
<string name="action_skip">Skip</string>
|
|
<string name="action_cache_ok">Cache map</string>
|
|
<string name="action_cache_now">Cache now</string>
|
|
<string name="action_reset_navigation">Reset navigation view</string>
|
|
<string name="warning_no_map_cache">No offline map cached. Map requires internet.</string>
|
|
|
|
<!-- Permissions -->
|
|
<string name="permission_location_title">Location permission required</string>
|
|
<string name="permission_location_message">This app needs your location to find the nearest shelter. Please grant location access.</string>
|
|
<string name="permission_denied">Location permission denied. The app cannot find nearby shelters without it.</string>
|
|
|
|
<!-- Errors -->
|
|
<string name="error_download_failed">Could not download shelter data. Check your internet connection.</string>
|
|
<string name="error_no_data_offline">No cached data available. Connect to the internet to download shelter data.</string>
|
|
<string name="update_success">Shelter data updated</string>
|
|
<string name="update_failed">Update failed — using cached data</string>
|
|
</resources>
|