Skinning.commandTips: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(recoverered Skinning.commandTips Please verify and leave "verified")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{Language}}
{{Language}}
{{RecoveredPage|The following content has been recovered from the old wiki and pantheraproject*net. Content may be inaccurate. Competent verification is needed.}}
{{Updated|2014.05.08| 2.7.x.0}}


= Skinning.dialogs =
=<commandTips>=
= <dialogs> =
The '''<nowiki><dialogs></nowiki>''' element can be used to translate the text displayed within dialog boxes into another language.


The specific format is not discussed here, however see '''default-en.xml''' for examples and source material to copy when creating a translation skin.  
The '''<commandTips>''' element can be used to translate text-command strings into another language.


Here is an example from '''MyCommandTipSkin.xml''':
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="http://www.shareaza.com/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.


<?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 [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.


* This page was last modified on March 27, 2008, at 19:59.
{{Nav2|Skinning tutorial}}
 
Copyright © 2002-2009 Shareaza Development Team.
 
Many people contribute their time and effort to Shareaza. Please see our acknowledgments page.
 
Visit Shareaza's Project Page at [# SourceForge.net]
 
Proud to be Open Source

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