Skinning.commandTips

From Shareaza Wiki
Revision as of 07:52, 8 May 2014 by Ji d (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  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