Author Topic: Skin label caption  (Read 6107 times)

0 Members and 1 Guest are viewing this topic.

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Skin label caption
« on: February 25, 2010, 07:53:00 pm »
Why if i write e label/caption near a field the output is ok
but if i write only a label/caption the output is nothing....

<row>
<column>
<fieldlabel field="description">
<font>
 <size>9</size>
 <name>Georgia</name>
 </font>
 </fieldlabel>
<label>
 <caption>INFO</caption>
<font>
 <size>24</size>
 <bold/>
 <name>Arial</name>
 <color>$000000</color>
 </font>
 </label>
 </column>
 </row>
 
The output is "Description: INFO"



<row>
<column>
<label>
 <caption>INFO</caption>
<font>
 <size>24</size>
 <bold/>
 <name>Arial</name>
 <color>$000000</color>
 </font>
 </label>
 </column>
 </row>
 
The output is nothing


I have to write something like Info or Movie details if is possible  :)

mgpw4me@yahoo.com

  • Guest
Re: Skin label caption
« Reply #1 on: February 26, 2010, 07:18:17 pm »
If you could type anything into a caption, the skin wouldn't be portable between languages.  PVD depends having a standard word list for it's translation process.  That said, you have 2 choices:

1) create a custom language file to rename the caption
2) make the skin non-standard and (more) likely to break in future releases of PVD

Option 1 (recommended)
http://www.videodb.info/forum_en/index.php?topic=763.0
- copy one of the language files
- rename it to custom.lng
- put updated custom.lng in the directory where PVD is installed

Option 2 (example assumes page background color of $FFEFCF)
                      <row>
                       <column>
                        <label>
                         <caption>Some custom text</caption>
                        </label>
                        <fieldlabel field="wish"><font><color>$FFEFCF</color></font></fieldlabel>
                       </column>
                      </row>
« Last Edit: February 26, 2010, 07:25:52 pm by mgpw4me@yahoo.com »

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: Skin label caption
« Reply #2 on: February 26, 2010, 07:54:31 pm »
Option 3  ;)

I v write only "INFO".. i think is international  :)

i v add a separator near and now it's ok