Hi all
I am looking for a way to translate select box values:
struct touch_form : public cppcms::form {
cppcms::widgets::select hide_mouse;
touch_form()
{
hide_mouse.add(translate("YES"), "true"); <<-----
hide_mouse.add("NO", "false");
add(hide_mouse);
}
};
In the template I have the following:
<label for="touch_hide"><% gt "Hide Mouse Cursor" %>:</label>
<% form block form.hide_mouse %> id="touch_hide" <% end %>
How can I do this?
thanks
---
Christian Gmeiner, MSc
|