From 81fa28fa26d72366376564815d74db0ff8da92a1 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Mon, 30 Jun 2025 21:46:10 +0200 Subject: [PATCH] I18n: Translate two report messages needing manual translation This call to `BKE_reportf()` uses a tertiary operator to select a message using singular or plural, which cannot be translated automatically. This commit adds `RPT_()` translation for both variants. Reported by Ye Gui in #43295. --- source/blender/editors/mesh/editmesh_tools.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/mesh/editmesh_tools.cc b/source/blender/editors/mesh/editmesh_tools.cc index 810ea3d6874..8eac4dc0190 100644 --- a/source/blender/editors/mesh/editmesh_tools.cc +++ b/source/blender/editors/mesh/editmesh_tools.cc @@ -3606,7 +3606,7 @@ static wmOperatorStatus edbm_remove_doubles_exec(bContext *C, wmOperator *op) BKE_reportf(op->reports, RPT_INFO, - count_multi == 1 ? "Removed %d vertex" : "Removed %d vertices", + count_multi == 1 ? RPT_("Removed %d vertex") : RPT_("Removed %d vertices"), count_multi); return OPERATOR_FINISHED;