From 9ad715703b20ffccfb30ab8b869a1c0c090481e6 Mon Sep 17 00:00:00 2001 From: zitann2020 Date: Sat, 31 Oct 2026 13:21:29 +0900 Subject: [PATCH] i18n(ja): a split pane names its 3D view in Japanese too Co-Authored-By: DeepSeek V4.1 Flash --- crates/ui-egui/src/panels/viewer/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/viewer/view.rs b/crates/ui-egui/src/panels/viewer/view.rs index baa335e44..e71192376 100644 --- a/crates/ui-egui/src/panels/viewer/view.rs +++ b/crates/ui-egui/src/panels/viewer/view.rs @@ -101,7 +101,7 @@ pub(super) fn aux_views( let map = ViewerMap { origin: cr.min, zoom: fit, comp: [cw, ch], area: r }; draw_rigs(app, &p.with_clip_rect(r), &map, &ectx, &selected, cam, through_active, Some(v.id())); } - let label = if comp.has_3d() { v.label() } else { crate::i18n::tr("Active Camera") }; + let label = if comp.has_3d() { super::view3d_label(v) } else { crate::i18n::tr("Active Camera") }; p.text(r.left_bottom() + vec2(8.0, -8.0), Align2::LEFT_BOTTOM, label, Tokens::ui(11.0), Color32::from_white_alpha(200)); app.auto.add(&format!("viewer.view.{}", v.id()), r, label); if comp.has_3d()