Files
urutau/internal/server/web/i18n.js
T
Lucas RayanandClaude Opus 5.5 b4a2c2c9ec
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 1m29s
CI / Tests (Linux, race detector) (push) Failing after 1m48s
CI / Dependency audit (push) Successful in 21s
Release / ci (push) Failing after 1m50s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
feat: Urutau 1.0.0, lightweight threat intelligence and web analytics
Always-on Go service (stdlib only) that follows the Traefik JSON access
log, the sshd log and the fail2ban log of a host, classifies attacks,
scores sources, keeps bounded aggregates with snapshots, and serves an
embedded dashboard with live updates, offline geolocation (DB-IP Lite),
privacy-friendly traffic analytics, an exportable blocklist and
token-authenticated federation between instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 16:13:34 -03:00

297 lines
11 KiB
JavaScript

/* Urutau UI dictionaries. Every key must exist in both languages:
scripts/check-ui-i18n.mjs enforces it. "{n}" is replaced by the caller. */
window.URUTAU_I18N = {
en: {
'tagline': 'Lightweight, always-on threat intelligence for self-hosted servers · local-first · authorized use.',
'live.connecting': 'connecting',
'live.on': 'live',
'live.off': 'reconnecting',
'host.label': 'Host',
'host.all': 'All hosts',
'range.label': 'Time range',
'range.1h': '1 h',
'range.24h': '24 h',
'range.7d': '7 d',
'lang.toggle': 'Switch language',
'theme.toggle': 'Switch light/dark theme',
'logout': 'Sign out',
'kpi.requests': 'Requests',
'kpi.malicious': 'Malicious events',
'kpi.hostile': 'Hostile IPs',
'kpi.suspicious': 'Suspicious IPs',
'kpi.bans': 'Active bans',
'kpi.ips': 'Distinct IPs',
'kpi.monitoring': '{n} monitoring requests filtered out.',
'feed.forged': 'forged monitor user agent',
'timeline.title': 'Activity by category',
'timeline.empty': 'No activity in this range.',
'ips.title': 'Top IPs',
'ips.search': 'Filter by IP or reverse DNS',
'ips.level': 'Threat level',
'ips.bannedOnly': 'Banned only',
'ips.empty': 'No IPs match.',
'level.all': 'All levels',
'level.hostile': 'Hostile',
'level.suspicious': 'Suspicious',
'level.low': 'Low',
'col.ip': 'IP',
'col.score': 'Score',
'col.level': 'Level',
'col.cats': 'Categories',
'col.last': 'Last seen',
'col.banned': 'Banned',
'col.host': 'Host',
'col.source': 'Source',
'col.state': 'State',
'col.lines': 'Lines',
'col.malformed': 'Malformed',
'col.lastEvent': 'Last event',
'pager.prev': 'Previous',
'pager.next': 'Next',
'pager.count': '{n} IPs',
'feed.title': 'Live feed',
'feed.empty': 'Waiting for events.',
'top.paths': 'Most attacked paths',
'top.domains': 'Most targeted domains',
'top.uas': 'Top user agents',
'top.users': 'SSH users tried',
'top.empty': 'No data.',
'blocklist.title': 'Blocklist',
'blocklist.help': 'Export the IPs at or above a score as a plain list, one per line, for a firewall or fail2ban.',
'blocklist.minScore': 'Minimum score',
'blocklist.copy': 'Copy list',
'blocklist.download': 'Download',
'blocklist.copied': '{n} IPs copied.',
'blocklist.failed': 'Could not copy the list.',
'hosts.title': 'Hosts',
'host.online': 'online',
'host.offline': 'offline',
'host.requests': 'Requests',
'host.malicious': 'Malicious',
'host.hostile': 'Hostile IPs',
'host.bans': 'Bans',
'host.latency': 'Latency',
'sources.title': 'Sources',
'state.following': 'following',
'state.waiting': 'waiting for file',
'state.backfill': 'reading history',
'state.error': 'error',
'state.disabled': 'disabled',
'cat.ok': 'ok',
'cat.notfound': 'not found',
'cat.scanner': 'scanner',
'cat.exploit': 'exploit',
'cat.bruteforce': 'brute force',
'cat.ssh-fail': 'ssh fail',
'cat.ssh-probe': 'ssh probe',
'cat.ssh-ok': 'ssh login',
'cat.ban': 'ban',
'feed.unban': 'unban',
'ago.now': 'now',
'ago.s': '{n}s ago',
'ago.m': '{n}m ago',
'ago.h': '{n}h ago',
'ago.d': '{n}d ago',
'never': 'never',
'yes': 'yes',
'detail.close': 'Close',
'detail.copyIp': 'Copy IP',
'detail.score': 'Score',
'detail.level': 'Level',
'detail.first': 'First seen',
'detail.last': 'Last seen',
'detail.rdns': 'Reverse DNS',
'detail.hosts': 'Hosts',
'detail.domains': 'Targeted domains',
'detail.uas': 'User agents',
'detail.samples': 'Recent activity',
'detail.jails': 'Active bans',
'detail.counts': 'Events',
'detail.notfound': 'This IP is no longer in memory.',
'error.load': 'Could not load data. Retrying.',
'footer': 'Urutau · watches motionless all night.',
'tab.threats': 'Threats',
'tab.traffic': 'Traffic',
'traffic.domain': 'Domain',
'traffic.allDomains': 'All domains',
'traffic.timeline': 'Requests and page views',
'traffic.requests': 'Requests',
'traffic.pages': 'Page views',
'traffic.visitors': 'Visitors',
'traffic.bytes': 'Data sent',
'traffic.bots': 'Search and AI bots',
'traffic.latency': 'Latency p50 / p95',
'traffic.topPages': 'Top pages',
'traffic.referrers': 'External referrers',
'traffic.cities': 'Cities',
'traffic.browsers': 'Browsers',
'traffic.oses': 'Operating systems',
'traffic.devices': 'Devices',
'traffic.status': 'Status codes',
'traffic.privacy': 'Visitors are counted with a daily rotating hash kept in memory only. No visitor IP is stored.',
'map.attacks': 'Origin of attacks',
'map.visitors': 'Visitors by country',
'col.origin': 'Origin',
'detail.country': 'Country',
'detail.city': 'City',
'detail.network': 'Network',
'detail.uaparsed': 'Clients',
'device.desktop': 'desktop',
'device.mobile': 'mobile',
'device.tablet': 'tablet',
'device.bot': 'bot',
'device.tool': 'tool',
'device.unknown': 'unknown',
'login.token': 'Access token',
'login.submit': 'Sign in',
'login.err.bad': 'Invalid token.',
'login.err.rate': 'Too many attempts. Try again in a few minutes.'
},
'pt-BR': {
'tagline': 'Inteligência de ameaças leve e sempre ativa para servidores próprios · local-first · uso autorizado.',
'live.connecting': 'conectando',
'live.on': 'ao vivo',
'live.off': 'reconectando',
'host.label': 'Host',
'host.all': 'Todos os hosts',
'range.label': 'Período',
'range.1h': '1 h',
'range.24h': '24 h',
'range.7d': '7 d',
'lang.toggle': 'Trocar idioma',
'theme.toggle': 'Alternar tema claro/escuro',
'logout': 'Sair',
'kpi.requests': 'Requisições',
'kpi.malicious': 'Eventos maliciosos',
'kpi.hostile': 'IPs hostis',
'kpi.suspicious': 'IPs suspeitos',
'kpi.bans': 'Bans ativos',
'kpi.ips': 'IPs distintos',
'kpi.monitoring': '{n} requisições de monitoramento filtradas.',
'feed.forged': 'user-agent de monitor forjado',
'timeline.title': 'Atividade por categoria',
'timeline.empty': 'Nenhuma atividade neste período.',
'ips.title': 'Principais IPs',
'ips.search': 'Filtrar por IP ou DNS reverso',
'ips.level': 'Nível de ameaça',
'ips.bannedOnly': 'Só banidos',
'ips.empty': 'Nenhum IP corresponde.',
'level.all': 'Todos os níveis',
'level.hostile': 'Hostil',
'level.suspicious': 'Suspeito',
'level.low': 'Baixo',
'col.ip': 'IP',
'col.score': 'Pontos',
'col.level': 'Nível',
'col.cats': 'Categorias',
'col.last': 'Visto por último',
'col.banned': 'Banido',
'col.host': 'Host',
'col.source': 'Fonte',
'col.state': 'Estado',
'col.lines': 'Linhas',
'col.malformed': 'Malformadas',
'col.lastEvent': 'Último evento',
'pager.prev': 'Anterior',
'pager.next': 'Próxima',
'pager.count': '{n} IPs',
'feed.title': 'Feed ao vivo',
'feed.empty': 'Aguardando eventos.',
'top.paths': 'Caminhos mais atacados',
'top.domains': 'Domínios mais visados',
'top.uas': 'Principais user-agents',
'top.users': 'Usuários SSH tentados',
'top.empty': 'Sem dados.',
'blocklist.title': 'Lista de bloqueio',
'blocklist.help': 'Exporte os IPs a partir de uma pontuação como lista simples, um por linha, para firewall ou fail2ban.',
'blocklist.minScore': 'Pontuação mínima',
'blocklist.copy': 'Copiar lista',
'blocklist.download': 'Baixar',
'blocklist.copied': '{n} IPs copiados.',
'blocklist.failed': 'Não foi possível copiar a lista.',
'hosts.title': 'Hosts',
'host.online': 'online',
'host.offline': 'offline',
'host.requests': 'Requisições',
'host.malicious': 'Maliciosos',
'host.hostile': 'IPs hostis',
'host.bans': 'Bans',
'host.latency': 'Latência',
'sources.title': 'Fontes',
'state.following': 'acompanhando',
'state.waiting': 'aguardando arquivo',
'state.backfill': 'lendo histórico',
'state.error': 'erro',
'state.disabled': 'desativada',
'cat.ok': 'ok',
'cat.notfound': 'não encontrado',
'cat.scanner': 'scanner',
'cat.exploit': 'exploit',
'cat.bruteforce': 'força bruta',
'cat.ssh-fail': 'falha ssh',
'cat.ssh-probe': 'sondagem ssh',
'cat.ssh-ok': 'login ssh',
'cat.ban': 'ban',
'feed.unban': 'desbanido',
'ago.now': 'agora',
'ago.s': 'há {n}s',
'ago.m': 'há {n}min',
'ago.h': 'há {n}h',
'ago.d': 'há {n}d',
'never': 'nunca',
'yes': 'sim',
'detail.close': 'Fechar',
'detail.copyIp': 'Copiar IP',
'detail.score': 'Pontos',
'detail.level': 'Nível',
'detail.first': 'Primeira vez visto',
'detail.last': 'Visto por último',
'detail.rdns': 'DNS reverso',
'detail.hosts': 'Hosts',
'detail.domains': 'Domínios visados',
'detail.uas': 'User-agents',
'detail.samples': 'Atividade recente',
'detail.jails': 'Bans ativos',
'detail.counts': 'Eventos',
'detail.notfound': 'Este IP não está mais na memória.',
'error.load': 'Não foi possível carregar os dados. Tentando de novo.',
'footer': 'Urutau · vigia imóvel a noite toda.',
'tab.threats': 'Ameaças',
'tab.traffic': 'Tráfego',
'traffic.domain': 'Domínio',
'traffic.allDomains': 'Todos os domínios',
'traffic.timeline': 'Requisições e páginas vistas',
'traffic.requests': 'Requisições',
'traffic.pages': 'Páginas vistas',
'traffic.visitors': 'Visitantes',
'traffic.bytes': 'Dados enviados',
'traffic.bots': 'Bots de busca e de IA',
'traffic.latency': 'Latência p50 / p95',
'traffic.topPages': 'Páginas mais vistas',
'traffic.referrers': 'Referenciadores externos',
'traffic.cities': 'Cidades',
'traffic.browsers': 'Navegadores',
'traffic.oses': 'Sistemas operacionais',
'traffic.devices': 'Dispositivos',
'traffic.status': 'Códigos de status',
'traffic.privacy': 'Visitantes são contados com um hash que muda todo dia e fica só na memória. Nenhum IP de visitante é guardado.',
'map.attacks': 'Origem dos ataques',
'map.visitors': 'Visitantes por país',
'col.origin': 'Origem',
'detail.country': 'País',
'detail.city': 'Cidade',
'detail.network': 'Rede',
'detail.uaparsed': 'Clientes',
'device.desktop': 'computador',
'device.mobile': 'celular',
'device.tablet': 'tablet',
'device.bot': 'bot',
'device.tool': 'ferramenta',
'device.unknown': 'desconhecido',
'login.token': 'Token de acesso',
'login.submit': 'Entrar',
'login.err.bad': 'Token inválido.',
'login.err.rate': 'Tentativas demais. Tente de novo em alguns minutos.'
}
};