Button Text (1 Viewer)

robytex

Portal Member
September 4, 2006
24
0
65
MediaPortal Version: 0.2.0.0
Windows Version: w2k
CPU Type: Centrino
HDD:
Memory:
Motherboard: laptop compaq nc8000
Motherboard Chipset:
Motherboard Bios:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:

I would like to change the text label of the buttons on My Home page.
When I try to do it in My Home plugin Configuration it is impossible to
save the change.
Why? What kind of error I do?
TIA
Roby
 

NLS

Portal Pro
April 26, 2006
922
0
51
Home Country
Greece Greece
The button text can only change if you change the appropriate strings.xml in language folder
 

skandy

MP Donator
  • Premium Supporter
  • September 23, 2006
    67
    7
    Home Country
    Spain Spain
    And how to know the id for example for "Online Videos" "My music videos" "My TV Series"... and other plugins??? I don't know how to change the button text on that plugins... with the strings.xml file
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    51
    Home Country
    Greece Greece
    ?

    I don't understand the question. You open the file and search for the string and change it.
     

    skandy

    MP Donator
  • Premium Supporter
  • September 23, 2006
    67
    7
    Home Country
    Spain Spain
    For example,

    Try to install the Plugin OnlineVideos (Youtube launch videos) or the Plugin My MusicVideos (Yahoo music videos).

    The button text for this two plugins is: Online Videos and My Music Videos.

    When you search the strings.xml There is no Online Videos or My Music Videos text (not in English Folder, not in Spanish folder), then the question is, where I can find what is the id for that Button text on this plugins???, then I can add the string for myself and maybe the button text change. Or is this hardcoded for plugins????

    Regards,
    Andy
     

    NLS

    Portal Pro
    April 26, 2006
    922
    0
    51
    Home Country
    Greece Greece
    Ah now I get it. Yes if you cannot find the appropriate text in english strings.xml (which is the most updated) then yes they have the strings hardcoded and better contact the plugin authors and give them a little push into making their next version with external strings.
     

    Grayda

    Portal Member
    September 11, 2006
    46
    0
    Near Melbourne, Australia
    Home Country
    Some plugins include an XML file with those types of strings in it. Not 100% sure if that's for the Home screen (or the My Plugins screen depending), but if you look in the skins/yourskin folder for an obviously named XML file (eg. MyMusicVideos.xml or something), then you might be able to change the text. If not, then it'd be good to download SharpDevelop (http://sourceforge.net/projects/sharpdevelop) then you can change the plugin (providing they release the source-code, which the majority of them do), compile it yourself and go from there. Shouldn't be TOO hard I reckon..

    Best of luck :)
     

    Users who are viewing this thread

    Top Bottom