Skinning.commandTips: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Language}} | ||
{{ | {{Updated|2014.05.08| 2.7.x.0}} | ||
=<commandTips>= | |||
= < | |||
The | The '''<commandTips>''' element can be used to translate text-command strings into another language. | ||
Text-command strings are used to explain commands to the user. Each one consists of a message that is displayed in the status bar of the program. There also is a tip that is displayed in a popup tool-tip whenever the user hovers their mouse over the command. | |||
<?xml version="1.0" encoding="UTF-8"?> | Here is an example from '''MyCommandTipSkin.xml''': | ||
<skin xmlns=" | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<skin xmlns="shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0"> | |||
<manifest name="My Command Tip Skin" author="Me" type="Language" language="en"/> | |||
<commandTips> | |||
<tip id="ID_HELP_ABOUT" message="Display the Shareaza about dialog..." tip="About Shareaza"/> | |||
</skin> | <tip id="ID_NETWORK_EXIT" message="Exit Shareaza" tip="Exit"/> | ||
To create a translation skin, copy the existing command tip database from default-en.xml in your skins folder and start translating each entry. | </commandTips> | ||
</skin> | |||
To create a translation skin, copy the existing command tip database from [http://sourceforge.net/p/shareaza/code/HEAD/tree/trunk/Languages/default-en.xml '''default-en.xml'''] in your skins folder and start translating each entry. | |||
{{Nav2|Skinning tutorial}} |
Latest revision as of 07:52, 8 May 2014
Languages: |
[[::Skinning.commandTips|English]] • [[::Skinning.commandTips/de|Deutsch]] • [[::Skinning.commandTips/es|Español]] • [[::Skinning.commandTips/fr|Français]] • [[::Skinning.commandTips/he|עברית]] • [[::Skinning.commandTips/it|Italiano]] • [[::Skinning.commandTips/nl|Nederlands]] • [[::Skinning.commandTips/pl|Polski]] • [[::Skinning.commandTips/pt|Português]] • [[::Skinning.commandTips/ru|Русский]] • [[::Skinning.commandTips/zh-hant|中文(繁體)]] | e |
Updated: |
This page has been updated on 2014.05.08 for the release of Shareaza v 2.7.x.0. | e |
<commandTips>
The <commandTips> element can be used to translate text-command strings into another language.
Text-command strings are used to explain commands to the user. Each one consists of a message that is displayed in the status bar of the program. There also is a tip that is displayed in a popup tool-tip whenever the user hovers their mouse over the command.
Here is an example from MyCommandTipSkin.xml:
<?xml version="1.0" encoding="UTF-8"?> <skin xmlns="shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0"> <manifest name="My Command Tip Skin" author="Me" type="Language" language="en"/> <commandTips> <tip id="ID_HELP_ABOUT" message="Display the Shareaza about dialog..." tip="About Shareaza"/> <tip id="ID_NETWORK_EXIT" message="Exit Shareaza" tip="Exit"/> </commandTips> </skin>
To create a translation skin, copy the existing command tip database from default-en.xml in your skins folder and start translating each entry.
Navigation: ShareazaWiki > Skinning tutorial > Skinning.commandTips