Skinning.listColumns

From Shareaza Wiki
Jump to navigation Jump to search
  Languages:

[[::Skinning.listColumns|English]] • [[::Skinning.listColumns/de|Deutsch]] • [[::Skinning.listColumns/es|Español]] • [[::Skinning.listColumns/fr|Français]] • [[::Skinning.listColumns/he|עברית]] • [[::Skinning.listColumns/it|Italiano]] • [[::Skinning.listColumns/nl|Nederlands]] • [[::Skinning.listColumns/pl|Polski]] • [[::Skinning.listColumns/pt|Português]] • [[::Skinning.listColumns/ru|Русский]] • [[::Skinning.listColumns/zh-hant|‪中文(繁體)]]

e
  Updated:

This page has been updated on 2014.05.07 for the release of Shareaza v 2.7.x.0.

e

<listColumns>

The <listColumns> element can be used to translate list-column headings into a different language.

Shareaza uses many different lists, each of which is identified by a name. Each list is translated separately by a <list> element. Furthermore, each column in each list is translated by mapping its original english name to a foreign language name. This preserves compatibility if changes are made to the design of the list.

Here is an example from MyListColumnsSkin.xml:

 <?xml version="1.0" encoding="UTF-8"?>
 <skin xmlns="http://shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0">
 <manifest name="My List Column Skin" author="Me" type="Language" language="fr"/>
  <listColumns>
   <list name="Neighbours">
     <column from="Address" to="Connecter"/>
   </list>
  <listColumns>
 </skin>

Finding the original column names to include in the from attribute of the <column/> is easy enough by looking at the software while it is running. Discovering the list names is a bit harder, so they are listed here:

  • Neighbours
  • Downloads
  • Uploads
  • Library
  • Matches
  • Discovery
  • HostCache
  • Security



Navigation:     ShareazaWiki > Skinning tutorial > Skinning.listColumns