|
| 1 | +# v1.5.2 — Full i18n coverage for CLI passthrough strings |
| 2 | + |
| 3 | +> **Language / Idioma:** English first, Português (Brasil) below. |
| 4 | +
|
| 5 | +Release date: 2026-07-12 |
| 6 | + |
| 7 | +## Highlights |
| 8 | + |
| 9 | +- The bar pill no longer leaks the raw English CLI line (`VPN active, but status unavailable`) when the tunnel is up but the CLI cannot report details; a translated summary is shown instead. |
| 10 | +- Unrecognized status output is framed by a translated message while keeping the raw CLI line as diagnostic detail. |
| 11 | +- Post-action toasts prefer the localized message; the raw CLI first line is now only a fallback. |
| 12 | +- The tunnel log viewer header, hint and terminal window title are localized. The hint was previously hardcoded in Portuguese for every locale. Translated values are sanitized before being embedded in the launcher shell script, so translations in any language cannot break shell quoting. |
| 13 | +- The protocol "Auto" quick-action label is localized (`protocol.auto`, e.g. "Automático" in pt-BR). TUN/SOCKS/HTTP2/QUIC remain untranslated as technical terms. |
| 14 | + |
| 15 | +## Compatibility |
| 16 | + |
| 17 | +- Requires DankMaterialShell `>= 1.4.0`. |
| 18 | +- Requires `adguardvpn-cli` in `PATH` or a configured binary path. |
| 19 | +- New i18n keys (`status.connected_no_details`, `status.unrecognized`, `log.viewer_title`, `log.viewer_hint`, `protocol.auto`) are provided in `en.js` and `pt_BR.js`; the remaining 21 locales fall back to English until translated. |
| 20 | +- No settings migration is required. |
| 21 | + |
| 22 | +## Validation |
| 23 | + |
| 24 | +- All 31 parser tests pass. |
| 25 | +- i18n key validation passes for 22 locales. |
| 26 | +- Markdown and QML syntax validation pass. |
| 27 | +- Live validation on a running DMS session confirmed the pill shows the connected city, the plugin loads without errors after a full shell restart, and the generated log-viewer shell command prints the localized header and hint correctly. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## Português (Brasil) |
| 32 | + |
| 33 | +Data de lançamento: 2026-07-12 |
| 34 | + |
| 35 | +### Destaques |
| 36 | + |
| 37 | +- A pill da barra não vaza mais a linha crua em inglês do CLI (`VPN active, but status unavailable`) quando o túnel está ativo mas o CLI não consegue reportar detalhes; um resumo traduzido é exibido no lugar. |
| 38 | +- Saídas de status não reconhecidas ganham uma moldura traduzida, mantendo a linha crua do CLI como detalhe de diagnóstico. |
| 39 | +- Os toasts pós-ação priorizam a mensagem localizada; a primeira linha crua do CLI agora é apenas fallback. |
| 40 | +- O cabeçalho, a dica e o título da janela do visor de log do túnel são localizados. A dica estava fixa em português para todos os idiomas. Os valores traduzidos são sanitizados antes de entrar no script shell do lançador, então traduções em qualquer idioma não quebram o quoting do shell. |
| 41 | +- O rótulo da ação rápida de protocolo "Auto" é localizado (`protocol.auto`, ex.: "Automático" em pt-BR). TUN/SOCKS/HTTP2/QUIC permanecem sem tradução por serem termos técnicos. |
| 42 | + |
| 43 | +### Compatibilidade |
| 44 | + |
| 45 | +- Requer DankMaterialShell `>= 1.4.0`. |
| 46 | +- Requer `adguardvpn-cli` no `PATH` ou um caminho de binário configurado. |
| 47 | +- Novas chaves i18n (`status.connected_no_details`, `status.unrecognized`, `log.viewer_title`, `log.viewer_hint`, `protocol.auto`) estão em `en.js` e `pt_BR.js`; os outros 21 locales usam o fallback em inglês até serem traduzidos. |
| 48 | +- Nenhuma migração de configurações é necessária. |
| 49 | + |
| 50 | +### Validação |
| 51 | + |
| 52 | +- Todos os 31 testes de parser passam. |
| 53 | +- A validação i18n passa para 22 locales. |
| 54 | +- As validações de Markdown e sintaxe QML passam. |
| 55 | +- A validação real em uma sessão DMS ativa confirmou que a pill exibe a cidade conectada, que o plugin carrega sem erros após reinício completo do shell e que o comando shell gerado pelo visor de log imprime o cabeçalho e a dica localizados corretamente. |
0 commit comments