Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
linenumberstrue
<view id='com.cohga.html.client.main.searchView'>
        <label>Find</label>
        <location>east</location>
</view>

Anchor
localisation
localisation

Localisation

It's possible to localise the text used in the search panels so they're displayed in the local language of the user, this localisation is performed using the standard localisation mechanism outlined at Internationalisation and localisation.

Note

This was only made available for the search panel in version 2.24 of the com.cohga.client.weave.main bundle

The edit panel provides a set of resource id's that it understands and if they're set for the users locale they will be used instead of the defaults values.

id

default

search.error.validation

The search has fields that are required to be entered. Please fix the errors marked in red.

search.reset.tooltip

Reset the Form

new

New

add

Add

remove

Remove

refine

Refine

Info

The last four are global resources that are used in places other than the search panel.

The following resources item can be used to replace the text for all of the items

Code Block
xml
xml
linenumbersfalse

<client:resources>
	<search>
		<error>
			<validation>The search has fields that are required to be entered.  Please fix the errors marked in red.</validation>
		</error>
		<reset>
			<tooltip>Reset the Form</tooltip>
		</reset>
	</search>
	<new>New</new>
	<add>Add</add>
	<remove>Remove</remove>
	<refine>Refine</refine>
</client:resources>