Skinning.commandTips: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{{do not translate}}
{{Language}}
{{Recovered|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://shareaza.sf.net/schemas/Skin.xsd" version="1.0">
 
<manifest name="My Command Tip Skin" author="Me" type="Language" language="en"/>
<?xml version="1.0" encoding="UTF-8"?>
<commandTips>
<skin xmlns="shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0">
  <tip id="ID_HELP_ABOUT" message="Display the Shareaza about dialog..." tip="About Shareaza"/>
  <manifest name="My Command Tip Skin" author="Me" type="Language" language="en"/>
  <tip id="ID_NETWORK_EXIT" message="Exit Shareaza" tip="Exit"/>
  <commandTips>
</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