Connections update button label

17 years 11 months ago #14132 by tomaz
Connections update button label was created by tomaz
Working on translation I found out that "Update" button at CB connections is not translatable due to HTML code produced for form.

Simple replacement of INPUT element with BUTTON element in HTML form works for me and might be helpfull for other translations as well...

Just replace
[code:1]echo "<div style=\"width:100%;text-align:right;\"><input type=\"submit\" class=\"inputbox\" value=\"Update\" /></div>";
[/code:1]
with
[code:1]
echo "<div style=\"width:100%;text-align:right;\"><button name=\"submit\" type=\"submit\" class=\"inputbox\" value=\"Update\">"._UE_UPDATE."</button></div>";
[/code:1]

And "Update" should apear in your local language (_UE_UPDATE is defined in CB lang file, so I just reuse it).

There are two such lines in comprofiler.html.php

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.297 seconds

Facebook Twitter LinkedIn