luci-app-advanced-reboot: fix translation string
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Jul 2018 10:47:59 +0000 (12:47 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 13 Jul 2018 10:47:59 +0000 (12:47 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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 -%>