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>
92 lines
2.4 KiB
JSON
92 lines
2.4 KiB
JSON
{
|
|
"_meta.name": "English",
|
|
"_meta.decimal": ".",
|
|
"_meta.group": "",
|
|
"_meta.date": "2006-01-02",
|
|
"_meta.datetime": "2006-01-02 15:04",
|
|
|
|
"lang.switch": "Language",
|
|
|
|
"num.thousands": "%sk",
|
|
"num.millions": "%sM",
|
|
"num.billions": "%sB",
|
|
|
|
"unit.ms": "%s ms",
|
|
"unit.s": "%s s",
|
|
"unit.min_s": "%dm %02ds",
|
|
"unit.age_s": "%ds",
|
|
"unit.age_m": "%dm",
|
|
"unit.age_hm": "%dh%02dm",
|
|
"unit.age_d": "%dd",
|
|
|
|
"time.never": "never",
|
|
"time.just_now": "just now",
|
|
"time.minutes_ago.one": "1 minute ago",
|
|
"time.minutes_ago.other": "%d minutes ago",
|
|
"time.hours_ago.one": "1 hour ago",
|
|
"time.hours_ago.other": "%d hours ago",
|
|
"time.days_ago.one": "1 day ago",
|
|
"time.days_ago.other": "%d days ago",
|
|
"time.weeks_ago.one": "1 week ago",
|
|
"time.weeks_ago.other": "%d weeks ago",
|
|
"time.months_ago.one": "1 month ago",
|
|
"time.months_ago.other": "%d months ago",
|
|
|
|
"time.weekday.sun": "Sunday",
|
|
"time.weekday.mon": "Monday",
|
|
"time.weekday.tue": "Tuesday",
|
|
"time.weekday.wed": "Wednesday",
|
|
"time.weekday.thu": "Thursday",
|
|
"time.weekday.fri": "Friday",
|
|
"time.weekday.sat": "Saturday",
|
|
"time.wd.sun": "Sun",
|
|
"time.wd.mon": "Mon",
|
|
"time.wd.tue": "Tue",
|
|
"time.wd.wed": "Wed",
|
|
"time.wd.thu": "Thu",
|
|
"time.wd.fri": "Fri",
|
|
"time.wd.sat": "Sat",
|
|
"time.month.jan": "January",
|
|
"time.month.feb": "February",
|
|
"time.month.mar": "March",
|
|
"time.month.apr": "April",
|
|
"time.month.may": "May",
|
|
"time.month.jun": "June",
|
|
"time.month.jul": "July",
|
|
"time.month.aug": "August",
|
|
"time.month.sep": "September",
|
|
"time.month.oct": "October",
|
|
"time.month.nov": "November",
|
|
"time.month.dec": "December",
|
|
"time.mon.jan": "Jan",
|
|
"time.mon.feb": "Feb",
|
|
"time.mon.mar": "Mar",
|
|
"time.mon.apr": "Apr",
|
|
"time.mon.may": "May",
|
|
"time.mon.jun": "Jun",
|
|
"time.mon.jul": "Jul",
|
|
"time.mon.aug": "Aug",
|
|
"time.mon.sep": "Sep",
|
|
"time.mon.oct": "Oct",
|
|
"time.mon.nov": "Nov",
|
|
"time.mon.dec": "Dec",
|
|
|
|
"engine.build.auto": "auto: what the hardware runs",
|
|
"engine.build.none": "none",
|
|
|
|
"common.copy": "copy",
|
|
"common.copied": "copied",
|
|
"common.download": "download",
|
|
"common.save": "Save",
|
|
"common.cancel": "Cancel",
|
|
"common.remove": "Remove",
|
|
"common.delete": "Delete",
|
|
"common.add": "Add",
|
|
"common.yes": "yes",
|
|
"common.no": "no",
|
|
"common.none": "none",
|
|
"common.about_gateway": "about this gateway",
|
|
"common.refreshes_every": "refreshes every %ds",
|
|
"common.template_error": "The page could not be drawn."
|
|
}
|