luci-app-advanced-reboot: fix translation string
[project/luci.git] / applications / luci-app-advanced-reboot / luasrc / view / advanced_reboot / advanced_reboot.htm
index fabb793e3d590037e4fee8e4a1bed7bd1fc64307..dcf51c749e5f51e5b7326d476b2b6e30c0ff7612 100644 (file)
@@ -80,7 +80,7 @@
 </fieldset>
 <%- else -%>
   <%- if rom_board_name then -%>
-    <p class="alert-message warning"><%:Warning: Device (%><%=rom_board_name%><%:) is unknown or isn't a dual-partition device!%></p>
+    <p class="alert-message warning"><%=pcdata(translatef("Warning: Device (%s) is unknown or isn't a dual-partition device!", rom_board_name))%></p>
   <%- else -%>
     <p class="alert-message warning"><%:Warning: Unable to obtain device information!%></p>
   <%- end -%>