home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
TicTacToe plugin - release 2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Boris" data-source="post: 19640" data-attributes="member: 13068"><p>Thanks.</p><p></p><p>I know about the “GUILocalizeStrings.Get(#number)” and “GUIControl.SetControlLabel(#wid,#cid, text)”. I also know that if in the skin file, I put a number of a string; MediaPortal will automatically replace it with the good text. It is the way I put the button “New game” and the label “Score” (which came from the Tetris text). I’m also agreeing that it is the best way to do…</p><p>The problem I see is that when I’ll do a release of a plugin, the strings.xml will not be ok for users. It will only be ok at the next release of MediaPortal after the integration of the patch I will submit via Sourceforge.</p><p>One thing I could do is to check at starting if the strings I need are in the English/strings.xml, and if not, I put them automatically (I apply the patch by default if not already done). Is it a good idea to implement this?</p><p>Last thing: how do I choose my number? Is there somewhere a process of reserving a range? I’m not really sure that it’s need a dedicated process… If it is not a problem, I’m taking the range 26xxx.</p></blockquote><p></p>
[QUOTE="Boris, post: 19640, member: 13068"] Thanks. I know about the “GUILocalizeStrings.Get(#number)” and “GUIControl.SetControlLabel(#wid,#cid, text)”. I also know that if in the skin file, I put a number of a string; MediaPortal will automatically replace it with the good text. It is the way I put the button “New game” and the label “Score” (which came from the Tetris text). I’m also agreeing that it is the best way to do… The problem I see is that when I’ll do a release of a plugin, the strings.xml will not be ok for users. It will only be ok at the next release of MediaPortal after the integration of the patch I will submit via Sourceforge. One thing I could do is to check at starting if the strings I need are in the English/strings.xml, and if not, I put them automatically (I apply the patch by default if not already done). Is it a good idea to implement this? Last thing: how do I choose my number? Is there somewhere a process of reserving a range? I’m not really sure that it’s need a dedicated process… If it is not a problem, I’m taking the range 26xxx. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
TicTacToe plugin - release 2
Contact us
RSS
Top
Bottom