Every template and handler message in internal/web goes through a JSON
catalogue under internal/web/locales/<code>/, with English as the fallback.
The language is the person's choice (a cookie set by /_lang/{code}), else
Accept-Language, else landing.language. Tests refuse a key some language
lacks, a translation with other arguments than English, and template text
left in English.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
17 lines
509 B
JSON
17 lines
509 B
JSON
{
|
|
"chart.peak_unit": "peak %s %s",
|
|
"chart.nothing_recorded": "nothing recorded",
|
|
"chart.hour_label": "%s — %s %s",
|
|
"chart.nothing_yet": "Nothing recorded yet.",
|
|
"chart.trend": "recent trend",
|
|
"chart.peak": "peak %s",
|
|
"chart.other": "other",
|
|
"chart.axis_ms": "%sms",
|
|
"chart.axis_s": "%ss",
|
|
"chart.window.hour": "hour",
|
|
"chart.window.hours.one": "1 hour",
|
|
"chart.window.hours.other": "%d hours",
|
|
"chart.window.minutes.one": "1 minute",
|
|
"chart.window.minutes.other": "%d minutes"
|
|
}
|