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>
15 lines
1004 B
JSON
15 lines
1004 B
JSON
{
|
|
"claim.title": "Your llmgw key",
|
|
"claim.heading": "Your API key",
|
|
"claim.shown_once": "This is shown once. Nothing can produce it again — only its hash was kept.",
|
|
"claim.store_it": "Store it in a password manager now, then close this page.",
|
|
"claim.using_it": "Using it",
|
|
"claim.replace_placeholder": "Replace <model-name> with a name from\n <code>GET %s/v1/models</code>, which needs your key. Sending the\n placeholder unchanged is answered with the list of models that are available.",
|
|
"claim.endpoints": "<code>GET %[1]s/v1/models</code> lists what this key may use.\n<code>GET %[1]s/me</code> shows its limits and what it has spent.",
|
|
"claim.ask_again": "A link works once and then expires. Ask whoever sent it for a new one.",
|
|
"claim.issued": "A key was issued for you. Revealing it uses up this link, and the key is\nshown only this once.",
|
|
"claim.reveal": "Reveal my key",
|
|
"claim.expires": "Expires %s.",
|
|
"claim.err.claimed": "this link is no longer valid"
|
|
}
|