Page History
Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
Overview
Styleclass | ||
---|---|---|
|
...
Text Properties
Styleclass | ||
---|---|---|
|
...
Examples
Code Block | ||||
---|---|---|---|---|
| ||||
installer.optionspanel.port.empty=Please enter a port number.
installer.dbtypepanel.dbtypelabel=Database type:
installer.dbinfopanel.server.title=Database Server Location
|
See Appendix - All Installer Properties List 付録 - すべてのインストーラープロパティのリスト for a full list of text properties.
Localisation
Styleclass | ||
---|---|---|
|
...
...
When the graphical installer is started, the user will be presented with a dialog allowing them to select the language to use. For the command-line installer, a command-line argument can be used to select the language.
See Installer Behaviour インストーラーの動作 for more information
If you are customising the text properties, you may wish to provide custom localised versions as well. This can be done by providing additional custom properties files for each language that you want to support. These files must be named custom_<cc>.properties
and located in the root of the installer archive.
...
To customise a text property in English, you might add this property to your custom.properties
file:
Code Block | ||||
---|---|---|---|---|
| ||||
installer.dbinfopanel.server.title=DB Server
|
To customise this property in Spanish, add the same property to a file called custom_es.properties
:
Code Block | ||||
---|---|---|---|---|
| ||||
installer.dbinfopanel.server.title=DB servidor
|
If you customise any of the text properties in the default language (i.e. in the custom.properties file or with command-line arguments), you should also add the localised versions of the customisations. If you don’t, a user who selects a language other than English will see the original text in their chosen language, rather than the customised text.
Image Properties
Styleclass | ||
---|---|---|
|
...
...
Example
Code Block | ||||
---|---|---|---|---|
| ||||
resource.lhs.infopanel.img=resources/banner1.png
resource.lhs.licencepanel.img=resources/banner2.png
resource.lhs.packspanel.img=resources/banner3.png
|
...
Example
Code Block | ||||
---|---|---|---|---|
| ||||
resource.pack.core.img=resources/corepack.png
resource.pack.tutorial.img=resources/tutorialpack.png
resource.pack.geopack.us.img=resources/usgeopack.png
resource.pack.geopack.world.img=resources/worldgeopack.png
|
...
Example
Code Block | ||||
---|---|---|---|---|
| ||||
resource.finishpanel.icon=resources/success.png
|
Other Resource Properties
Styleclass | ||
---|---|---|
|
...
Initial Page HTML
Property |
|
---|---|
Value | An html file that is displayed on the first screen of the graphical installer. |
Example |
|
...
Property |
|
---|---|
Value | A text file that contains the Software Licence Agreement text. The user must agree to the licence text before installing. |
Example |
|
horizontalrule |
---|
Styleclass | ||
---|---|---|
|
...
...