Skip to content

Commit f13b460

Browse files
committed
release: v1.5.2
1 parent dabe245 commit f13b460

4 files changed

Lines changed: 85 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Sem
99

1010
## [Unreleased]
1111

12+
## [1.5.2] - 2026-07-12
13+
14+
### Fixed
15+
16+
- Connected status without location metadata now shows a translated summary instead of the raw English CLI line (`VPN active, but status unavailable`) in the bar pill.
17+
- Unrecognized status output is framed by a translated message while keeping the raw CLI line as diagnostic detail.
18+
- Post-action toasts prefer the localized message over the raw CLI output, which is now only a fallback.
19+
- Tunnel log viewer header, hint and terminal window title are localized (the hint was hardcoded in Portuguese for all locales); values are sanitized before being embedded in the shell script.
20+
- The protocol "Auto" button label is localized (`protocol.auto`).
21+
22+
> **Full notes ->** [docs/releases/v1.5.2.md](./docs/releases/v1.5.2.md)
23+
24+
---
25+
1226
## [1.5.1] - 2026-07-10
1327

1428
### Fixed
@@ -250,6 +264,20 @@ Todas as mudanças relevantes deste projeto são documentadas aqui. O inglês ac
250264

251265
### [Não lançado]
252266

267+
### [1.5.2] - 2026-07-12
268+
269+
#### Corrigido
270+
271+
- O estado conectado sem metadados de localização agora exibe um resumo traduzido em vez da linha crua em inglês do CLI (`VPN active, but status unavailable`) na pill da barra.
272+
- Saídas de status não reconhecidas ganham uma moldura traduzida, mantendo a linha crua do CLI como detalhe de diagnóstico.
273+
- Os toasts pós-ação priorizam a mensagem localizada sobre a saída crua do CLI, que agora é apenas fallback.
274+
- 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 são sanitizados antes de entrar no script shell.
275+
- O rótulo do botão de protocolo "Auto" é localizado (`protocol.auto`).
276+
277+
> **Notas completas ->** [docs/releases/v1.5.2.md](./docs/releases/v1.5.2.md)
278+
279+
---
280+
253281
### [1.5.1] - 2026-07-10
254282

255283
#### Corrigido

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<p align="center">
99
<a href="https://github.com/bernardopg/dms-adguard-vpn-plugin/actions/workflows/quality.yml"><img src="https://github.com/bernardopg/dms-adguard-vpn-plugin/actions/workflows/quality.yml/badge.svg" alt="Quality CI" /></a>
10-
<img src="https://img.shields.io/badge/version-1.5.1-e8924a" alt="Version 1.5.1" />
10+
<img src="https://img.shields.io/badge/version-1.5.2-e8924a" alt="Version 1.5.2" />
1111
<img src="https://img.shields.io/badge/DankMaterialShell-%E2%89%A5%201.4.0-5a6a8a" alt="DMS >= 1.4.0" />
1212
<img src="https://img.shields.io/badge/i18n-22%20locales-3b82f6" alt="22 locales" />
1313
<img src="https://img.shields.io/badge/parser%20tests-31%20passing-2ea44f" alt="31 parser tests" />

docs/releases/v1.5.2.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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.

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "adguardVPplugin",
33
"name": "AdGuard VPN",
44
"description": "Control, configure, and monitor adguardvpn-cli directly from DankBar",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"author": "Bernardo Gomes",
77
"type": "widget",
88
"capabilities": ["vpn", "network", "dankbar-widget"],

0 commit comments

Comments
 (0)