App 2.14.4: all UI text in strings.xml

The Charging, Consumption and Settings labels, toasts, the trip-reset
dialog, the charging and Wi-Fi states, the daily summary and the "—"
placeholder move from layouts and code into strings.xml; lint now
reports no hard-coded text. Upload-log entries stay in code, as log
text. No visible change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
This commit is contained in:
2026-10-18 17:50:55 +02:00
co-authored by Claude Opus 5.5
parent 29064cf8db
commit f63f48131e
10 changed files with 173 additions and 106 deletions
+65
View File
@@ -214,4 +214,69 @@
<string name="about_qr_description">QR code for the project repository</string>
<string name="about_version_unknown">unknown</string>
<string name="about_close">Close</string>
<!-- Charging, Consumption and Settings texts, moved here from the layouts (2.14.4) -->
<string name="charging_not_charging">Not charging</string>
<string name="charging_soc">SOC</string>
<string name="charging_start_soc">Start SOC</string>
<string name="charging_battery_voltage">Battery voltage</string>
<string name="charging_battery_current">Battery current</string>
<string name="charging_power_label">Charging power</string>
<string name="charging_net_energy_into_battery">Net energy into battery</string>
<string name="charging_drawn_from_grid" formatted="false">Drawn from grid (+10%)</string>
<string name="charging_time_label">Charging time</string>
<string name="charging_total_cost">Total cost</string>
<string name="charging_curve_title">CHARGING CURVE</string>
<string name="charging_no_charging_measurements_yet">No charging measurements yet</string>
<string name="consumption_period_title">CONSUMPTION PERIOD</string>
<string name="consumption_lifetime">Lifetime</string>
<string name="consumption_last_7_days">Last 7 days</string>
<string name="consumption_last_30_days">Last 30 days</string>
<string name="consumption_trip_a">Trip A</string>
<string name="consumption_trip_b">Trip B</string>
<string name="consumption_distance">Distance</string>
<string name="consumption_net_energy">Net energy</string>
<string name="consumption_average_consumption">Average consumption</string>
<string name="consumption_average_speed">Average speed</string>
<string name="consumption_duration">Duration</string>
<string name="consumption_soc_change">SOC change</string>
<string name="consumption_reset_selected_trip">Reset selected trip</string>
<string name="consumption_stored_note">Last 7/30 days, lifetime and Trip A/B are stored permanently on the device; app and OTA updates do not erase them.</string>
<string name="consumption_daily_log_title">DAILY LOG · LAST 4 MONTHS</string>
<string name="consumption_pick_a_date">Pick a date</string>
<string name="consumption_no_daily_data_yet">No daily data yet</string>
<string name="settings_manual_soh" formatted="false">Manual SoH (%)</string>
<string name="unit_percent" formatted="false">%</string>
<string name="settings_save_soh_value">Save SoH value</string>
<string name="settings_soh_note">This manual value is stored on the device and sent to your server with the daily totals.</string>
<string name="unit_kwh">kWh</string>
<string name="settings_unit_price">Unit price</string>
<string name="unit_eur_per_kwh">€/kWh</string>
<string name="settings_save_price">Save price</string>
<string name="wifi_connected">Connected ♥</string>
<string name="wifi_off">Wi-Fi off</string>
<string name="trip_reset_title">Reset %1$s?</string>
<string name="trip_reset_message">This counter\'s recorded consumption history will be permanently deleted.</string>
<string name="trip_reset_confirm">Reset</string>
<string name="soh_saved">SoH saved</string>
<string name="soh_invalid">Enter a value between 1 and 100</string>
<string name="price_saved">Charging price saved</string>
<string name="price_invalid">Enter a valid €/kWh value</string>
<string name="charge_dc">DC fast charging</string>
<string name="charge_ac_not_metered">AC charging (not metered)</string>
<string name="charge_last">Last charge</string>
<string name="consumption_no_records">No records for this date</string>
<string name="consumption_day_summary">Distance %1$.1f km\nEnergy %2$.2f kWh\nAverage %3$s\nDuration %4$d h %5$02d min\nSOC change %6$.1f %%</string>
<string name="consumption_refreshed">Consumption refreshed</string>
<string name="charge_status_ac">AC charging ♥</string>
<string name="charge_status_dc">DC fast charging ♥</string>
<string name="charge_status_connecting">Connecting…</string>
<string name="charge_status_plugged">Plugged in, not charging</string>
<string name="charge_status_stopped">Stopped</string>
<string name="charge_status_code">Status %1$d</string>
<string name="charge_status_connected">Connected ♥</string>
<string name="charge_status_unplugged">Not connected</string>
<!-- A value that cannot be read: never 0 (AGENTS.md). -->
<string name="no_value" translatable="false">—</string>
<string name="btn_refresh">Refresh</string>
</resources>