diff options
Diffstat (limited to 'packages/cg2/sample/sample_ui.xml')
-rw-r--r-- | packages/cg2/sample/sample_ui.xml | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/packages/cg2/sample/sample_ui.xml b/packages/cg2/sample/sample_ui.xml index f6d7c54d..7581f81c 100644 --- a/packages/cg2/sample/sample_ui.xml +++ b/packages/cg2/sample/sample_ui.xml @@ -13,85 +13,85 @@ <on_sync_event>sample_on_sync_event</on_sync_event> <widget> <type>header</type> - <label>Headers are useful to separate stuff...</label> + <label xml:lang="en-US">Headers are useful to separate stuff...</label> </widget> <widget> <type>textbox</type> <name>mytextbox</name> - <label>My fancy textbox</label> - <description>This is a textbox.</description> - <value>Welcome to the world of coregui 2.0</value> + <label xml:lang="en-US">My fancy textbox</label> + <description xml:lang="en-US">This is a textbox.</description> + <value xml:lang="en-US">Welcome to the world of coregui 2.0</value> <required/> </widget> <widget> <type>ipsec_select</type> <name>ipsec</name> - <label>IPsec selection</label> - <description>IPsec selection widget test.</description> + <label xml:lang="en-US">IPsec selection</label> + <description xml:lang="en-US">IPsec selection widget test.</description> <multiple/> </widget> <widget> <type>select</type> <name>sample_sel</name> - <label>Sample selection</label> + <label xml:lang="en-US">Sample selection</label> <option> <name>foo</name> - <label>Foo</label> + <label xml:lang="en-US">Foo</label> </option> <option> <name>bar</name> - <label>Bar</label> + <label xml:lang="en-US">Bar</label> </option> </widget> <widget> <type>interfaces_select</type> <name>inter_sel</name> - <label>Sample interfaces select</label> + <label xml:lang="en-US">Sample interfaces select</label> <multiple/> </widget> <widget> <type>textarea</type> <name>mytextarea</name> - <label>My fancy textarea</label> - <description>Just testing descriptions...</description> - <value>This widget can not be edited!</value> + <label xml:lang="en-US">My fancy textarea</label> + <description xml:lang="en-US">Just testing descriptions...</description> + <value xml:lang="en-US">This widget can not be edited!</value> <read_only/> </widget> <widget> <type>checkbox</type> <name>mycheckbox</name> - <label>A sample checkbox</label> - <caption>Check this nice checkbox</caption> - <description>Now checkboxes can have a caption as well.</description> - <on_check_javascript>alert('hey, this is only meant for quick and dirty stuff, do NOT implement anything longer than 2 or 3 commands here! Btw, i was clicked.');</on_check_javascript> + <label xml:lang="en-US">A sample checkbox</label> + <caption xml:lang="en-US">Check this nice checkbox</caption> + <description xml:lang="en-US">Now checkboxes can have a caption as well.</description> + <on_check_javascript>_("hey, this is only meant for quick and dirty stuff, do NOT implement anything longer than 2 or 3 commands here! Btw, i was clicked.");</on_check_javascript> </widget> <widget> <type>submit</type> <name>mysubmit</name> - <caption>Send something</caption> + <caption xml:lang="en-US">Send something</caption> <on_submit_event>sample_on_submit_event</on_submit_event> <group_start/> </widget> <widget> <type>button</type> <name>mybutton</name> - <caption>Cancel something</caption> - <description>The description for the last element in a group is the description that matters.</description> - <on_click_javascript>alert('Hi, don\'t abuse me, use include_javascript instead!');</on_click_javascript> + <caption xml:lang="en-US">Cancel something</caption> + <description xml:lang="en-US">The description for the last element in a group is the description that matters.</description> + <on_click_javascript>_("Hi, don't abuse me, use include_javascript instead!");</on_click_javascript> <group_end/> </widget> <widget> <type>textbox</type> <name>dummydummy</name> - <label>Just some dummy text</label> + <label xml:lang="en-US">Just some dummy text</label> <do_not_display/> </widget> <widget> <type>checkbox</type> <name>anothercheckbox</name> - <label>Another checkbox</label> - <caption>Enable</caption> - <description>Another checkbox, this time after a group, and disabled.</description> + <label xml:lang="en-US">Another checkbox</label> + <caption xml:lang="en-US">Enable</caption> + <description xml:lang="en-US">Another checkbox, this time after a group, and disabled.</description> <disabled/> </widget> </element> @@ -103,28 +103,28 @@ <widget> <type>checkbox</type> <name>dummycheckbox</name> - <label>Dummy checkbox</label> + <label xml:lang="en-US">Dummy checkbox</label> </widget> <widget> <type>port</type> <name>dummyport</name> - <label>Port</label> - <description>Enter a port here.</description> + <label xml:lang="en-US">Port</label> + <description xml:lang="en-US">Enter a port here.</description> <value>3128</value> <required/> </widget> <widget> <type>textbox</type> <name>dummysetting</name> - <label>Dummy setting</label> - <description>This dummy setting will not show up in the table.</description> + <label xml:lang="en-US">Dummy setting</label> + <description xml:lang="en-US">This dummy setting will not show up in the table.</description> <not_in_table/> </widget> <widget> <type>textarea</type> <name>longfield</name> - <label>Very long field</label> - <description>Very very very very very long field.</description> + <label xml:lang="en-US">Very long field</label> + <description xml:lang="en-US">Very very very very very long field.</description> <highlighted/> </widget> </element> @@ -133,23 +133,23 @@ <type>form</type> <widget> <type>header</type> - <label>...such as two different forms</label> + <label xml:lang="en-US">...such as two different forms</label> </widget> <widget> <type>button</type> <name>mybutton</name> - <label>A simple button</label> - <caption>Another silly button</caption> + <label xml:lang="en-US">A simple button</label> + <caption xml:lang="en-US">Another silly button</caption> </widget> </element> <element> <type>table</type> <widget> - <label>Silly test</label> + <label xml:lang="en-US">Silly test</label> </widget> <widget> - <label>Another field</label> + <label xml:lang="en-US">Another field</label> </widget> </element> |