From b9dd14d562899c040686389fd831bd08d16eed54 Mon Sep 17 00:00:00 2001 From: "dingfeng.wong" Date: Fri, 11 Jul 2025 16:53:55 +0800 Subject: [PATCH] aoeu --- src/elf/grafana_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/elf/grafana_cli.py b/src/elf/grafana_cli.py index 230716f..aee3e5e 100644 --- a/src/elf/grafana_cli.py +++ b/src/elf/grafana_cli.py @@ -39,7 +39,8 @@ async def mutate_chinese_titles(data: Dict[str, Any]) -> None: try: # Translate Chinese text to English translation = await translator.translate(value, dest='en') - data[key] = translation.text + data[key] = translation.text + data[key] + console.print(f"[dim]Translated '{value}' → '{translation.text}'[/dim]") except Exception as e: console.print(f"[yellow]Warning: Failed to translate '{value}': {e}[/yellow]")