From 95cae490eebc27057e94218fb4b287cc529f64c9 Mon Sep 17 00:00:00 2001 From: m-kro Date: Fri, 16 Feb 2024 09:17:59 +0100 Subject: [PATCH] correct TL placeholder ref #11859 #12 Signed-off-by: m-kro --- src/microsim/devices/MSDevice_Battery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsim/devices/MSDevice_Battery.cpp b/src/microsim/devices/MSDevice_Battery.cpp index f43b1218b166..bbc930d927ef 100644 --- a/src/microsim/devices/MSDevice_Battery.cpp +++ b/src/microsim/devices/MSDevice_Battery.cpp @@ -81,7 +81,7 @@ MSDevice_Battery::readParameterValue(SUMOVehicle& v, const SumoXMLAttr& attr, co const std::string& oldParam = toString(attr); const SUMOVTypeParameter& typeParams = v.getVehicleType().getParameter(); if (v.getParameter().hasParameter(oldParam) || typeParams.hasParameter(oldParam)) { - WRITE_WARNINGF(TL("Battery device in vehicle '%s' still uses old parameter '%'. Please update to 'device.%'."), v.getID(), oldParam, paramName); + WRITE_WARNINGF(TL("Battery device in vehicle '%' still uses old parameter '%'. Please update to 'device.%'."), v.getID(), oldParam, paramName); if (v.getParameter().getParameter(oldParam, "-") == "-") { return typeParams.getDouble(oldParam, defaultVal); }